sass.dart.js 4.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507
  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.nodeModule = _cliPkgRequires.nodeModule;
  114. self.stream = _cliPkgRequires.stream;
  115. self.util = _cliPkgRequires.util;
  116. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.3.0.
  117. // The code supports the following hooks:
  118. // dartPrint(message):
  119. // if this function is defined it is called instead of the Dart [print]
  120. // method.
  121. //
  122. // dartMainRunner(main, args):
  123. // if this function is defined, the Dart [main] method will not be invoked
  124. // directly. Instead, a closure that will invoke [main], and its arguments
  125. // [args] is passed to [dartMainRunner].
  126. //
  127. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  128. // if this function is defined, it will be called when a deferred library
  129. // is loaded. It should load and eval the javascript of `uri`, and call
  130. // successCallback. If it fails to do so, it should call errorCallback with
  131. // an error. The loadId argument is the deferred import that resulted in
  132. // this uri being loaded. The loadPriority argument is the priority the
  133. // library should be loaded with as specified in the code via the
  134. // load-priority annotation (0: normal, 1: high).
  135. // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
  136. // if this function is defined, it will be called when a deferred library
  137. // is loaded. It should load and eval the javascript of every URI in `uris`,
  138. // and call successCallback. If it fails to do so, it should call
  139. // errorCallback with an error. The loadId argument is the deferred import
  140. // that resulted in this uri being loaded. The loadPriority argument is the
  141. // priority the library should be loaded with as specified in the code via
  142. // the load-priority annotation (0: normal, 1: high).
  143. //
  144. // dartCallInstrumentation(id, qualifiedName):
  145. // if this function is defined, it will be called at each entry of a
  146. // method or constructor. Used only when compiling programs with
  147. // --experiment-call-instrumentation.
  148. (function dartProgram() {
  149. function copyProperties(from, to) {
  150. var keys = Object.keys(from);
  151. for (var i = 0; i < keys.length; i++) {
  152. var key = keys[i];
  153. to[key] = from[key];
  154. }
  155. }
  156. function mixinPropertiesHard(from, to) {
  157. var keys = Object.keys(from);
  158. for (var i = 0; i < keys.length; i++) {
  159. var key = keys[i];
  160. if (!to.hasOwnProperty(key)) {
  161. to[key] = from[key];
  162. }
  163. }
  164. }
  165. function mixinPropertiesEasy(from, to) {
  166. Object.assign(to, from);
  167. }
  168. var supportsDirectProtoAccess = function() {
  169. var cls = function() {
  170. };
  171. cls.prototype = {p: {}};
  172. var object = new cls();
  173. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  174. return false;
  175. try {
  176. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  177. return true;
  178. if (typeof version == "function" && version.length == 0) {
  179. var v = version();
  180. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  181. return true;
  182. }
  183. } catch (_) {
  184. }
  185. return false;
  186. }();
  187. function inherit(cls, sup) {
  188. cls.prototype.constructor = cls;
  189. cls.prototype["$is" + cls.name] = cls;
  190. if (sup != null) {
  191. if (supportsDirectProtoAccess) {
  192. Object.setPrototypeOf(cls.prototype, sup.prototype);
  193. return;
  194. }
  195. var clsPrototype = Object.create(sup.prototype);
  196. copyProperties(cls.prototype, clsPrototype);
  197. cls.prototype = clsPrototype;
  198. }
  199. }
  200. function inheritMany(sup, classes) {
  201. for (var i = 0; i < classes.length; i++) {
  202. inherit(classes[i], sup);
  203. }
  204. }
  205. function mixinEasy(cls, mixin) {
  206. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  207. cls.prototype.constructor = cls;
  208. }
  209. function mixinHard(cls, mixin) {
  210. mixinPropertiesHard(mixin.prototype, cls.prototype);
  211. cls.prototype.constructor = cls;
  212. }
  213. function lazyOld(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. holder[getterName] = function() {
  218. A.throwCyclicInit(name);
  219. };
  220. var result;
  221. var sentinelInProgress = initializer;
  222. try {
  223. if (holder[name] === uninitializedSentinel) {
  224. result = holder[name] = sentinelInProgress;
  225. result = holder[name] = initializer();
  226. } else {
  227. result = holder[name];
  228. }
  229. } finally {
  230. if (result === sentinelInProgress) {
  231. holder[name] = null;
  232. }
  233. holder[getterName] = function() {
  234. return this[name];
  235. };
  236. }
  237. return result;
  238. };
  239. }
  240. function lazy(holder, name, getterName, initializer) {
  241. var uninitializedSentinel = holder;
  242. holder[name] = uninitializedSentinel;
  243. holder[getterName] = function() {
  244. if (holder[name] === uninitializedSentinel) {
  245. holder[name] = initializer();
  246. }
  247. holder[getterName] = function() {
  248. return this[name];
  249. };
  250. return holder[name];
  251. };
  252. }
  253. function lazyFinal(holder, name, getterName, initializer) {
  254. var uninitializedSentinel = holder;
  255. holder[name] = uninitializedSentinel;
  256. holder[getterName] = function() {
  257. if (holder[name] === uninitializedSentinel) {
  258. var value = initializer();
  259. if (holder[name] !== uninitializedSentinel) {
  260. A.throwLateFieldADI(name);
  261. }
  262. holder[name] = value;
  263. }
  264. var finalValue = holder[name];
  265. holder[getterName] = function() {
  266. return finalValue;
  267. };
  268. return finalValue;
  269. };
  270. }
  271. function makeConstList(list) {
  272. list.immutable$list = Array;
  273. list.fixed$length = Array;
  274. return list;
  275. }
  276. function convertToFastObject(properties) {
  277. function t() {
  278. }
  279. t.prototype = properties;
  280. new t();
  281. return properties;
  282. }
  283. function convertAllToFastObject(arrayOfObjects) {
  284. for (var i = 0; i < arrayOfObjects.length; ++i) {
  285. convertToFastObject(arrayOfObjects[i]);
  286. }
  287. }
  288. var functionCounter = 0;
  289. function instanceTearOffGetter(isIntercepted, parameters) {
  290. var cache = null;
  291. return isIntercepted ? function(receiver) {
  292. if (cache === null)
  293. cache = A.closureFromTearOff(parameters);
  294. return new cache(receiver, this);
  295. } : function() {
  296. if (cache === null)
  297. cache = A.closureFromTearOff(parameters);
  298. return new cache(this, null);
  299. };
  300. }
  301. function staticTearOffGetter(parameters) {
  302. var cache = null;
  303. return function() {
  304. if (cache === null)
  305. cache = A.closureFromTearOff(parameters).prototype;
  306. return cache;
  307. };
  308. }
  309. var typesOffset = 0;
  310. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  311. if (typeof funType == "number") {
  312. funType += typesOffset;
  313. }
  314. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  315. }
  316. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  317. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  318. var getterFunction = staticTearOffGetter(parameters);
  319. holder[getterName] = getterFunction;
  320. }
  321. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  322. isIntercepted = !!isIntercepted;
  323. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  324. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  325. prototype[getterName] = getterFunction;
  326. }
  327. function setOrUpdateInterceptorsByTag(newTags) {
  328. var tags = init.interceptorsByTag;
  329. if (!tags) {
  330. init.interceptorsByTag = newTags;
  331. return;
  332. }
  333. copyProperties(newTags, tags);
  334. }
  335. function setOrUpdateLeafTags(newTags) {
  336. var tags = init.leafTags;
  337. if (!tags) {
  338. init.leafTags = newTags;
  339. return;
  340. }
  341. copyProperties(newTags, tags);
  342. }
  343. function updateTypes(newTypes) {
  344. var types = init.types;
  345. var length = types.length;
  346. types.push.apply(types, newTypes);
  347. return length;
  348. }
  349. function updateHolder(holder, newHolder) {
  350. copyProperties(newHolder, holder);
  351. return holder;
  352. }
  353. var hunkHelpers = function() {
  354. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  355. return function(container, getterName, name, funType) {
  356. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  357. };
  358. },
  359. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  360. return function(container, getterName, name, funType) {
  361. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  362. };
  363. };
  364. 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};
  365. }();
  366. function initializeDeferredHunk(hunk) {
  367. typesOffset = init.types.length;
  368. hunk(hunkHelpers, init, holders, $);
  369. }
  370. var J = {
  371. makeDispatchRecord(interceptor, proto, extension, indexability) {
  372. return {i: interceptor, p: proto, e: extension, x: indexability};
  373. },
  374. getNativeInterceptor(object) {
  375. var proto, objectProto, $constructor, interceptor, t1,
  376. record = object[init.dispatchPropertyName];
  377. if (record == null)
  378. if ($.initNativeDispatchFlag == null) {
  379. A.initNativeDispatch();
  380. record = object[init.dispatchPropertyName];
  381. }
  382. if (record != null) {
  383. proto = record.p;
  384. if (false === proto)
  385. return record.i;
  386. if (true === proto)
  387. return object;
  388. objectProto = Object.getPrototypeOf(object);
  389. if (proto === objectProto)
  390. return record.i;
  391. if (record.e === objectProto)
  392. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  393. }
  394. $constructor = object.constructor;
  395. if ($constructor == null)
  396. interceptor = null;
  397. else {
  398. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  399. if (t1 == null)
  400. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  401. interceptor = $constructor[t1];
  402. }
  403. if (interceptor != null)
  404. return interceptor;
  405. interceptor = A.lookupAndCacheInterceptor(object);
  406. if (interceptor != null)
  407. return interceptor;
  408. if (typeof object == "function")
  409. return B.JavaScriptFunction_methods;
  410. proto = Object.getPrototypeOf(object);
  411. if (proto == null)
  412. return B.PlainJavaScriptObject_methods;
  413. if (proto === Object.prototype)
  414. return B.PlainJavaScriptObject_methods;
  415. if (typeof $constructor == "function") {
  416. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  417. if (t1 == null)
  418. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  419. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  420. return B.UnknownJavaScriptObject_methods;
  421. }
  422. return B.UnknownJavaScriptObject_methods;
  423. },
  424. JSArray_JSArray$fixed($length, $E) {
  425. if ($length < 0 || $length > 4294967295)
  426. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  427. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  428. },
  429. JSArray_JSArray$allocateFixed($length, $E) {
  430. if ($length > 4294967295)
  431. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  432. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  433. },
  434. JSArray_JSArray$growable($length, $E) {
  435. if ($length < 0)
  436. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  437. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  438. },
  439. JSArray_JSArray$allocateGrowable($length, $E) {
  440. if ($length < 0)
  441. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  442. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  443. },
  444. JSArray_JSArray$markFixed(allocation, $E) {
  445. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  446. },
  447. JSArray_markFixedList(list) {
  448. list.fixed$length = Array;
  449. return list;
  450. },
  451. JSArray_markUnmodifiableList(list) {
  452. list.fixed$length = Array;
  453. list.immutable$list = Array;
  454. return list;
  455. },
  456. JSArray__compareAny(a, b) {
  457. return J.compareTo$1$ns(a, b);
  458. },
  459. JSString__isWhitespace(codeUnit) {
  460. if (codeUnit < 256)
  461. switch (codeUnit) {
  462. case 9:
  463. case 10:
  464. case 11:
  465. case 12:
  466. case 13:
  467. case 32:
  468. case 133:
  469. case 160:
  470. return true;
  471. default:
  472. return false;
  473. }
  474. switch (codeUnit) {
  475. case 5760:
  476. case 8192:
  477. case 8193:
  478. case 8194:
  479. case 8195:
  480. case 8196:
  481. case 8197:
  482. case 8198:
  483. case 8199:
  484. case 8200:
  485. case 8201:
  486. case 8202:
  487. case 8232:
  488. case 8233:
  489. case 8239:
  490. case 8287:
  491. case 12288:
  492. case 65279:
  493. return true;
  494. default:
  495. return false;
  496. }
  497. },
  498. JSString__skipLeadingWhitespace(string, index) {
  499. var t1, codeUnit;
  500. for (t1 = string.length; index < t1;) {
  501. codeUnit = string.charCodeAt(index);
  502. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  503. break;
  504. ++index;
  505. }
  506. return index;
  507. },
  508. JSString__skipTrailingWhitespace(string, index) {
  509. var index0, codeUnit;
  510. for (; index > 0; index = index0) {
  511. index0 = index - 1;
  512. codeUnit = string.charCodeAt(index0);
  513. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  514. break;
  515. }
  516. return index;
  517. },
  518. getInterceptor$(receiver) {
  519. if (typeof receiver == "number") {
  520. if (Math.floor(receiver) == receiver)
  521. return J.JSInt.prototype;
  522. return J.JSNumNotInt.prototype;
  523. }
  524. if (typeof receiver == "string")
  525. return J.JSString.prototype;
  526. if (receiver == null)
  527. return J.JSNull.prototype;
  528. if (typeof receiver == "boolean")
  529. return J.JSBool.prototype;
  530. if (Array.isArray(receiver))
  531. return J.JSArray.prototype;
  532. if (typeof receiver != "object") {
  533. if (typeof receiver == "function")
  534. return J.JavaScriptFunction.prototype;
  535. if (typeof receiver == "symbol")
  536. return J.JavaScriptSymbol.prototype;
  537. if (typeof receiver == "bigint")
  538. return J.JavaScriptBigInt.prototype;
  539. return receiver;
  540. }
  541. if (receiver instanceof A.Object)
  542. return receiver;
  543. return J.getNativeInterceptor(receiver);
  544. },
  545. getInterceptor$ansx(receiver) {
  546. if (typeof receiver == "number")
  547. return J.JSNumber.prototype;
  548. if (typeof receiver == "string")
  549. return J.JSString.prototype;
  550. if (receiver == null)
  551. return receiver;
  552. if (Array.isArray(receiver))
  553. return J.JSArray.prototype;
  554. if (typeof receiver != "object") {
  555. if (typeof receiver == "function")
  556. return J.JavaScriptFunction.prototype;
  557. if (typeof receiver == "symbol")
  558. return J.JavaScriptSymbol.prototype;
  559. if (typeof receiver == "bigint")
  560. return J.JavaScriptBigInt.prototype;
  561. return receiver;
  562. }
  563. if (receiver instanceof A.Object)
  564. return receiver;
  565. return J.getNativeInterceptor(receiver);
  566. },
  567. getInterceptor$asx(receiver) {
  568. if (typeof receiver == "string")
  569. return J.JSString.prototype;
  570. if (receiver == null)
  571. return receiver;
  572. if (Array.isArray(receiver))
  573. return J.JSArray.prototype;
  574. if (typeof receiver != "object") {
  575. if (typeof receiver == "function")
  576. return J.JavaScriptFunction.prototype;
  577. if (typeof receiver == "symbol")
  578. return J.JavaScriptSymbol.prototype;
  579. if (typeof receiver == "bigint")
  580. return J.JavaScriptBigInt.prototype;
  581. return receiver;
  582. }
  583. if (receiver instanceof A.Object)
  584. return receiver;
  585. return J.getNativeInterceptor(receiver);
  586. },
  587. getInterceptor$ax(receiver) {
  588. if (receiver == null)
  589. return receiver;
  590. if (Array.isArray(receiver))
  591. return J.JSArray.prototype;
  592. if (typeof receiver != "object") {
  593. if (typeof receiver == "function")
  594. return J.JavaScriptFunction.prototype;
  595. if (typeof receiver == "symbol")
  596. return J.JavaScriptSymbol.prototype;
  597. if (typeof receiver == "bigint")
  598. return J.JavaScriptBigInt.prototype;
  599. return receiver;
  600. }
  601. if (receiver instanceof A.Object)
  602. return receiver;
  603. return J.getNativeInterceptor(receiver);
  604. },
  605. getInterceptor$in(receiver) {
  606. if (typeof receiver == "number") {
  607. if (Math.floor(receiver) == receiver)
  608. return J.JSInt.prototype;
  609. return J.JSNumNotInt.prototype;
  610. }
  611. if (receiver == null)
  612. return receiver;
  613. if (!(receiver instanceof A.Object))
  614. return J.UnknownJavaScriptObject.prototype;
  615. return receiver;
  616. },
  617. getInterceptor$n(receiver) {
  618. if (typeof receiver == "number")
  619. return J.JSNumber.prototype;
  620. if (receiver == null)
  621. return receiver;
  622. if (!(receiver instanceof A.Object))
  623. return J.UnknownJavaScriptObject.prototype;
  624. return receiver;
  625. },
  626. getInterceptor$ns(receiver) {
  627. if (typeof receiver == "number")
  628. return J.JSNumber.prototype;
  629. if (typeof receiver == "string")
  630. return J.JSString.prototype;
  631. if (receiver == null)
  632. return receiver;
  633. if (!(receiver instanceof A.Object))
  634. return J.UnknownJavaScriptObject.prototype;
  635. return receiver;
  636. },
  637. getInterceptor$s(receiver) {
  638. if (typeof receiver == "string")
  639. return J.JSString.prototype;
  640. if (receiver == null)
  641. return receiver;
  642. if (!(receiver instanceof A.Object))
  643. return J.UnknownJavaScriptObject.prototype;
  644. return receiver;
  645. },
  646. getInterceptor$x(receiver) {
  647. if (receiver == null)
  648. return receiver;
  649. if (typeof receiver != "object") {
  650. if (typeof receiver == "function")
  651. return J.JavaScriptFunction.prototype;
  652. if (typeof receiver == "symbol")
  653. return J.JavaScriptSymbol.prototype;
  654. if (typeof receiver == "bigint")
  655. return J.JavaScriptBigInt.prototype;
  656. return receiver;
  657. }
  658. if (receiver instanceof A.Object)
  659. return receiver;
  660. return J.getNativeInterceptor(receiver);
  661. },
  662. getInterceptor$z(receiver) {
  663. if (receiver == null)
  664. return receiver;
  665. if (!(receiver instanceof A.Object))
  666. return J.UnknownJavaScriptObject.prototype;
  667. return receiver;
  668. },
  669. set$AsyncCompiler$x(receiver, value) {
  670. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  671. },
  672. set$CalculationInterpolation$x(receiver, value) {
  673. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  674. },
  675. set$CalculationOperation$x(receiver, value) {
  676. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  677. },
  678. set$Compiler$x(receiver, value) {
  679. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  680. },
  681. set$Exception$x(receiver, value) {
  682. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  683. },
  684. set$FALSE$x(receiver, value) {
  685. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  686. },
  687. set$Logger$x(receiver, value) {
  688. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  689. },
  690. set$NULL$x(receiver, value) {
  691. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  692. },
  693. set$NodePackageImporter$x(receiver, value) {
  694. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  695. },
  696. set$SassArgumentList$x(receiver, value) {
  697. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  698. },
  699. set$SassBoolean$x(receiver, value) {
  700. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  701. },
  702. set$SassCalculation$x(receiver, value) {
  703. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  704. },
  705. set$SassColor$x(receiver, value) {
  706. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  707. },
  708. set$SassFunction$x(receiver, value) {
  709. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  710. },
  711. set$SassList$x(receiver, value) {
  712. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  713. },
  714. set$SassMap$x(receiver, value) {
  715. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  716. },
  717. set$SassMixin$x(receiver, value) {
  718. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  719. },
  720. set$SassNumber$x(receiver, value) {
  721. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  722. },
  723. set$SassString$x(receiver, value) {
  724. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  725. },
  726. set$TRUE$x(receiver, value) {
  727. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  728. },
  729. set$Value$x(receiver, value) {
  730. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  731. },
  732. set$cli_pkg_main_0_$x(receiver, value) {
  733. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  734. },
  735. set$compile$x(receiver, value) {
  736. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  737. },
  738. set$compileAsync$x(receiver, value) {
  739. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  740. },
  741. set$compileString$x(receiver, value) {
  742. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  743. },
  744. set$compileStringAsync$x(receiver, value) {
  745. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  746. },
  747. set$context$x(receiver, value) {
  748. return J.getInterceptor$x(receiver).set$context(receiver, value);
  749. },
  750. set$dartValue$x(receiver, value) {
  751. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  752. },
  753. set$exitCode$x(receiver, value) {
  754. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  755. },
  756. set$info$x(receiver, value) {
  757. return J.getInterceptor$x(receiver).set$info(receiver, value);
  758. },
  759. set$initAsyncCompiler$x(receiver, value) {
  760. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  761. },
  762. set$initCompiler$x(receiver, value) {
  763. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  764. },
  765. set$length$asx(receiver, value) {
  766. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  767. },
  768. set$render$x(receiver, value) {
  769. return J.getInterceptor$x(receiver).set$render(receiver, value);
  770. },
  771. set$renderSync$x(receiver, value) {
  772. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  773. },
  774. set$sassFalse$x(receiver, value) {
  775. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  776. },
  777. set$sassNull$x(receiver, value) {
  778. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  779. },
  780. set$sassTrue$x(receiver, value) {
  781. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  782. },
  783. set$types$x(receiver, value) {
  784. return J.getInterceptor$x(receiver).set$types(receiver, value);
  785. },
  786. get$$prototype$x(receiver) {
  787. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  788. },
  789. get$_dartException$x(receiver) {
  790. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  791. },
  792. get$alertAscii$x(receiver) {
  793. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  794. },
  795. get$alertColor$x(receiver) {
  796. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  797. },
  798. get$argv$x(receiver) {
  799. return J.getInterceptor$x(receiver).get$argv(receiver);
  800. },
  801. get$blue$x(receiver) {
  802. return J.getInterceptor$x(receiver).get$blue(receiver);
  803. },
  804. get$brackets$x(receiver) {
  805. return J.getInterceptor$x(receiver).get$brackets(receiver);
  806. },
  807. get$charset$x(receiver) {
  808. return J.getInterceptor$x(receiver).get$charset(receiver);
  809. },
  810. get$code$x(receiver) {
  811. return J.getInterceptor$x(receiver).get$code(receiver);
  812. },
  813. get$current$x(receiver) {
  814. return J.getInterceptor$x(receiver).get$current(receiver);
  815. },
  816. get$dartValue$x(receiver) {
  817. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  818. },
  819. get$debug$x(receiver) {
  820. return J.getInterceptor$x(receiver).get$debug(receiver);
  821. },
  822. get$denominatorUnits$x(receiver) {
  823. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  824. },
  825. get$end$z(receiver) {
  826. return J.getInterceptor$z(receiver).get$end(receiver);
  827. },
  828. get$env$x(receiver) {
  829. return J.getInterceptor$x(receiver).get$env(receiver);
  830. },
  831. get$exitCode$x(receiver) {
  832. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  833. },
  834. get$fiber$x(receiver) {
  835. return J.getInterceptor$x(receiver).get$fiber(receiver);
  836. },
  837. get$file$x(receiver) {
  838. return J.getInterceptor$x(receiver).get$file(receiver);
  839. },
  840. get$filename$x(receiver) {
  841. return J.getInterceptor$x(receiver).get$filename(receiver);
  842. },
  843. get$first$ax(receiver) {
  844. return J.getInterceptor$ax(receiver).get$first(receiver);
  845. },
  846. get$functions$x(receiver) {
  847. return J.getInterceptor$x(receiver).get$functions(receiver);
  848. },
  849. get$green$x(receiver) {
  850. return J.getInterceptor$x(receiver).get$green(receiver);
  851. },
  852. get$hashCode$(receiver) {
  853. return J.getInterceptor$(receiver).get$hashCode(receiver);
  854. },
  855. get$importer$x(receiver) {
  856. return J.getInterceptor$x(receiver).get$importer(receiver);
  857. },
  858. get$importers$x(receiver) {
  859. return J.getInterceptor$x(receiver).get$importers(receiver);
  860. },
  861. get$isEmpty$asx(receiver) {
  862. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  863. },
  864. get$isNotEmpty$asx(receiver) {
  865. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  866. },
  867. get$isTTY$x(receiver) {
  868. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  869. },
  870. get$iterator$ax(receiver) {
  871. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  872. },
  873. get$keys$z(receiver) {
  874. return J.getInterceptor$z(receiver).get$keys(receiver);
  875. },
  876. get$last$ax(receiver) {
  877. return J.getInterceptor$ax(receiver).get$last(receiver);
  878. },
  879. get$length$asx(receiver) {
  880. return J.getInterceptor$asx(receiver).get$length(receiver);
  881. },
  882. get$loadPaths$x(receiver) {
  883. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  884. },
  885. get$logger$x(receiver) {
  886. return J.getInterceptor$x(receiver).get$logger(receiver);
  887. },
  888. get$message$x(receiver) {
  889. return J.getInterceptor$x(receiver).get$message(receiver);
  890. },
  891. get$mtime$x(receiver) {
  892. return J.getInterceptor$x(receiver).get$mtime(receiver);
  893. },
  894. get$name$x(receiver) {
  895. return J.getInterceptor$x(receiver).get$name(receiver);
  896. },
  897. get$numeratorUnits$x(receiver) {
  898. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  899. },
  900. get$options$x(receiver) {
  901. return J.getInterceptor$x(receiver).get$options(receiver);
  902. },
  903. get$parent$z(receiver) {
  904. return J.getInterceptor$z(receiver).get$parent(receiver);
  905. },
  906. get$path$x(receiver) {
  907. return J.getInterceptor$x(receiver).get$path(receiver);
  908. },
  909. get$platform$x(receiver) {
  910. return J.getInterceptor$x(receiver).get$platform(receiver);
  911. },
  912. get$quietDeps$x(receiver) {
  913. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  914. },
  915. get$quotes$x(receiver) {
  916. return J.getInterceptor$x(receiver).get$quotes(receiver);
  917. },
  918. get$red$x(receiver) {
  919. return J.getInterceptor$x(receiver).get$red(receiver);
  920. },
  921. get$release$x(receiver) {
  922. return J.getInterceptor$x(receiver).get$release(receiver);
  923. },
  924. get$reversed$ax(receiver) {
  925. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  926. },
  927. get$runtimeType$(receiver) {
  928. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  929. },
  930. get$separator$x(receiver) {
  931. return J.getInterceptor$x(receiver).get$separator(receiver);
  932. },
  933. get$sign$in(receiver) {
  934. if (typeof receiver === "number")
  935. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  936. return J.getInterceptor$in(receiver).get$sign(receiver);
  937. },
  938. get$single$ax(receiver) {
  939. return J.getInterceptor$ax(receiver).get$single(receiver);
  940. },
  941. get$sourceMap$x(receiver) {
  942. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  943. },
  944. get$sourceMapIncludeSources$x(receiver) {
  945. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  946. },
  947. get$span$z(receiver) {
  948. return J.getInterceptor$z(receiver).get$span(receiver);
  949. },
  950. get$stderr$x(receiver) {
  951. return J.getInterceptor$x(receiver).get$stderr(receiver);
  952. },
  953. get$stdout$x(receiver) {
  954. return J.getInterceptor$x(receiver).get$stdout(receiver);
  955. },
  956. get$style$x(receiver) {
  957. return J.getInterceptor$x(receiver).get$style(receiver);
  958. },
  959. get$syntax$x(receiver) {
  960. return J.getInterceptor$x(receiver).get$syntax(receiver);
  961. },
  962. get$trace$z(receiver) {
  963. return J.getInterceptor$z(receiver).get$trace(receiver);
  964. },
  965. get$url$x(receiver) {
  966. return J.getInterceptor$x(receiver).get$url(receiver);
  967. },
  968. get$verbose$x(receiver) {
  969. return J.getInterceptor$x(receiver).get$verbose(receiver);
  970. },
  971. get$warn$x(receiver) {
  972. return J.getInterceptor$x(receiver).get$warn(receiver);
  973. },
  974. $add$ansx(receiver, a0) {
  975. if (typeof receiver == "number" && typeof a0 == "number")
  976. return receiver + a0;
  977. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  978. },
  979. $eq$(receiver, a0) {
  980. if (receiver == null)
  981. return a0 == null;
  982. if (typeof receiver != "object")
  983. return a0 != null && receiver === a0;
  984. return J.getInterceptor$(receiver).$eq(receiver, a0);
  985. },
  986. $index$asx(receiver, a0) {
  987. if (typeof a0 === "number")
  988. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  989. if (a0 >>> 0 === a0 && a0 < receiver.length)
  990. return receiver[a0];
  991. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  992. },
  993. $indexSet$ax(receiver, a0, a1) {
  994. if (typeof a0 === "number")
  995. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  996. return receiver[a0] = a1;
  997. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  998. },
  999. $set$2$x(receiver, a0, a1) {
  1000. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  1001. },
  1002. add$1$ax(receiver, a0) {
  1003. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  1004. },
  1005. addAll$1$ax(receiver, a0) {
  1006. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  1007. },
  1008. allMatches$1$s(receiver, a0) {
  1009. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  1010. },
  1011. allMatches$2$s(receiver, a0, a1) {
  1012. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  1013. },
  1014. any$1$ax(receiver, a0) {
  1015. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  1016. },
  1017. apply$2$x(receiver, a0, a1) {
  1018. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  1019. },
  1020. asImmutable$0$x(receiver) {
  1021. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  1022. },
  1023. asMutable$0$x(receiver) {
  1024. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1025. },
  1026. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1027. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1028. },
  1029. cast$1$0$ax(receiver, $T1) {
  1030. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1031. },
  1032. close$0$x(receiver) {
  1033. return J.getInterceptor$x(receiver).close$0(receiver);
  1034. },
  1035. codeUnitAt$1$s(receiver, a0) {
  1036. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1037. },
  1038. compareTo$1$ns(receiver, a0) {
  1039. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1040. },
  1041. contains$1$asx(receiver, a0) {
  1042. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1043. },
  1044. createInterface$1$x(receiver, a0) {
  1045. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1046. },
  1047. createRequire$1$x(receiver, a0) {
  1048. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1049. },
  1050. elementAt$1$ax(receiver, a0) {
  1051. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1052. },
  1053. endsWith$1$s(receiver, a0) {
  1054. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1055. },
  1056. error$1$x(receiver, a0) {
  1057. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1058. },
  1059. every$1$ax(receiver, a0) {
  1060. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1061. },
  1062. existsSync$1$x(receiver, a0) {
  1063. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1064. },
  1065. expand$1$1$ax(receiver, a0, $T1) {
  1066. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1067. },
  1068. fillRange$3$ax(receiver, a0, a1, a2) {
  1069. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1070. },
  1071. fold$2$ax(receiver, a0, a1) {
  1072. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1073. },
  1074. forEach$1$ax(receiver, a0) {
  1075. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1076. },
  1077. getRange$2$ax(receiver, a0, a1) {
  1078. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1079. },
  1080. getTime$0$x(receiver) {
  1081. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1082. },
  1083. isDirectory$0$x(receiver) {
  1084. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1085. },
  1086. isFile$0$x(receiver) {
  1087. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1088. },
  1089. join$1$ax(receiver, a0) {
  1090. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1091. },
  1092. listen$1$z(receiver, a0) {
  1093. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1094. },
  1095. log$1$x(receiver, a0) {
  1096. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1097. },
  1098. map$1$1$ax(receiver, a0, $T1) {
  1099. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1100. },
  1101. matchAsPrefix$2$s(receiver, a0, a1) {
  1102. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1103. },
  1104. mkdirSync$1$x(receiver, a0) {
  1105. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1106. },
  1107. noSuchMethod$1$(receiver, a0) {
  1108. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1109. },
  1110. on$2$x(receiver, a0, a1) {
  1111. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1112. },
  1113. readFileSync$2$x(receiver, a0, a1) {
  1114. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1115. },
  1116. readdirSync$1$x(receiver, a0) {
  1117. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1118. },
  1119. remove$1$z(receiver, a0) {
  1120. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1121. },
  1122. removeRange$2$ax(receiver, a0, a1) {
  1123. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1124. },
  1125. replaceFirst$2$s(receiver, a0, a1) {
  1126. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1127. },
  1128. resolve$1$x(receiver, a0) {
  1129. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1130. },
  1131. run$0$x(receiver) {
  1132. return J.getInterceptor$x(receiver).run$0(receiver);
  1133. },
  1134. run$1$x(receiver, a0) {
  1135. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1136. },
  1137. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1138. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1139. },
  1140. skip$1$ax(receiver, a0) {
  1141. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1142. },
  1143. sort$1$ax(receiver, a0) {
  1144. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1145. },
  1146. startsWith$1$s(receiver, a0) {
  1147. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1148. },
  1149. statSync$1$x(receiver, a0) {
  1150. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1151. },
  1152. sublist$1$ax(receiver, a0) {
  1153. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1154. },
  1155. substring$1$s(receiver, a0) {
  1156. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  1157. },
  1158. substring$2$s(receiver, a0, a1) {
  1159. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1160. },
  1161. take$1$ax(receiver, a0) {
  1162. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1163. },
  1164. then$1$1$x(receiver, a0, $T1) {
  1165. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  1166. },
  1167. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1168. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1169. },
  1170. then$2$x(receiver, a0, a1) {
  1171. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1172. },
  1173. toArray$0$x(receiver) {
  1174. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1175. },
  1176. toList$0$ax(receiver) {
  1177. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1178. },
  1179. toList$1$growable$ax(receiver, a0) {
  1180. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1181. },
  1182. toRadixString$1$n(receiver, a0) {
  1183. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  1184. },
  1185. toSet$0$ax(receiver) {
  1186. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1187. },
  1188. toString$0$(receiver) {
  1189. return J.getInterceptor$(receiver).toString$0(receiver);
  1190. },
  1191. toString$1$color$(receiver, a0) {
  1192. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1193. },
  1194. trim$0$s(receiver) {
  1195. return J.getInterceptor$s(receiver).trim$0(receiver);
  1196. },
  1197. unlinkSync$1$x(receiver, a0) {
  1198. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1199. },
  1200. watch$2$x(receiver, a0, a1) {
  1201. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1202. },
  1203. where$1$ax(receiver, a0) {
  1204. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1205. },
  1206. write$1$x(receiver, a0) {
  1207. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1208. },
  1209. writeFileSync$2$x(receiver, a0, a1) {
  1210. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1211. },
  1212. yield$0$x(receiver) {
  1213. return J.getInterceptor$x(receiver).yield$0(receiver);
  1214. },
  1215. Interceptor: function Interceptor() {
  1216. },
  1217. JSBool: function JSBool() {
  1218. },
  1219. JSNull: function JSNull() {
  1220. },
  1221. JavaScriptObject: function JavaScriptObject() {
  1222. },
  1223. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1224. },
  1225. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1226. },
  1227. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1228. },
  1229. JavaScriptFunction: function JavaScriptFunction() {
  1230. },
  1231. JavaScriptBigInt: function JavaScriptBigInt() {
  1232. },
  1233. JavaScriptSymbol: function JavaScriptSymbol() {
  1234. },
  1235. JSArray: function JSArray(t0) {
  1236. this.$ti = t0;
  1237. },
  1238. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1239. this.$ti = t0;
  1240. },
  1241. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1242. var _ = this;
  1243. _._iterable = t0;
  1244. _._length = t1;
  1245. _._index = 0;
  1246. _._current = null;
  1247. _.$ti = t2;
  1248. },
  1249. JSNumber: function JSNumber() {
  1250. },
  1251. JSInt: function JSInt() {
  1252. },
  1253. JSNumNotInt: function JSNumNotInt() {
  1254. },
  1255. JSString: function JSString() {
  1256. }
  1257. },
  1258. A = {JS_CONST: function JS_CONST() {
  1259. },
  1260. CastIterable_CastIterable(source, $S, $T) {
  1261. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  1262. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1263. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1264. },
  1265. LateError$localNI(localName) {
  1266. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1267. },
  1268. ReachabilityError$(_message) {
  1269. return new A.ReachabilityError(_message);
  1270. },
  1271. hexDigitValue(char) {
  1272. var letter,
  1273. digit = char ^ 48;
  1274. if (digit <= 9)
  1275. return digit;
  1276. letter = char | 32;
  1277. if (97 <= letter && letter <= 102)
  1278. return letter - 87;
  1279. return -1;
  1280. },
  1281. SystemHash_combine(hash, value) {
  1282. hash = hash + value & 536870911;
  1283. hash = hash + ((hash & 524287) << 10) & 536870911;
  1284. return hash ^ hash >>> 6;
  1285. },
  1286. SystemHash_finish(hash) {
  1287. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1288. hash ^= hash >>> 11;
  1289. return hash + ((hash & 16383) << 15) & 536870911;
  1290. },
  1291. checkNotNullable(value, $name, $T) {
  1292. return value;
  1293. },
  1294. isToStringVisiting(object) {
  1295. var t1, i;
  1296. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1297. if (object === $.toStringVisiting[i])
  1298. return true;
  1299. return false;
  1300. },
  1301. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1302. A.RangeError_checkNotNegative(_start, "start");
  1303. if (_endOrLength != null) {
  1304. A.RangeError_checkNotNegative(_endOrLength, "end");
  1305. if (_start > _endOrLength)
  1306. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1307. }
  1308. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1309. },
  1310. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1311. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1312. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1313. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1314. },
  1315. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1316. var _s9_ = "takeCount";
  1317. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1318. A.RangeError_checkNotNegative(takeCount, _s9_);
  1319. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1320. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1321. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1322. },
  1323. SkipIterable_SkipIterable(iterable, count, $E) {
  1324. var _s5_ = "count";
  1325. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1326. A.ArgumentError_checkNotNull(count, _s5_);
  1327. A.RangeError_checkNotNegative(count, _s5_);
  1328. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1329. }
  1330. A.ArgumentError_checkNotNull(count, _s5_);
  1331. A.RangeError_checkNotNegative(count, _s5_);
  1332. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1333. },
  1334. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1335. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  1336. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1337. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1338. },
  1339. IterableElementError_noElement() {
  1340. return new A.StateError("No element");
  1341. },
  1342. IterableElementError_tooMany() {
  1343. return new A.StateError("Too many elements");
  1344. },
  1345. IterableElementError_tooFew() {
  1346. return new A.StateError("Too few elements");
  1347. },
  1348. Sort__doSort(a, left, right, compare) {
  1349. if (right - left <= 32)
  1350. A.Sort__insertionSort(a, left, right, compare);
  1351. else
  1352. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1353. },
  1354. Sort__insertionSort(a, left, right, compare) {
  1355. var i, t1, el, j, j0;
  1356. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1357. el = t1.$index(a, i);
  1358. j = i;
  1359. while (true) {
  1360. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1361. break;
  1362. j0 = j - 1;
  1363. t1.$indexSet(a, j, t1.$index(a, j0));
  1364. j = j0;
  1365. }
  1366. t1.$indexSet(a, j, el);
  1367. }
  1368. },
  1369. Sort__dualPivotQuicksort(a, left, right, compare) {
  1370. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  1371. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1372. index1 = left + sixth,
  1373. index5 = right - sixth,
  1374. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1375. index2 = index3 - sixth,
  1376. index4 = index3 + sixth,
  1377. t1 = J.getInterceptor$asx(a),
  1378. el1 = t1.$index(a, index1),
  1379. el2 = t1.$index(a, index2),
  1380. el3 = t1.$index(a, index3),
  1381. el4 = t1.$index(a, index4),
  1382. el5 = t1.$index(a, index5);
  1383. if (compare.call$2(el1, el2) > 0) {
  1384. t0 = el2;
  1385. el2 = el1;
  1386. el1 = t0;
  1387. }
  1388. if (compare.call$2(el4, el5) > 0) {
  1389. t0 = el5;
  1390. el5 = el4;
  1391. el4 = t0;
  1392. }
  1393. if (compare.call$2(el1, el3) > 0) {
  1394. t0 = el3;
  1395. el3 = el1;
  1396. el1 = t0;
  1397. }
  1398. if (compare.call$2(el2, el3) > 0) {
  1399. t0 = el3;
  1400. el3 = el2;
  1401. el2 = t0;
  1402. }
  1403. if (compare.call$2(el1, el4) > 0) {
  1404. t0 = el4;
  1405. el4 = el1;
  1406. el1 = t0;
  1407. }
  1408. if (compare.call$2(el3, el4) > 0) {
  1409. t0 = el4;
  1410. el4 = el3;
  1411. el3 = t0;
  1412. }
  1413. if (compare.call$2(el2, el5) > 0) {
  1414. t0 = el5;
  1415. el5 = el2;
  1416. el2 = t0;
  1417. }
  1418. if (compare.call$2(el2, el3) > 0) {
  1419. t0 = el3;
  1420. el3 = el2;
  1421. el2 = t0;
  1422. }
  1423. if (compare.call$2(el4, el5) > 0) {
  1424. t0 = el5;
  1425. el5 = el4;
  1426. el4 = t0;
  1427. }
  1428. t1.$indexSet(a, index1, el1);
  1429. t1.$indexSet(a, index3, el3);
  1430. t1.$indexSet(a, index5, el5);
  1431. t1.$indexSet(a, index2, t1.$index(a, left));
  1432. t1.$indexSet(a, index4, t1.$index(a, right));
  1433. less = left + 1;
  1434. great = right - 1;
  1435. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  1436. for (k = less; k <= great; ++k) {
  1437. ak = t1.$index(a, k);
  1438. comp = compare.call$2(ak, el2);
  1439. if (comp === 0)
  1440. continue;
  1441. if (comp < 0) {
  1442. if (k !== less) {
  1443. t1.$indexSet(a, k, t1.$index(a, less));
  1444. t1.$indexSet(a, less, ak);
  1445. }
  1446. ++less;
  1447. } else
  1448. for (; true;) {
  1449. comp = compare.call$2(t1.$index(a, great), el2);
  1450. if (comp > 0) {
  1451. --great;
  1452. continue;
  1453. } else {
  1454. great0 = great - 1;
  1455. if (comp < 0) {
  1456. t1.$indexSet(a, k, t1.$index(a, less));
  1457. less0 = less + 1;
  1458. t1.$indexSet(a, less, t1.$index(a, great));
  1459. t1.$indexSet(a, great, ak);
  1460. great = great0;
  1461. less = less0;
  1462. break;
  1463. } else {
  1464. t1.$indexSet(a, k, t1.$index(a, great));
  1465. t1.$indexSet(a, great, ak);
  1466. great = great0;
  1467. break;
  1468. }
  1469. }
  1470. }
  1471. }
  1472. pivots_are_equal = true;
  1473. } else {
  1474. for (k = less; k <= great; ++k) {
  1475. ak = t1.$index(a, k);
  1476. if (compare.call$2(ak, el2) < 0) {
  1477. if (k !== less) {
  1478. t1.$indexSet(a, k, t1.$index(a, less));
  1479. t1.$indexSet(a, less, ak);
  1480. }
  1481. ++less;
  1482. } else if (compare.call$2(ak, el4) > 0)
  1483. for (; true;)
  1484. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1485. --great;
  1486. if (great < k)
  1487. break;
  1488. continue;
  1489. } else {
  1490. great0 = great - 1;
  1491. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1492. t1.$indexSet(a, k, t1.$index(a, less));
  1493. less0 = less + 1;
  1494. t1.$indexSet(a, less, t1.$index(a, great));
  1495. t1.$indexSet(a, great, ak);
  1496. less = less0;
  1497. } else {
  1498. t1.$indexSet(a, k, t1.$index(a, great));
  1499. t1.$indexSet(a, great, ak);
  1500. }
  1501. great = great0;
  1502. break;
  1503. }
  1504. }
  1505. pivots_are_equal = false;
  1506. }
  1507. t2 = less - 1;
  1508. t1.$indexSet(a, left, t1.$index(a, t2));
  1509. t1.$indexSet(a, t2, el2);
  1510. t2 = great + 1;
  1511. t1.$indexSet(a, right, t1.$index(a, t2));
  1512. t1.$indexSet(a, t2, el4);
  1513. A.Sort__doSort(a, left, less - 2, compare);
  1514. A.Sort__doSort(a, great + 2, right, compare);
  1515. if (pivots_are_equal)
  1516. return;
  1517. if (less < index1 && great > index5) {
  1518. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1519. ++less;
  1520. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1521. --great;
  1522. for (k = less; k <= great; ++k) {
  1523. ak = t1.$index(a, k);
  1524. if (compare.call$2(ak, el2) === 0) {
  1525. if (k !== less) {
  1526. t1.$indexSet(a, k, t1.$index(a, less));
  1527. t1.$indexSet(a, less, ak);
  1528. }
  1529. ++less;
  1530. } else if (compare.call$2(ak, el4) === 0)
  1531. for (; true;)
  1532. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1533. --great;
  1534. if (great < k)
  1535. break;
  1536. continue;
  1537. } else {
  1538. great0 = great - 1;
  1539. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1540. t1.$indexSet(a, k, t1.$index(a, less));
  1541. less0 = less + 1;
  1542. t1.$indexSet(a, less, t1.$index(a, great));
  1543. t1.$indexSet(a, great, ak);
  1544. less = less0;
  1545. } else {
  1546. t1.$indexSet(a, k, t1.$index(a, great));
  1547. t1.$indexSet(a, great, ak);
  1548. }
  1549. great = great0;
  1550. break;
  1551. }
  1552. }
  1553. A.Sort__doSort(a, less, great, compare);
  1554. } else
  1555. A.Sort__doSort(a, less, great, compare);
  1556. },
  1557. _CastIterableBase: function _CastIterableBase() {
  1558. },
  1559. CastIterator: function CastIterator(t0, t1) {
  1560. this._source = t0;
  1561. this.$ti = t1;
  1562. },
  1563. CastIterable: function CastIterable(t0, t1) {
  1564. this._source = t0;
  1565. this.$ti = t1;
  1566. },
  1567. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1568. this._source = t0;
  1569. this.$ti = t1;
  1570. },
  1571. _CastListBase: function _CastListBase() {
  1572. },
  1573. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1574. this.$this = t0;
  1575. this.compare = t1;
  1576. },
  1577. CastList: function CastList(t0, t1) {
  1578. this._source = t0;
  1579. this.$ti = t1;
  1580. },
  1581. CastSet: function CastSet(t0, t1, t2) {
  1582. this._source = t0;
  1583. this._emptySet = t1;
  1584. this.$ti = t2;
  1585. },
  1586. CastMap: function CastMap(t0, t1) {
  1587. this._source = t0;
  1588. this.$ti = t1;
  1589. },
  1590. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1591. this.$this = t0;
  1592. this.f = t1;
  1593. },
  1594. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1595. this.$this = t0;
  1596. },
  1597. LateError: function LateError(t0) {
  1598. this._message = t0;
  1599. },
  1600. ReachabilityError: function ReachabilityError(t0) {
  1601. this._message = t0;
  1602. },
  1603. CodeUnits: function CodeUnits(t0) {
  1604. this._string = t0;
  1605. },
  1606. nullFuture_closure: function nullFuture_closure() {
  1607. },
  1608. SentinelValue: function SentinelValue() {
  1609. },
  1610. EfficientLengthIterable: function EfficientLengthIterable() {
  1611. },
  1612. ListIterable: function ListIterable() {
  1613. },
  1614. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1615. var _ = this;
  1616. _.__internal$_iterable = t0;
  1617. _._start = t1;
  1618. _._endOrLength = t2;
  1619. _.$ti = t3;
  1620. },
  1621. ListIterator: function ListIterator(t0, t1, t2) {
  1622. var _ = this;
  1623. _.__internal$_iterable = t0;
  1624. _.__internal$_length = t1;
  1625. _.__internal$_index = 0;
  1626. _.__internal$_current = null;
  1627. _.$ti = t2;
  1628. },
  1629. MappedIterable: function MappedIterable(t0, t1, t2) {
  1630. this.__internal$_iterable = t0;
  1631. this._f = t1;
  1632. this.$ti = t2;
  1633. },
  1634. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1635. this.__internal$_iterable = t0;
  1636. this._f = t1;
  1637. this.$ti = t2;
  1638. },
  1639. MappedIterator: function MappedIterator(t0, t1, t2) {
  1640. var _ = this;
  1641. _.__internal$_current = null;
  1642. _._iterator = t0;
  1643. _._f = t1;
  1644. _.$ti = t2;
  1645. },
  1646. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1647. this._source = t0;
  1648. this._f = t1;
  1649. this.$ti = t2;
  1650. },
  1651. WhereIterable: function WhereIterable(t0, t1, t2) {
  1652. this.__internal$_iterable = t0;
  1653. this._f = t1;
  1654. this.$ti = t2;
  1655. },
  1656. WhereIterator: function WhereIterator(t0, t1) {
  1657. this._iterator = t0;
  1658. this._f = t1;
  1659. },
  1660. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1661. this.__internal$_iterable = t0;
  1662. this._f = t1;
  1663. this.$ti = t2;
  1664. },
  1665. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1666. var _ = this;
  1667. _._iterator = t0;
  1668. _._f = t1;
  1669. _._currentExpansion = t2;
  1670. _.__internal$_current = null;
  1671. _.$ti = t3;
  1672. },
  1673. TakeIterable: function TakeIterable(t0, t1, t2) {
  1674. this.__internal$_iterable = t0;
  1675. this._takeCount = t1;
  1676. this.$ti = t2;
  1677. },
  1678. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1679. this.__internal$_iterable = t0;
  1680. this._takeCount = t1;
  1681. this.$ti = t2;
  1682. },
  1683. TakeIterator: function TakeIterator(t0, t1, t2) {
  1684. this._iterator = t0;
  1685. this._remaining = t1;
  1686. this.$ti = t2;
  1687. },
  1688. SkipIterable: function SkipIterable(t0, t1, t2) {
  1689. this.__internal$_iterable = t0;
  1690. this._skipCount = t1;
  1691. this.$ti = t2;
  1692. },
  1693. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1694. this.__internal$_iterable = t0;
  1695. this._skipCount = t1;
  1696. this.$ti = t2;
  1697. },
  1698. SkipIterator: function SkipIterator(t0, t1) {
  1699. this._iterator = t0;
  1700. this._skipCount = t1;
  1701. },
  1702. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1703. this.__internal$_iterable = t0;
  1704. this._f = t1;
  1705. this.$ti = t2;
  1706. },
  1707. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1708. this._iterator = t0;
  1709. this._f = t1;
  1710. this._hasSkipped = false;
  1711. },
  1712. EmptyIterable: function EmptyIterable(t0) {
  1713. this.$ti = t0;
  1714. },
  1715. EmptyIterator: function EmptyIterator() {
  1716. },
  1717. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1718. this.__internal$_first = t0;
  1719. this._second = t1;
  1720. this.$ti = t2;
  1721. },
  1722. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1723. this.__internal$_first = t0;
  1724. this._second = t1;
  1725. this.$ti = t2;
  1726. },
  1727. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1728. this._currentIterator = t0;
  1729. this._nextIterable = t1;
  1730. },
  1731. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1732. this._source = t0;
  1733. this.$ti = t1;
  1734. },
  1735. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1736. this._source = t0;
  1737. this.$ti = t1;
  1738. },
  1739. FixedLengthListMixin: function FixedLengthListMixin() {
  1740. },
  1741. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1742. },
  1743. UnmodifiableListBase: function UnmodifiableListBase() {
  1744. },
  1745. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1746. this._source = t0;
  1747. this.$ti = t1;
  1748. },
  1749. Symbol: function Symbol(t0) {
  1750. this.__internal$_name = t0;
  1751. },
  1752. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1753. },
  1754. ConstantMap_ConstantMap$from(other, $K, $V) {
  1755. var allStrings, k, object, index, index0, map,
  1756. keys = A.List_List$from(other.get$keys(other), true, $K),
  1757. t1 = keys.length,
  1758. _i = 0;
  1759. while (true) {
  1760. if (!(_i < t1)) {
  1761. allStrings = true;
  1762. break;
  1763. }
  1764. k = keys[_i];
  1765. if (typeof k != "string" || "__proto__" === k) {
  1766. allStrings = false;
  1767. break;
  1768. }
  1769. ++_i;
  1770. }
  1771. if (allStrings) {
  1772. object = {};
  1773. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1774. k = keys[_i];
  1775. other.$index(0, k);
  1776. index0 = index + 1;
  1777. object[k] = index;
  1778. }
  1779. 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>"));
  1780. map.$keys = keys;
  1781. return map;
  1782. }
  1783. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1784. },
  1785. ConstantMap__throwUnmodifiable() {
  1786. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1787. },
  1788. ConstantSet__throwUnmodifiable() {
  1789. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1790. },
  1791. instantiate1(f, T1) {
  1792. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1793. t1.Instantiation$1(f);
  1794. return t1;
  1795. },
  1796. unminifyOrTag(rawClassName) {
  1797. var preserved = init.mangledGlobalNames[rawClassName];
  1798. if (preserved != null)
  1799. return preserved;
  1800. return rawClassName;
  1801. },
  1802. isJsIndexable(object, record) {
  1803. var result;
  1804. if (record != null) {
  1805. result = record.x;
  1806. if (result != null)
  1807. return result;
  1808. }
  1809. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1810. },
  1811. S(value) {
  1812. var result;
  1813. if (typeof value == "string")
  1814. return value;
  1815. if (typeof value == "number") {
  1816. if (value !== 0)
  1817. return "" + value;
  1818. } else if (true === value)
  1819. return "true";
  1820. else if (false === value)
  1821. return "false";
  1822. else if (value == null)
  1823. return "null";
  1824. result = J.toString$0$(value);
  1825. return result;
  1826. },
  1827. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1828. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1829. },
  1830. Primitives_objectHashCode(object) {
  1831. var hash,
  1832. property = $.Primitives__identityHashCodeProperty;
  1833. if (property == null)
  1834. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1835. hash = object[property];
  1836. if (hash == null) {
  1837. hash = Math.random() * 0x3fffffff | 0;
  1838. object[property] = hash;
  1839. }
  1840. return hash;
  1841. },
  1842. Primitives_parseInt(source, radix) {
  1843. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1844. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1845. if (match == null)
  1846. return _null;
  1847. decimalMatch = match[3];
  1848. if (radix == null) {
  1849. if (decimalMatch != null)
  1850. return parseInt(source, 10);
  1851. if (match[2] != null)
  1852. return parseInt(source, 16);
  1853. return _null;
  1854. }
  1855. if (radix < 2 || radix > 36)
  1856. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1857. if (radix === 10 && decimalMatch != null)
  1858. return parseInt(source, 10);
  1859. if (radix < 10 || decimalMatch == null) {
  1860. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1861. digitsPart = match[1];
  1862. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1863. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1864. return _null;
  1865. }
  1866. return parseInt(source, radix);
  1867. },
  1868. Primitives_parseDouble(source) {
  1869. var result, trimmed;
  1870. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1871. return null;
  1872. result = parseFloat(source);
  1873. if (isNaN(result)) {
  1874. trimmed = B.JSString_methods.trim$0(source);
  1875. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  1876. return result;
  1877. return null;
  1878. }
  1879. return result;
  1880. },
  1881. Primitives_objectTypeName(object) {
  1882. return A.Primitives__objectTypeNameNewRti(object);
  1883. },
  1884. Primitives__objectTypeNameNewRti(object) {
  1885. var interceptor, dispatchName, $constructor, constructorName;
  1886. if (object instanceof A.Object)
  1887. return A._rtiToString(A.instanceType(object), null);
  1888. interceptor = J.getInterceptor$(object);
  1889. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  1890. dispatchName = B.C_JS_CONST(object);
  1891. if (dispatchName !== "Object" && dispatchName !== "")
  1892. return dispatchName;
  1893. $constructor = object.constructor;
  1894. if (typeof $constructor == "function") {
  1895. constructorName = $constructor.name;
  1896. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  1897. return constructorName;
  1898. }
  1899. }
  1900. return A._rtiToString(A.instanceType(object), null);
  1901. },
  1902. Primitives_safeToString(object) {
  1903. if (object == null || typeof object == "number" || A._isBool(object))
  1904. return J.toString$0$(object);
  1905. if (typeof object == "string")
  1906. return JSON.stringify(object);
  1907. if (object instanceof A.Closure)
  1908. return object.toString$0(0);
  1909. if (object instanceof A._Record)
  1910. return object._toString$1(true);
  1911. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  1912. },
  1913. Primitives_currentUri() {
  1914. if (!!self.location)
  1915. return self.location.href;
  1916. return null;
  1917. },
  1918. Primitives__fromCharCodeApply(array) {
  1919. var result, i, i0, chunkEnd,
  1920. end = array.length;
  1921. if (end <= 500)
  1922. return String.fromCharCode.apply(null, array);
  1923. for (result = "", i = 0; i < end; i = i0) {
  1924. i0 = i + 500;
  1925. chunkEnd = i0 < end ? i0 : end;
  1926. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1927. }
  1928. return result;
  1929. },
  1930. Primitives_stringFromCodePoints(codePoints) {
  1931. var t1, _i, i,
  1932. a = A._setArrayType([], type$.JSArray_int);
  1933. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1934. i = codePoints[_i];
  1935. if (!A._isInt(i))
  1936. throw A.wrapException(A.argumentErrorValue(i));
  1937. if (i <= 65535)
  1938. a.push(i);
  1939. else if (i <= 1114111) {
  1940. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1941. a.push(56320 + (i & 1023));
  1942. } else
  1943. throw A.wrapException(A.argumentErrorValue(i));
  1944. }
  1945. return A.Primitives__fromCharCodeApply(a);
  1946. },
  1947. Primitives_stringFromCharCodes(charCodes) {
  1948. var t1, _i, i;
  1949. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1950. i = charCodes[_i];
  1951. if (!A._isInt(i))
  1952. throw A.wrapException(A.argumentErrorValue(i));
  1953. if (i < 0)
  1954. throw A.wrapException(A.argumentErrorValue(i));
  1955. if (i > 65535)
  1956. return A.Primitives_stringFromCodePoints(charCodes);
  1957. }
  1958. return A.Primitives__fromCharCodeApply(charCodes);
  1959. },
  1960. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1961. var i, result, i0, chunkEnd;
  1962. if (end <= 500 && start === 0 && end === charCodes.length)
  1963. return String.fromCharCode.apply(null, charCodes);
  1964. for (i = start, result = ""; i < end; i = i0) {
  1965. i0 = i + 500;
  1966. chunkEnd = i0 < end ? i0 : end;
  1967. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1968. }
  1969. return result;
  1970. },
  1971. Primitives_stringFromCharCode(charCode) {
  1972. var bits;
  1973. if (0 <= charCode) {
  1974. if (charCode <= 65535)
  1975. return String.fromCharCode(charCode);
  1976. if (charCode <= 1114111) {
  1977. bits = charCode - 65536;
  1978. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1979. }
  1980. }
  1981. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1982. },
  1983. Primitives_lazyAsJsDate(receiver) {
  1984. if (receiver.date === void 0)
  1985. receiver.date = new Date(receiver._core$_value);
  1986. return receiver.date;
  1987. },
  1988. Primitives_getYear(receiver) {
  1989. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1990. return t1;
  1991. },
  1992. Primitives_getMonth(receiver) {
  1993. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1994. return t1;
  1995. },
  1996. Primitives_getDay(receiver) {
  1997. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1998. return t1;
  1999. },
  2000. Primitives_getHours(receiver) {
  2001. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2002. return t1;
  2003. },
  2004. Primitives_getMinutes(receiver) {
  2005. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2006. return t1;
  2007. },
  2008. Primitives_getSeconds(receiver) {
  2009. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2010. return t1;
  2011. },
  2012. Primitives_getMilliseconds(receiver) {
  2013. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2014. return t1;
  2015. },
  2016. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2017. var $arguments, namedArgumentList, t1 = {};
  2018. t1.argumentCount = 0;
  2019. $arguments = [];
  2020. namedArgumentList = [];
  2021. t1.argumentCount = positionalArguments.length;
  2022. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2023. t1.names = "";
  2024. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2025. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2026. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2027. },
  2028. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2029. var t1, argumentCount, jsStub;
  2030. if (Array.isArray(positionalArguments))
  2031. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2032. else
  2033. t1 = false;
  2034. if (t1) {
  2035. argumentCount = positionalArguments.length;
  2036. if (argumentCount === 0) {
  2037. if (!!$function.call$0)
  2038. return $function.call$0();
  2039. } else if (argumentCount === 1) {
  2040. if (!!$function.call$1)
  2041. return $function.call$1(positionalArguments[0]);
  2042. } else if (argumentCount === 2) {
  2043. if (!!$function.call$2)
  2044. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2045. } else if (argumentCount === 3) {
  2046. if (!!$function.call$3)
  2047. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2048. } else if (argumentCount === 4) {
  2049. if (!!$function.call$4)
  2050. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2051. } else if (argumentCount === 5)
  2052. if (!!$function.call$5)
  2053. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2054. jsStub = $function["call" + "$" + argumentCount];
  2055. if (jsStub != null)
  2056. return jsStub.apply($function, positionalArguments);
  2057. }
  2058. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2059. },
  2060. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2061. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  2062. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  2063. argumentCount = $arguments.length,
  2064. requiredParameterCount = $function.$requiredArgCount;
  2065. if (argumentCount < requiredParameterCount)
  2066. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2067. defaultValuesClosure = $function.$defaultValues;
  2068. t1 = defaultValuesClosure == null;
  2069. defaultValues = !t1 ? defaultValuesClosure() : null;
  2070. interceptor = J.getInterceptor$($function);
  2071. jsFunction = interceptor["call*"];
  2072. if (typeof jsFunction == "string")
  2073. jsFunction = interceptor[jsFunction];
  2074. if (t1) {
  2075. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2076. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2077. if (argumentCount === requiredParameterCount)
  2078. return jsFunction.apply($function, $arguments);
  2079. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2080. }
  2081. if (Array.isArray(defaultValues)) {
  2082. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2083. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2084. maxArguments = requiredParameterCount + defaultValues.length;
  2085. if (argumentCount > maxArguments)
  2086. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2087. if (argumentCount < maxArguments) {
  2088. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2089. if ($arguments === positionalArguments)
  2090. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2091. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2092. }
  2093. return jsFunction.apply($function, $arguments);
  2094. } else {
  2095. if (argumentCount > requiredParameterCount)
  2096. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2097. if ($arguments === positionalArguments)
  2098. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2099. keys = Object.keys(defaultValues);
  2100. if (namedArguments == null)
  2101. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2102. defaultValue = defaultValues[keys[_i]];
  2103. if (B.C__Required === defaultValue)
  2104. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2105. B.JSArray_methods.add$1($arguments, defaultValue);
  2106. }
  2107. else {
  2108. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2109. t2 = keys[_i];
  2110. if (namedArguments.containsKey$1(t2)) {
  2111. ++used;
  2112. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2113. } else {
  2114. defaultValue = defaultValues[t2];
  2115. if (B.C__Required === defaultValue)
  2116. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2117. B.JSArray_methods.add$1($arguments, defaultValue);
  2118. }
  2119. }
  2120. if (used !== namedArguments.__js_helper$_length)
  2121. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2122. }
  2123. return jsFunction.apply($function, $arguments);
  2124. }
  2125. },
  2126. diagnoseIndexError(indexable, index) {
  2127. var $length, _s5_ = "index";
  2128. if (!A._isInt(index))
  2129. return new A.ArgumentError(true, index, _s5_, null);
  2130. $length = J.get$length$asx(indexable);
  2131. if (index < 0 || index >= $length)
  2132. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2133. return A.RangeError$value(index, _s5_, null);
  2134. },
  2135. diagnoseRangeError(start, end, $length) {
  2136. if (start < 0 || start > $length)
  2137. return A.RangeError$range(start, 0, $length, "start", null);
  2138. if (end != null)
  2139. if (end < start || end > $length)
  2140. return A.RangeError$range(end, start, $length, "end", null);
  2141. return new A.ArgumentError(true, end, "end", null);
  2142. },
  2143. argumentErrorValue(object) {
  2144. return new A.ArgumentError(true, object, null, null);
  2145. },
  2146. checkNum(value) {
  2147. return value;
  2148. },
  2149. wrapException(ex) {
  2150. return A.initializeExceptionWrapper(new Error(), ex);
  2151. },
  2152. initializeExceptionWrapper(wrapper, ex) {
  2153. var t1;
  2154. if (ex == null)
  2155. ex = new A.TypeError();
  2156. wrapper.dartException = ex;
  2157. t1 = A.toStringWrapper;
  2158. if ("defineProperty" in Object) {
  2159. Object.defineProperty(wrapper, "message", {get: t1});
  2160. wrapper.name = "";
  2161. } else
  2162. wrapper.toString = t1;
  2163. return wrapper;
  2164. },
  2165. toStringWrapper() {
  2166. return J.toString$0$(this.dartException);
  2167. },
  2168. throwExpression(ex) {
  2169. throw A.wrapException(ex);
  2170. },
  2171. throwExpressionWithWrapper(ex, wrapper) {
  2172. throw A.initializeExceptionWrapper(wrapper, ex);
  2173. },
  2174. throwConcurrentModificationError(collection) {
  2175. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2176. },
  2177. TypeErrorDecoder_extractPattern(message) {
  2178. var match, $arguments, argumentsExpr, expr, method, receiver;
  2179. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2180. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2181. if (match == null)
  2182. match = A._setArrayType([], type$.JSArray_String);
  2183. $arguments = match.indexOf("\\$arguments\\$");
  2184. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2185. expr = match.indexOf("\\$expr\\$");
  2186. method = match.indexOf("\\$method\\$");
  2187. receiver = match.indexOf("\\$receiver\\$");
  2188. 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);
  2189. },
  2190. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2191. return function($expr$) {
  2192. var $argumentsExpr$ = "$arguments$";
  2193. try {
  2194. $expr$.$method$($argumentsExpr$);
  2195. } catch (e) {
  2196. return e.message;
  2197. }
  2198. }(expression);
  2199. },
  2200. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2201. return function($expr$) {
  2202. try {
  2203. $expr$.$method$;
  2204. } catch (e) {
  2205. return e.message;
  2206. }
  2207. }(expression);
  2208. },
  2209. JsNoSuchMethodError$(_message, match) {
  2210. var t1 = match == null,
  2211. t2 = t1 ? null : match.method;
  2212. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2213. },
  2214. unwrapException(ex) {
  2215. if (ex == null)
  2216. return new A.NullThrownFromJavaScriptException(ex);
  2217. if (ex instanceof A.ExceptionAndStackTrace)
  2218. return A.saveStackTrace(ex, ex.dartException);
  2219. if (typeof ex !== "object")
  2220. return ex;
  2221. if ("dartException" in ex)
  2222. return A.saveStackTrace(ex, ex.dartException);
  2223. return A._unwrapNonDartException(ex);
  2224. },
  2225. saveStackTrace(ex, error) {
  2226. if (type$.Error._is(error))
  2227. if (error.$thrownJsError == null)
  2228. error.$thrownJsError = ex;
  2229. return error;
  2230. },
  2231. _unwrapNonDartException(ex) {
  2232. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2233. if (!("message" in ex))
  2234. return ex;
  2235. message = ex.message;
  2236. if ("number" in ex && typeof ex.number == "number") {
  2237. number = ex.number;
  2238. ieErrorCode = number & 65535;
  2239. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2240. switch (ieErrorCode) {
  2241. case 438:
  2242. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2243. case 445:
  2244. case 5007:
  2245. A.S(message);
  2246. return A.saveStackTrace(ex, new A.NullError());
  2247. }
  2248. }
  2249. if (ex instanceof TypeError) {
  2250. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2251. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2252. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2253. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2254. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2255. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2256. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2257. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2258. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2259. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2260. match = nsme.matchTypeError$1(message);
  2261. if (match != null)
  2262. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2263. else {
  2264. match = notClosure.matchTypeError$1(message);
  2265. if (match != null) {
  2266. match.method = "call";
  2267. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2268. } 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)
  2269. return A.saveStackTrace(ex, new A.NullError());
  2270. }
  2271. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2272. }
  2273. if (ex instanceof RangeError) {
  2274. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2275. return new A.StackOverflowError();
  2276. message = function(ex) {
  2277. try {
  2278. return String(ex);
  2279. } catch (e) {
  2280. }
  2281. return null;
  2282. }(ex);
  2283. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2284. }
  2285. if (typeof InternalError == "function" && ex instanceof InternalError)
  2286. if (typeof message == "string" && message === "too much recursion")
  2287. return new A.StackOverflowError();
  2288. return ex;
  2289. },
  2290. getTraceFromException(exception) {
  2291. var trace;
  2292. if (exception instanceof A.ExceptionAndStackTrace)
  2293. return exception.stackTrace;
  2294. if (exception == null)
  2295. return new A._StackTrace(exception);
  2296. trace = exception.$cachedTrace;
  2297. if (trace != null)
  2298. return trace;
  2299. trace = new A._StackTrace(exception);
  2300. if (typeof exception === "object")
  2301. exception.$cachedTrace = trace;
  2302. return trace;
  2303. },
  2304. objectHashCode(object) {
  2305. if (object == null)
  2306. return J.get$hashCode$(object);
  2307. if (typeof object == "object")
  2308. return A.Primitives_objectHashCode(object);
  2309. return J.get$hashCode$(object);
  2310. },
  2311. constantHashCode(key) {
  2312. if (typeof key == "number")
  2313. return B.JSNumber_methods.get$hashCode(key);
  2314. if (key instanceof A._Type)
  2315. return A.Primitives_objectHashCode(key);
  2316. if (key instanceof A._Record)
  2317. return key.get$hashCode(key);
  2318. if (key instanceof A.Symbol)
  2319. return key.get$hashCode(0);
  2320. return A.objectHashCode(key);
  2321. },
  2322. fillLiteralMap(keyValuePairs, result) {
  2323. var index, index0, index1,
  2324. $length = keyValuePairs.length;
  2325. for (index = 0; index < $length; index = index1) {
  2326. index0 = index + 1;
  2327. index1 = index0 + 1;
  2328. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2329. }
  2330. return result;
  2331. },
  2332. fillLiteralSet(values, result) {
  2333. var index,
  2334. $length = values.length;
  2335. for (index = 0; index < $length; ++index)
  2336. result.add$1(0, values[index]);
  2337. return result;
  2338. },
  2339. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2340. switch (numberOfArguments) {
  2341. case 0:
  2342. return closure.call$0();
  2343. case 1:
  2344. return closure.call$1(arg1);
  2345. case 2:
  2346. return closure.call$2(arg1, arg2);
  2347. case 3:
  2348. return closure.call$3(arg1, arg2, arg3);
  2349. case 4:
  2350. return closure.call$4(arg1, arg2, arg3, arg4);
  2351. }
  2352. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2353. },
  2354. convertDartClosureToJS(closure, arity) {
  2355. var $function;
  2356. if (closure == null)
  2357. return null;
  2358. $function = closure.$identity;
  2359. if (!!$function)
  2360. return $function;
  2361. $function = A.convertDartClosureToJSUncached(closure, arity);
  2362. closure.$identity = $function;
  2363. return $function;
  2364. },
  2365. convertDartClosureToJSUncached(closure, arity) {
  2366. var entry;
  2367. switch (arity) {
  2368. case 0:
  2369. entry = closure.call$0;
  2370. break;
  2371. case 1:
  2372. entry = closure.call$1;
  2373. break;
  2374. case 2:
  2375. entry = closure.call$2;
  2376. break;
  2377. case 3:
  2378. entry = closure.call$3;
  2379. break;
  2380. case 4:
  2381. entry = closure.call$4;
  2382. break;
  2383. default:
  2384. entry = null;
  2385. }
  2386. if (entry != null)
  2387. return entry.bind(closure);
  2388. return function(closure, arity, invoke) {
  2389. return function(a1, a2, a3, a4) {
  2390. return invoke(closure, arity, a1, a2, a3, a4);
  2391. };
  2392. }(closure, arity, A._invokeClosure);
  2393. },
  2394. Closure_fromTearOff(parameters) {
  2395. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2396. container = parameters.co,
  2397. isStatic = parameters.iS,
  2398. isIntercepted = parameters.iI,
  2399. needsDirectAccess = parameters.nDA,
  2400. applyTrampolineIndex = parameters.aI,
  2401. funsOrNames = parameters.fs,
  2402. callNames = parameters.cs,
  2403. $name = funsOrNames[0],
  2404. callName = callNames[0],
  2405. $function = container[$name],
  2406. t1 = parameters.fT;
  2407. t1.toString;
  2408. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2409. $prototype.$initialize = $prototype.constructor;
  2410. $constructor = isStatic ? function static_tear_off() {
  2411. this.$initialize();
  2412. } : function tear_off(a, b) {
  2413. this.$initialize(a, b);
  2414. };
  2415. $prototype.constructor = $constructor;
  2416. $constructor.prototype = $prototype;
  2417. $prototype.$_name = $name;
  2418. $prototype.$_target = $function;
  2419. t2 = !isStatic;
  2420. if (t2)
  2421. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2422. else {
  2423. $prototype.$static_name = $name;
  2424. trampoline = $function;
  2425. }
  2426. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  2427. $prototype[callName] = trampoline;
  2428. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2429. stub = funsOrNames[i];
  2430. if (typeof stub == "string") {
  2431. stub0 = container[stub];
  2432. stubName = stub;
  2433. stub = stub0;
  2434. } else
  2435. stubName = "";
  2436. stubCallName = callNames[i];
  2437. if (stubCallName != null) {
  2438. if (t2)
  2439. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2440. $prototype[stubCallName] = stub;
  2441. }
  2442. if (i === applyTrampolineIndex)
  2443. applyTrampoline = stub;
  2444. }
  2445. $prototype["call*"] = applyTrampoline;
  2446. $prototype.$requiredArgCount = parameters.rC;
  2447. $prototype.$defaultValues = parameters.dV;
  2448. return $constructor;
  2449. },
  2450. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  2451. if (typeof functionType == "number")
  2452. return functionType;
  2453. if (typeof functionType == "string") {
  2454. if (isStatic)
  2455. throw A.wrapException("Cannot compute signature for static tearoff.");
  2456. return function(recipe, evalOnReceiver) {
  2457. return function() {
  2458. return evalOnReceiver(this, recipe);
  2459. };
  2460. }(functionType, A.BoundClosure_evalRecipe);
  2461. }
  2462. throw A.wrapException("Error in functionType of tearoff");
  2463. },
  2464. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2465. var getReceiver = A.BoundClosure_receiverOf;
  2466. switch (needsDirectAccess ? -1 : arity) {
  2467. case 0:
  2468. return function(entry, receiverOf) {
  2469. return function() {
  2470. return receiverOf(this)[entry]();
  2471. };
  2472. }(stubName, getReceiver);
  2473. case 1:
  2474. return function(entry, receiverOf) {
  2475. return function(a) {
  2476. return receiverOf(this)[entry](a);
  2477. };
  2478. }(stubName, getReceiver);
  2479. case 2:
  2480. return function(entry, receiverOf) {
  2481. return function(a, b) {
  2482. return receiverOf(this)[entry](a, b);
  2483. };
  2484. }(stubName, getReceiver);
  2485. case 3:
  2486. return function(entry, receiverOf) {
  2487. return function(a, b, c) {
  2488. return receiverOf(this)[entry](a, b, c);
  2489. };
  2490. }(stubName, getReceiver);
  2491. case 4:
  2492. return function(entry, receiverOf) {
  2493. return function(a, b, c, d) {
  2494. return receiverOf(this)[entry](a, b, c, d);
  2495. };
  2496. }(stubName, getReceiver);
  2497. case 5:
  2498. return function(entry, receiverOf) {
  2499. return function(a, b, c, d, e) {
  2500. return receiverOf(this)[entry](a, b, c, d, e);
  2501. };
  2502. }(stubName, getReceiver);
  2503. default:
  2504. return function(f, receiverOf) {
  2505. return function() {
  2506. return f.apply(receiverOf(this), arguments);
  2507. };
  2508. }($function, getReceiver);
  2509. }
  2510. },
  2511. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2512. if (isIntercepted)
  2513. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2514. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2515. },
  2516. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2517. var getReceiver = A.BoundClosure_receiverOf,
  2518. getInterceptor = A.BoundClosure_interceptorOf;
  2519. switch (needsDirectAccess ? -1 : arity) {
  2520. case 0:
  2521. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2522. case 1:
  2523. return function(entry, interceptorOf, receiverOf) {
  2524. return function() {
  2525. return interceptorOf(this)[entry](receiverOf(this));
  2526. };
  2527. }(stubName, getInterceptor, getReceiver);
  2528. case 2:
  2529. return function(entry, interceptorOf, receiverOf) {
  2530. return function(a) {
  2531. return interceptorOf(this)[entry](receiverOf(this), a);
  2532. };
  2533. }(stubName, getInterceptor, getReceiver);
  2534. case 3:
  2535. return function(entry, interceptorOf, receiverOf) {
  2536. return function(a, b) {
  2537. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2538. };
  2539. }(stubName, getInterceptor, getReceiver);
  2540. case 4:
  2541. return function(entry, interceptorOf, receiverOf) {
  2542. return function(a, b, c) {
  2543. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2544. };
  2545. }(stubName, getInterceptor, getReceiver);
  2546. case 5:
  2547. return function(entry, interceptorOf, receiverOf) {
  2548. return function(a, b, c, d) {
  2549. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2550. };
  2551. }(stubName, getInterceptor, getReceiver);
  2552. case 6:
  2553. return function(entry, interceptorOf, receiverOf) {
  2554. return function(a, b, c, d, e) {
  2555. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2556. };
  2557. }(stubName, getInterceptor, getReceiver);
  2558. default:
  2559. return function(f, interceptorOf, receiverOf) {
  2560. return function() {
  2561. var a = [receiverOf(this)];
  2562. Array.prototype.push.apply(a, arguments);
  2563. return f.apply(interceptorOf(this), a);
  2564. };
  2565. }($function, getInterceptor, getReceiver);
  2566. }
  2567. },
  2568. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2569. var arity, t1;
  2570. if ($.BoundClosure__interceptorFieldNameCache == null)
  2571. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2572. if ($.BoundClosure__receiverFieldNameCache == null)
  2573. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2574. arity = $function.length;
  2575. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2576. return t1;
  2577. },
  2578. closureFromTearOff(parameters) {
  2579. return A.Closure_fromTearOff(parameters);
  2580. },
  2581. BoundClosure_evalRecipe(closure, recipe) {
  2582. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2583. },
  2584. BoundClosure_receiverOf(closure) {
  2585. return closure._receiver;
  2586. },
  2587. BoundClosure_interceptorOf(closure) {
  2588. return closure._interceptor;
  2589. },
  2590. BoundClosure__computeFieldNamed(fieldName) {
  2591. var t1, i, $name,
  2592. template = new A.BoundClosure("receiver", "interceptor"),
  2593. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  2594. for (t1 = names.length, i = 0; i < t1; ++i) {
  2595. $name = names[i];
  2596. if (template[$name] === fieldName)
  2597. return $name;
  2598. }
  2599. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2600. },
  2601. throwCyclicInit(staticName) {
  2602. throw A.wrapException(new A._CyclicInitializationError(staticName));
  2603. },
  2604. getIsolateAffinityTag($name) {
  2605. return init.getIsolateTag($name);
  2606. },
  2607. LinkedHashMapKeyIterator$(_map, _modifications) {
  2608. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  2609. t1._cell = _map._first;
  2610. return t1;
  2611. },
  2612. defineProperty(obj, property, value) {
  2613. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2614. },
  2615. lookupAndCacheInterceptor(obj) {
  2616. var interceptor, interceptorClass, altTag, mark, t1,
  2617. tag = $.getTagFunction.call$1(obj),
  2618. record = $.dispatchRecordsForInstanceTags[tag];
  2619. if (record != null) {
  2620. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2621. return record.i;
  2622. }
  2623. interceptor = $.interceptorsForUncacheableTags[tag];
  2624. if (interceptor != null)
  2625. return interceptor;
  2626. interceptorClass = init.interceptorsByTag[tag];
  2627. if (interceptorClass == null) {
  2628. altTag = $.alternateTagFunction.call$2(obj, tag);
  2629. if (altTag != null) {
  2630. record = $.dispatchRecordsForInstanceTags[altTag];
  2631. if (record != null) {
  2632. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2633. return record.i;
  2634. }
  2635. interceptor = $.interceptorsForUncacheableTags[altTag];
  2636. if (interceptor != null)
  2637. return interceptor;
  2638. interceptorClass = init.interceptorsByTag[altTag];
  2639. tag = altTag;
  2640. }
  2641. }
  2642. if (interceptorClass == null)
  2643. return null;
  2644. interceptor = interceptorClass.prototype;
  2645. mark = tag[0];
  2646. if (mark === "!") {
  2647. record = A.makeLeafDispatchRecord(interceptor);
  2648. $.dispatchRecordsForInstanceTags[tag] = record;
  2649. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2650. return record.i;
  2651. }
  2652. if (mark === "~") {
  2653. $.interceptorsForUncacheableTags[tag] = interceptor;
  2654. return interceptor;
  2655. }
  2656. if (mark === "-") {
  2657. t1 = A.makeLeafDispatchRecord(interceptor);
  2658. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2659. return t1.i;
  2660. }
  2661. if (mark === "+")
  2662. return A.patchInteriorProto(obj, interceptor);
  2663. if (mark === "*")
  2664. throw A.wrapException(A.UnimplementedError$(tag));
  2665. if (init.leafTags[tag] === true) {
  2666. t1 = A.makeLeafDispatchRecord(interceptor);
  2667. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2668. return t1.i;
  2669. } else
  2670. return A.patchInteriorProto(obj, interceptor);
  2671. },
  2672. patchInteriorProto(obj, interceptor) {
  2673. var proto = Object.getPrototypeOf(obj);
  2674. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2675. return interceptor;
  2676. },
  2677. makeLeafDispatchRecord(interceptor) {
  2678. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2679. },
  2680. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2681. var interceptor = interceptorClass.prototype;
  2682. if (init.leafTags[tag] === true)
  2683. return A.makeLeafDispatchRecord(interceptor);
  2684. else
  2685. return J.makeDispatchRecord(interceptor, proto, null, null);
  2686. },
  2687. initNativeDispatch() {
  2688. if (true === $.initNativeDispatchFlag)
  2689. return;
  2690. $.initNativeDispatchFlag = true;
  2691. A.initNativeDispatchContinue();
  2692. },
  2693. initNativeDispatchContinue() {
  2694. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2695. $.dispatchRecordsForInstanceTags = Object.create(null);
  2696. $.interceptorsForUncacheableTags = Object.create(null);
  2697. A.initHooks();
  2698. map = init.interceptorsByTag;
  2699. tags = Object.getOwnPropertyNames(map);
  2700. if (typeof window != "undefined") {
  2701. window;
  2702. fun = function() {
  2703. };
  2704. for (i = 0; i < tags.length; ++i) {
  2705. tag = tags[i];
  2706. proto = $.prototypeForTagFunction.call$1(tag);
  2707. if (proto != null) {
  2708. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2709. if (record != null) {
  2710. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2711. fun.prototype = proto;
  2712. }
  2713. }
  2714. }
  2715. }
  2716. for (i = 0; i < tags.length; ++i) {
  2717. tag = tags[i];
  2718. if (/^[A-Za-z_]/.test(tag)) {
  2719. interceptorClass = map[tag];
  2720. map["!" + tag] = interceptorClass;
  2721. map["~" + tag] = interceptorClass;
  2722. map["-" + tag] = interceptorClass;
  2723. map["+" + tag] = interceptorClass;
  2724. map["*" + tag] = interceptorClass;
  2725. }
  2726. }
  2727. },
  2728. initHooks() {
  2729. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2730. hooks = B.C_JS_CONST0();
  2731. 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)))))));
  2732. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2733. transformers = dartNativeDispatchHooksTransformer;
  2734. if (typeof transformers == "function")
  2735. transformers = [transformers];
  2736. if (Array.isArray(transformers))
  2737. for (i = 0; i < transformers.length; ++i) {
  2738. transformer = transformers[i];
  2739. if (typeof transformer == "function")
  2740. hooks = transformer(hooks) || hooks;
  2741. }
  2742. }
  2743. getTag = hooks.getTag;
  2744. getUnknownTag = hooks.getUnknownTag;
  2745. prototypeForTag = hooks.prototypeForTag;
  2746. $.getTagFunction = new A.initHooks_closure(getTag);
  2747. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2748. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2749. },
  2750. applyHooksTransformer(transformer, hooks) {
  2751. return transformer(hooks) || hooks;
  2752. },
  2753. _RecordN__equalValues(a, b) {
  2754. var i;
  2755. for (i = 0; i < a.length; ++i)
  2756. if (!J.$eq$(a[i], b[i]))
  2757. return false;
  2758. return true;
  2759. },
  2760. createRecordTypePredicate(shape, fieldRtis) {
  2761. var $length = fieldRtis.length,
  2762. $function = init.rttc["" + $length + ";" + shape];
  2763. if ($function == null)
  2764. return null;
  2765. if ($length === 0)
  2766. return $function;
  2767. if ($length === $function.length)
  2768. return $function.apply(null, fieldRtis);
  2769. return $function(fieldRtis);
  2770. },
  2771. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  2772. var m = multiLine ? "m" : "",
  2773. i = caseSensitive ? "" : "i",
  2774. u = unicode ? "u" : "",
  2775. s = dotAll ? "s" : "",
  2776. g = global ? "g" : "",
  2777. regexp = function(source, modifiers) {
  2778. try {
  2779. return new RegExp(source, modifiers);
  2780. } catch (e) {
  2781. return e;
  2782. }
  2783. }(source, m + i + u + s + g);
  2784. if (regexp instanceof RegExp)
  2785. return regexp;
  2786. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2787. },
  2788. stringContainsUnchecked(receiver, other, startIndex) {
  2789. var t1;
  2790. if (typeof other == "string")
  2791. return receiver.indexOf(other, startIndex) >= 0;
  2792. else if (other instanceof A.JSSyntaxRegExp) {
  2793. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2794. return other._nativeRegExp.test(t1);
  2795. } else
  2796. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2797. },
  2798. escapeReplacement(replacement) {
  2799. if (replacement.indexOf("$", 0) >= 0)
  2800. return replacement.replace(/\$/g, "$$$$");
  2801. return replacement;
  2802. },
  2803. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2804. var match = regexp._execGlobal$2(receiver, startIndex);
  2805. if (match == null)
  2806. return receiver;
  2807. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2808. },
  2809. quoteStringForRegExp(string) {
  2810. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2811. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2812. return string;
  2813. },
  2814. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2815. var nativeRegexp;
  2816. if (typeof pattern == "string")
  2817. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2818. if (pattern instanceof A.JSSyntaxRegExp) {
  2819. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2820. nativeRegexp.lastIndex = 0;
  2821. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2822. }
  2823. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2824. },
  2825. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2826. var t1, startIndex, t2, match;
  2827. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2828. match = t1.get$current(t1);
  2829. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2830. startIndex = match.get$end(match);
  2831. }
  2832. t1 = t2 + receiver.substring(startIndex);
  2833. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2834. },
  2835. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2836. var $length, t1, i;
  2837. if (pattern === "") {
  2838. if (receiver === "")
  2839. return replacement;
  2840. $length = receiver.length;
  2841. t1 = "" + replacement;
  2842. for (i = 0; i < $length; ++i)
  2843. t1 = t1 + receiver[i] + replacement;
  2844. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2845. }
  2846. if (receiver.indexOf(pattern, 0) < 0)
  2847. return receiver;
  2848. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  2849. return receiver.split(pattern).join(replacement);
  2850. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  2851. },
  2852. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  2853. var index, t1, matches, match;
  2854. if (typeof pattern == "string") {
  2855. index = receiver.indexOf(pattern, startIndex);
  2856. if (index < 0)
  2857. return receiver;
  2858. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  2859. }
  2860. if (pattern instanceof A.JSSyntaxRegExp)
  2861. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  2862. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  2863. matches = t1.get$iterator(t1);
  2864. if (!matches.moveNext$0())
  2865. return receiver;
  2866. match = matches.get$current(matches);
  2867. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  2868. },
  2869. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  2870. return receiver.substring(0, start) + replacement + receiver.substring(end);
  2871. },
  2872. _Record_2: function _Record_2(t0, t1) {
  2873. this._0 = t0;
  2874. this._1 = t1;
  2875. },
  2876. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  2877. this._0 = t0;
  2878. this._1 = t1;
  2879. },
  2880. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  2881. this._0 = t0;
  2882. this._1 = t1;
  2883. },
  2884. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  2885. this._0 = t0;
  2886. this._1 = t1;
  2887. },
  2888. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  2889. this._0 = t0;
  2890. this._1 = t1;
  2891. },
  2892. _Record_3: function _Record_3(t0, t1, t2) {
  2893. this._0 = t0;
  2894. this._1 = t1;
  2895. this._2 = t2;
  2896. },
  2897. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  2898. this._0 = t0;
  2899. this._1 = t1;
  2900. this._2 = t2;
  2901. },
  2902. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  2903. this._0 = t0;
  2904. this._1 = t1;
  2905. this._2 = t2;
  2906. },
  2907. _Record_4_baseImporter_baseUrl_forImport: function _Record_4_baseImporter_baseUrl_forImport(t0) {
  2908. this._values = t0;
  2909. },
  2910. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  2911. this._values = t0;
  2912. },
  2913. ConstantMapView: function ConstantMapView(t0, t1) {
  2914. this._map = t0;
  2915. this.$ti = t1;
  2916. },
  2917. ConstantMap: function ConstantMap() {
  2918. },
  2919. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  2920. this._jsIndex = t0;
  2921. this._values = t1;
  2922. this.$ti = t2;
  2923. },
  2924. _KeysOrValues: function _KeysOrValues(t0, t1) {
  2925. this._elements = t0;
  2926. this.$ti = t1;
  2927. },
  2928. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  2929. var _ = this;
  2930. _._elements = t0;
  2931. _.__js_helper$_length = t1;
  2932. _.__js_helper$_index = 0;
  2933. _.__js_helper$_current = null;
  2934. _.$ti = t2;
  2935. },
  2936. ConstantSet: function ConstantSet() {
  2937. },
  2938. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  2939. this._jsIndex = t0;
  2940. this.__js_helper$_length = t1;
  2941. this.$ti = t2;
  2942. },
  2943. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  2944. this._elements = t0;
  2945. this.$ti = t1;
  2946. },
  2947. Instantiation: function Instantiation() {
  2948. },
  2949. Instantiation1: function Instantiation1(t0, t1) {
  2950. this._genericClosure = t0;
  2951. this.$ti = t1;
  2952. },
  2953. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  2954. var _ = this;
  2955. _.__js_helper$_memberName = t0;
  2956. _.__js_helper$_kind = t1;
  2957. _._arguments = t2;
  2958. _._namedArgumentNames = t3;
  2959. _._typeArgumentCount = t4;
  2960. },
  2961. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  2962. this._box_0 = t0;
  2963. this.namedArgumentList = t1;
  2964. this.$arguments = t2;
  2965. },
  2966. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  2967. var _ = this;
  2968. _._pattern = t0;
  2969. _._arguments = t1;
  2970. _._argumentsExpr = t2;
  2971. _._expr = t3;
  2972. _._method = t4;
  2973. _._receiver = t5;
  2974. },
  2975. NullError: function NullError() {
  2976. },
  2977. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  2978. this.__js_helper$_message = t0;
  2979. this._method = t1;
  2980. this._receiver = t2;
  2981. },
  2982. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  2983. this.__js_helper$_message = t0;
  2984. },
  2985. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  2986. this._irritant = t0;
  2987. },
  2988. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  2989. this.dartException = t0;
  2990. this.stackTrace = t1;
  2991. },
  2992. _StackTrace: function _StackTrace(t0) {
  2993. this._exception = t0;
  2994. this._trace = null;
  2995. },
  2996. Closure: function Closure() {
  2997. },
  2998. Closure0Args: function Closure0Args() {
  2999. },
  3000. Closure2Args: function Closure2Args() {
  3001. },
  3002. TearOffClosure: function TearOffClosure() {
  3003. },
  3004. StaticClosure: function StaticClosure() {
  3005. },
  3006. BoundClosure: function BoundClosure(t0, t1) {
  3007. this._receiver = t0;
  3008. this._interceptor = t1;
  3009. },
  3010. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  3011. this.variableName = t0;
  3012. },
  3013. RuntimeError: function RuntimeError(t0) {
  3014. this.message = t0;
  3015. },
  3016. _Required: function _Required() {
  3017. },
  3018. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3019. var _ = this;
  3020. _.__js_helper$_length = 0;
  3021. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3022. _._modifications = 0;
  3023. _.$ti = t0;
  3024. },
  3025. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  3026. this.$this = t0;
  3027. },
  3028. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3029. this.$this = t0;
  3030. },
  3031. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3032. var _ = this;
  3033. _.hashMapCellKey = t0;
  3034. _.hashMapCellValue = t1;
  3035. _._previous = _._next = null;
  3036. },
  3037. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  3038. this.__js_helper$_map = t0;
  3039. this.$ti = t1;
  3040. },
  3041. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  3042. var _ = this;
  3043. _.__js_helper$_map = t0;
  3044. _._modifications = t1;
  3045. _.__js_helper$_current = _._cell = null;
  3046. },
  3047. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3048. var _ = this;
  3049. _.__js_helper$_length = 0;
  3050. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3051. _._modifications = 0;
  3052. _.$ti = t0;
  3053. },
  3054. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3055. var _ = this;
  3056. _.__js_helper$_length = 0;
  3057. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3058. _._modifications = 0;
  3059. _.$ti = t0;
  3060. },
  3061. initHooks_closure: function initHooks_closure(t0) {
  3062. this.getTag = t0;
  3063. },
  3064. initHooks_closure0: function initHooks_closure0(t0) {
  3065. this.getUnknownTag = t0;
  3066. },
  3067. initHooks_closure1: function initHooks_closure1(t0) {
  3068. this.prototypeForTag = t0;
  3069. },
  3070. _Record: function _Record() {
  3071. },
  3072. _Record2: function _Record2() {
  3073. },
  3074. _Record3: function _Record3() {
  3075. },
  3076. _RecordN: function _RecordN() {
  3077. },
  3078. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3079. var _ = this;
  3080. _.pattern = t0;
  3081. _._nativeRegExp = t1;
  3082. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3083. },
  3084. _MatchImplementation: function _MatchImplementation(t0) {
  3085. this._match = t0;
  3086. },
  3087. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3088. this._re = t0;
  3089. this.__js_helper$_string = t1;
  3090. this.__js_helper$_start = t2;
  3091. },
  3092. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3093. var _ = this;
  3094. _._regExp = t0;
  3095. _.__js_helper$_string = t1;
  3096. _._nextIndex = t2;
  3097. _.__js_helper$_current = null;
  3098. },
  3099. StringMatch: function StringMatch(t0, t1) {
  3100. this.start = t0;
  3101. this.pattern = t1;
  3102. },
  3103. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3104. this._input = t0;
  3105. this._pattern = t1;
  3106. this.__js_helper$_index = t2;
  3107. },
  3108. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3109. var _ = this;
  3110. _._input = t0;
  3111. _._pattern = t1;
  3112. _.__js_helper$_index = t2;
  3113. _.__js_helper$_current = null;
  3114. },
  3115. throwLateFieldADI(fieldName) {
  3116. A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error());
  3117. },
  3118. throwUnnamedLateFieldNI() {
  3119. A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error());
  3120. },
  3121. throwUnnamedLateFieldAI() {
  3122. A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error());
  3123. },
  3124. throwUnnamedLateFieldADI() {
  3125. A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), new Error());
  3126. },
  3127. _Cell$() {
  3128. var t1 = new A._Cell("");
  3129. return t1._value = t1;
  3130. },
  3131. _Cell$named(_name) {
  3132. var t1 = new A._Cell(_name);
  3133. return t1._value = t1;
  3134. },
  3135. _Cell: function _Cell(t0) {
  3136. this.__late_helper$_name = t0;
  3137. this._value = null;
  3138. },
  3139. _ensureNativeList(list) {
  3140. return list;
  3141. },
  3142. NativeInt8List__create1(arg) {
  3143. return new Int8Array(arg);
  3144. },
  3145. NativeUint8List_NativeUint8List($length) {
  3146. return new Uint8Array($length);
  3147. },
  3148. _checkValidIndex(index, list, $length) {
  3149. if (index >>> 0 !== index || index >= $length)
  3150. throw A.wrapException(A.diagnoseIndexError(list, index));
  3151. },
  3152. _checkValidRange(start, end, $length) {
  3153. var t1;
  3154. if (!(start >>> 0 !== start))
  3155. if (end == null)
  3156. t1 = start > $length;
  3157. else
  3158. t1 = end >>> 0 !== end || start > end || end > $length;
  3159. else
  3160. t1 = true;
  3161. if (t1)
  3162. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3163. if (end == null)
  3164. return $length;
  3165. return end;
  3166. },
  3167. NativeByteBuffer: function NativeByteBuffer() {
  3168. },
  3169. NativeTypedData: function NativeTypedData() {
  3170. },
  3171. NativeByteData: function NativeByteData() {
  3172. },
  3173. NativeTypedArray: function NativeTypedArray() {
  3174. },
  3175. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3176. },
  3177. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3178. },
  3179. NativeFloat32List: function NativeFloat32List() {
  3180. },
  3181. NativeFloat64List: function NativeFloat64List() {
  3182. },
  3183. NativeInt16List: function NativeInt16List() {
  3184. },
  3185. NativeInt32List: function NativeInt32List() {
  3186. },
  3187. NativeInt8List: function NativeInt8List() {
  3188. },
  3189. NativeUint16List: function NativeUint16List() {
  3190. },
  3191. NativeUint32List: function NativeUint32List() {
  3192. },
  3193. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3194. },
  3195. NativeUint8List: function NativeUint8List() {
  3196. },
  3197. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3198. },
  3199. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3200. },
  3201. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3202. },
  3203. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3204. },
  3205. Rti__getQuestionFromStar(universe, rti) {
  3206. var question = rti._precomputed1;
  3207. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  3208. },
  3209. Rti__getFutureFromFutureOr(universe, rti) {
  3210. var future = rti._precomputed1;
  3211. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3212. },
  3213. Rti__isUnionOfFunctionType(rti) {
  3214. var kind = rti._kind;
  3215. if (kind === 6 || kind === 7 || kind === 8)
  3216. return A.Rti__isUnionOfFunctionType(rti._primary);
  3217. return kind === 12 || kind === 13;
  3218. },
  3219. Rti__getCanonicalRecipe(rti) {
  3220. return rti._canonicalRecipe;
  3221. },
  3222. pairwiseIsTest(fieldRtis, values) {
  3223. var i,
  3224. $length = values.length;
  3225. for (i = 0; i < $length; ++i)
  3226. if (!fieldRtis[i]._is(values[i]))
  3227. return false;
  3228. return true;
  3229. },
  3230. findType(recipe) {
  3231. return A._Universe_eval(init.typeUniverse, recipe, false);
  3232. },
  3233. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3234. var t1, cache, key, probe, rti;
  3235. if (genericFunctionRti == null)
  3236. return null;
  3237. t1 = instantiationRti._rest;
  3238. cache = genericFunctionRti._bindCache;
  3239. if (cache == null)
  3240. cache = genericFunctionRti._bindCache = new Map();
  3241. key = instantiationRti._canonicalRecipe;
  3242. probe = cache.get(key);
  3243. if (probe != null)
  3244. return probe;
  3245. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3246. cache.set(key, rti);
  3247. return rti;
  3248. },
  3249. _substitute(universe, rti, typeArguments, depth) {
  3250. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3251. kind = rti._kind;
  3252. switch (kind) {
  3253. case 5:
  3254. case 1:
  3255. case 2:
  3256. case 3:
  3257. case 4:
  3258. return rti;
  3259. case 6:
  3260. baseType = rti._primary;
  3261. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3262. if (substitutedBaseType === baseType)
  3263. return rti;
  3264. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  3265. case 7:
  3266. baseType = rti._primary;
  3267. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3268. if (substitutedBaseType === baseType)
  3269. return rti;
  3270. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3271. case 8:
  3272. baseType = rti._primary;
  3273. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3274. if (substitutedBaseType === baseType)
  3275. return rti;
  3276. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3277. case 9:
  3278. interfaceTypeArguments = rti._rest;
  3279. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3280. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3281. return rti;
  3282. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3283. case 10:
  3284. base = rti._primary;
  3285. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3286. $arguments = rti._rest;
  3287. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3288. if (substitutedBase === base && substitutedArguments === $arguments)
  3289. return rti;
  3290. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3291. case 11:
  3292. t1 = rti._primary;
  3293. fields = rti._rest;
  3294. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3295. if (substitutedFields === fields)
  3296. return rti;
  3297. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3298. case 12:
  3299. returnType = rti._primary;
  3300. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3301. functionParameters = rti._rest;
  3302. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3303. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3304. return rti;
  3305. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3306. case 13:
  3307. bounds = rti._rest;
  3308. depth += bounds.length;
  3309. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3310. base = rti._primary;
  3311. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3312. if (substitutedBounds === bounds && substitutedBase === base)
  3313. return rti;
  3314. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3315. case 14:
  3316. index = rti._primary;
  3317. if (index < depth)
  3318. return rti;
  3319. argument = typeArguments[index - depth];
  3320. if (argument == null)
  3321. return rti;
  3322. return argument;
  3323. default:
  3324. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3325. }
  3326. },
  3327. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3328. var changed, i, rti, substitutedRti,
  3329. $length = rtiArray.length,
  3330. result = A._Utils_newArrayOrEmpty($length);
  3331. for (changed = false, i = 0; i < $length; ++i) {
  3332. rti = rtiArray[i];
  3333. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3334. if (substitutedRti !== rti)
  3335. changed = true;
  3336. result[i] = substitutedRti;
  3337. }
  3338. return changed ? result : rtiArray;
  3339. },
  3340. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3341. var changed, i, t1, t2, rti, substitutedRti,
  3342. $length = namedArray.length,
  3343. result = A._Utils_newArrayOrEmpty($length);
  3344. for (changed = false, i = 0; i < $length; i += 3) {
  3345. t1 = namedArray[i];
  3346. t2 = namedArray[i + 1];
  3347. rti = namedArray[i + 2];
  3348. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3349. if (substitutedRti !== rti)
  3350. changed = true;
  3351. result.splice(i, 3, t1, t2, substitutedRti);
  3352. }
  3353. return changed ? result : namedArray;
  3354. },
  3355. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3356. var result,
  3357. requiredPositional = functionParameters._requiredPositional,
  3358. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3359. optionalPositional = functionParameters._optionalPositional,
  3360. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3361. named = functionParameters._named,
  3362. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3363. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3364. return functionParameters;
  3365. result = new A._FunctionParameters();
  3366. result._requiredPositional = substitutedRequiredPositional;
  3367. result._optionalPositional = substitutedOptionalPositional;
  3368. result._named = substitutedNamed;
  3369. return result;
  3370. },
  3371. _setArrayType(target, rti) {
  3372. target[init.arrayRti] = rti;
  3373. return target;
  3374. },
  3375. closureFunctionType(closure) {
  3376. var signature = closure.$signature;
  3377. if (signature != null) {
  3378. if (typeof signature == "number")
  3379. return A.getTypeFromTypesTable(signature);
  3380. return closure.$signature();
  3381. }
  3382. return null;
  3383. },
  3384. instanceOrFunctionType(object, testRti) {
  3385. var rti;
  3386. if (A.Rti__isUnionOfFunctionType(testRti))
  3387. if (object instanceof A.Closure) {
  3388. rti = A.closureFunctionType(object);
  3389. if (rti != null)
  3390. return rti;
  3391. }
  3392. return A.instanceType(object);
  3393. },
  3394. instanceType(object) {
  3395. if (object instanceof A.Object)
  3396. return A._instanceType(object);
  3397. if (Array.isArray(object))
  3398. return A._arrayInstanceType(object);
  3399. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3400. },
  3401. _arrayInstanceType(object) {
  3402. var rti = object[init.arrayRti],
  3403. defaultRti = type$.JSArray_dynamic;
  3404. if (rti == null)
  3405. return defaultRti;
  3406. if (rti.constructor !== defaultRti.constructor)
  3407. return defaultRti;
  3408. return rti;
  3409. },
  3410. _instanceType(object) {
  3411. var rti = object.$ti;
  3412. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3413. },
  3414. _instanceTypeFromConstructor(instance) {
  3415. var $constructor = instance.constructor,
  3416. probe = $constructor.$ccache;
  3417. if (probe != null)
  3418. return probe;
  3419. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3420. },
  3421. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3422. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3423. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3424. $constructor.$ccache = rti;
  3425. return rti;
  3426. },
  3427. getTypeFromTypesTable(index) {
  3428. var rti,
  3429. table = init.types,
  3430. type = table[index];
  3431. if (typeof type == "string") {
  3432. rti = A._Universe_eval(init.typeUniverse, type, false);
  3433. table[index] = rti;
  3434. return rti;
  3435. }
  3436. return type;
  3437. },
  3438. getRuntimeTypeOfDartObject(object) {
  3439. return A.createRuntimeType(A._instanceType(object));
  3440. },
  3441. getRuntimeTypeOfClosure(closure) {
  3442. var rti = A.closureFunctionType(closure);
  3443. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3444. },
  3445. _structuralTypeOf(object) {
  3446. var functionRti;
  3447. if (object instanceof A._Record)
  3448. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3449. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3450. if (functionRti != null)
  3451. return functionRti;
  3452. if (type$.TrustedGetRuntimeType._is(object))
  3453. return J.get$runtimeType$(object)._rti;
  3454. if (Array.isArray(object))
  3455. return A._arrayInstanceType(object);
  3456. return A.instanceType(object);
  3457. },
  3458. createRuntimeType(rti) {
  3459. var t1 = rti._cachedRuntimeType;
  3460. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  3461. },
  3462. _createRuntimeType(rti) {
  3463. var starErasedRti, t1,
  3464. s = rti._canonicalRecipe,
  3465. starErasedRecipe = s.replace(/\*/g, "");
  3466. if (starErasedRecipe === s)
  3467. return rti._cachedRuntimeType = new A._Type(rti);
  3468. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  3469. t1 = starErasedRti._cachedRuntimeType;
  3470. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  3471. },
  3472. evaluateRtiForRecord(recordRecipe, valuesList) {
  3473. var bindings, i,
  3474. values = valuesList,
  3475. $length = values.length;
  3476. if ($length === 0)
  3477. return type$.Record_0;
  3478. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3479. for (i = 1; i < $length; ++i)
  3480. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3481. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3482. },
  3483. typeLiteral(recipe) {
  3484. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3485. },
  3486. _installSpecializedIsTest(object) {
  3487. var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this;
  3488. if (testRti === type$.Object)
  3489. return A._finishIsFn(testRti, object, A._isObject);
  3490. if (!A.isSoundTopType(testRti))
  3491. if (!(testRti === type$.legacy_Object))
  3492. t1 = false;
  3493. else
  3494. t1 = true;
  3495. else
  3496. t1 = true;
  3497. if (t1)
  3498. return A._finishIsFn(testRti, object, A._isTop);
  3499. t1 = testRti._kind;
  3500. if (t1 === 7)
  3501. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3502. if (t1 === 1)
  3503. return A._finishIsFn(testRti, object, A._isNever);
  3504. unstarred = t1 === 6 ? testRti._primary : testRti;
  3505. unstarredKind = unstarred._kind;
  3506. if (unstarredKind === 8)
  3507. return A._finishIsFn(testRti, object, A._isFutureOr);
  3508. if (unstarred === type$.int)
  3509. isFn = A._isInt;
  3510. else if (unstarred === type$.double || unstarred === type$.num)
  3511. isFn = A._isNum;
  3512. else if (unstarred === type$.String)
  3513. isFn = A._isString;
  3514. else
  3515. isFn = unstarred === type$.bool ? A._isBool : null;
  3516. if (isFn != null)
  3517. return A._finishIsFn(testRti, object, isFn);
  3518. if (unstarredKind === 9) {
  3519. $name = unstarred._primary;
  3520. if (unstarred._rest.every(A.isDefinitelyTopType)) {
  3521. testRti._specializedTestResource = "$is" + $name;
  3522. if ($name === "List")
  3523. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3524. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3525. }
  3526. } else if (unstarredKind === 11) {
  3527. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  3528. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3529. }
  3530. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3531. },
  3532. _finishIsFn(testRti, object, isFn) {
  3533. testRti._is = isFn;
  3534. return testRti._is(object);
  3535. },
  3536. _installSpecializedAsCheck(object) {
  3537. var t1, testRti = this,
  3538. asFn = A._generalAsCheckImplementation;
  3539. if (!A.isSoundTopType(testRti))
  3540. if (!(testRti === type$.legacy_Object))
  3541. t1 = false;
  3542. else
  3543. t1 = true;
  3544. else
  3545. t1 = true;
  3546. if (t1)
  3547. asFn = A._asTop;
  3548. else if (testRti === type$.Object)
  3549. asFn = A._asObject;
  3550. else {
  3551. t1 = A.isNullable(testRti);
  3552. if (t1)
  3553. asFn = A._generalNullableAsCheckImplementation;
  3554. }
  3555. testRti._as = asFn;
  3556. return testRti._as(object);
  3557. },
  3558. _nullIs(testRti) {
  3559. var t1,
  3560. kind = testRti._kind;
  3561. if (!A.isSoundTopType(testRti))
  3562. if (!(testRti === type$.legacy_Object))
  3563. if (!(testRti === type$.legacy_Never))
  3564. if (kind !== 7)
  3565. if (!(kind === 6 && A._nullIs(testRti._primary)))
  3566. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  3567. else
  3568. t1 = true;
  3569. else
  3570. t1 = true;
  3571. else
  3572. t1 = true;
  3573. else
  3574. t1 = true;
  3575. else
  3576. t1 = true;
  3577. return t1;
  3578. },
  3579. _generalIsTestImplementation(object) {
  3580. var testRti = this;
  3581. if (object == null)
  3582. return A._nullIs(testRti);
  3583. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3584. },
  3585. _generalNullableIsTestImplementation(object) {
  3586. if (object == null)
  3587. return true;
  3588. return this._primary._is(object);
  3589. },
  3590. _isTestViaProperty(object) {
  3591. var tag, testRti = this;
  3592. if (object == null)
  3593. return A._nullIs(testRti);
  3594. tag = testRti._specializedTestResource;
  3595. if (object instanceof A.Object)
  3596. return !!object[tag];
  3597. return !!J.getInterceptor$(object)[tag];
  3598. },
  3599. _isListTestViaProperty(object) {
  3600. var tag, testRti = this;
  3601. if (object == null)
  3602. return A._nullIs(testRti);
  3603. if (typeof object != "object")
  3604. return false;
  3605. if (Array.isArray(object))
  3606. return true;
  3607. tag = testRti._specializedTestResource;
  3608. if (object instanceof A.Object)
  3609. return !!object[tag];
  3610. return !!J.getInterceptor$(object)[tag];
  3611. },
  3612. _generalAsCheckImplementation(object) {
  3613. var testRti = this;
  3614. if (object == null) {
  3615. if (A.isNullable(testRti))
  3616. return object;
  3617. } else if (testRti._is(object))
  3618. return object;
  3619. A._failedAsCheck(object, testRti);
  3620. },
  3621. _generalNullableAsCheckImplementation(object) {
  3622. var testRti = this;
  3623. if (object == null)
  3624. return object;
  3625. else if (testRti._is(object))
  3626. return object;
  3627. A._failedAsCheck(object, testRti);
  3628. },
  3629. _failedAsCheck(object, testRti) {
  3630. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  3631. },
  3632. _Error_compose(object, checkedTypeDescription) {
  3633. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3634. },
  3635. _TypeError$fromMessage(message) {
  3636. return new A._TypeError("TypeError: " + message);
  3637. },
  3638. _TypeError__TypeError$forType(object, type) {
  3639. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3640. },
  3641. _isFutureOr(object) {
  3642. var testRti = this,
  3643. unstarred = testRti._kind === 6 ? testRti._primary : testRti;
  3644. return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object);
  3645. },
  3646. _isObject(object) {
  3647. return object != null;
  3648. },
  3649. _asObject(object) {
  3650. if (object != null)
  3651. return object;
  3652. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  3653. },
  3654. _isTop(object) {
  3655. return true;
  3656. },
  3657. _asTop(object) {
  3658. return object;
  3659. },
  3660. _isNever(object) {
  3661. return false;
  3662. },
  3663. _isBool(object) {
  3664. return true === object || false === object;
  3665. },
  3666. _asBool(object) {
  3667. if (true === object)
  3668. return true;
  3669. if (false === object)
  3670. return false;
  3671. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3672. },
  3673. _asBoolS(object) {
  3674. if (true === object)
  3675. return true;
  3676. if (false === object)
  3677. return false;
  3678. if (object == null)
  3679. return object;
  3680. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3681. },
  3682. _asBoolQ(object) {
  3683. if (true === object)
  3684. return true;
  3685. if (false === object)
  3686. return false;
  3687. if (object == null)
  3688. return object;
  3689. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  3690. },
  3691. _asDouble(object) {
  3692. if (typeof object == "number")
  3693. return object;
  3694. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3695. },
  3696. _asDoubleS(object) {
  3697. if (typeof object == "number")
  3698. return object;
  3699. if (object == null)
  3700. return object;
  3701. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3702. },
  3703. _asDoubleQ(object) {
  3704. if (typeof object == "number")
  3705. return object;
  3706. if (object == null)
  3707. return object;
  3708. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  3709. },
  3710. _isInt(object) {
  3711. return typeof object == "number" && Math.floor(object) === object;
  3712. },
  3713. _asInt(object) {
  3714. if (typeof object == "number" && Math.floor(object) === object)
  3715. return object;
  3716. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3717. },
  3718. _asIntS(object) {
  3719. if (typeof object == "number" && Math.floor(object) === object)
  3720. return object;
  3721. if (object == null)
  3722. return object;
  3723. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3724. },
  3725. _asIntQ(object) {
  3726. if (typeof object == "number" && Math.floor(object) === object)
  3727. return object;
  3728. if (object == null)
  3729. return object;
  3730. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  3731. },
  3732. _isNum(object) {
  3733. return typeof object == "number";
  3734. },
  3735. _asNum(object) {
  3736. if (typeof object == "number")
  3737. return object;
  3738. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3739. },
  3740. _asNumS(object) {
  3741. if (typeof object == "number")
  3742. return object;
  3743. if (object == null)
  3744. return object;
  3745. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3746. },
  3747. _asNumQ(object) {
  3748. if (typeof object == "number")
  3749. return object;
  3750. if (object == null)
  3751. return object;
  3752. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  3753. },
  3754. _isString(object) {
  3755. return typeof object == "string";
  3756. },
  3757. _asString(object) {
  3758. if (typeof object == "string")
  3759. return object;
  3760. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3761. },
  3762. _asStringS(object) {
  3763. if (typeof object == "string")
  3764. return object;
  3765. if (object == null)
  3766. return object;
  3767. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3768. },
  3769. _asStringQ(object) {
  3770. if (typeof object == "string")
  3771. return object;
  3772. if (object == null)
  3773. return object;
  3774. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  3775. },
  3776. _rtiArrayToString(array, genericContext) {
  3777. var s, sep, i;
  3778. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3779. s += sep + A._rtiToString(array[i], genericContext);
  3780. return s;
  3781. },
  3782. _recordRtiToString(recordType, genericContext) {
  3783. var fieldCount, names, namesIndex, s, comma, i,
  3784. partialShape = recordType._primary,
  3785. fields = recordType._rest;
  3786. if ("" === partialShape)
  3787. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3788. fieldCount = fields.length;
  3789. names = partialShape.split(",");
  3790. namesIndex = names.length - fieldCount;
  3791. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3792. s += comma;
  3793. if (namesIndex === 0)
  3794. s += "{";
  3795. s += A._rtiToString(fields[i], genericContext);
  3796. if (namesIndex >= 0)
  3797. s += " " + names[namesIndex];
  3798. ++namesIndex;
  3799. }
  3800. return s + "})";
  3801. },
  3802. _functionRtiToString(functionType, genericContext, bounds) {
  3803. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  3804. if (bounds != null) {
  3805. boundsLength = bounds.length;
  3806. if (genericContext == null) {
  3807. genericContext = A._setArrayType([], type$.JSArray_String);
  3808. outerContextLength = null;
  3809. } else
  3810. outerContextLength = genericContext.length;
  3811. offset = genericContext.length;
  3812. for (i = boundsLength; i > 0; --i)
  3813. genericContext.push("T" + (offset + i));
  3814. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3815. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  3816. boundRti = bounds[i];
  3817. kind = boundRti._kind;
  3818. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3819. if (!(boundRti === t2))
  3820. t3 = false;
  3821. else
  3822. t3 = true;
  3823. else
  3824. t3 = true;
  3825. if (!t3)
  3826. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3827. }
  3828. typeParametersText += ">";
  3829. } else {
  3830. typeParametersText = "";
  3831. outerContextLength = null;
  3832. }
  3833. t1 = functionType._primary;
  3834. parameters = functionType._rest;
  3835. requiredPositional = parameters._requiredPositional;
  3836. requiredPositionalLength = requiredPositional.length;
  3837. optionalPositional = parameters._optionalPositional;
  3838. optionalPositionalLength = optionalPositional.length;
  3839. named = parameters._named;
  3840. namedLength = named.length;
  3841. returnTypeText = A._rtiToString(t1, genericContext);
  3842. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3843. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3844. if (optionalPositionalLength > 0) {
  3845. argumentsText += sep + "[";
  3846. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3847. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3848. argumentsText += "]";
  3849. }
  3850. if (namedLength > 0) {
  3851. argumentsText += sep + "{";
  3852. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3853. argumentsText += sep;
  3854. if (named[i + 1])
  3855. argumentsText += "required ";
  3856. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3857. }
  3858. argumentsText += "}";
  3859. }
  3860. if (outerContextLength != null) {
  3861. genericContext.toString;
  3862. genericContext.length = outerContextLength;
  3863. }
  3864. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  3865. },
  3866. _rtiToString(rti, genericContext) {
  3867. var questionArgument, s, argumentKind, $name, $arguments, t1,
  3868. kind = rti._kind;
  3869. if (kind === 5)
  3870. return "erased";
  3871. if (kind === 2)
  3872. return "dynamic";
  3873. if (kind === 3)
  3874. return "void";
  3875. if (kind === 1)
  3876. return "Never";
  3877. if (kind === 4)
  3878. return "any";
  3879. if (kind === 6)
  3880. return A._rtiToString(rti._primary, genericContext);
  3881. if (kind === 7) {
  3882. questionArgument = rti._primary;
  3883. s = A._rtiToString(questionArgument, genericContext);
  3884. argumentKind = questionArgument._kind;
  3885. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  3886. }
  3887. if (kind === 8)
  3888. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  3889. if (kind === 9) {
  3890. $name = A._unminifyOrTag(rti._primary);
  3891. $arguments = rti._rest;
  3892. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  3893. }
  3894. if (kind === 11)
  3895. return A._recordRtiToString(rti, genericContext);
  3896. if (kind === 12)
  3897. return A._functionRtiToString(rti, genericContext, null);
  3898. if (kind === 13)
  3899. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  3900. if (kind === 14) {
  3901. t1 = rti._primary;
  3902. return genericContext[genericContext.length - 1 - t1];
  3903. }
  3904. return "?";
  3905. },
  3906. _unminifyOrTag(rawClassName) {
  3907. var preserved = init.mangledGlobalNames[rawClassName];
  3908. if (preserved != null)
  3909. return preserved;
  3910. return rawClassName;
  3911. },
  3912. _Universe_findRule(universe, targetType) {
  3913. var rule = universe.tR[targetType];
  3914. for (; typeof rule == "string";)
  3915. rule = universe.tR[rule];
  3916. return rule;
  3917. },
  3918. _Universe_findErasedType(universe, cls) {
  3919. var $length, erased, $arguments, i, $interface,
  3920. t1 = universe.eT,
  3921. probe = t1[cls];
  3922. if (probe == null)
  3923. return A._Universe_eval(universe, cls, false);
  3924. else if (typeof probe == "number") {
  3925. $length = probe;
  3926. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  3927. $arguments = A._Utils_newArrayOrEmpty($length);
  3928. for (i = 0; i < $length; ++i)
  3929. $arguments[i] = erased;
  3930. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  3931. t1[cls] = $interface;
  3932. return $interface;
  3933. } else
  3934. return probe;
  3935. },
  3936. _Universe_addRules(universe, rules) {
  3937. return A._Utils_objectAssign(universe.tR, rules);
  3938. },
  3939. _Universe_addErasedTypes(universe, types) {
  3940. return A._Utils_objectAssign(universe.eT, types);
  3941. },
  3942. _Universe_eval(universe, recipe, normalize) {
  3943. var rti,
  3944. t1 = universe.eC,
  3945. probe = t1.get(recipe);
  3946. if (probe != null)
  3947. return probe;
  3948. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  3949. t1.set(recipe, rti);
  3950. return rti;
  3951. },
  3952. _Universe_evalInEnvironment(universe, environment, recipe) {
  3953. var probe, rti,
  3954. cache = environment._evalCache;
  3955. if (cache == null)
  3956. cache = environment._evalCache = new Map();
  3957. probe = cache.get(recipe);
  3958. if (probe != null)
  3959. return probe;
  3960. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  3961. cache.set(recipe, rti);
  3962. return rti;
  3963. },
  3964. _Universe_bind(universe, environment, argumentsRti) {
  3965. var argumentsRecipe, probe, rti,
  3966. cache = environment._bindCache;
  3967. if (cache == null)
  3968. cache = environment._bindCache = new Map();
  3969. argumentsRecipe = argumentsRti._canonicalRecipe;
  3970. probe = cache.get(argumentsRecipe);
  3971. if (probe != null)
  3972. return probe;
  3973. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  3974. cache.set(argumentsRecipe, rti);
  3975. return rti;
  3976. },
  3977. _Universe__installTypeTests(universe, rti) {
  3978. rti._as = A._installSpecializedAsCheck;
  3979. rti._is = A._installSpecializedIsTest;
  3980. return rti;
  3981. },
  3982. _Universe__lookupTerminalRti(universe, kind, key) {
  3983. var rti, t1,
  3984. probe = universe.eC.get(key);
  3985. if (probe != null)
  3986. return probe;
  3987. rti = new A.Rti(null, null);
  3988. rti._kind = kind;
  3989. rti._canonicalRecipe = key;
  3990. t1 = A._Universe__installTypeTests(universe, rti);
  3991. universe.eC.set(key, t1);
  3992. return t1;
  3993. },
  3994. _Universe__lookupStarRti(universe, baseType, normalize) {
  3995. var t1,
  3996. key = baseType._canonicalRecipe + "*",
  3997. probe = universe.eC.get(key);
  3998. if (probe != null)
  3999. return probe;
  4000. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  4001. universe.eC.set(key, t1);
  4002. return t1;
  4003. },
  4004. _Universe__createStarRti(universe, baseType, key, normalize) {
  4005. var baseKind, t1, rti;
  4006. if (normalize) {
  4007. baseKind = baseType._kind;
  4008. if (!A.isSoundTopType(baseType))
  4009. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  4010. else
  4011. t1 = true;
  4012. if (t1)
  4013. return baseType;
  4014. }
  4015. rti = new A.Rti(null, null);
  4016. rti._kind = 6;
  4017. rti._primary = baseType;
  4018. rti._canonicalRecipe = key;
  4019. return A._Universe__installTypeTests(universe, rti);
  4020. },
  4021. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4022. var t1,
  4023. key = baseType._canonicalRecipe + "?",
  4024. probe = universe.eC.get(key);
  4025. if (probe != null)
  4026. return probe;
  4027. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4028. universe.eC.set(key, t1);
  4029. return t1;
  4030. },
  4031. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4032. var baseKind, t1, starArgument, rti;
  4033. if (normalize) {
  4034. baseKind = baseType._kind;
  4035. if (!A.isSoundTopType(baseType))
  4036. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4037. if (baseKind !== 7)
  4038. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  4039. else
  4040. t1 = true;
  4041. else
  4042. t1 = true;
  4043. else
  4044. t1 = true;
  4045. if (t1)
  4046. return baseType;
  4047. else if (baseKind === 1 || baseType === type$.legacy_Never)
  4048. return type$.Null;
  4049. else if (baseKind === 6) {
  4050. starArgument = baseType._primary;
  4051. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  4052. return starArgument;
  4053. else
  4054. return A.Rti__getQuestionFromStar(universe, baseType);
  4055. }
  4056. }
  4057. rti = new A.Rti(null, null);
  4058. rti._kind = 7;
  4059. rti._primary = baseType;
  4060. rti._canonicalRecipe = key;
  4061. return A._Universe__installTypeTests(universe, rti);
  4062. },
  4063. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4064. var t1,
  4065. key = baseType._canonicalRecipe + "/",
  4066. probe = universe.eC.get(key);
  4067. if (probe != null)
  4068. return probe;
  4069. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4070. universe.eC.set(key, t1);
  4071. return t1;
  4072. },
  4073. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4074. var t1, rti;
  4075. if (normalize) {
  4076. t1 = baseType._kind;
  4077. if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object)
  4078. return baseType;
  4079. else if (t1 === 1)
  4080. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4081. else if (baseType === type$.Null || baseType === type$.JSNull)
  4082. return type$.nullable_Future_Null;
  4083. }
  4084. rti = new A.Rti(null, null);
  4085. rti._kind = 8;
  4086. rti._primary = baseType;
  4087. rti._canonicalRecipe = key;
  4088. return A._Universe__installTypeTests(universe, rti);
  4089. },
  4090. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4091. var rti, t1,
  4092. key = "" + index + "^",
  4093. probe = universe.eC.get(key);
  4094. if (probe != null)
  4095. return probe;
  4096. rti = new A.Rti(null, null);
  4097. rti._kind = 14;
  4098. rti._primary = index;
  4099. rti._canonicalRecipe = key;
  4100. t1 = A._Universe__installTypeTests(universe, rti);
  4101. universe.eC.set(key, t1);
  4102. return t1;
  4103. },
  4104. _Universe__canonicalRecipeJoin($arguments) {
  4105. var s, sep, i,
  4106. $length = $arguments.length;
  4107. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4108. s += sep + $arguments[i]._canonicalRecipe;
  4109. return s;
  4110. },
  4111. _Universe__canonicalRecipeJoinNamed($arguments) {
  4112. var s, sep, i, t1, nameSep,
  4113. $length = $arguments.length;
  4114. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4115. t1 = $arguments[i];
  4116. nameSep = $arguments[i + 1] ? "!" : ":";
  4117. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4118. }
  4119. return s;
  4120. },
  4121. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4122. var probe, rti, t1,
  4123. s = $name;
  4124. if ($arguments.length > 0)
  4125. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4126. probe = universe.eC.get(s);
  4127. if (probe != null)
  4128. return probe;
  4129. rti = new A.Rti(null, null);
  4130. rti._kind = 9;
  4131. rti._primary = $name;
  4132. rti._rest = $arguments;
  4133. if ($arguments.length > 0)
  4134. rti._precomputed1 = $arguments[0];
  4135. rti._canonicalRecipe = s;
  4136. t1 = A._Universe__installTypeTests(universe, rti);
  4137. universe.eC.set(s, t1);
  4138. return t1;
  4139. },
  4140. _Universe__lookupBindingRti(universe, base, $arguments) {
  4141. var newBase, newArguments, key, probe, rti, t1;
  4142. if (base._kind === 10) {
  4143. newBase = base._primary;
  4144. newArguments = base._rest.concat($arguments);
  4145. } else {
  4146. newArguments = $arguments;
  4147. newBase = base;
  4148. }
  4149. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4150. probe = universe.eC.get(key);
  4151. if (probe != null)
  4152. return probe;
  4153. rti = new A.Rti(null, null);
  4154. rti._kind = 10;
  4155. rti._primary = newBase;
  4156. rti._rest = newArguments;
  4157. rti._canonicalRecipe = key;
  4158. t1 = A._Universe__installTypeTests(universe, rti);
  4159. universe.eC.set(key, t1);
  4160. return t1;
  4161. },
  4162. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4163. var rti, t1,
  4164. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4165. probe = universe.eC.get(key);
  4166. if (probe != null)
  4167. return probe;
  4168. rti = new A.Rti(null, null);
  4169. rti._kind = 11;
  4170. rti._primary = partialShapeTag;
  4171. rti._rest = fields;
  4172. rti._canonicalRecipe = key;
  4173. t1 = A._Universe__installTypeTests(universe, rti);
  4174. universe.eC.set(key, t1);
  4175. return t1;
  4176. },
  4177. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4178. var sep, key, probe, rti, t1,
  4179. s = returnType._canonicalRecipe,
  4180. requiredPositional = parameters._requiredPositional,
  4181. requiredPositionalLength = requiredPositional.length,
  4182. optionalPositional = parameters._optionalPositional,
  4183. optionalPositionalLength = optionalPositional.length,
  4184. named = parameters._named,
  4185. namedLength = named.length,
  4186. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4187. if (optionalPositionalLength > 0) {
  4188. sep = requiredPositionalLength > 0 ? "," : "";
  4189. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4190. }
  4191. if (namedLength > 0) {
  4192. sep = requiredPositionalLength > 0 ? "," : "";
  4193. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4194. }
  4195. key = s + (recipe + ")");
  4196. probe = universe.eC.get(key);
  4197. if (probe != null)
  4198. return probe;
  4199. rti = new A.Rti(null, null);
  4200. rti._kind = 12;
  4201. rti._primary = returnType;
  4202. rti._rest = parameters;
  4203. rti._canonicalRecipe = key;
  4204. t1 = A._Universe__installTypeTests(universe, rti);
  4205. universe.eC.set(key, t1);
  4206. return t1;
  4207. },
  4208. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4209. var t1,
  4210. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4211. probe = universe.eC.get(key);
  4212. if (probe != null)
  4213. return probe;
  4214. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4215. universe.eC.set(key, t1);
  4216. return t1;
  4217. },
  4218. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4219. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4220. if (normalize) {
  4221. $length = bounds.length;
  4222. typeArguments = A._Utils_newArrayOrEmpty($length);
  4223. for (count = 0, i = 0; i < $length; ++i) {
  4224. bound = bounds[i];
  4225. if (bound._kind === 1) {
  4226. typeArguments[i] = bound;
  4227. ++count;
  4228. }
  4229. }
  4230. if (count > 0) {
  4231. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4232. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4233. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4234. }
  4235. }
  4236. rti = new A.Rti(null, null);
  4237. rti._kind = 13;
  4238. rti._primary = baseFunctionType;
  4239. rti._rest = bounds;
  4240. rti._canonicalRecipe = key;
  4241. return A._Universe__installTypeTests(universe, rti);
  4242. },
  4243. _Parser_create(universe, environment, recipe, normalize) {
  4244. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4245. },
  4246. _Parser_parse(parser) {
  4247. var t2, i, ch, t3, array, end, item,
  4248. source = parser.r,
  4249. t1 = parser.s;
  4250. for (t2 = source.length, i = 0; i < t2;) {
  4251. ch = source.charCodeAt(i);
  4252. if (ch >= 48 && ch <= 57)
  4253. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4254. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4255. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4256. else if (ch === 46)
  4257. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4258. else {
  4259. ++i;
  4260. switch (ch) {
  4261. case 44:
  4262. break;
  4263. case 58:
  4264. t1.push(false);
  4265. break;
  4266. case 33:
  4267. t1.push(true);
  4268. break;
  4269. case 59:
  4270. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4271. break;
  4272. case 94:
  4273. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4274. break;
  4275. case 35:
  4276. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4277. break;
  4278. case 64:
  4279. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4280. break;
  4281. case 126:
  4282. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4283. break;
  4284. case 60:
  4285. t1.push(parser.p);
  4286. parser.p = t1.length;
  4287. break;
  4288. case 62:
  4289. A._Parser_handleTypeArguments(parser, t1);
  4290. break;
  4291. case 38:
  4292. A._Parser_handleExtendedOperations(parser, t1);
  4293. break;
  4294. case 42:
  4295. t3 = parser.u;
  4296. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4297. break;
  4298. case 63:
  4299. t3 = parser.u;
  4300. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4301. break;
  4302. case 47:
  4303. t3 = parser.u;
  4304. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4305. break;
  4306. case 40:
  4307. t1.push(-3);
  4308. t1.push(parser.p);
  4309. parser.p = t1.length;
  4310. break;
  4311. case 41:
  4312. A._Parser_handleArguments(parser, t1);
  4313. break;
  4314. case 91:
  4315. t1.push(parser.p);
  4316. parser.p = t1.length;
  4317. break;
  4318. case 93:
  4319. array = t1.splice(parser.p);
  4320. A._Parser_toTypes(parser.u, parser.e, array);
  4321. parser.p = t1.pop();
  4322. t1.push(array);
  4323. t1.push(-1);
  4324. break;
  4325. case 123:
  4326. t1.push(parser.p);
  4327. parser.p = t1.length;
  4328. break;
  4329. case 125:
  4330. array = t1.splice(parser.p);
  4331. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4332. parser.p = t1.pop();
  4333. t1.push(array);
  4334. t1.push(-2);
  4335. break;
  4336. case 43:
  4337. end = source.indexOf("(", i);
  4338. t1.push(source.substring(i, end));
  4339. t1.push(-4);
  4340. t1.push(parser.p);
  4341. parser.p = t1.length;
  4342. i = end + 1;
  4343. break;
  4344. default:
  4345. throw "Bad character " + ch;
  4346. }
  4347. }
  4348. }
  4349. item = t1.pop();
  4350. return A._Parser_toType(parser.u, parser.e, item);
  4351. },
  4352. _Parser_handleDigit(i, digit, source, stack) {
  4353. var t1, ch,
  4354. value = digit - 48;
  4355. for (t1 = source.length; i < t1; ++i) {
  4356. ch = source.charCodeAt(i);
  4357. if (!(ch >= 48 && ch <= 57))
  4358. break;
  4359. value = value * 10 + (ch - 48);
  4360. }
  4361. stack.push(value);
  4362. return i;
  4363. },
  4364. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4365. var t1, ch, t2, string, environment, recipe,
  4366. i = start + 1;
  4367. for (t1 = source.length; i < t1; ++i) {
  4368. ch = source.charCodeAt(i);
  4369. if (ch === 46) {
  4370. if (hasPeriod)
  4371. break;
  4372. hasPeriod = true;
  4373. } else {
  4374. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4375. t2 = ch >= 48 && ch <= 57;
  4376. else
  4377. t2 = true;
  4378. if (!t2)
  4379. break;
  4380. }
  4381. }
  4382. string = source.substring(start, i);
  4383. if (hasPeriod) {
  4384. t1 = parser.u;
  4385. environment = parser.e;
  4386. if (environment._kind === 10)
  4387. environment = environment._primary;
  4388. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4389. if (recipe == null)
  4390. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4391. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4392. } else
  4393. stack.push(string);
  4394. return i;
  4395. },
  4396. _Parser_handleTypeArguments(parser, stack) {
  4397. var base,
  4398. t1 = parser.u,
  4399. $arguments = A._Parser_collectArray(parser, stack),
  4400. head = stack.pop();
  4401. if (typeof head == "string")
  4402. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4403. else {
  4404. base = A._Parser_toType(t1, parser.e, head);
  4405. switch (base._kind) {
  4406. case 12:
  4407. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4408. break;
  4409. default:
  4410. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4411. break;
  4412. }
  4413. }
  4414. },
  4415. _Parser_handleArguments(parser, stack) {
  4416. var optionalPositional, named, requiredPositional, returnType, parameters, _null = null,
  4417. t1 = parser.u,
  4418. head = stack.pop();
  4419. if (typeof head == "number")
  4420. switch (head) {
  4421. case -1:
  4422. optionalPositional = stack.pop();
  4423. named = _null;
  4424. break;
  4425. case -2:
  4426. named = stack.pop();
  4427. optionalPositional = _null;
  4428. break;
  4429. default:
  4430. stack.push(head);
  4431. named = _null;
  4432. optionalPositional = named;
  4433. break;
  4434. }
  4435. else {
  4436. stack.push(head);
  4437. named = _null;
  4438. optionalPositional = named;
  4439. }
  4440. requiredPositional = A._Parser_collectArray(parser, stack);
  4441. head = stack.pop();
  4442. switch (head) {
  4443. case -3:
  4444. head = stack.pop();
  4445. if (optionalPositional == null)
  4446. optionalPositional = t1.sEA;
  4447. if (named == null)
  4448. named = t1.sEA;
  4449. returnType = A._Parser_toType(t1, parser.e, head);
  4450. parameters = new A._FunctionParameters();
  4451. parameters._requiredPositional = requiredPositional;
  4452. parameters._optionalPositional = optionalPositional;
  4453. parameters._named = named;
  4454. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4455. return;
  4456. case -4:
  4457. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4458. return;
  4459. default:
  4460. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4461. }
  4462. },
  4463. _Parser_handleExtendedOperations(parser, stack) {
  4464. var $top = stack.pop();
  4465. if (0 === $top) {
  4466. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4467. return;
  4468. }
  4469. if (1 === $top) {
  4470. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4471. return;
  4472. }
  4473. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4474. },
  4475. _Parser_collectArray(parser, stack) {
  4476. var array = stack.splice(parser.p);
  4477. A._Parser_toTypes(parser.u, parser.e, array);
  4478. parser.p = stack.pop();
  4479. return array;
  4480. },
  4481. _Parser_toType(universe, environment, item) {
  4482. if (typeof item == "string")
  4483. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4484. else if (typeof item == "number") {
  4485. environment.toString;
  4486. return A._Parser_indexToType(universe, environment, item);
  4487. } else
  4488. return item;
  4489. },
  4490. _Parser_toTypes(universe, environment, items) {
  4491. var i,
  4492. $length = items.length;
  4493. for (i = 0; i < $length; ++i)
  4494. items[i] = A._Parser_toType(universe, environment, items[i]);
  4495. },
  4496. _Parser_toTypesNamed(universe, environment, items) {
  4497. var i,
  4498. $length = items.length;
  4499. for (i = 2; i < $length; i += 3)
  4500. items[i] = A._Parser_toType(universe, environment, items[i]);
  4501. },
  4502. _Parser_indexToType(universe, environment, index) {
  4503. var typeArguments, len,
  4504. kind = environment._kind;
  4505. if (kind === 10) {
  4506. if (index === 0)
  4507. return environment._primary;
  4508. typeArguments = environment._rest;
  4509. len = typeArguments.length;
  4510. if (index <= len)
  4511. return typeArguments[index - 1];
  4512. index -= len;
  4513. environment = environment._primary;
  4514. kind = environment._kind;
  4515. } else if (index === 0)
  4516. return environment;
  4517. if (kind !== 9)
  4518. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4519. typeArguments = environment._rest;
  4520. if (index <= typeArguments.length)
  4521. return typeArguments[index - 1];
  4522. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4523. },
  4524. isSubtype(universe, s, t) {
  4525. var result,
  4526. sCache = s._isSubtypeCache;
  4527. if (sCache == null)
  4528. sCache = s._isSubtypeCache = new Map();
  4529. result = sCache.get(t);
  4530. if (result == null) {
  4531. result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0;
  4532. sCache.set(t, result);
  4533. }
  4534. if (0 === result)
  4535. return false;
  4536. if (1 === result)
  4537. return true;
  4538. return true;
  4539. },
  4540. _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4541. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4542. if (s === t)
  4543. return true;
  4544. if (!A.isSoundTopType(t))
  4545. if (!(t === type$.legacy_Object))
  4546. t1 = false;
  4547. else
  4548. t1 = true;
  4549. else
  4550. t1 = true;
  4551. if (t1)
  4552. return true;
  4553. sKind = s._kind;
  4554. if (sKind === 4)
  4555. return true;
  4556. if (A.isSoundTopType(s))
  4557. return false;
  4558. if (s._kind !== 1)
  4559. t1 = false;
  4560. else
  4561. t1 = true;
  4562. if (t1)
  4563. return true;
  4564. leftTypeVariable = sKind === 14;
  4565. if (leftTypeVariable)
  4566. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false))
  4567. return true;
  4568. tKind = t._kind;
  4569. t1 = s === type$.Null || s === type$.JSNull;
  4570. if (t1) {
  4571. if (tKind === 8)
  4572. return A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4573. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  4574. }
  4575. if (t === type$.Object) {
  4576. if (sKind === 8)
  4577. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4578. if (sKind === 6)
  4579. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4580. return sKind !== 7;
  4581. }
  4582. if (sKind === 6)
  4583. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4584. if (tKind === 6) {
  4585. t1 = A.Rti__getQuestionFromStar(universe, t);
  4586. return A._isSubtype(universe, s, sEnv, t1, tEnv, false);
  4587. }
  4588. if (sKind === 8) {
  4589. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false))
  4590. return false;
  4591. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false);
  4592. }
  4593. if (sKind === 7) {
  4594. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false);
  4595. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4596. }
  4597. if (tKind === 8) {
  4598. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false))
  4599. return true;
  4600. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false);
  4601. }
  4602. if (tKind === 7) {
  4603. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false);
  4604. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4605. }
  4606. if (leftTypeVariable)
  4607. return false;
  4608. t1 = sKind !== 12;
  4609. if ((!t1 || sKind === 13) && t === type$.Function)
  4610. return true;
  4611. t2 = sKind === 11;
  4612. if (t2 && t === type$.Record)
  4613. return true;
  4614. if (tKind === 13) {
  4615. if (s === type$.JavaScriptFunction)
  4616. return true;
  4617. if (sKind !== 13)
  4618. return false;
  4619. sBounds = s._rest;
  4620. tBounds = t._rest;
  4621. sLength = sBounds.length;
  4622. if (sLength !== tBounds.length)
  4623. return false;
  4624. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4625. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4626. for (i = 0; i < sLength; ++i) {
  4627. sBound = sBounds[i];
  4628. tBound = tBounds[i];
  4629. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false))
  4630. return false;
  4631. }
  4632. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false);
  4633. }
  4634. if (tKind === 12) {
  4635. if (s === type$.JavaScriptFunction)
  4636. return true;
  4637. if (t1)
  4638. return false;
  4639. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false);
  4640. }
  4641. if (sKind === 9) {
  4642. if (tKind !== 9)
  4643. return false;
  4644. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false);
  4645. }
  4646. if (t2 && tKind === 11)
  4647. return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false);
  4648. return false;
  4649. },
  4650. _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4651. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4652. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false))
  4653. return false;
  4654. sParameters = s._rest;
  4655. tParameters = t._rest;
  4656. sRequiredPositional = sParameters._requiredPositional;
  4657. tRequiredPositional = tParameters._requiredPositional;
  4658. sRequiredPositionalLength = sRequiredPositional.length;
  4659. tRequiredPositionalLength = tRequiredPositional.length;
  4660. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4661. return false;
  4662. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4663. sOptionalPositional = sParameters._optionalPositional;
  4664. tOptionalPositional = tParameters._optionalPositional;
  4665. sOptionalPositionalLength = sOptionalPositional.length;
  4666. tOptionalPositionalLength = tOptionalPositional.length;
  4667. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4668. return false;
  4669. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4670. t1 = sRequiredPositional[i];
  4671. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false))
  4672. return false;
  4673. }
  4674. for (i = 0; i < requiredPositionalDelta; ++i) {
  4675. t1 = sOptionalPositional[i];
  4676. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false))
  4677. return false;
  4678. }
  4679. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4680. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4681. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false))
  4682. return false;
  4683. }
  4684. sNamed = sParameters._named;
  4685. tNamed = tParameters._named;
  4686. sNamedLength = sNamed.length;
  4687. tNamedLength = tNamed.length;
  4688. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4689. tName = tNamed[tIndex];
  4690. for (; true;) {
  4691. if (sIndex >= sNamedLength)
  4692. return false;
  4693. sName = sNamed[sIndex];
  4694. sIndex += 3;
  4695. if (tName < sName)
  4696. return false;
  4697. sIsRequired = sNamed[sIndex - 2];
  4698. if (sName < tName) {
  4699. if (sIsRequired)
  4700. return false;
  4701. continue;
  4702. }
  4703. t1 = tNamed[tIndex + 1];
  4704. if (sIsRequired && !t1)
  4705. return false;
  4706. t1 = sNamed[sIndex - 1];
  4707. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false))
  4708. return false;
  4709. break;
  4710. }
  4711. }
  4712. for (; sIndex < sNamedLength;) {
  4713. if (sNamed[sIndex + 1])
  4714. return false;
  4715. sIndex += 3;
  4716. }
  4717. return true;
  4718. },
  4719. _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4720. var rule, recipes, $length, supertypeArgs, i,
  4721. sName = s._primary,
  4722. tName = t._primary;
  4723. for (; sName !== tName;) {
  4724. rule = universe.tR[sName];
  4725. if (rule == null)
  4726. return false;
  4727. if (typeof rule == "string") {
  4728. sName = rule;
  4729. continue;
  4730. }
  4731. recipes = rule[tName];
  4732. if (recipes == null)
  4733. return false;
  4734. $length = recipes.length;
  4735. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4736. for (i = 0; i < $length; ++i)
  4737. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4738. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false);
  4739. }
  4740. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false);
  4741. },
  4742. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) {
  4743. var i,
  4744. $length = sArgs.length;
  4745. for (i = 0; i < $length; ++i)
  4746. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false))
  4747. return false;
  4748. return true;
  4749. },
  4750. _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4751. var i,
  4752. sFields = s._rest,
  4753. tFields = t._rest,
  4754. sCount = sFields.length;
  4755. if (sCount !== tFields.length)
  4756. return false;
  4757. if (s._primary !== t._primary)
  4758. return false;
  4759. for (i = 0; i < sCount; ++i)
  4760. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false))
  4761. return false;
  4762. return true;
  4763. },
  4764. isNullable(t) {
  4765. var t1,
  4766. kind = t._kind;
  4767. if (!(t === type$.Null || t === type$.JSNull))
  4768. if (!A.isSoundTopType(t))
  4769. if (kind !== 7)
  4770. if (!(kind === 6 && A.isNullable(t._primary)))
  4771. t1 = kind === 8 && A.isNullable(t._primary);
  4772. else
  4773. t1 = true;
  4774. else
  4775. t1 = true;
  4776. else
  4777. t1 = true;
  4778. else
  4779. t1 = true;
  4780. return t1;
  4781. },
  4782. isDefinitelyTopType(t) {
  4783. var t1;
  4784. if (!A.isSoundTopType(t))
  4785. if (!(t === type$.legacy_Object))
  4786. t1 = false;
  4787. else
  4788. t1 = true;
  4789. else
  4790. t1 = true;
  4791. return t1;
  4792. },
  4793. isSoundTopType(t) {
  4794. var kind = t._kind;
  4795. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4796. },
  4797. _Utils_objectAssign(o, other) {
  4798. var i, key,
  4799. keys = Object.keys(other),
  4800. $length = keys.length;
  4801. for (i = 0; i < $length; ++i) {
  4802. key = keys[i];
  4803. o[key] = other[key];
  4804. }
  4805. },
  4806. _Utils_newArrayOrEmpty($length) {
  4807. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4808. },
  4809. Rti: function Rti(t0, t1) {
  4810. var _ = this;
  4811. _._as = t0;
  4812. _._is = t1;
  4813. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4814. _._kind = 0;
  4815. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4816. },
  4817. _FunctionParameters: function _FunctionParameters() {
  4818. this._named = this._optionalPositional = this._requiredPositional = null;
  4819. },
  4820. _Type: function _Type(t0) {
  4821. this._rti = t0;
  4822. },
  4823. _Error: function _Error() {
  4824. },
  4825. _TypeError: function _TypeError(t0) {
  4826. this.__rti$_message = t0;
  4827. },
  4828. _AsyncRun__initializeScheduleImmediate() {
  4829. var div, span, t1 = {};
  4830. if (self.scheduleImmediate != null)
  4831. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4832. if (self.MutationObserver != null && self.document != null) {
  4833. div = self.document.createElement("div");
  4834. span = self.document.createElement("span");
  4835. t1.storedCallback = null;
  4836. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4837. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4838. } else if (self.setImmediate != null)
  4839. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4840. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4841. },
  4842. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4843. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4844. },
  4845. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4846. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4847. },
  4848. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4849. A.Timer__createTimer(B.Duration_0, callback);
  4850. },
  4851. Timer__createTimer(duration, callback) {
  4852. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4853. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4854. },
  4855. _TimerImpl$(milliseconds, callback) {
  4856. var t1 = new A._TimerImpl(true);
  4857. t1._TimerImpl$2(milliseconds, callback);
  4858. return t1;
  4859. },
  4860. _TimerImpl$periodic(milliseconds, callback) {
  4861. var t1 = new A._TimerImpl(false);
  4862. t1._TimerImpl$periodic$2(milliseconds, callback);
  4863. return t1;
  4864. },
  4865. _makeAsyncAwaitCompleter($T) {
  4866. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4867. },
  4868. _asyncStartSync(bodyFunction, completer) {
  4869. bodyFunction.call$2(0, null);
  4870. completer.isSync = true;
  4871. return completer._future;
  4872. },
  4873. _asyncAwait(object, bodyFunction) {
  4874. A._awaitOnObject(object, bodyFunction);
  4875. },
  4876. _asyncReturn(object, completer) {
  4877. completer.complete$1(object);
  4878. },
  4879. _asyncRethrow(object, completer) {
  4880. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4881. },
  4882. _awaitOnObject(object, bodyFunction) {
  4883. var t1, future,
  4884. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4885. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4886. if (object instanceof A._Future)
  4887. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4888. else {
  4889. t1 = type$.dynamic;
  4890. if (object instanceof A._Future)
  4891. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4892. else {
  4893. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4894. future._state = 8;
  4895. future._resultOrListeners = object;
  4896. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4897. }
  4898. }
  4899. },
  4900. _wrapJsFunctionForAsync($function) {
  4901. var $protected = function(fn, ERROR) {
  4902. return function(errorCode, result) {
  4903. while (true) {
  4904. try {
  4905. fn(errorCode, result);
  4906. break;
  4907. } catch (error) {
  4908. result = error;
  4909. errorCode = ERROR;
  4910. }
  4911. }
  4912. };
  4913. }($function, 1);
  4914. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4915. },
  4916. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4917. return 0;
  4918. },
  4919. AsyncError$(error, stackTrace) {
  4920. var t1 = A.checkNotNullable(error, "error", type$.Object);
  4921. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  4922. },
  4923. AsyncError_defaultStackTrace(error) {
  4924. var stackTrace;
  4925. if (type$.Error._is(error)) {
  4926. stackTrace = error.get$stackTrace();
  4927. if (stackTrace != null)
  4928. return stackTrace;
  4929. }
  4930. return B._StringStackTrace_3uE;
  4931. },
  4932. Future_Future$value(value, $T) {
  4933. var t1;
  4934. $T._as(value);
  4935. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4936. t1._asyncComplete$1(value);
  4937. return t1;
  4938. },
  4939. Future_Future$error(error, stackTrace, $T) {
  4940. var t1, replacement;
  4941. A.checkNotNullable(error, "error", type$.Object);
  4942. t1 = $.Zone__current;
  4943. if (t1 !== B.C__RootZone) {
  4944. replacement = t1.errorCallback$2(error, stackTrace);
  4945. if (replacement != null) {
  4946. error = replacement.error;
  4947. stackTrace = replacement.stackTrace;
  4948. }
  4949. }
  4950. if (stackTrace == null)
  4951. stackTrace = A.AsyncError_defaultStackTrace(error);
  4952. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4953. t1._asyncCompleteError$2(error, stackTrace);
  4954. return t1;
  4955. },
  4956. Future_wait(futures, eagerError, $T) {
  4957. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  4958. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  4959. _box_0.values = null;
  4960. _box_0.remaining = 0;
  4961. error = A._Cell$named("error");
  4962. stackTrace = A._Cell$named("stackTrace");
  4963. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  4964. try {
  4965. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  4966. future = t1.get$current(t1);
  4967. pos = _box_0.remaining;
  4968. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  4969. ++_box_0.remaining;
  4970. }
  4971. t1 = _box_0.remaining;
  4972. if (t1 === 0) {
  4973. t1 = _future;
  4974. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  4975. return t1;
  4976. }
  4977. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  4978. } catch (exception) {
  4979. e = A.unwrapException(exception);
  4980. st = A.getTraceFromException(exception);
  4981. if (_box_0.remaining === 0 || eagerError)
  4982. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  4983. else {
  4984. error._value = e;
  4985. stackTrace._value = st;
  4986. }
  4987. }
  4988. return _future;
  4989. },
  4990. _Future$zoneValue(value, _zone, $T) {
  4991. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  4992. t1._state = 8;
  4993. t1._resultOrListeners = value;
  4994. return t1;
  4995. },
  4996. _Future$value(value, $T) {
  4997. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4998. t1._state = 8;
  4999. t1._resultOrListeners = value;
  5000. return t1;
  5001. },
  5002. _Future__chainCoreFutureSync(source, target) {
  5003. var t1, listeners;
  5004. for (; t1 = source._state, (t1 & 4) !== 0;)
  5005. source = source._resultOrListeners;
  5006. if ((t1 & 24) !== 0) {
  5007. listeners = target._removeListeners$0();
  5008. target._cloneResult$1(source);
  5009. A._Future__propagateToListeners(target, listeners);
  5010. } else {
  5011. listeners = target._resultOrListeners;
  5012. target._setChained$1(source);
  5013. source._prependListeners$1(listeners);
  5014. }
  5015. },
  5016. _Future__chainCoreFutureAsync(source, target) {
  5017. var t2, listeners, _box_0 = {},
  5018. t1 = _box_0.source = source;
  5019. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5020. t1 = t1._resultOrListeners;
  5021. _box_0.source = t1;
  5022. }
  5023. if ((t2 & 24) === 0) {
  5024. listeners = target._resultOrListeners;
  5025. target._setChained$1(t1);
  5026. _box_0.source._prependListeners$1(listeners);
  5027. return;
  5028. }
  5029. if ((t2 & 16) === 0 && target._resultOrListeners == null) {
  5030. target._cloneResult$1(t1);
  5031. return;
  5032. }
  5033. target._state ^= 2;
  5034. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target));
  5035. },
  5036. _Future__propagateToListeners(source, listeners) {
  5037. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5038. t1 = _box_1.source = source;
  5039. for (; true;) {
  5040. _box_0 = {};
  5041. t2 = t1._state;
  5042. t3 = (t2 & 16) === 0;
  5043. hasError = !t3;
  5044. if (listeners == null) {
  5045. if (hasError && (t2 & 1) === 0) {
  5046. t2 = t1._resultOrListeners;
  5047. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5048. }
  5049. return;
  5050. }
  5051. _box_0.listener = listeners;
  5052. nextListener = listeners._nextListener;
  5053. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5054. t1._nextListener = null;
  5055. A._Future__propagateToListeners(_box_1.source, t1);
  5056. _box_0.listener = nextListener;
  5057. nextListener0 = nextListener._nextListener;
  5058. }
  5059. t2 = _box_1.source;
  5060. sourceResult = t2._resultOrListeners;
  5061. _box_0.listenerHasError = hasError;
  5062. _box_0.listenerValueOrError = sourceResult;
  5063. if (t3) {
  5064. t4 = t1.state;
  5065. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5066. } else
  5067. t4 = true;
  5068. if (t4) {
  5069. zone = t1.result._zone;
  5070. if (hasError) {
  5071. t1 = t2._zone;
  5072. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5073. } else
  5074. t1 = false;
  5075. if (t1) {
  5076. t1 = _box_1.source;
  5077. t2 = t1._resultOrListeners;
  5078. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5079. return;
  5080. }
  5081. oldZone = $.Zone__current;
  5082. if (oldZone !== zone)
  5083. $.Zone__current = zone;
  5084. else
  5085. oldZone = null;
  5086. t1 = _box_0.listener.state;
  5087. if ((t1 & 15) === 8)
  5088. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5089. else if (t3) {
  5090. if ((t1 & 1) !== 0)
  5091. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5092. } else if ((t1 & 2) !== 0)
  5093. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5094. if (oldZone != null)
  5095. $.Zone__current = oldZone;
  5096. t1 = _box_0.listenerValueOrError;
  5097. if (t1 instanceof A._Future) {
  5098. t2 = _box_0.listener.$ti;
  5099. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5100. } else
  5101. t2 = false;
  5102. if (t2) {
  5103. result = _box_0.listener.result;
  5104. if ((t1._state & 24) !== 0) {
  5105. current = result._resultOrListeners;
  5106. result._resultOrListeners = null;
  5107. listeners = result._reverseListeners$1(current);
  5108. result._state = t1._state & 30 | result._state & 1;
  5109. result._resultOrListeners = t1._resultOrListeners;
  5110. _box_1.source = t1;
  5111. continue;
  5112. } else
  5113. A._Future__chainCoreFutureSync(t1, result);
  5114. return;
  5115. }
  5116. }
  5117. result = _box_0.listener.result;
  5118. current = result._resultOrListeners;
  5119. result._resultOrListeners = null;
  5120. listeners = result._reverseListeners$1(current);
  5121. t1 = _box_0.listenerHasError;
  5122. t2 = _box_0.listenerValueOrError;
  5123. if (!t1) {
  5124. result._state = 8;
  5125. result._resultOrListeners = t2;
  5126. } else {
  5127. result._state = result._state & 1 | 16;
  5128. result._resultOrListeners = t2;
  5129. }
  5130. _box_1.source = result;
  5131. t1 = result;
  5132. }
  5133. },
  5134. _registerErrorHandler(errorHandler, zone) {
  5135. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5136. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5137. if (type$.dynamic_Function_Object._is(errorHandler))
  5138. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5139. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5140. },
  5141. _microtaskLoop() {
  5142. var entry, next;
  5143. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5144. $._lastPriorityCallback = null;
  5145. next = entry.next;
  5146. $._nextCallback = next;
  5147. if (next == null)
  5148. $._lastCallback = null;
  5149. entry.callback.call$0();
  5150. }
  5151. },
  5152. _startMicrotaskLoop() {
  5153. $._isInCallbackLoop = true;
  5154. try {
  5155. A._microtaskLoop();
  5156. } finally {
  5157. $._lastPriorityCallback = null;
  5158. $._isInCallbackLoop = false;
  5159. if ($._nextCallback != null)
  5160. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5161. }
  5162. },
  5163. _scheduleAsyncCallback(callback) {
  5164. var newEntry = new A._AsyncCallbackEntry(callback),
  5165. lastCallback = $._lastCallback;
  5166. if (lastCallback == null) {
  5167. $._nextCallback = $._lastCallback = newEntry;
  5168. if (!$._isInCallbackLoop)
  5169. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5170. } else
  5171. $._lastCallback = lastCallback.next = newEntry;
  5172. },
  5173. _schedulePriorityAsyncCallback(callback) {
  5174. var entry, lastPriorityCallback, next,
  5175. t1 = $._nextCallback;
  5176. if (t1 == null) {
  5177. A._scheduleAsyncCallback(callback);
  5178. $._lastPriorityCallback = $._lastCallback;
  5179. return;
  5180. }
  5181. entry = new A._AsyncCallbackEntry(callback);
  5182. lastPriorityCallback = $._lastPriorityCallback;
  5183. if (lastPriorityCallback == null) {
  5184. entry.next = t1;
  5185. $._nextCallback = $._lastPriorityCallback = entry;
  5186. } else {
  5187. next = lastPriorityCallback.next;
  5188. entry.next = next;
  5189. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5190. if (next == null)
  5191. $._lastCallback = entry;
  5192. }
  5193. },
  5194. scheduleMicrotask(callback) {
  5195. var t1, _null = null,
  5196. currentZone = $.Zone__current;
  5197. if (B.C__RootZone === currentZone) {
  5198. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5199. return;
  5200. }
  5201. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5202. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5203. else
  5204. t1 = false;
  5205. if (t1) {
  5206. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5207. return;
  5208. }
  5209. t1 = $.Zone__current;
  5210. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5211. },
  5212. Stream_Stream$fromFuture(future, $T) {
  5213. var _null = null,
  5214. t1 = $T._eval$1("_SyncStreamController<0>"),
  5215. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5216. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5217. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5218. },
  5219. StreamIterator_StreamIterator(stream) {
  5220. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5221. },
  5222. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5223. 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>"));
  5224. },
  5225. _runGuarded(notificationHandler) {
  5226. var e, s, exception;
  5227. if (notificationHandler == null)
  5228. return;
  5229. try {
  5230. notificationHandler.call$0();
  5231. } catch (exception) {
  5232. e = A.unwrapException(exception);
  5233. s = A.getTraceFromException(exception);
  5234. $.Zone__current.handleUncaughtError$2(e, s);
  5235. }
  5236. },
  5237. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5238. var t1 = $.Zone__current,
  5239. t2 = cancelOnError ? 1 : 0,
  5240. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5241. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5242. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5243. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  5244. },
  5245. _AddStreamState_makeErrorHandler(controller) {
  5246. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5247. },
  5248. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5249. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5250. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5251. },
  5252. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5253. if (handleError == null)
  5254. handleError = A.async___nullErrorHandler$closure();
  5255. if (type$.void_Function_Object_StackTrace._is(handleError))
  5256. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5257. if (type$.void_Function_Object._is(handleError))
  5258. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5259. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5260. },
  5261. _nullDataHandler(value) {
  5262. },
  5263. _nullErrorHandler(error, stackTrace) {
  5264. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5265. },
  5266. _nullDoneHandler() {
  5267. },
  5268. Timer_Timer(duration, callback) {
  5269. var t1 = $.Zone__current;
  5270. if (t1 === B.C__RootZone)
  5271. return t1.createTimer$2(duration, callback);
  5272. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5273. },
  5274. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5275. A._rootHandleError(error, stackTrace);
  5276. },
  5277. _rootHandleError(error, stackTrace) {
  5278. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5279. },
  5280. _rootRun($self, $parent, zone, f) {
  5281. var old,
  5282. t1 = $.Zone__current;
  5283. if (t1 === zone)
  5284. return f.call$0();
  5285. $.Zone__current = zone;
  5286. old = t1;
  5287. try {
  5288. t1 = f.call$0();
  5289. return t1;
  5290. } finally {
  5291. $.Zone__current = old;
  5292. }
  5293. },
  5294. _rootRunUnary($self, $parent, zone, f, arg) {
  5295. var old,
  5296. t1 = $.Zone__current;
  5297. if (t1 === zone)
  5298. return f.call$1(arg);
  5299. $.Zone__current = zone;
  5300. old = t1;
  5301. try {
  5302. t1 = f.call$1(arg);
  5303. return t1;
  5304. } finally {
  5305. $.Zone__current = old;
  5306. }
  5307. },
  5308. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5309. var old,
  5310. t1 = $.Zone__current;
  5311. if (t1 === zone)
  5312. return f.call$2(arg1, arg2);
  5313. $.Zone__current = zone;
  5314. old = t1;
  5315. try {
  5316. t1 = f.call$2(arg1, arg2);
  5317. return t1;
  5318. } finally {
  5319. $.Zone__current = old;
  5320. }
  5321. },
  5322. _rootRegisterCallback($self, $parent, zone, f) {
  5323. return f;
  5324. },
  5325. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5326. return f;
  5327. },
  5328. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5329. return f;
  5330. },
  5331. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5332. return null;
  5333. },
  5334. _rootScheduleMicrotask($self, $parent, zone, f) {
  5335. var t1, t2;
  5336. if (B.C__RootZone !== zone) {
  5337. t1 = B.C__RootZone.get$errorZone();
  5338. t2 = zone.get$errorZone();
  5339. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5340. }
  5341. A._scheduleAsyncCallback(f);
  5342. },
  5343. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5344. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5345. },
  5346. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5347. var milliseconds;
  5348. if (B.C__RootZone !== zone)
  5349. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5350. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5351. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5352. },
  5353. _rootPrint($self, $parent, zone, line) {
  5354. A.printString(line);
  5355. },
  5356. _printToZone(line) {
  5357. $.Zone__current.print$1(line);
  5358. },
  5359. _rootFork($self, $parent, zone, specification, zoneValues) {
  5360. var valueMap, t1, handleUncaughtError;
  5361. $.printToZone = A.async___printToZone$closure();
  5362. if (specification == null)
  5363. specification = B._ZoneSpecification_ALf;
  5364. if (zoneValues == null)
  5365. valueMap = zone.get$_async$_map();
  5366. else {
  5367. t1 = type$.nullable_Object;
  5368. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5369. }
  5370. 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);
  5371. handleUncaughtError = specification.handleUncaughtError;
  5372. if (handleUncaughtError != null)
  5373. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5374. return t1;
  5375. },
  5376. runZoned(body, zoneValues, $R) {
  5377. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  5378. return A._runZoned(body, zoneValues, null, $R);
  5379. },
  5380. _runZoned(body, zoneValues, specification, $R) {
  5381. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5382. },
  5383. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5384. this._box_0 = t0;
  5385. },
  5386. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5387. this._box_0 = t0;
  5388. this.div = t1;
  5389. this.span = t2;
  5390. },
  5391. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5392. this.callback = t0;
  5393. },
  5394. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5395. this.callback = t0;
  5396. },
  5397. _TimerImpl: function _TimerImpl(t0) {
  5398. this._once = t0;
  5399. this._handle = null;
  5400. this._tick = 0;
  5401. },
  5402. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5403. this.$this = t0;
  5404. this.callback = t1;
  5405. },
  5406. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5407. var _ = this;
  5408. _.$this = t0;
  5409. _.milliseconds = t1;
  5410. _.start = t2;
  5411. _.callback = t3;
  5412. },
  5413. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5414. this._future = t0;
  5415. this.isSync = false;
  5416. this.$ti = t1;
  5417. },
  5418. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5419. this.bodyFunction = t0;
  5420. },
  5421. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5422. this.bodyFunction = t0;
  5423. },
  5424. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5425. this.$protected = t0;
  5426. },
  5427. _SyncStarIterator: function _SyncStarIterator(t0) {
  5428. var _ = this;
  5429. _._body = t0;
  5430. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5431. },
  5432. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5433. this._outerHelper = t0;
  5434. this.$ti = t1;
  5435. },
  5436. AsyncError: function AsyncError(t0, t1) {
  5437. this.error = t0;
  5438. this.stackTrace = t1;
  5439. },
  5440. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  5441. var _ = this;
  5442. _._box_0 = t0;
  5443. _.cleanUp = t1;
  5444. _.eagerError = t2;
  5445. _._future = t3;
  5446. _.error = t4;
  5447. _.stackTrace = t5;
  5448. },
  5449. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  5450. var _ = this;
  5451. _._box_0 = t0;
  5452. _.pos = t1;
  5453. _._future = t2;
  5454. _.cleanUp = t3;
  5455. _.eagerError = t4;
  5456. _.error = t5;
  5457. _.stackTrace = t6;
  5458. _.T = t7;
  5459. },
  5460. _Completer: function _Completer() {
  5461. },
  5462. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5463. this.future = t0;
  5464. this.$ti = t1;
  5465. },
  5466. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5467. this.future = t0;
  5468. this.$ti = t1;
  5469. },
  5470. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5471. var _ = this;
  5472. _._nextListener = null;
  5473. _.result = t0;
  5474. _.state = t1;
  5475. _.callback = t2;
  5476. _.errorCallback = t3;
  5477. _.$ti = t4;
  5478. },
  5479. _Future: function _Future(t0, t1) {
  5480. var _ = this;
  5481. _._state = 0;
  5482. _._zone = t0;
  5483. _._resultOrListeners = null;
  5484. _.$ti = t1;
  5485. },
  5486. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5487. this.$this = t0;
  5488. this.listener = t1;
  5489. },
  5490. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5491. this._box_0 = t0;
  5492. this.$this = t1;
  5493. },
  5494. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  5495. this.$this = t0;
  5496. },
  5497. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  5498. this.$this = t0;
  5499. },
  5500. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  5501. this.$this = t0;
  5502. this.e = t1;
  5503. this.s = t2;
  5504. },
  5505. _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) {
  5506. this._box_0 = t0;
  5507. this.target = t1;
  5508. },
  5509. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5510. this.$this = t0;
  5511. this.value = t1;
  5512. },
  5513. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  5514. this.$this = t0;
  5515. this.error = t1;
  5516. this.stackTrace = t2;
  5517. },
  5518. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5519. this._box_0 = t0;
  5520. this._box_1 = t1;
  5521. this.hasError = t2;
  5522. },
  5523. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  5524. this.originalSource = t0;
  5525. },
  5526. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5527. this._box_0 = t0;
  5528. this.sourceResult = t1;
  5529. },
  5530. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5531. this._box_1 = t0;
  5532. this._box_0 = t1;
  5533. },
  5534. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5535. this.callback = t0;
  5536. this.next = null;
  5537. },
  5538. Stream: function Stream() {
  5539. },
  5540. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5541. this.controller = t0;
  5542. this.T = t1;
  5543. },
  5544. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5545. this.controller = t0;
  5546. },
  5547. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5548. this._box_0 = t0;
  5549. this.$this = t1;
  5550. },
  5551. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5552. this._box_0 = t0;
  5553. this.future = t1;
  5554. },
  5555. _StreamController: function _StreamController() {
  5556. },
  5557. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5558. this.$this = t0;
  5559. },
  5560. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5561. this.$this = t0;
  5562. },
  5563. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5564. },
  5565. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5566. },
  5567. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5568. var _ = this;
  5569. _._varData = null;
  5570. _._state = 0;
  5571. _._doneFuture = null;
  5572. _.onListen = t0;
  5573. _.onPause = t1;
  5574. _.onResume = t2;
  5575. _.onCancel = t3;
  5576. _.$ti = t4;
  5577. },
  5578. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5579. var _ = this;
  5580. _._varData = null;
  5581. _._state = 0;
  5582. _._doneFuture = null;
  5583. _.onListen = t0;
  5584. _.onPause = t1;
  5585. _.onResume = t2;
  5586. _.onCancel = t3;
  5587. _.$ti = t4;
  5588. },
  5589. _ControllerStream: function _ControllerStream(t0, t1) {
  5590. this._controller = t0;
  5591. this.$ti = t1;
  5592. },
  5593. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5594. var _ = this;
  5595. _._controller = t0;
  5596. _._onData = t1;
  5597. _._onError = t2;
  5598. _._onDone = t3;
  5599. _._zone = t4;
  5600. _._state = t5;
  5601. _._pending = _._cancelFuture = null;
  5602. _.$ti = t6;
  5603. },
  5604. _AddStreamState: function _AddStreamState() {
  5605. },
  5606. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5607. this.controller = t0;
  5608. },
  5609. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5610. this.$this = t0;
  5611. },
  5612. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5613. this.varData = t0;
  5614. this.addStreamFuture = t1;
  5615. this.addSubscription = t2;
  5616. },
  5617. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5618. },
  5619. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5620. this.$this = t0;
  5621. this.error = t1;
  5622. this.stackTrace = t2;
  5623. },
  5624. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5625. this.$this = t0;
  5626. },
  5627. _StreamImpl: function _StreamImpl() {
  5628. },
  5629. _DelayedEvent: function _DelayedEvent() {
  5630. },
  5631. _DelayedData: function _DelayedData(t0) {
  5632. this.value = t0;
  5633. this.next = null;
  5634. },
  5635. _DelayedError: function _DelayedError(t0, t1) {
  5636. this.error = t0;
  5637. this.stackTrace = t1;
  5638. this.next = null;
  5639. },
  5640. _DelayedDone: function _DelayedDone() {
  5641. },
  5642. _PendingEvents: function _PendingEvents() {
  5643. this._state = 0;
  5644. this.lastPendingEvent = this.firstPendingEvent = null;
  5645. },
  5646. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5647. this.$this = t0;
  5648. this.dispatch = t1;
  5649. },
  5650. _StreamIterator: function _StreamIterator(t0) {
  5651. this._subscription = null;
  5652. this._stateData = t0;
  5653. this._async$_hasValue = false;
  5654. },
  5655. _ForwardingStream: function _ForwardingStream() {
  5656. },
  5657. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5658. var _ = this;
  5659. _._stream = t0;
  5660. _._subscription = null;
  5661. _._onData = t1;
  5662. _._onError = t2;
  5663. _._onDone = t3;
  5664. _._zone = t4;
  5665. _._state = t5;
  5666. _._pending = _._cancelFuture = null;
  5667. _.$ti = t6;
  5668. },
  5669. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  5670. this._expand = t0;
  5671. this._async$_source = t1;
  5672. this.$ti = t2;
  5673. },
  5674. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5675. this.zone = t0;
  5676. this.$function = t1;
  5677. },
  5678. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5679. var _ = this;
  5680. _.handleUncaughtError = t0;
  5681. _.run = t1;
  5682. _.runUnary = t2;
  5683. _.runBinary = t3;
  5684. _.registerCallback = t4;
  5685. _.registerUnaryCallback = t5;
  5686. _.registerBinaryCallback = t6;
  5687. _.errorCallback = t7;
  5688. _.scheduleMicrotask = t8;
  5689. _.createTimer = t9;
  5690. _.createPeriodicTimer = t10;
  5691. _.print = t11;
  5692. _.fork = t12;
  5693. },
  5694. _ZoneDelegate: function _ZoneDelegate(t0) {
  5695. this._delegationTarget = t0;
  5696. },
  5697. _Zone: function _Zone() {
  5698. },
  5699. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5700. var _ = this;
  5701. _._run = t0;
  5702. _._runUnary = t1;
  5703. _._runBinary = t2;
  5704. _._registerCallback = t3;
  5705. _._registerUnaryCallback = t4;
  5706. _._registerBinaryCallback = t5;
  5707. _._errorCallback = t6;
  5708. _._scheduleMicrotask = t7;
  5709. _._createTimer = t8;
  5710. _._createPeriodicTimer = t9;
  5711. _._print = t10;
  5712. _._fork = t11;
  5713. _._handleUncaughtError = t12;
  5714. _._delegateCache = null;
  5715. _.parent = t13;
  5716. _._async$_map = t14;
  5717. },
  5718. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5719. this.$this = t0;
  5720. this.registered = t1;
  5721. this.R = t2;
  5722. },
  5723. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5724. var _ = this;
  5725. _.$this = t0;
  5726. _.registered = t1;
  5727. _.T = t2;
  5728. _.R = t3;
  5729. },
  5730. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5731. this.$this = t0;
  5732. this.registered = t1;
  5733. },
  5734. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5735. this.error = t0;
  5736. this.stackTrace = t1;
  5737. },
  5738. _RootZone: function _RootZone() {
  5739. },
  5740. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5741. this.$this = t0;
  5742. this.f = t1;
  5743. this.R = t2;
  5744. },
  5745. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5746. var _ = this;
  5747. _.$this = t0;
  5748. _.f = t1;
  5749. _.T = t2;
  5750. _.R = t3;
  5751. },
  5752. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5753. this.$this = t0;
  5754. this.f = t1;
  5755. },
  5756. HashMap_HashMap($K, $V) {
  5757. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5758. },
  5759. _HashMap__getTableEntry(table, key) {
  5760. var entry = table[key];
  5761. return entry === table ? null : entry;
  5762. },
  5763. _HashMap__setTableEntry(table, key, value) {
  5764. if (value == null)
  5765. table[key] = table;
  5766. else
  5767. table[key] = value;
  5768. },
  5769. _HashMap__newHashTable() {
  5770. var table = Object.create(null);
  5771. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5772. delete table["<non-identifier-key>"];
  5773. return table;
  5774. },
  5775. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5776. if (isValidKey == null)
  5777. if (hashCode == null) {
  5778. if (equals == null)
  5779. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5780. hashCode = A.collection___defaultHashCode$closure();
  5781. } else {
  5782. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5783. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5784. if (equals == null)
  5785. equals = A.collection___defaultEquals$closure();
  5786. }
  5787. else {
  5788. if (hashCode == null)
  5789. hashCode = A.collection___defaultHashCode$closure();
  5790. if (equals == null)
  5791. equals = A.collection___defaultEquals$closure();
  5792. }
  5793. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5794. },
  5795. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5796. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5797. },
  5798. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5799. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5800. },
  5801. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5802. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5803. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5804. },
  5805. LinkedHashSet_LinkedHashSet($E) {
  5806. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5807. },
  5808. LinkedHashSet_LinkedHashSet$_empty($E) {
  5809. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5810. },
  5811. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5812. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5813. },
  5814. _LinkedHashSet__newHashTable() {
  5815. var table = Object.create(null);
  5816. table["<non-identifier-key>"] = table;
  5817. delete table["<non-identifier-key>"];
  5818. return table;
  5819. },
  5820. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5821. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5822. t1._collection$_cell = _set._collection$_first;
  5823. return t1;
  5824. },
  5825. UnmodifiableListView$(source, $E) {
  5826. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5827. },
  5828. _defaultEquals(a, b) {
  5829. return J.$eq$(a, b);
  5830. },
  5831. _defaultHashCode(a) {
  5832. return J.get$hashCode$(a);
  5833. },
  5834. HashMap_HashMap$from(other, $K, $V) {
  5835. var result = A.HashMap_HashMap($K, $V);
  5836. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5837. return result;
  5838. },
  5839. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5840. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5841. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5842. return result;
  5843. },
  5844. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5845. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5846. t1.addAll$1(0, other);
  5847. return t1;
  5848. },
  5849. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5850. var t1, _i,
  5851. result = A.LinkedHashSet_LinkedHashSet($E);
  5852. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5853. result.add$1(0, $E._as(elements[_i]));
  5854. return result;
  5855. },
  5856. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5857. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5858. t1.addAll$1(0, elements);
  5859. return t1;
  5860. },
  5861. ListBase__compareAny(a, b) {
  5862. var t1 = type$.Comparable_dynamic;
  5863. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5864. },
  5865. MapBase_mapToString(m) {
  5866. var result, t1 = {};
  5867. if (A.isToStringVisiting(m))
  5868. return "{...}";
  5869. result = new A.StringBuffer("");
  5870. try {
  5871. $.toStringVisiting.push(m);
  5872. result._contents += "{";
  5873. t1.first = true;
  5874. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5875. result._contents += "}";
  5876. } finally {
  5877. $.toStringVisiting.pop();
  5878. }
  5879. t1 = result._contents;
  5880. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5881. },
  5882. MapBase__fillMapWithIterables(map, keys, values) {
  5883. var keyIterator = keys.get$iterator(keys),
  5884. valueIterator = values.get$iterator(values),
  5885. hasNextKey = keyIterator.moveNext$0(),
  5886. hasNextValue = valueIterator.moveNext$0();
  5887. while (true) {
  5888. if (!(hasNextKey && hasNextValue))
  5889. break;
  5890. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5891. hasNextKey = keyIterator.moveNext$0();
  5892. hasNextValue = valueIterator.moveNext$0();
  5893. }
  5894. if (hasNextKey || hasNextValue)
  5895. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5896. },
  5897. ListQueue$($E) {
  5898. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5899. },
  5900. ListQueue__calculateCapacity(initialCapacity) {
  5901. return 8;
  5902. },
  5903. ListQueue__nextPowerOf2(number) {
  5904. var nextNumber;
  5905. number = (number << 1 >>> 0) - 1;
  5906. for (; true; number = nextNumber) {
  5907. nextNumber = (number & number - 1) >>> 0;
  5908. if (nextNumber === 0)
  5909. return number;
  5910. }
  5911. },
  5912. _ListQueueIterator$(queue, $E) {
  5913. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  5914. },
  5915. _UnmodifiableSetMixin__throwUnmodifiable() {
  5916. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  5917. },
  5918. _HashMap: function _HashMap(t0) {
  5919. var _ = this;
  5920. _._collection$_length = 0;
  5921. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5922. _.$ti = t0;
  5923. },
  5924. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  5925. this.$this = t0;
  5926. },
  5927. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  5928. this.$this = t0;
  5929. },
  5930. _IdentityHashMap: function _IdentityHashMap(t0) {
  5931. var _ = this;
  5932. _._collection$_length = 0;
  5933. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5934. _.$ti = t0;
  5935. },
  5936. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  5937. this._map = t0;
  5938. this.$ti = t1;
  5939. },
  5940. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  5941. var _ = this;
  5942. _._map = t0;
  5943. _._collection$_keys = t1;
  5944. _._offset = 0;
  5945. _._collection$_current = null;
  5946. _.$ti = t2;
  5947. },
  5948. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  5949. var _ = this;
  5950. _._equals = t0;
  5951. _._hashCode = t1;
  5952. _._validKey = t2;
  5953. _.__js_helper$_length = 0;
  5954. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  5955. _._modifications = 0;
  5956. _.$ti = t3;
  5957. },
  5958. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  5959. this.K = t0;
  5960. },
  5961. _LinkedHashSet: function _LinkedHashSet(t0) {
  5962. var _ = this;
  5963. _._collection$_length = 0;
  5964. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5965. _._collection$_modifications = 0;
  5966. _.$ti = t0;
  5967. },
  5968. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  5969. var _ = this;
  5970. _._collection$_length = 0;
  5971. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5972. _._collection$_modifications = 0;
  5973. _.$ti = t0;
  5974. },
  5975. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  5976. this._element = t0;
  5977. this._collection$_previous = this._collection$_next = null;
  5978. },
  5979. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  5980. var _ = this;
  5981. _._set = t0;
  5982. _._collection$_modifications = t1;
  5983. _._collection$_current = _._collection$_cell = null;
  5984. _.$ti = t2;
  5985. },
  5986. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  5987. this._collection$_source = t0;
  5988. this.$ti = t1;
  5989. },
  5990. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  5991. this.result = t0;
  5992. this.K = t1;
  5993. this.V = t2;
  5994. },
  5995. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  5996. this.result = t0;
  5997. this.K = t1;
  5998. this.V = t2;
  5999. },
  6000. ListBase: function ListBase() {
  6001. },
  6002. MapBase: function MapBase() {
  6003. },
  6004. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6005. this.$this = t0;
  6006. },
  6007. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6008. this.$this = t0;
  6009. },
  6010. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6011. this._box_0 = t0;
  6012. this.result = t1;
  6013. },
  6014. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6015. },
  6016. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6017. this._map = t0;
  6018. this.$ti = t1;
  6019. },
  6020. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6021. var _ = this;
  6022. _._collection$_keys = t0;
  6023. _._map = t1;
  6024. _._collection$_current = null;
  6025. _.$ti = t2;
  6026. },
  6027. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6028. },
  6029. MapView: function MapView() {
  6030. },
  6031. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6032. this._map = t0;
  6033. this.$ti = t1;
  6034. },
  6035. ListQueue: function ListQueue(t0, t1) {
  6036. var _ = this;
  6037. _._table = t0;
  6038. _._modificationCount = _._tail = _._head = 0;
  6039. _.$ti = t1;
  6040. },
  6041. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6042. var _ = this;
  6043. _._queue = t0;
  6044. _._collection$_end = t1;
  6045. _._modificationCount = t2;
  6046. _._collection$_position = t3;
  6047. _._collection$_current = null;
  6048. _.$ti = t4;
  6049. },
  6050. SetBase: function SetBase() {
  6051. },
  6052. _SetBase: function _SetBase() {
  6053. },
  6054. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6055. },
  6056. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6057. this._collection$_source = t0;
  6058. this.$ti = t1;
  6059. },
  6060. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6061. },
  6062. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6063. },
  6064. _parseJson(source, reviver) {
  6065. var e, exception, t1, parsed = null;
  6066. try {
  6067. parsed = JSON.parse(source);
  6068. } catch (exception) {
  6069. e = A.unwrapException(exception);
  6070. t1 = A.FormatException$(String(e), null, null);
  6071. throw A.wrapException(t1);
  6072. }
  6073. t1 = A._convertJsonToDartLazy(parsed);
  6074. return t1;
  6075. },
  6076. _convertJsonToDartLazy(object) {
  6077. var i;
  6078. if (object == null)
  6079. return null;
  6080. if (typeof object != "object")
  6081. return object;
  6082. if (Object.getPrototypeOf(object) !== Array.prototype)
  6083. return new A._JsonMap(object, Object.create(null));
  6084. for (i = 0; i < object.length; ++i)
  6085. object[i] = A._convertJsonToDartLazy(object[i]);
  6086. return object;
  6087. },
  6088. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6089. var bytes, t1, i, b,
  6090. $length = end - start;
  6091. if ($length <= 4096)
  6092. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6093. else
  6094. bytes = new Uint8Array($length);
  6095. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6096. b = t1.$index(codeUnits, start + i);
  6097. if ((b & 255) !== b)
  6098. b = 255;
  6099. bytes[i] = b;
  6100. }
  6101. return bytes;
  6102. },
  6103. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6104. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6105. if (decoder == null)
  6106. return null;
  6107. if (0 === start && end === codeUnits.length)
  6108. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6109. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6110. },
  6111. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6112. var t1, exception;
  6113. try {
  6114. t1 = decoder.decode(codeUnits);
  6115. return t1;
  6116. } catch (exception) {
  6117. }
  6118. return null;
  6119. },
  6120. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6121. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6122. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6123. if (firstPadding + paddingCount !== $length)
  6124. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6125. if (paddingCount > 2)
  6126. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6127. },
  6128. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6129. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  6130. bits = state >>> 2,
  6131. expectedChars = 3 - (state & 3);
  6132. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  6133. byte = t1.$index(bytes, i);
  6134. byteOr = (byteOr | byte) >>> 0;
  6135. bits = (bits << 8 | byte) & 16777215;
  6136. --expectedChars;
  6137. if (expectedChars === 0) {
  6138. outputIndex0 = outputIndex + 1;
  6139. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6140. outputIndex = outputIndex0 + 1;
  6141. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6142. outputIndex0 = outputIndex + 1;
  6143. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6144. outputIndex = outputIndex0 + 1;
  6145. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6146. bits = 0;
  6147. expectedChars = 3;
  6148. }
  6149. }
  6150. if (byteOr >= 0 && byteOr <= 255) {
  6151. if (isLast && expectedChars < 3) {
  6152. outputIndex0 = outputIndex + 1;
  6153. outputIndex1 = outputIndex0 + 1;
  6154. if (3 - expectedChars === 1) {
  6155. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6156. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6157. output[outputIndex1] = 61;
  6158. output[outputIndex1 + 1] = 61;
  6159. } else {
  6160. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6161. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6162. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6163. output[outputIndex1 + 1] = 61;
  6164. }
  6165. return 0;
  6166. }
  6167. return (bits << 2 | 3 - expectedChars) >>> 0;
  6168. }
  6169. for (i = start; i < end;) {
  6170. byte = t1.$index(bytes, i);
  6171. if (byte < 0 || byte > 255)
  6172. break;
  6173. ++i;
  6174. }
  6175. 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));
  6176. },
  6177. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6178. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6179. },
  6180. _defaultToEncodable(object) {
  6181. return object.toJson$0();
  6182. },
  6183. _JsonStringStringifier$(_sink, _toEncodable) {
  6184. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6185. },
  6186. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6187. var t1,
  6188. output = new A.StringBuffer(""),
  6189. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6190. stringifier.writeObject$1(object);
  6191. t1 = output._contents;
  6192. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6193. },
  6194. _Utf8Decoder_errorDescription(state) {
  6195. switch (state) {
  6196. case 65:
  6197. return "Missing extension byte";
  6198. case 67:
  6199. return "Unexpected extension byte";
  6200. case 69:
  6201. return "Invalid UTF-8 byte";
  6202. case 71:
  6203. return "Overlong encoding";
  6204. case 73:
  6205. return "Out of unicode range";
  6206. case 75:
  6207. return "Encoded surrogate";
  6208. case 77:
  6209. return "Unfinished UTF-8 octet sequence";
  6210. default:
  6211. return "";
  6212. }
  6213. },
  6214. _JsonMap: function _JsonMap(t0, t1) {
  6215. this._original = t0;
  6216. this._processed = t1;
  6217. this._data = null;
  6218. },
  6219. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6220. this.$this = t0;
  6221. },
  6222. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6223. this.$this = t0;
  6224. },
  6225. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6226. this._convert$_parent = t0;
  6227. },
  6228. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6229. },
  6230. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6231. },
  6232. AsciiCodec: function AsciiCodec() {
  6233. },
  6234. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6235. },
  6236. AsciiEncoder: function AsciiEncoder(t0) {
  6237. this._subsetMask = t0;
  6238. },
  6239. Base64Codec: function Base64Codec() {
  6240. },
  6241. Base64Encoder: function Base64Encoder() {
  6242. },
  6243. _Base64Encoder: function _Base64Encoder(t0) {
  6244. this._convert$_state = 0;
  6245. this._alphabet = t0;
  6246. },
  6247. _Base64EncoderSink: function _Base64EncoderSink() {
  6248. },
  6249. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6250. this._sink = t0;
  6251. this._encoder = t1;
  6252. },
  6253. ByteConversionSink: function ByteConversionSink() {
  6254. },
  6255. Codec: function Codec() {
  6256. },
  6257. Converter: function Converter() {
  6258. },
  6259. Encoding: function Encoding() {
  6260. },
  6261. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6262. this.unsupportedObject = t0;
  6263. this.cause = t1;
  6264. },
  6265. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6266. this.unsupportedObject = t0;
  6267. this.cause = t1;
  6268. },
  6269. JsonCodec: function JsonCodec() {
  6270. },
  6271. JsonEncoder: function JsonEncoder(t0) {
  6272. this._toEncodable = t0;
  6273. },
  6274. JsonDecoder: function JsonDecoder(t0) {
  6275. this._reviver = t0;
  6276. },
  6277. _JsonStringifier: function _JsonStringifier() {
  6278. },
  6279. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6280. this._box_0 = t0;
  6281. this.keyValueList = t1;
  6282. },
  6283. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6284. this._sink = t0;
  6285. this._seen = t1;
  6286. this._toEncodable = t2;
  6287. },
  6288. StringConversionSink: function StringConversionSink() {
  6289. },
  6290. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6291. this._stringSink = t0;
  6292. },
  6293. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6294. this._convert$_callback = t0;
  6295. this._stringSink = t1;
  6296. },
  6297. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6298. this._decoder = t0;
  6299. this._sink = t1;
  6300. this._stringSink = t2;
  6301. },
  6302. Utf8Codec: function Utf8Codec() {
  6303. },
  6304. Utf8Encoder: function Utf8Encoder() {
  6305. },
  6306. _Utf8Encoder: function _Utf8Encoder(t0) {
  6307. this._bufferIndex = 0;
  6308. this._buffer = t0;
  6309. },
  6310. Utf8Decoder: function Utf8Decoder(t0) {
  6311. this._allowMalformed = t0;
  6312. },
  6313. _Utf8Decoder: function _Utf8Decoder(t0) {
  6314. this.allowMalformed = t0;
  6315. this._convert$_state = 16;
  6316. this._charOrIndex = 0;
  6317. },
  6318. identityHashCode(object) {
  6319. return A.objectHashCode(object);
  6320. },
  6321. Function_apply($function, positionalArguments) {
  6322. return A.Primitives_applyFunction($function, positionalArguments, null);
  6323. },
  6324. Expando$() {
  6325. return new A.Expando(new WeakMap());
  6326. },
  6327. Expando__checkType(object) {
  6328. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6329. A.Expando__badExpandoKey(object);
  6330. },
  6331. Expando__badExpandoKey(object) {
  6332. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6333. },
  6334. int_parse(source, radix) {
  6335. var value = A.Primitives_parseInt(source, radix);
  6336. if (value != null)
  6337. return value;
  6338. throw A.wrapException(A.FormatException$(source, null, null));
  6339. },
  6340. double_parse(source) {
  6341. var value = A.Primitives_parseDouble(source);
  6342. if (value != null)
  6343. return value;
  6344. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6345. },
  6346. Error__throw(error, stackTrace) {
  6347. error = A.wrapException(error);
  6348. error.stack = stackTrace.toString$0(0);
  6349. throw error;
  6350. throw A.wrapException("unreachable");
  6351. },
  6352. List_List$filled($length, fill, growable, $E) {
  6353. var i,
  6354. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6355. if ($length !== 0 && fill != null)
  6356. for (i = 0; i < result.length; ++i)
  6357. result[i] = fill;
  6358. return result;
  6359. },
  6360. List_List$from(elements, growable, $E) {
  6361. var t1,
  6362. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6363. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6364. list.push(t1.get$current(t1));
  6365. if (growable)
  6366. return list;
  6367. return J.JSArray_markFixedList(list);
  6368. },
  6369. List_List$of(elements, growable, $E) {
  6370. var t1;
  6371. if (growable)
  6372. return A.List_List$_of(elements, $E);
  6373. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  6374. return t1;
  6375. },
  6376. List_List$_of(elements, $E) {
  6377. var list, t1;
  6378. if (Array.isArray(elements))
  6379. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6380. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6381. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6382. list.push(t1.get$current(t1));
  6383. return list;
  6384. },
  6385. List_List$unmodifiable(elements, $E) {
  6386. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  6387. },
  6388. String_String$fromCharCodes(charCodes, start, end) {
  6389. var t1, t2, maxLength, array, len;
  6390. A.RangeError_checkNotNegative(start, "start");
  6391. t1 = end == null;
  6392. t2 = !t1;
  6393. if (t2) {
  6394. maxLength = end - start;
  6395. if (maxLength < 0)
  6396. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6397. if (maxLength === 0)
  6398. return "";
  6399. }
  6400. if (Array.isArray(charCodes)) {
  6401. array = charCodes;
  6402. len = array.length;
  6403. if (t1)
  6404. end = len;
  6405. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6406. }
  6407. if (type$.NativeUint8List._is(charCodes))
  6408. return A.String__stringFromUint8List(charCodes, start, end);
  6409. if (t2)
  6410. charCodes = J.take$1$ax(charCodes, end);
  6411. if (start > 0)
  6412. charCodes = J.skip$1$ax(charCodes, start);
  6413. return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int));
  6414. },
  6415. String_String$fromCharCode(charCode) {
  6416. return A.Primitives_stringFromCharCode(charCode);
  6417. },
  6418. String__stringFromUint8List(charCodes, start, endOrNull) {
  6419. var len = charCodes.length;
  6420. if (start >= len)
  6421. return "";
  6422. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6423. },
  6424. RegExp_RegExp(source, multiLine) {
  6425. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  6426. },
  6427. identical(a, b) {
  6428. return a == null ? b == null : a === b;
  6429. },
  6430. StringBuffer__writeAll(string, objects, separator) {
  6431. var iterator = J.get$iterator$ax(objects);
  6432. if (!iterator.moveNext$0())
  6433. return string;
  6434. if (separator.length === 0) {
  6435. do
  6436. string += A.S(iterator.get$current(iterator));
  6437. while (iterator.moveNext$0());
  6438. } else {
  6439. string += A.S(iterator.get$current(iterator));
  6440. for (; iterator.moveNext$0();)
  6441. string = string + separator + A.S(iterator.get$current(iterator));
  6442. }
  6443. return string;
  6444. },
  6445. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6446. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6447. },
  6448. Uri_base() {
  6449. var cachedUri, uri,
  6450. current = A.Primitives_currentUri();
  6451. if (current == null)
  6452. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6453. cachedUri = $.Uri__cachedBaseUri;
  6454. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6455. return cachedUri;
  6456. uri = A.Uri_parse(current);
  6457. $.Uri__cachedBaseUri = uri;
  6458. $.Uri__cachedBaseString = current;
  6459. return uri;
  6460. },
  6461. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  6462. var t1, bytes, i, t2, byte,
  6463. _s16_ = "0123456789ABCDEF";
  6464. if (encoding === B.C_Utf8Codec) {
  6465. t1 = $.$get$_Uri__needsNoEncoding();
  6466. t1 = t1._nativeRegExp.test(text);
  6467. } else
  6468. t1 = false;
  6469. if (t1)
  6470. return text;
  6471. bytes = B.C_Utf8Encoder.convert$1(text);
  6472. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6473. byte = bytes[i];
  6474. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  6475. t2 += A.Primitives_stringFromCharCode(byte);
  6476. else
  6477. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6478. }
  6479. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6480. },
  6481. StackTrace_current() {
  6482. return A.getTraceFromException(new Error());
  6483. },
  6484. DateTime__fourDigits(n) {
  6485. var absN = Math.abs(n),
  6486. sign = n < 0 ? "-" : "";
  6487. if (absN >= 1000)
  6488. return "" + n;
  6489. if (absN >= 100)
  6490. return sign + "0" + absN;
  6491. if (absN >= 10)
  6492. return sign + "00" + absN;
  6493. return sign + "000" + absN;
  6494. },
  6495. DateTime__threeDigits(n) {
  6496. if (n >= 100)
  6497. return "" + n;
  6498. if (n >= 10)
  6499. return "0" + n;
  6500. return "00" + n;
  6501. },
  6502. DateTime__twoDigits(n) {
  6503. if (n >= 10)
  6504. return "" + n;
  6505. return "0" + n;
  6506. },
  6507. Duration$(milliseconds) {
  6508. return new A.Duration(1000 * milliseconds);
  6509. },
  6510. Error_safeToString(object) {
  6511. if (typeof object == "number" || A._isBool(object) || object == null)
  6512. return J.toString$0$(object);
  6513. if (typeof object == "string")
  6514. return JSON.stringify(object);
  6515. return A.Primitives_safeToString(object);
  6516. },
  6517. Error_throwWithStackTrace(error, stackTrace) {
  6518. A.checkNotNullable(error, "error", type$.Object);
  6519. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6520. A.Error__throw(error, stackTrace);
  6521. },
  6522. AssertionError$(message) {
  6523. return new A.AssertionError(message);
  6524. },
  6525. ArgumentError$(message, $name) {
  6526. return new A.ArgumentError(false, null, $name, message);
  6527. },
  6528. ArgumentError$value(value, $name, message) {
  6529. return new A.ArgumentError(true, value, $name, message);
  6530. },
  6531. ArgumentError_checkNotNull(argument, $name) {
  6532. return argument;
  6533. },
  6534. RangeError$(message) {
  6535. var _null = null;
  6536. return new A.RangeError(_null, _null, false, _null, _null, message);
  6537. },
  6538. RangeError$value(value, $name, message) {
  6539. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6540. },
  6541. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6542. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6543. },
  6544. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6545. if (value < minValue || value > maxValue)
  6546. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6547. return value;
  6548. },
  6549. RangeError_checkValidRange(start, end, $length) {
  6550. if (0 > start || start > $length)
  6551. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6552. if (end != null) {
  6553. if (start > end || end > $length)
  6554. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6555. return end;
  6556. }
  6557. return $length;
  6558. },
  6559. RangeError_checkNotNegative(value, $name) {
  6560. if (value < 0)
  6561. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6562. return value;
  6563. },
  6564. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6565. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6566. },
  6567. IndexError_check(index, $length, indexable, message, $name) {
  6568. if (0 > index || index >= $length)
  6569. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6570. return index;
  6571. },
  6572. UnsupportedError$(message) {
  6573. return new A.UnsupportedError(message);
  6574. },
  6575. UnimplementedError$(message) {
  6576. return new A.UnimplementedError(message);
  6577. },
  6578. StateError$(message) {
  6579. return new A.StateError(message);
  6580. },
  6581. ConcurrentModificationError$(modifiedObject) {
  6582. return new A.ConcurrentModificationError(modifiedObject);
  6583. },
  6584. FormatException$(message, source, offset) {
  6585. return new A.FormatException(message, source, offset);
  6586. },
  6587. Iterable_Iterable$generate(count, generator, $E) {
  6588. if (count <= 0)
  6589. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6590. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6591. },
  6592. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6593. var parts, t1;
  6594. if (A.isToStringVisiting(iterable)) {
  6595. if (leftDelimiter === "(" && rightDelimiter === ")")
  6596. return "(...)";
  6597. return leftDelimiter + "..." + rightDelimiter;
  6598. }
  6599. parts = A._setArrayType([], type$.JSArray_String);
  6600. $.toStringVisiting.push(iterable);
  6601. try {
  6602. A._iterablePartsToStrings(iterable, parts);
  6603. } finally {
  6604. $.toStringVisiting.pop();
  6605. }
  6606. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6607. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6608. },
  6609. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6610. var buffer, t1;
  6611. if (A.isToStringVisiting(iterable))
  6612. return leftDelimiter + "..." + rightDelimiter;
  6613. buffer = new A.StringBuffer(leftDelimiter);
  6614. $.toStringVisiting.push(iterable);
  6615. try {
  6616. t1 = buffer;
  6617. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6618. } finally {
  6619. $.toStringVisiting.pop();
  6620. }
  6621. buffer._contents += rightDelimiter;
  6622. t1 = buffer._contents;
  6623. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6624. },
  6625. _iterablePartsToStrings(iterable, parts) {
  6626. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6627. it = iterable.get$iterator(iterable),
  6628. $length = 0, count = 0;
  6629. while (true) {
  6630. if (!($length < 80 || count < 3))
  6631. break;
  6632. if (!it.moveNext$0())
  6633. return;
  6634. next = A.S(it.get$current(it));
  6635. parts.push(next);
  6636. $length += next.length + 2;
  6637. ++count;
  6638. }
  6639. if (!it.moveNext$0()) {
  6640. if (count <= 5)
  6641. return;
  6642. ultimateString = parts.pop();
  6643. penultimateString = parts.pop();
  6644. } else {
  6645. penultimate = it.get$current(it);
  6646. ++count;
  6647. if (!it.moveNext$0()) {
  6648. if (count <= 4) {
  6649. parts.push(A.S(penultimate));
  6650. return;
  6651. }
  6652. ultimateString = A.S(penultimate);
  6653. penultimateString = parts.pop();
  6654. $length += ultimateString.length + 2;
  6655. } else {
  6656. ultimate = it.get$current(it);
  6657. ++count;
  6658. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6659. ultimate0 = it.get$current(it);
  6660. ++count;
  6661. if (count > 100) {
  6662. while (true) {
  6663. if (!($length > 75 && count > 3))
  6664. break;
  6665. $length -= parts.pop().length + 2;
  6666. --count;
  6667. }
  6668. parts.push("...");
  6669. return;
  6670. }
  6671. }
  6672. penultimateString = A.S(penultimate);
  6673. ultimateString = A.S(ultimate);
  6674. $length += ultimateString.length + penultimateString.length + 4;
  6675. }
  6676. }
  6677. if (count > parts.length + 2) {
  6678. $length += 5;
  6679. elision = "...";
  6680. } else
  6681. elision = null;
  6682. while (true) {
  6683. if (!($length > 80 && parts.length > 3))
  6684. break;
  6685. $length -= parts.pop().length + 2;
  6686. if (elision == null) {
  6687. $length += 5;
  6688. elision = "...";
  6689. }
  6690. }
  6691. if (elision != null)
  6692. parts.push(elision);
  6693. parts.push(penultimateString);
  6694. parts.push(ultimateString);
  6695. },
  6696. Map_castFrom(source, $K, $V, K2, V2) {
  6697. 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>"));
  6698. },
  6699. Object_hash(object1, object2, object3, object4) {
  6700. var t1;
  6701. if (B.C_SentinelValue === object3) {
  6702. t1 = J.get$hashCode$(object1);
  6703. object2 = J.get$hashCode$(object2);
  6704. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6705. }
  6706. if (B.C_SentinelValue === object4) {
  6707. t1 = J.get$hashCode$(object1);
  6708. object2 = J.get$hashCode$(object2);
  6709. object3 = J.get$hashCode$(object3);
  6710. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6711. }
  6712. t1 = J.get$hashCode$(object1);
  6713. object2 = J.get$hashCode$(object2);
  6714. object3 = J.get$hashCode$(object3);
  6715. object4 = J.get$hashCode$(object4);
  6716. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6717. return object4;
  6718. },
  6719. Object_hashAll(objects) {
  6720. var t1, _i,
  6721. hash = $.$get$_hashSeed();
  6722. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6723. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6724. return A.SystemHash_finish(hash);
  6725. },
  6726. print(object) {
  6727. var line = A.S(object),
  6728. toZone = $.printToZone;
  6729. if (toZone == null)
  6730. A.printString(line);
  6731. else
  6732. toZone.call$1(line);
  6733. },
  6734. Set_Set$unmodifiable(elements, $E) {
  6735. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6736. },
  6737. Set_castFrom(source, newSet, $S, $T) {
  6738. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6739. },
  6740. _combineSurrogatePair(start, end) {
  6741. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6742. },
  6743. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6744. var encodingName, t1,
  6745. buffer = new A.StringBuffer(""),
  6746. indices = A._setArrayType([-1], type$.JSArray_int);
  6747. if (encoding == null)
  6748. encodingName = null;
  6749. else
  6750. encodingName = "utf-8";
  6751. if (encoding == null)
  6752. encoding = B.C_AsciiCodec;
  6753. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6754. indices.push(buffer._contents.length);
  6755. buffer._contents += ",";
  6756. A.UriData__uriEncodeBytes(B.List_oFp, encoding.encode$1($content), buffer);
  6757. t1 = buffer._contents;
  6758. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6759. },
  6760. Uri_parse(uri) {
  6761. 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,
  6762. end = uri.length;
  6763. if (end >= 5) {
  6764. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6765. if (delta === 0)
  6766. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6767. else if (delta === 32)
  6768. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6769. }
  6770. indices = A.List_List$filled(8, 0, false, type$.int);
  6771. indices[0] = 0;
  6772. indices[1] = -1;
  6773. indices[2] = -1;
  6774. indices[7] = -1;
  6775. indices[3] = 0;
  6776. indices[4] = 0;
  6777. indices[5] = end;
  6778. indices[6] = end;
  6779. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6780. indices[7] = end;
  6781. schemeEnd = indices[1];
  6782. if (schemeEnd >= 0)
  6783. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6784. indices[7] = schemeEnd;
  6785. hostStart = indices[2] + 1;
  6786. portStart = indices[3];
  6787. pathStart = indices[4];
  6788. queryStart = indices[5];
  6789. fragmentStart = indices[6];
  6790. if (fragmentStart < queryStart)
  6791. queryStart = fragmentStart;
  6792. if (pathStart < hostStart)
  6793. pathStart = queryStart;
  6794. else if (pathStart <= schemeEnd)
  6795. pathStart = schemeEnd + 1;
  6796. if (portStart < hostStart)
  6797. portStart = pathStart;
  6798. isSimple = indices[7] < 0;
  6799. if (isSimple)
  6800. if (hostStart > schemeEnd + 3) {
  6801. scheme = _null;
  6802. isSimple = false;
  6803. } else {
  6804. t1 = portStart > 0;
  6805. if (t1 && portStart + 1 === pathStart) {
  6806. scheme = _null;
  6807. isSimple = false;
  6808. } else {
  6809. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6810. if (hostStart > 0)
  6811. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6812. else
  6813. t2 = false;
  6814. else
  6815. t2 = true;
  6816. if (t2) {
  6817. scheme = _null;
  6818. isSimple = false;
  6819. } else {
  6820. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6821. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6822. else
  6823. t2 = true;
  6824. if (t2) {
  6825. scheme = _null;
  6826. isSimple = false;
  6827. } else {
  6828. if (schemeEnd === 4)
  6829. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6830. if (hostStart <= 0) {
  6831. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6832. schemeAuth = "file:///";
  6833. delta = 3;
  6834. } else {
  6835. schemeAuth = "file://";
  6836. delta = 2;
  6837. }
  6838. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6839. schemeEnd -= 0;
  6840. t1 = delta - 0;
  6841. queryStart += t1;
  6842. fragmentStart += t1;
  6843. end = uri.length;
  6844. hostStart = 7;
  6845. portStart = 7;
  6846. pathStart = 7;
  6847. } else if (pathStart === queryStart) {
  6848. ++fragmentStart;
  6849. queryStart0 = queryStart + 1;
  6850. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6851. ++end;
  6852. queryStart = queryStart0;
  6853. }
  6854. scheme = "file";
  6855. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6856. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6857. fragmentStart -= 3;
  6858. pathStart0 = pathStart - 3;
  6859. queryStart -= 3;
  6860. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6861. end -= 3;
  6862. pathStart = pathStart0;
  6863. }
  6864. scheme = "http";
  6865. } else
  6866. scheme = _null;
  6867. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6868. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6869. fragmentStart -= 4;
  6870. pathStart0 = pathStart - 4;
  6871. queryStart -= 4;
  6872. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6873. end -= 3;
  6874. pathStart = pathStart0;
  6875. }
  6876. scheme = "https";
  6877. } else
  6878. scheme = _null;
  6879. isSimple = true;
  6880. }
  6881. }
  6882. }
  6883. }
  6884. else
  6885. scheme = _null;
  6886. if (isSimple) {
  6887. if (end < uri.length) {
  6888. uri = B.JSString_methods.substring$2(uri, 0, end);
  6889. schemeEnd -= 0;
  6890. hostStart -= 0;
  6891. portStart -= 0;
  6892. pathStart -= 0;
  6893. queryStart -= 0;
  6894. fragmentStart -= 0;
  6895. }
  6896. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6897. }
  6898. if (scheme == null)
  6899. if (schemeEnd > 0)
  6900. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6901. else {
  6902. if (schemeEnd === 0)
  6903. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6904. scheme = "";
  6905. }
  6906. if (hostStart > 0) {
  6907. userInfoStart = schemeEnd + 3;
  6908. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6909. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6910. t1 = portStart + 1;
  6911. if (t1 < pathStart) {
  6912. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6913. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6914. } else
  6915. port = _null;
  6916. } else {
  6917. port = _null;
  6918. host = port;
  6919. userInfo = "";
  6920. }
  6921. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6922. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6923. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6924. },
  6925. Uri_decodeComponent(encodedComponent) {
  6926. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6927. },
  6928. Uri__parseIPv4Address(host, start, end) {
  6929. var i, partStart, partIndex, char, part, partIndex0,
  6930. _s43_ = "IPv4 address should contain exactly 4 parts",
  6931. _s37_ = "each part must be in the range 0..255",
  6932. error = new A.Uri__parseIPv4Address_error(host),
  6933. result = new Uint8Array(4);
  6934. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  6935. char = host.charCodeAt(i);
  6936. if (char !== 46) {
  6937. if ((char ^ 48) > 9)
  6938. error.call$2("invalid character", i);
  6939. } else {
  6940. if (partIndex === 3)
  6941. error.call$2(_s43_, i);
  6942. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  6943. if (part > 255)
  6944. error.call$2(_s37_, partStart);
  6945. partIndex0 = partIndex + 1;
  6946. result[partIndex] = part;
  6947. partStart = i + 1;
  6948. partIndex = partIndex0;
  6949. }
  6950. }
  6951. if (partIndex !== 3)
  6952. error.call$2(_s43_, end);
  6953. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  6954. if (part > 255)
  6955. error.call$2(_s37_, partStart);
  6956. result[partIndex] = part;
  6957. return result;
  6958. },
  6959. Uri_parseIPv6Address(host, start, end) {
  6960. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  6961. error = new A.Uri_parseIPv6Address_error(host),
  6962. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  6963. if (host.length < 2)
  6964. error.call$2("address is too short", _null);
  6965. parts = A._setArrayType([], type$.JSArray_int);
  6966. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  6967. char = host.charCodeAt(i);
  6968. if (char === 58) {
  6969. if (i === start) {
  6970. ++i;
  6971. if (host.charCodeAt(i) !== 58)
  6972. error.call$2("invalid start colon.", i);
  6973. partStart = i;
  6974. }
  6975. if (i === partStart) {
  6976. if (wildcardSeen)
  6977. error.call$2("only one wildcard `::` is allowed", i);
  6978. parts.push(-1);
  6979. wildcardSeen = true;
  6980. } else
  6981. parts.push(parseHex.call$2(partStart, i));
  6982. partStart = i + 1;
  6983. } else if (char === 46)
  6984. seenDot = true;
  6985. }
  6986. if (parts.length === 0)
  6987. error.call$2("too few parts", _null);
  6988. atEnd = partStart === end;
  6989. t1 = B.JSArray_methods.get$last(parts);
  6990. if (atEnd && t1 !== -1)
  6991. error.call$2("expected a part after last `:`", end);
  6992. if (!atEnd)
  6993. if (!seenDot)
  6994. parts.push(parseHex.call$2(partStart, end));
  6995. else {
  6996. last = A.Uri__parseIPv4Address(host, partStart, end);
  6997. parts.push((last[0] << 8 | last[1]) >>> 0);
  6998. parts.push((last[2] << 8 | last[3]) >>> 0);
  6999. }
  7000. if (wildcardSeen) {
  7001. if (parts.length > 7)
  7002. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  7003. } else if (parts.length !== 8)
  7004. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  7005. bytes = new Uint8Array(16);
  7006. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  7007. value = parts[i];
  7008. if (value === -1)
  7009. for (j = 0; j < wildCardLength; ++j) {
  7010. bytes[index] = 0;
  7011. bytes[index + 1] = 0;
  7012. index += 2;
  7013. }
  7014. else {
  7015. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  7016. bytes[index + 1] = value & 255;
  7017. index += 2;
  7018. }
  7019. }
  7020. return bytes;
  7021. },
  7022. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7023. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7024. },
  7025. _Uri__Uri(host, path, pathSegments, scheme) {
  7026. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7027. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7028. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7029. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7030. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7031. fragment = A._Uri__makeFragment(_null, 0, 0);
  7032. port = A._Uri__makePort(_null, scheme);
  7033. isFile = scheme === "file";
  7034. if (host == null)
  7035. t1 = userInfo.length !== 0 || port != null || isFile;
  7036. else
  7037. t1 = false;
  7038. if (t1)
  7039. host = "";
  7040. t1 = host == null;
  7041. hasAuthority = !t1;
  7042. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7043. t2 = scheme.length === 0;
  7044. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7045. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7046. else
  7047. path = A._Uri__removeDotSegments(path);
  7048. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7049. },
  7050. _Uri__defaultPort(scheme) {
  7051. if (scheme === "http")
  7052. return 80;
  7053. if (scheme === "https")
  7054. return 443;
  7055. return 0;
  7056. },
  7057. _Uri__fail(uri, index, message) {
  7058. throw A.wrapException(A.FormatException$(message, uri, index));
  7059. },
  7060. _Uri__Uri$file(path, windows) {
  7061. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7062. },
  7063. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7064. var t1, _i, segment, t2, t3;
  7065. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7066. segment = segments[_i];
  7067. t2 = J.getInterceptor$asx(segment);
  7068. t3 = t2.get$length(segment);
  7069. if (0 > t3)
  7070. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  7071. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7072. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  7073. throw A.wrapException(t1);
  7074. }
  7075. }
  7076. },
  7077. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7078. var t1, t2, t3, t4, t5, _null = null;
  7079. for (t1 = A.SubListIterable$(segments, firstSegment, _null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  7080. t3 = t1.__internal$_current;
  7081. if (t3 == null)
  7082. t3 = t2._as(t3);
  7083. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7084. t5 = t3.length;
  7085. if (A.stringContainsUnchecked(t3, t4, 0))
  7086. if (argumentError)
  7087. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  7088. else
  7089. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7090. }
  7091. },
  7092. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7093. var t1,
  7094. _s21_ = "Illegal drive letter ";
  7095. if (!(65 <= charCode && charCode <= 90))
  7096. t1 = 97 <= charCode && charCode <= 122;
  7097. else
  7098. t1 = true;
  7099. if (t1)
  7100. return;
  7101. if (argumentError)
  7102. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7103. else
  7104. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7105. },
  7106. _Uri__makeFileUri(path, slashTerminated) {
  7107. var _null = null,
  7108. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7109. if (B.JSString_methods.startsWith$1(path, "/"))
  7110. return A._Uri__Uri(_null, _null, segments, "file");
  7111. else
  7112. return A._Uri__Uri(_null, _null, segments, _null);
  7113. },
  7114. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7115. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7116. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7117. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7118. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7119. else {
  7120. path = B.JSString_methods.substring$1(path, 4);
  7121. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7122. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7123. }
  7124. else
  7125. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7126. t1 = path.length;
  7127. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7128. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7129. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7130. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7131. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7132. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7133. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7134. }
  7135. if (B.JSString_methods.startsWith$1(path, _s1_))
  7136. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7137. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7138. t1 = pathStart < 0;
  7139. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7140. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7141. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7142. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7143. } else {
  7144. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7145. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7146. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7147. }
  7148. else {
  7149. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7150. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7151. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7152. }
  7153. },
  7154. _Uri__makePort(port, scheme) {
  7155. if (port != null && port === A._Uri__defaultPort(scheme))
  7156. return null;
  7157. return port;
  7158. },
  7159. _Uri__makeHost(host, start, end, strictIPv6) {
  7160. var t1, t2, index, zoneIDstart, zoneID, i;
  7161. if (host == null)
  7162. return null;
  7163. if (start === end)
  7164. return "";
  7165. if (host.charCodeAt(start) === 91) {
  7166. t1 = end - 1;
  7167. if (host.charCodeAt(t1) !== 93)
  7168. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7169. t2 = start + 1;
  7170. index = A._Uri__checkZoneID(host, t2, t1);
  7171. if (index < t1) {
  7172. zoneIDstart = index + 1;
  7173. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7174. } else
  7175. zoneID = "";
  7176. A.Uri_parseIPv6Address(host, t2, index);
  7177. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7178. }
  7179. for (i = start; i < end; ++i)
  7180. if (host.charCodeAt(i) === 58) {
  7181. index = B.JSString_methods.indexOf$2(host, "%", start);
  7182. index = index >= start && index < end ? index : end;
  7183. if (index < end) {
  7184. zoneIDstart = index + 1;
  7185. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7186. } else
  7187. zoneID = "";
  7188. A.Uri_parseIPv6Address(host, start, index);
  7189. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7190. }
  7191. return A._Uri__normalizeRegName(host, start, end);
  7192. },
  7193. _Uri__checkZoneID(host, start, end) {
  7194. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7195. return index >= start && index < end ? index : end;
  7196. },
  7197. _Uri__normalizeZoneID(host, start, end, prefix) {
  7198. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  7199. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7200. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7201. char = host.charCodeAt(index);
  7202. if (char === 37) {
  7203. replacement = A._Uri__normalizeEscape(host, index, true);
  7204. t1 = replacement == null;
  7205. if (t1 && isNormalized) {
  7206. index += 3;
  7207. continue;
  7208. }
  7209. if (buffer == null)
  7210. buffer = new A.StringBuffer("");
  7211. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7212. if (t1)
  7213. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7214. else if (replacement === "%")
  7215. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7216. buffer._contents = t2 + replacement;
  7217. index += 3;
  7218. sectionStart = index;
  7219. isNormalized = true;
  7220. } else if (char < 127 && (B.List_M1A[char >>> 4] & 1 << (char & 15)) !== 0) {
  7221. if (isNormalized && 65 <= char && 90 >= char) {
  7222. if (buffer == null)
  7223. buffer = new A.StringBuffer("");
  7224. if (sectionStart < index) {
  7225. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7226. sectionStart = index;
  7227. }
  7228. isNormalized = false;
  7229. }
  7230. ++index;
  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 (buffer == null) {
  7243. buffer = new A.StringBuffer("");
  7244. t1 = buffer;
  7245. } else
  7246. t1 = buffer;
  7247. t1._contents += slice;
  7248. t1._contents += A._Uri__escapeChar(char);
  7249. index += sourceLength;
  7250. sectionStart = index;
  7251. }
  7252. }
  7253. if (buffer == null)
  7254. return B.JSString_methods.substring$2(host, start, end);
  7255. if (sectionStart < end)
  7256. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  7257. t1 = buffer._contents;
  7258. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7259. },
  7260. _Uri__normalizeRegName(host, start, end) {
  7261. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  7262. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7263. char = host.charCodeAt(index);
  7264. if (char === 37) {
  7265. replacement = A._Uri__normalizeEscape(host, index, true);
  7266. t1 = replacement == null;
  7267. if (t1 && isNormalized) {
  7268. index += 3;
  7269. continue;
  7270. }
  7271. if (buffer == null)
  7272. buffer = new A.StringBuffer("");
  7273. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7274. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  7275. if (t1) {
  7276. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7277. sourceLength = 3;
  7278. } else if (replacement === "%") {
  7279. replacement = "%25";
  7280. sourceLength = 1;
  7281. } else
  7282. sourceLength = 3;
  7283. buffer._contents = t2 + replacement;
  7284. index += sourceLength;
  7285. sectionStart = index;
  7286. isNormalized = true;
  7287. } else if (char < 127 && (B.List_ejq[char >>> 4] & 1 << (char & 15)) !== 0) {
  7288. if (isNormalized && 65 <= char && 90 >= char) {
  7289. if (buffer == null)
  7290. buffer = new A.StringBuffer("");
  7291. if (sectionStart < index) {
  7292. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7293. sectionStart = index;
  7294. }
  7295. isNormalized = false;
  7296. }
  7297. ++index;
  7298. } else if (char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0)
  7299. A._Uri__fail(host, index, "Invalid character");
  7300. else {
  7301. if ((char & 64512) === 55296 && index + 1 < end) {
  7302. tail = host.charCodeAt(index + 1);
  7303. if ((tail & 64512) === 56320) {
  7304. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7305. sourceLength = 2;
  7306. } else
  7307. sourceLength = 1;
  7308. } else
  7309. sourceLength = 1;
  7310. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7311. if (!isNormalized)
  7312. slice = slice.toLowerCase();
  7313. if (buffer == null) {
  7314. buffer = new A.StringBuffer("");
  7315. t1 = buffer;
  7316. } else
  7317. t1 = buffer;
  7318. t1._contents += slice;
  7319. t1._contents += A._Uri__escapeChar(char);
  7320. index += sourceLength;
  7321. sectionStart = index;
  7322. }
  7323. }
  7324. if (buffer == null)
  7325. return B.JSString_methods.substring$2(host, start, end);
  7326. if (sectionStart < end) {
  7327. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7328. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  7329. }
  7330. t1 = buffer._contents;
  7331. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7332. },
  7333. _Uri__makeScheme(scheme, start, end) {
  7334. var i, containsUpperCase, codeUnit;
  7335. if (start === end)
  7336. return "";
  7337. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7338. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7339. for (i = start, containsUpperCase = false; i < end; ++i) {
  7340. codeUnit = scheme.charCodeAt(i);
  7341. if (!(codeUnit < 128 && (B.List_MMm[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  7342. A._Uri__fail(scheme, i, "Illegal scheme character");
  7343. if (65 <= codeUnit && codeUnit <= 90)
  7344. containsUpperCase = true;
  7345. }
  7346. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7347. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7348. },
  7349. _Uri__canonicalizeScheme(scheme) {
  7350. if (scheme === "http")
  7351. return "http";
  7352. if (scheme === "file")
  7353. return "file";
  7354. if (scheme === "https")
  7355. return "https";
  7356. if (scheme === "package")
  7357. return "package";
  7358. return scheme;
  7359. },
  7360. _Uri__makeUserInfo(userInfo, start, end) {
  7361. if (userInfo == null)
  7362. return "";
  7363. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false);
  7364. },
  7365. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7366. var result,
  7367. isFile = scheme === "file",
  7368. ensureLeadingSlash = isFile || hasAuthority;
  7369. if (path == null) {
  7370. if (pathSegments == null)
  7371. return isFile ? "/" : "";
  7372. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7373. } else if (pathSegments != null)
  7374. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7375. else
  7376. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true);
  7377. if (result.length === 0) {
  7378. if (isFile)
  7379. return "/";
  7380. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7381. result = "/" + result;
  7382. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7383. },
  7384. _Uri__normalizePath(path, scheme, hasAuthority) {
  7385. var t1 = scheme.length === 0;
  7386. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7387. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7388. return A._Uri__removeDotSegments(path);
  7389. },
  7390. _Uri__makeQuery(query, start, end, queryParameters) {
  7391. if (query != null)
  7392. return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false);
  7393. return null;
  7394. },
  7395. _Uri__makeFragment(fragment, start, end) {
  7396. if (fragment == null)
  7397. return null;
  7398. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false);
  7399. },
  7400. _Uri__normalizeEscape(source, index, lowerCase) {
  7401. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7402. t1 = index + 2;
  7403. if (t1 >= source.length)
  7404. return "%";
  7405. firstDigit = source.charCodeAt(index + 1);
  7406. secondDigit = source.charCodeAt(t1);
  7407. firstDigitValue = A.hexDigitValue(firstDigit);
  7408. secondDigitValue = A.hexDigitValue(secondDigit);
  7409. if (firstDigitValue < 0 || secondDigitValue < 0)
  7410. return "%";
  7411. value = firstDigitValue * 16 + secondDigitValue;
  7412. if (value < 127 && (B.List_M1A[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  7413. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7414. if (firstDigit >= 97 || secondDigit >= 97)
  7415. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7416. return null;
  7417. },
  7418. _Uri__escapeChar(char) {
  7419. var codeUnits, flag, encodedBytes, index, byte,
  7420. _s16_ = "0123456789ABCDEF";
  7421. if (char < 128) {
  7422. codeUnits = new Uint8Array(3);
  7423. codeUnits[0] = 37;
  7424. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7425. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7426. } else {
  7427. if (char > 2047)
  7428. if (char > 65535) {
  7429. flag = 240;
  7430. encodedBytes = 4;
  7431. } else {
  7432. flag = 224;
  7433. encodedBytes = 3;
  7434. }
  7435. else {
  7436. flag = 192;
  7437. encodedBytes = 2;
  7438. }
  7439. codeUnits = new Uint8Array(3 * encodedBytes);
  7440. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7441. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7442. codeUnits[index] = 37;
  7443. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7444. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7445. index += 3;
  7446. }
  7447. }
  7448. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7449. },
  7450. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7451. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  7452. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7453. },
  7454. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7455. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  7456. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7457. char = component.charCodeAt(index);
  7458. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  7459. ++index;
  7460. else {
  7461. if (char === 37) {
  7462. replacement = A._Uri__normalizeEscape(component, index, false);
  7463. if (replacement == null) {
  7464. index += 3;
  7465. continue;
  7466. }
  7467. if ("%" === replacement) {
  7468. replacement = "%25";
  7469. sourceLength = 1;
  7470. } else
  7471. sourceLength = 3;
  7472. } else if (char === 92 && replaceBackslash) {
  7473. replacement = "/";
  7474. sourceLength = 1;
  7475. } else if (t1 && char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0) {
  7476. A._Uri__fail(component, index, "Invalid character");
  7477. sourceLength = _null;
  7478. replacement = sourceLength;
  7479. } else {
  7480. if ((char & 64512) === 55296) {
  7481. t2 = index + 1;
  7482. if (t2 < end) {
  7483. tail = component.charCodeAt(t2);
  7484. if ((tail & 64512) === 56320) {
  7485. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7486. sourceLength = 2;
  7487. } else
  7488. sourceLength = 1;
  7489. } else
  7490. sourceLength = 1;
  7491. } else
  7492. sourceLength = 1;
  7493. replacement = A._Uri__escapeChar(char);
  7494. }
  7495. if (buffer == null) {
  7496. buffer = new A.StringBuffer("");
  7497. t2 = buffer;
  7498. } else
  7499. t2 = buffer;
  7500. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  7501. t2._contents = t3 + A.S(replacement);
  7502. index += sourceLength;
  7503. sectionStart = index;
  7504. }
  7505. }
  7506. if (buffer == null)
  7507. return _null;
  7508. if (sectionStart < end)
  7509. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  7510. t1 = buffer._contents;
  7511. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7512. },
  7513. _Uri__mayContainDotSegments(path) {
  7514. if (B.JSString_methods.startsWith$1(path, "."))
  7515. return true;
  7516. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7517. },
  7518. _Uri__removeDotSegments(path) {
  7519. var output, t1, t2, appendSlash, _i, segment;
  7520. if (!A._Uri__mayContainDotSegments(path))
  7521. return path;
  7522. output = A._setArrayType([], type$.JSArray_String);
  7523. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7524. segment = t1[_i];
  7525. if (J.$eq$(segment, "..")) {
  7526. if (output.length !== 0) {
  7527. output.pop();
  7528. if (output.length === 0)
  7529. output.push("");
  7530. }
  7531. appendSlash = true;
  7532. } else if ("." === segment)
  7533. appendSlash = true;
  7534. else {
  7535. output.push(segment);
  7536. appendSlash = false;
  7537. }
  7538. }
  7539. if (appendSlash)
  7540. output.push("");
  7541. return B.JSArray_methods.join$1(output, "/");
  7542. },
  7543. _Uri__normalizeRelativePath(path, allowScheme) {
  7544. var output, t1, t2, appendSlash, _i, segment;
  7545. if (!A._Uri__mayContainDotSegments(path))
  7546. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7547. output = A._setArrayType([], type$.JSArray_String);
  7548. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7549. segment = t1[_i];
  7550. if (".." === segment)
  7551. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  7552. output.pop();
  7553. appendSlash = true;
  7554. } else {
  7555. output.push("..");
  7556. appendSlash = false;
  7557. }
  7558. else if ("." === segment)
  7559. appendSlash = true;
  7560. else {
  7561. output.push(segment);
  7562. appendSlash = false;
  7563. }
  7564. }
  7565. t1 = output.length;
  7566. if (t1 !== 0)
  7567. t1 = t1 === 1 && output[0].length === 0;
  7568. else
  7569. t1 = true;
  7570. if (t1)
  7571. return "./";
  7572. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7573. output.push("");
  7574. if (!allowScheme)
  7575. output[0] = A._Uri__escapeScheme(output[0]);
  7576. return B.JSArray_methods.join$1(output, "/");
  7577. },
  7578. _Uri__escapeScheme(path) {
  7579. var i, char,
  7580. t1 = path.length;
  7581. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7582. for (i = 1; i < t1; ++i) {
  7583. char = path.charCodeAt(i);
  7584. if (char === 58)
  7585. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7586. if (char > 127 || (B.List_MMm[char >>> 4] & 1 << (char & 15)) === 0)
  7587. break;
  7588. }
  7589. return path;
  7590. },
  7591. _Uri__packageNameEnd(uri, path) {
  7592. if (uri.isScheme$1("package") && uri._host == null)
  7593. return A._skipPackageNameChars(path, 0, path.length);
  7594. return -1;
  7595. },
  7596. _Uri__toWindowsFilePath(uri) {
  7597. var hasDriveLetter, t2, host,
  7598. segments = uri.get$pathSegments(),
  7599. t1 = segments.length;
  7600. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  7601. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  7602. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7603. hasDriveLetter = true;
  7604. } else {
  7605. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7606. hasDriveLetter = false;
  7607. }
  7608. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7609. if (uri.get$hasAuthority()) {
  7610. host = uri.get$host();
  7611. if (host.length !== 0)
  7612. t2 = t2 + "\\" + host + "\\";
  7613. }
  7614. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7615. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7616. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7617. },
  7618. _Uri__hexCharPairToByte(s, pos) {
  7619. var byte, i, charCode;
  7620. for (byte = 0, i = 0; i < 2; ++i) {
  7621. charCode = s.charCodeAt(pos + i);
  7622. if (48 <= charCode && charCode <= 57)
  7623. byte = byte * 16 + charCode - 48;
  7624. else {
  7625. charCode |= 32;
  7626. if (97 <= charCode && charCode <= 102)
  7627. byte = byte * 16 + charCode - 87;
  7628. else
  7629. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7630. }
  7631. }
  7632. return byte;
  7633. },
  7634. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7635. var simple, codeUnit, t1, bytes,
  7636. i = start;
  7637. while (true) {
  7638. if (!(i < end)) {
  7639. simple = true;
  7640. break;
  7641. }
  7642. codeUnit = text.charCodeAt(i);
  7643. if (codeUnit <= 127)
  7644. if (codeUnit !== 37)
  7645. t1 = false;
  7646. else
  7647. t1 = true;
  7648. else
  7649. t1 = true;
  7650. if (t1) {
  7651. simple = false;
  7652. break;
  7653. }
  7654. ++i;
  7655. }
  7656. if (simple) {
  7657. if (B.C_Utf8Codec !== encoding)
  7658. t1 = false;
  7659. else
  7660. t1 = true;
  7661. if (t1)
  7662. return B.JSString_methods.substring$2(text, start, end);
  7663. else
  7664. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7665. } else {
  7666. bytes = A._setArrayType([], type$.JSArray_int);
  7667. for (t1 = text.length, i = start; i < end; ++i) {
  7668. codeUnit = text.charCodeAt(i);
  7669. if (codeUnit > 127)
  7670. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7671. if (codeUnit === 37) {
  7672. if (i + 3 > t1)
  7673. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7674. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7675. i += 2;
  7676. } else
  7677. bytes.push(codeUnit);
  7678. }
  7679. }
  7680. return B.Utf8Decoder_false.convert$1(bytes);
  7681. },
  7682. _Uri__isAlphabeticCharacter(codeUnit) {
  7683. var lowerCase = codeUnit | 32;
  7684. return 97 <= lowerCase && lowerCase <= 122;
  7685. },
  7686. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7687. var t1, slashIndex;
  7688. if (mimeType != null)
  7689. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7690. else
  7691. t1 = true;
  7692. if (t1)
  7693. mimeType = "";
  7694. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7695. t1 = buffer._contents += mimeType;
  7696. else {
  7697. slashIndex = A.UriData__validateMimeType(mimeType);
  7698. if (slashIndex < 0)
  7699. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7700. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7701. buffer._contents = t1 + "/";
  7702. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7703. }
  7704. if (charsetName != null) {
  7705. indices.push(t1.length);
  7706. indices.push(buffer._contents.length + 8);
  7707. buffer._contents += ";charset=";
  7708. buffer._contents += A._Uri__uriEncode(B.List_yzX, charsetName, B.C_Utf8Codec, false);
  7709. }
  7710. },
  7711. UriData__validateMimeType(mimeType) {
  7712. var t1, slashIndex, i;
  7713. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7714. if (mimeType.charCodeAt(i) !== 47)
  7715. continue;
  7716. if (slashIndex < 0) {
  7717. slashIndex = i;
  7718. continue;
  7719. }
  7720. return -1;
  7721. }
  7722. return slashIndex;
  7723. },
  7724. UriData__parse(text, start, sourceUri) {
  7725. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7726. _s17_ = "Invalid MIME type",
  7727. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7728. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7729. char = text.charCodeAt(i);
  7730. if (char === 44 || char === 59)
  7731. break;
  7732. if (char === 47) {
  7733. if (slashIndex < 0) {
  7734. slashIndex = i;
  7735. continue;
  7736. }
  7737. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7738. }
  7739. }
  7740. if (slashIndex < 0 && i > start)
  7741. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7742. for (; char !== 44;) {
  7743. indices.push(i);
  7744. ++i;
  7745. for (equalsIndex = -1; i < t1; ++i) {
  7746. char = text.charCodeAt(i);
  7747. if (char === 61) {
  7748. if (equalsIndex < 0)
  7749. equalsIndex = i;
  7750. } else if (char === 59 || char === 44)
  7751. break;
  7752. }
  7753. if (equalsIndex >= 0)
  7754. indices.push(equalsIndex);
  7755. else {
  7756. lastSeparator = B.JSArray_methods.get$last(indices);
  7757. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7758. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7759. break;
  7760. }
  7761. }
  7762. indices.push(i);
  7763. t2 = i + 1;
  7764. if ((indices.length & 1) === 1)
  7765. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7766. else {
  7767. data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false);
  7768. if (data != null)
  7769. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7770. }
  7771. return new A.UriData(text, indices, sourceUri);
  7772. },
  7773. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  7774. var t1, byteOr, i, byte,
  7775. _s16_ = "0123456789ABCDEF";
  7776. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7777. byte = bytes[i];
  7778. byteOr |= byte;
  7779. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  7780. buffer._contents += A.Primitives_stringFromCharCode(byte);
  7781. else {
  7782. buffer._contents += A.Primitives_stringFromCharCode(37);
  7783. buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7784. buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7785. }
  7786. }
  7787. if ((byteOr & 4294967040) !== 0)
  7788. for (i = 0; i < t1; ++i) {
  7789. byte = bytes[i];
  7790. if (byte > 255)
  7791. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7792. }
  7793. },
  7794. _createTables() {
  7795. var _i, t1, t2, t3, b,
  7796. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  7797. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  7798. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  7799. for (_i = 0; _i < 22; ++_i)
  7800. tables[_i] = new Uint8Array(96);
  7801. t1 = new A._createTables_build(tables);
  7802. t2 = new A._createTables_setChars();
  7803. t3 = new A._createTables_setRange();
  7804. b = t1.call$2(0, 225);
  7805. t2.call$3(b, _s77_, 1);
  7806. t2.call$3(b, _s1_, 14);
  7807. t2.call$3(b, _s1_0, 34);
  7808. t2.call$3(b, _s1_1, 3);
  7809. t2.call$3(b, _s1_2, 227);
  7810. t2.call$3(b, _s1_3, 172);
  7811. t2.call$3(b, _s1_4, 205);
  7812. b = t1.call$2(14, 225);
  7813. t2.call$3(b, _s77_, 1);
  7814. t2.call$3(b, _s1_, 15);
  7815. t2.call$3(b, _s1_0, 34);
  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(15, 225);
  7820. t2.call$3(b, _s77_, 1);
  7821. t2.call$3(b, "%", 225);
  7822. t2.call$3(b, _s1_0, 34);
  7823. t2.call$3(b, _s1_1, 9);
  7824. t2.call$3(b, _s1_2, 233);
  7825. t2.call$3(b, _s1_3, 172);
  7826. t2.call$3(b, _s1_4, 205);
  7827. b = t1.call$2(1, 225);
  7828. t2.call$3(b, _s77_, 1);
  7829. t2.call$3(b, _s1_0, 34);
  7830. t2.call$3(b, _s1_1, 10);
  7831. t2.call$3(b, _s1_2, 234);
  7832. t2.call$3(b, _s1_3, 172);
  7833. t2.call$3(b, _s1_4, 205);
  7834. b = t1.call$2(2, 235);
  7835. t2.call$3(b, _s77_, 139);
  7836. t2.call$3(b, _s1_1, 131);
  7837. t2.call$3(b, _s1_2, 131);
  7838. t2.call$3(b, _s1_, 146);
  7839. t2.call$3(b, _s1_3, 172);
  7840. t2.call$3(b, _s1_4, 205);
  7841. b = t1.call$2(3, 235);
  7842. t2.call$3(b, _s77_, 11);
  7843. t2.call$3(b, _s1_1, 68);
  7844. t2.call$3(b, _s1_2, 68);
  7845. t2.call$3(b, _s1_, 18);
  7846. t2.call$3(b, _s1_3, 172);
  7847. t2.call$3(b, _s1_4, 205);
  7848. b = t1.call$2(4, 229);
  7849. t2.call$3(b, _s77_, 5);
  7850. t3.call$3(b, "AZ", 229);
  7851. t2.call$3(b, _s1_0, 102);
  7852. t2.call$3(b, "@", 68);
  7853. t2.call$3(b, "[", 232);
  7854. t2.call$3(b, _s1_1, 138);
  7855. t2.call$3(b, _s1_2, 138);
  7856. t2.call$3(b, _s1_3, 172);
  7857. t2.call$3(b, _s1_4, 205);
  7858. b = t1.call$2(5, 229);
  7859. t2.call$3(b, _s77_, 5);
  7860. t3.call$3(b, "AZ", 229);
  7861. t2.call$3(b, _s1_0, 102);
  7862. t2.call$3(b, "@", 68);
  7863. t2.call$3(b, _s1_1, 138);
  7864. t2.call$3(b, _s1_2, 138);
  7865. t2.call$3(b, _s1_3, 172);
  7866. t2.call$3(b, _s1_4, 205);
  7867. b = t1.call$2(6, 231);
  7868. t3.call$3(b, "19", 7);
  7869. t2.call$3(b, "@", 68);
  7870. t2.call$3(b, _s1_1, 138);
  7871. t2.call$3(b, _s1_2, 138);
  7872. t2.call$3(b, _s1_3, 172);
  7873. t2.call$3(b, _s1_4, 205);
  7874. b = t1.call$2(7, 231);
  7875. t3.call$3(b, "09", 7);
  7876. t2.call$3(b, "@", 68);
  7877. t2.call$3(b, _s1_1, 138);
  7878. t2.call$3(b, _s1_2, 138);
  7879. t2.call$3(b, _s1_3, 172);
  7880. t2.call$3(b, _s1_4, 205);
  7881. t2.call$3(t1.call$2(8, 8), "]", 5);
  7882. b = t1.call$2(9, 235);
  7883. t2.call$3(b, _s77_, 11);
  7884. t2.call$3(b, _s1_, 16);
  7885. t2.call$3(b, _s2_, 234);
  7886. t2.call$3(b, _s1_3, 172);
  7887. t2.call$3(b, _s1_4, 205);
  7888. b = t1.call$2(16, 235);
  7889. t2.call$3(b, _s77_, 11);
  7890. t2.call$3(b, _s1_, 17);
  7891. t2.call$3(b, _s2_, 234);
  7892. t2.call$3(b, _s1_3, 172);
  7893. t2.call$3(b, _s1_4, 205);
  7894. b = t1.call$2(17, 235);
  7895. t2.call$3(b, _s77_, 11);
  7896. t2.call$3(b, _s1_1, 9);
  7897. t2.call$3(b, _s1_2, 233);
  7898. t2.call$3(b, _s1_3, 172);
  7899. t2.call$3(b, _s1_4, 205);
  7900. b = t1.call$2(10, 235);
  7901. t2.call$3(b, _s77_, 11);
  7902. t2.call$3(b, _s1_, 18);
  7903. t2.call$3(b, _s1_1, 10);
  7904. t2.call$3(b, _s1_2, 234);
  7905. t2.call$3(b, _s1_3, 172);
  7906. t2.call$3(b, _s1_4, 205);
  7907. b = t1.call$2(18, 235);
  7908. t2.call$3(b, _s77_, 11);
  7909. t2.call$3(b, _s1_, 19);
  7910. t2.call$3(b, _s2_, 234);
  7911. t2.call$3(b, _s1_3, 172);
  7912. t2.call$3(b, _s1_4, 205);
  7913. b = t1.call$2(19, 235);
  7914. t2.call$3(b, _s77_, 11);
  7915. t2.call$3(b, _s2_, 234);
  7916. t2.call$3(b, _s1_3, 172);
  7917. t2.call$3(b, _s1_4, 205);
  7918. b = t1.call$2(11, 235);
  7919. t2.call$3(b, _s77_, 11);
  7920. t2.call$3(b, _s1_1, 10);
  7921. t2.call$3(b, _s1_2, 234);
  7922. t2.call$3(b, _s1_3, 172);
  7923. t2.call$3(b, _s1_4, 205);
  7924. b = t1.call$2(12, 236);
  7925. t2.call$3(b, _s77_, 12);
  7926. t2.call$3(b, _s1_3, 12);
  7927. t2.call$3(b, _s1_4, 205);
  7928. b = t1.call$2(13, 237);
  7929. t2.call$3(b, _s77_, 13);
  7930. t2.call$3(b, _s1_3, 13);
  7931. t3.call$3(t1.call$2(20, 245), "az", 21);
  7932. b = t1.call$2(21, 245);
  7933. t3.call$3(b, "az", 21);
  7934. t3.call$3(b, "09", 21);
  7935. t2.call$3(b, "+-.", 21);
  7936. return tables;
  7937. },
  7938. _scan(uri, start, end, state, indices) {
  7939. var i, table, char, transition,
  7940. tables = $.$get$_scannerTables();
  7941. for (i = start; i < end; ++i) {
  7942. table = tables[state];
  7943. char = uri.charCodeAt(i) ^ 96;
  7944. transition = table[char > 95 ? 31 : char];
  7945. state = transition & 31;
  7946. indices[transition >>> 5] = i;
  7947. }
  7948. return state;
  7949. },
  7950. _SimpleUri__packageNameEnd(uri) {
  7951. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7952. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7953. return -1;
  7954. },
  7955. _skipPackageNameChars(source, start, end) {
  7956. var i, dots, char;
  7957. for (i = start, dots = 0; i < end; ++i) {
  7958. char = source.charCodeAt(i);
  7959. if (char === 47)
  7960. return dots !== 0 ? i : -1;
  7961. if (char === 37 || char === 58)
  7962. return -1;
  7963. dots |= char ^ 46;
  7964. }
  7965. return -1;
  7966. },
  7967. _caseInsensitiveCompareStart(prefix, string, start) {
  7968. var t1, result, i, stringChar, delta, lowerChar;
  7969. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7970. stringChar = string.charCodeAt(start + i);
  7971. delta = prefix.charCodeAt(i) ^ stringChar;
  7972. if (delta !== 0) {
  7973. if (delta === 32) {
  7974. lowerChar = stringChar | delta;
  7975. if (97 <= lowerChar && lowerChar <= 122) {
  7976. result = 32;
  7977. continue;
  7978. }
  7979. }
  7980. return -1;
  7981. }
  7982. }
  7983. return result;
  7984. },
  7985. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7986. this._box_0 = t0;
  7987. this.sb = t1;
  7988. },
  7989. DateTime: function DateTime(t0, t1) {
  7990. this._core$_value = t0;
  7991. this.isUtc = t1;
  7992. },
  7993. Duration: function Duration(t0) {
  7994. this._duration = t0;
  7995. },
  7996. _Enum: function _Enum() {
  7997. },
  7998. Error: function Error() {
  7999. },
  8000. AssertionError: function AssertionError(t0) {
  8001. this.message = t0;
  8002. },
  8003. TypeError: function TypeError() {
  8004. },
  8005. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  8006. var _ = this;
  8007. _._hasValue = t0;
  8008. _.invalidValue = t1;
  8009. _.name = t2;
  8010. _.message = t3;
  8011. },
  8012. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  8013. var _ = this;
  8014. _.start = t0;
  8015. _.end = t1;
  8016. _._hasValue = t2;
  8017. _.invalidValue = t3;
  8018. _.name = t4;
  8019. _.message = t5;
  8020. },
  8021. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  8022. var _ = this;
  8023. _.length = t0;
  8024. _._hasValue = t1;
  8025. _.invalidValue = t2;
  8026. _.name = t3;
  8027. _.message = t4;
  8028. },
  8029. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  8030. var _ = this;
  8031. _._core$_receiver = t0;
  8032. _._memberName = t1;
  8033. _._core$_arguments = t2;
  8034. _._namedArguments = t3;
  8035. },
  8036. UnsupportedError: function UnsupportedError(t0) {
  8037. this.message = t0;
  8038. },
  8039. UnimplementedError: function UnimplementedError(t0) {
  8040. this.message = t0;
  8041. },
  8042. StateError: function StateError(t0) {
  8043. this.message = t0;
  8044. },
  8045. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8046. this.modifiedObject = t0;
  8047. },
  8048. OutOfMemoryError: function OutOfMemoryError() {
  8049. },
  8050. StackOverflowError: function StackOverflowError() {
  8051. },
  8052. _Exception: function _Exception(t0) {
  8053. this.message = t0;
  8054. },
  8055. FormatException: function FormatException(t0, t1, t2) {
  8056. this.message = t0;
  8057. this.source = t1;
  8058. this.offset = t2;
  8059. },
  8060. Iterable: function Iterable() {
  8061. },
  8062. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8063. this.length = t0;
  8064. this._generator = t1;
  8065. this.$ti = t2;
  8066. },
  8067. MapEntry: function MapEntry(t0, t1, t2) {
  8068. this.key = t0;
  8069. this.value = t1;
  8070. this.$ti = t2;
  8071. },
  8072. Null: function Null() {
  8073. },
  8074. Object: function Object() {
  8075. },
  8076. _StringStackTrace: function _StringStackTrace(t0) {
  8077. this._stackTrace = t0;
  8078. },
  8079. Runes: function Runes(t0) {
  8080. this.string = t0;
  8081. },
  8082. RuneIterator: function RuneIterator(t0) {
  8083. var _ = this;
  8084. _.string = t0;
  8085. _._nextPosition = _._position = 0;
  8086. _._currentCodePoint = -1;
  8087. },
  8088. StringBuffer: function StringBuffer(t0) {
  8089. this._contents = t0;
  8090. },
  8091. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8092. this.host = t0;
  8093. },
  8094. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8095. this.host = t0;
  8096. },
  8097. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8098. this.error = t0;
  8099. this.host = t1;
  8100. },
  8101. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8102. var _ = this;
  8103. _.scheme = t0;
  8104. _._userInfo = t1;
  8105. _._host = t2;
  8106. _._port = t3;
  8107. _.path = t4;
  8108. _._query = t5;
  8109. _._fragment = t6;
  8110. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8111. },
  8112. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8113. },
  8114. UriData: function UriData(t0, t1, t2) {
  8115. this._text = t0;
  8116. this._separatorIndices = t1;
  8117. this._uriCache = t2;
  8118. },
  8119. _createTables_build: function _createTables_build(t0) {
  8120. this.tables = t0;
  8121. },
  8122. _createTables_setChars: function _createTables_setChars() {
  8123. },
  8124. _createTables_setRange: function _createTables_setRange() {
  8125. },
  8126. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8127. var _ = this;
  8128. _._uri = t0;
  8129. _._schemeEnd = t1;
  8130. _._hostStart = t2;
  8131. _._portStart = t3;
  8132. _._pathStart = t4;
  8133. _._queryStart = t5;
  8134. _._fragmentStart = t6;
  8135. _._schemeCache = t7;
  8136. _._hashCodeCache = null;
  8137. },
  8138. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8139. var _ = this;
  8140. _.scheme = t0;
  8141. _._userInfo = t1;
  8142. _._host = t2;
  8143. _._port = t3;
  8144. _.path = t4;
  8145. _._query = t5;
  8146. _._fragment = t6;
  8147. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8148. },
  8149. Expando: function Expando(t0) {
  8150. this._jsWeakMap = t0;
  8151. },
  8152. _convertDartFunctionFast(f) {
  8153. var ret,
  8154. existing = f.$dart_jsFunction;
  8155. if (existing != null)
  8156. return existing;
  8157. ret = function(_call, f) {
  8158. return function() {
  8159. return _call(f, Array.prototype.slice.apply(arguments));
  8160. };
  8161. }(A._callDartFunctionFast, f);
  8162. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8163. f.$dart_jsFunction = ret;
  8164. return ret;
  8165. },
  8166. _convertDartFunctionFastCaptureThis(f) {
  8167. var ret,
  8168. existing = f._$dart_jsFunctionCaptureThis;
  8169. if (existing != null)
  8170. return existing;
  8171. ret = function(_call, f) {
  8172. return function() {
  8173. return _call(f, this, Array.prototype.slice.apply(arguments));
  8174. };
  8175. }(A._callDartFunctionFastCaptureThis, f);
  8176. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8177. f._$dart_jsFunctionCaptureThis = ret;
  8178. return ret;
  8179. },
  8180. _callDartFunctionFast(callback, $arguments) {
  8181. return A.Function_apply(callback, $arguments);
  8182. },
  8183. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8184. var t1 = [$self];
  8185. B.JSArray_methods.addAll$1(t1, $arguments);
  8186. return A.Function_apply(callback, t1);
  8187. },
  8188. allowInterop(f) {
  8189. if (typeof f == "function")
  8190. return f;
  8191. else
  8192. return A._convertDartFunctionFast(f);
  8193. },
  8194. allowInteropCaptureThis(f) {
  8195. if (typeof f == "function")
  8196. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8197. else
  8198. return A._convertDartFunctionFastCaptureThis(f);
  8199. },
  8200. _noJsifyRequired(o) {
  8201. 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);
  8202. },
  8203. jsify0(object) {
  8204. if (A._noJsifyRequired(object))
  8205. return object;
  8206. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8207. },
  8208. callConstructor(constr, $arguments) {
  8209. var args, factoryFunction;
  8210. if ($arguments instanceof Array)
  8211. switch ($arguments.length) {
  8212. case 0:
  8213. return new constr();
  8214. case 1:
  8215. return new constr($arguments[0]);
  8216. case 2:
  8217. return new constr($arguments[0], $arguments[1]);
  8218. case 3:
  8219. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8220. case 4:
  8221. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8222. }
  8223. args = [null];
  8224. B.JSArray_methods.addAll$1(args, $arguments);
  8225. factoryFunction = constr.bind.apply(constr, args);
  8226. String(factoryFunction);
  8227. return new factoryFunction();
  8228. },
  8229. promiseToFuture0(jsPromise, $T) {
  8230. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8231. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8232. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure1(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure2(completer), 1));
  8233. return t1;
  8234. },
  8235. jsify__convert: function jsify__convert(t0) {
  8236. this._convertedObjects = t0;
  8237. },
  8238. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8239. this.completer = t0;
  8240. },
  8241. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8242. this.completer = t0;
  8243. },
  8244. NullRejectionException: function NullRejectionException(t0) {
  8245. this.isUndefined = t0;
  8246. },
  8247. max(a, b) {
  8248. return Math.max(a, b);
  8249. },
  8250. pow(x, exponent) {
  8251. return Math.pow(x, exponent);
  8252. },
  8253. Random_Random() {
  8254. return B.C__JSRandom;
  8255. },
  8256. _JSRandom: function _JSRandom() {
  8257. },
  8258. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8259. var _ = this;
  8260. _._arg_parser$_options = t0;
  8261. _._aliases = t1;
  8262. _.options = t2;
  8263. _.commands = t3;
  8264. _._optionsAndSeparators = t4;
  8265. _.allowTrailingOptions = t5;
  8266. _.usageLineLength = t6;
  8267. },
  8268. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8269. this.$this = t0;
  8270. },
  8271. ArgParserException$(message, commands) {
  8272. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  8273. },
  8274. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  8275. var _ = this;
  8276. _.commands = t0;
  8277. _.message = t1;
  8278. _.source = t2;
  8279. _.offset = t3;
  8280. },
  8281. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8282. var _ = this;
  8283. _._parser = t0;
  8284. _._parsed = t1;
  8285. _.name = t2;
  8286. _.rest = t3;
  8287. },
  8288. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  8289. var _ = this;
  8290. _.name = t0;
  8291. _.abbr = t1;
  8292. _.help = t2;
  8293. _.valueHelp = t3;
  8294. _.allowed = t4;
  8295. _.allowedHelp = t5;
  8296. _.defaultsTo = t6;
  8297. _.negatable = t7;
  8298. _.callback = t8;
  8299. _.type = t9;
  8300. _.splitCommas = t10;
  8301. _.mandatory = t11;
  8302. _.hide = t12;
  8303. },
  8304. OptionType: function OptionType(t0) {
  8305. this.name = t0;
  8306. },
  8307. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8308. var t1 = A._setArrayType([], type$.JSArray_String);
  8309. if (rest != null)
  8310. B.JSArray_methods.addAll$1(t1, rest);
  8311. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8312. },
  8313. _isLetterOrDigit(codeUnit) {
  8314. var t1;
  8315. if (!(codeUnit >= 65 && codeUnit <= 90))
  8316. if (!(codeUnit >= 97 && codeUnit <= 122))
  8317. t1 = codeUnit >= 48 && codeUnit <= 57;
  8318. else
  8319. t1 = true;
  8320. else
  8321. t1 = true;
  8322. return t1;
  8323. },
  8324. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8325. var _ = this;
  8326. _._commandName = t0;
  8327. _._parser$_parent = t1;
  8328. _._grammar = t2;
  8329. _._args = t3;
  8330. _._parser$_rest = t4;
  8331. _._results = t5;
  8332. },
  8333. Parser_parse_closure: function Parser_parse_closure(t0) {
  8334. this.$this = t0;
  8335. },
  8336. Parser__setOption_closure: function Parser__setOption_closure() {
  8337. },
  8338. _Usage: function _Usage(t0, t1, t2) {
  8339. var _ = this;
  8340. _._usage$_optionsAndSeparators = t0;
  8341. _._usage$_buffer = t1;
  8342. _._currentColumn = 0;
  8343. _.___Usage__columnWidths_FI = $;
  8344. _._newlinesNeeded = 0;
  8345. _.lineLength = t2;
  8346. },
  8347. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8348. },
  8349. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8350. this.option = t0;
  8351. },
  8352. FutureGroup: function FutureGroup(t0, t1, t2) {
  8353. var _ = this;
  8354. _._future_group$_pending = 0;
  8355. _._future_group$_closed = false;
  8356. _._future_group$_completer = t0;
  8357. _._future_group$_values = t1;
  8358. _.$ti = t2;
  8359. },
  8360. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8361. this.$this = t0;
  8362. this.index = t1;
  8363. },
  8364. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8365. this.$this = t0;
  8366. },
  8367. ErrorResult: function ErrorResult(t0, t1) {
  8368. this.error = t0;
  8369. this.stackTrace = t1;
  8370. },
  8371. ValueResult: function ValueResult(t0, t1) {
  8372. this.value = t0;
  8373. this.$ti = t1;
  8374. },
  8375. StreamCompleter: function StreamCompleter(t0, t1) {
  8376. this._stream_completer$_stream = t0;
  8377. this.$ti = t1;
  8378. },
  8379. _CompleterStream: function _CompleterStream(t0) {
  8380. this._sourceStream = this._stream_completer$_controller = null;
  8381. this.$ti = t0;
  8382. },
  8383. StreamGroup: function StreamGroup(t0, t1, t2) {
  8384. var _ = this;
  8385. _.__StreamGroup__controller_A = $;
  8386. _._closed = false;
  8387. _._stream_group$_state = t0;
  8388. _._subscriptions = t1;
  8389. _.$ti = t2;
  8390. },
  8391. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8392. },
  8393. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8394. this.$this = t0;
  8395. this.stream = t1;
  8396. },
  8397. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8398. },
  8399. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8400. this.$this = t0;
  8401. },
  8402. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8403. this.$this = t0;
  8404. this.stream = t1;
  8405. },
  8406. _StreamGroupState: function _StreamGroupState(t0) {
  8407. this.name = t0;
  8408. },
  8409. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8410. var _ = this;
  8411. _._stream_queue$_source = t0;
  8412. _._stream_queue$_subscription = null;
  8413. _._isDone = false;
  8414. _._eventsReceived = 0;
  8415. _._eventQueue = t1;
  8416. _._requestQueue = t2;
  8417. _.$ti = t3;
  8418. },
  8419. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8420. this.$this = t0;
  8421. },
  8422. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8423. this.$this = t0;
  8424. },
  8425. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8426. this.$this = t0;
  8427. },
  8428. _NextRequest: function _NextRequest(t0, t1) {
  8429. this._completer = t0;
  8430. this.$ti = t1;
  8431. },
  8432. isNodeJs() {
  8433. var t1 = self.process;
  8434. if (t1 == null)
  8435. t1 = null;
  8436. else {
  8437. t1 = J.get$release$x(t1);
  8438. t1 = t1 == null ? null : J.get$name$x(t1);
  8439. }
  8440. return J.$eq$(t1, "node");
  8441. },
  8442. isBrowser() {
  8443. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8444. },
  8445. wrapJSExceptions(callback) {
  8446. var error, error0, error1, error2, t1, exception;
  8447. if (!$.$get$_isStrictMode())
  8448. return callback.call$0();
  8449. try {
  8450. t1 = callback.call$0();
  8451. return t1;
  8452. } catch (exception) {
  8453. t1 = A.unwrapException(exception);
  8454. if (typeof t1 == "string") {
  8455. error = t1;
  8456. throw A.wrapException(error);
  8457. } else if (A._isBool(t1)) {
  8458. error0 = t1;
  8459. throw A.wrapException(error0);
  8460. } else if (typeof t1 == "number") {
  8461. error1 = t1;
  8462. throw A.wrapException(error1);
  8463. } else {
  8464. error2 = t1;
  8465. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8466. throw A.wrapException(error2.toString());
  8467. throw exception;
  8468. }
  8469. }
  8470. },
  8471. _isStrictMode_closure: function _isStrictMode_closure() {
  8472. },
  8473. Repl: function Repl(t0, t1, t2, t3) {
  8474. var _ = this;
  8475. _.prompt = t0;
  8476. _.continuation = t1;
  8477. _.validator = t2;
  8478. _.__Repl__adapter_A = $;
  8479. _.history = t3;
  8480. },
  8481. alwaysValid_closure: function alwaysValid_closure() {
  8482. },
  8483. ReplAdapter: function ReplAdapter(t0) {
  8484. this.repl = t0;
  8485. this.rl = null;
  8486. },
  8487. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8488. var _ = this;
  8489. _._box_0 = t0;
  8490. _.$this = t1;
  8491. _.rl = t2;
  8492. _.runController = t3;
  8493. },
  8494. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8495. this.lineController = t0;
  8496. },
  8497. Stdin: function Stdin() {
  8498. },
  8499. Stdout: function Stdout() {
  8500. },
  8501. ReadlineModule: function ReadlineModule() {
  8502. },
  8503. ReadlineOptions: function ReadlineOptions() {
  8504. },
  8505. ReadlineInterface: function ReadlineInterface() {
  8506. },
  8507. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8508. this.$ti = t0;
  8509. },
  8510. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8511. },
  8512. DefaultEquality: function DefaultEquality() {
  8513. },
  8514. IterableEquality: function IterableEquality() {
  8515. },
  8516. ListEquality: function ListEquality() {
  8517. },
  8518. _MapEntry: function _MapEntry(t0, t1, t2) {
  8519. this.equality = t0;
  8520. this.key = t1;
  8521. this.value = t2;
  8522. },
  8523. MapEquality: function MapEquality(t0) {
  8524. this.$ti = t0;
  8525. },
  8526. QueueList$(initialCapacity, $E) {
  8527. 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>"));
  8528. },
  8529. QueueList_QueueList$from(source, $E) {
  8530. var $length, queue, t1;
  8531. if (type$.List_dynamic._is(source)) {
  8532. $length = J.get$length$asx(source);
  8533. queue = A.QueueList$($length + 1, $E);
  8534. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8535. queue._queue_list$_tail = $length;
  8536. return queue;
  8537. } else {
  8538. t1 = A.QueueList$(null, $E);
  8539. t1.addAll$1(0, source);
  8540. return t1;
  8541. }
  8542. },
  8543. QueueList__computeInitialCapacity(initialCapacity) {
  8544. if (initialCapacity == null || initialCapacity < 8)
  8545. return 8;
  8546. ++initialCapacity;
  8547. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8548. return initialCapacity;
  8549. return A.QueueList__nextPowerOf2(initialCapacity);
  8550. },
  8551. QueueList__nextPowerOf2(number) {
  8552. var nextNumber;
  8553. number = (number << 1 >>> 0) - 1;
  8554. for (; true; number = nextNumber) {
  8555. nextNumber = (number & number - 1) >>> 0;
  8556. if (nextNumber === 0)
  8557. return number;
  8558. }
  8559. },
  8560. QueueList: function QueueList(t0, t1, t2, t3) {
  8561. var _ = this;
  8562. _._queue_list$_table = t0;
  8563. _._queue_list$_head = t1;
  8564. _._queue_list$_tail = t2;
  8565. _.$ti = t3;
  8566. },
  8567. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8568. var _ = this;
  8569. _._queue_list$_delegate = t0;
  8570. _._queue_list$_table = t1;
  8571. _._queue_list$_head = t2;
  8572. _._queue_list$_tail = t3;
  8573. _.$ti = t4;
  8574. },
  8575. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8576. },
  8577. UnionSet: function UnionSet(t0, t1) {
  8578. this._sets = t0;
  8579. this.$ti = t1;
  8580. },
  8581. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8582. this.$this = t0;
  8583. },
  8584. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8585. this.$this = t0;
  8586. this.element = t1;
  8587. },
  8588. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8589. },
  8590. UnmodifiableSetMixin__throw() {
  8591. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8592. },
  8593. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8594. this._base = t0;
  8595. this.$ti = t1;
  8596. },
  8597. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8598. },
  8599. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8600. },
  8601. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8602. },
  8603. DelegatingSet: function DelegatingSet(t0, t1) {
  8604. this._base = t0;
  8605. this.$ti = t1;
  8606. },
  8607. MapKeySet: function MapKeySet(t0, t1) {
  8608. this._baseMap = t0;
  8609. this.$ti = t1;
  8610. },
  8611. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8612. this.$this = t0;
  8613. this.other = t1;
  8614. },
  8615. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8616. },
  8617. BufferModule: function BufferModule() {
  8618. },
  8619. BufferConstants: function BufferConstants() {
  8620. },
  8621. Buffer: function Buffer() {
  8622. },
  8623. ConsoleModule: function ConsoleModule() {
  8624. },
  8625. Console: function Console() {
  8626. },
  8627. EventEmitter: function EventEmitter() {
  8628. },
  8629. fs() {
  8630. var t1 = $._fs;
  8631. return t1 == null ? $._fs = self.fs : t1;
  8632. },
  8633. FS: function FS() {
  8634. },
  8635. FSConstants: function FSConstants() {
  8636. },
  8637. FSWatcher: function FSWatcher() {
  8638. },
  8639. ReadStream: function ReadStream() {
  8640. },
  8641. ReadStreamOptions: function ReadStreamOptions() {
  8642. },
  8643. WriteStream: function WriteStream() {
  8644. },
  8645. WriteStreamOptions: function WriteStreamOptions() {
  8646. },
  8647. FileOptions: function FileOptions() {
  8648. },
  8649. StatOptions: function StatOptions() {
  8650. },
  8651. MkdirOptions: function MkdirOptions() {
  8652. },
  8653. RmdirOptions: function RmdirOptions() {
  8654. },
  8655. WatchOptions: function WatchOptions() {
  8656. },
  8657. WatchFileOptions: function WatchFileOptions() {
  8658. },
  8659. Stats: function Stats() {
  8660. },
  8661. Promise: function Promise() {
  8662. },
  8663. Date: function Date() {
  8664. },
  8665. JsError: function JsError() {
  8666. },
  8667. Atomics: function Atomics() {
  8668. },
  8669. Modules: function Modules() {
  8670. },
  8671. Module: function Module() {
  8672. },
  8673. Net: function Net() {
  8674. },
  8675. Socket: function Socket() {
  8676. },
  8677. NetAddress: function NetAddress() {
  8678. },
  8679. NetServer: function NetServer() {
  8680. },
  8681. NodeJsError: function NodeJsError() {
  8682. },
  8683. JsAssertionError: function JsAssertionError() {
  8684. },
  8685. JsRangeError: function JsRangeError() {
  8686. },
  8687. JsReferenceError: function JsReferenceError() {
  8688. },
  8689. JsSyntaxError: function JsSyntaxError() {
  8690. },
  8691. JsTypeError: function JsTypeError() {
  8692. },
  8693. JsSystemError: function JsSystemError() {
  8694. },
  8695. Process: function Process() {
  8696. },
  8697. CPUUsage: function CPUUsage() {
  8698. },
  8699. Release: function Release() {
  8700. },
  8701. StreamModule: function StreamModule() {
  8702. },
  8703. Readable: function Readable() {
  8704. },
  8705. Writable: function Writable() {
  8706. },
  8707. Duplex: function Duplex() {
  8708. },
  8709. Transform: function Transform() {
  8710. },
  8711. WritableOptions: function WritableOptions() {
  8712. },
  8713. ReadableOptions: function ReadableOptions() {
  8714. },
  8715. Immediate: function Immediate() {
  8716. },
  8717. Timeout: function Timeout() {
  8718. },
  8719. TTY: function TTY() {
  8720. },
  8721. TTYReadStream: function TTYReadStream() {
  8722. },
  8723. TTYWriteStream: function TTYWriteStream() {
  8724. },
  8725. jsify(dartObject) {
  8726. if (A._isBasicType(dartObject))
  8727. return dartObject;
  8728. return A.jsify0(dartObject);
  8729. },
  8730. _isBasicType(value) {
  8731. var t1 = false;
  8732. if (t1)
  8733. return true;
  8734. return false;
  8735. },
  8736. promiseToFuture(promise, $T) {
  8737. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8738. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8739. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  8740. return t1;
  8741. },
  8742. futureToPromise(future, $T) {
  8743. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8744. },
  8745. Util: function Util() {
  8746. },
  8747. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8748. this.completer = t0;
  8749. },
  8750. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8751. this.completer = t0;
  8752. },
  8753. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8754. this.future = t0;
  8755. this.T = t1;
  8756. },
  8757. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8758. this.resolve = t0;
  8759. this.T = t1;
  8760. },
  8761. Context_Context(style) {
  8762. return new A.Context(style, ".");
  8763. },
  8764. _parseUri(uri) {
  8765. if (typeof uri == "string")
  8766. return A.Uri_parse(uri);
  8767. if (type$.Uri._is(uri))
  8768. return uri;
  8769. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8770. },
  8771. _validateArgList(method, args) {
  8772. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8773. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8774. if (args[i] == null || args[i - 1] != null)
  8775. continue;
  8776. for (; numArgs >= 1; numArgs = numArgs0) {
  8777. numArgs0 = numArgs - 1;
  8778. if (args[numArgs0] != null)
  8779. break;
  8780. }
  8781. message = new A.StringBuffer("");
  8782. t1 = "" + (method + "(");
  8783. message._contents = t1;
  8784. t2 = A._arrayInstanceType(args);
  8785. t3 = t2._eval$1("SubListIterable<1>");
  8786. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8787. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8788. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8789. message._contents = t3;
  8790. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8791. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8792. }
  8793. },
  8794. Context: function Context(t0, t1) {
  8795. this.style = t0;
  8796. this._context$_current = t1;
  8797. },
  8798. Context_joinAll_closure: function Context_joinAll_closure() {
  8799. },
  8800. Context_split_closure: function Context_split_closure() {
  8801. },
  8802. _validateArgList_closure: function _validateArgList_closure() {
  8803. },
  8804. _PathDirection: function _PathDirection(t0) {
  8805. this.name = t0;
  8806. },
  8807. _PathRelation: function _PathRelation(t0) {
  8808. this.name = t0;
  8809. },
  8810. InternalStyle: function InternalStyle() {
  8811. },
  8812. ParsedPath_ParsedPath$parse(path, style) {
  8813. var t1, parts, separators, start, i,
  8814. root = style.getRoot$1(path),
  8815. isRootRelative = style.isRootRelative$1(path);
  8816. if (root != null)
  8817. path = B.JSString_methods.substring$1(path, root.length);
  8818. t1 = type$.JSArray_String;
  8819. parts = A._setArrayType([], t1);
  8820. separators = A._setArrayType([], t1);
  8821. t1 = path.length;
  8822. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8823. separators.push(path[0]);
  8824. start = 1;
  8825. } else {
  8826. separators.push("");
  8827. start = 0;
  8828. }
  8829. for (i = start; i < t1; ++i)
  8830. if (style.isSeparator$1(path.charCodeAt(i))) {
  8831. parts.push(B.JSString_methods.substring$2(path, start, i));
  8832. separators.push(path[i]);
  8833. start = i + 1;
  8834. }
  8835. if (start < t1) {
  8836. parts.push(B.JSString_methods.substring$1(path, start));
  8837. separators.push("");
  8838. }
  8839. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8840. },
  8841. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8842. var _ = this;
  8843. _.style = t0;
  8844. _.root = t1;
  8845. _.isRootRelative = t2;
  8846. _.parts = t3;
  8847. _.separators = t4;
  8848. },
  8849. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8850. },
  8851. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8852. },
  8853. PathException$(message) {
  8854. return new A.PathException(message);
  8855. },
  8856. PathException: function PathException(t0) {
  8857. this.message = t0;
  8858. },
  8859. PathMap__create(context, $V) {
  8860. var t1 = {};
  8861. t1.context = context;
  8862. t1.context = $.$get$context();
  8863. 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);
  8864. },
  8865. PathMap: function PathMap(t0, t1) {
  8866. this._map = t0;
  8867. this.$ti = t1;
  8868. },
  8869. PathMap__create_closure: function PathMap__create_closure(t0) {
  8870. this._box_0 = t0;
  8871. },
  8872. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8873. this._box_0 = t0;
  8874. },
  8875. PathMap__create_closure1: function PathMap__create_closure1() {
  8876. },
  8877. Style__getPlatformStyle() {
  8878. if (A.Uri_base().get$scheme() !== "file")
  8879. return $.$get$Style_url();
  8880. var t1 = A.Uri_base();
  8881. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8882. return $.$get$Style_url();
  8883. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8884. return $.$get$Style_windows();
  8885. return $.$get$Style_posix();
  8886. },
  8887. Style: function Style() {
  8888. },
  8889. PosixStyle: function PosixStyle(t0, t1, t2) {
  8890. this.separatorPattern = t0;
  8891. this.needsSeparatorPattern = t1;
  8892. this.rootPattern = t2;
  8893. },
  8894. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8895. var _ = this;
  8896. _.separatorPattern = t0;
  8897. _.needsSeparatorPattern = t1;
  8898. _.rootPattern = t2;
  8899. _.relativeRootPattern = t3;
  8900. },
  8901. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8902. var _ = this;
  8903. _.separatorPattern = t0;
  8904. _.needsSeparatorPattern = t1;
  8905. _.rootPattern = t2;
  8906. _.relativeRootPattern = t3;
  8907. },
  8908. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8909. },
  8910. Version$_(major, minor, patch, preRelease, build, _text) {
  8911. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8912. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8913. if (major < 0)
  8914. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8915. if (minor < 0)
  8916. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8917. if (patch < 0)
  8918. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8919. return new A.Version(major, minor, patch, t1, t2, _text);
  8920. },
  8921. Version___parse_tearOff(text) {
  8922. return A.Version_Version$parse(text);
  8923. },
  8924. Version_Version$parse(text) {
  8925. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8926. _s17_ = 'Could not parse "',
  8927. match = $.$get$completeVersion().firstMatch$1(text);
  8928. if (match == null)
  8929. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8930. try {
  8931. t1 = match._match[1];
  8932. t1.toString;
  8933. major = A.int_parse(t1, _null);
  8934. t1 = match._match[2];
  8935. t1.toString;
  8936. minor = A.int_parse(t1, _null);
  8937. t1 = match._match[3];
  8938. t1.toString;
  8939. patch = A.int_parse(t1, _null);
  8940. preRelease = match._match[5];
  8941. build = match._match[8];
  8942. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8943. return t1;
  8944. } catch (exception) {
  8945. if (type$.FormatException._is(A.unwrapException(exception)))
  8946. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8947. else
  8948. throw exception;
  8949. }
  8950. },
  8951. Version__splitParts(text) {
  8952. var t1 = type$.MappedListIterable_String_Object;
  8953. 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"));
  8954. },
  8955. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8956. var _ = this;
  8957. _.major = t0;
  8958. _.minor = t1;
  8959. _.patch = t2;
  8960. _.preRelease = t3;
  8961. _.build = t4;
  8962. _._version$_text = t5;
  8963. },
  8964. Version__splitParts_closure: function Version__splitParts_closure() {
  8965. },
  8966. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8967. var _ = this;
  8968. _.min = t0;
  8969. _.max = t1;
  8970. _.includeMin = t2;
  8971. _.includeMax = t3;
  8972. },
  8973. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  8974. var t1 = A.SpanScanner$(contents, null);
  8975. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0();
  8976. },
  8977. CssMediaQuery$type(type, conditions, modifier) {
  8978. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8979. },
  8980. CssMediaQuery$condition(conditions, conjunction) {
  8981. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8982. if (t1.length > 1 && conjunction == null)
  8983. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8984. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8985. },
  8986. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8987. var _ = this;
  8988. _.modifier = t0;
  8989. _.type = t1;
  8990. _.conjunction = t2;
  8991. _.conditions = t3;
  8992. },
  8993. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  8994. this._name = t0;
  8995. },
  8996. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  8997. this.query = t0;
  8998. },
  8999. ModifiableCssAtRule$($name, span, childless, value) {
  9000. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9001. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9002. },
  9003. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  9004. var _ = this;
  9005. _.name = t0;
  9006. _.value = t1;
  9007. _.isChildless = t2;
  9008. _.span = t3;
  9009. _.children = t4;
  9010. _._children = t5;
  9011. _._indexInParent = _._parent = null;
  9012. _.isGroupEnd = false;
  9013. },
  9014. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  9015. var _ = this;
  9016. _.text = t0;
  9017. _.span = t1;
  9018. _._indexInParent = _._parent = null;
  9019. _.isGroupEnd = false;
  9020. },
  9021. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  9022. var t2,
  9023. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  9024. if (parsedAsCustomProperty)
  9025. if (!J.startsWith$1$s($name.value, "--"))
  9026. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  9027. else {
  9028. t2 = value.value;
  9029. if (!(t2 instanceof A.SassString))
  9030. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  9031. }
  9032. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  9033. },
  9034. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  9035. var _ = this;
  9036. _.name = t0;
  9037. _.value = t1;
  9038. _.parsedAsCustomProperty = t2;
  9039. _.valueSpanForMap = t3;
  9040. _.span = t4;
  9041. _._indexInParent = _._parent = null;
  9042. _.isGroupEnd = false;
  9043. },
  9044. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9045. var _ = this;
  9046. _.url = t0;
  9047. _.modifiers = t1;
  9048. _.span = t2;
  9049. _._indexInParent = _._parent = null;
  9050. _.isGroupEnd = false;
  9051. },
  9052. ModifiableCssKeyframeBlock$(selector, span) {
  9053. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9054. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9055. },
  9056. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9057. var _ = this;
  9058. _.selector = t0;
  9059. _.span = t1;
  9060. _.children = t2;
  9061. _._children = t3;
  9062. _._indexInParent = _._parent = null;
  9063. _.isGroupEnd = false;
  9064. },
  9065. ModifiableCssMediaRule$(queries, span) {
  9066. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9067. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9068. if (J.get$isEmpty$asx(queries))
  9069. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9070. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9071. },
  9072. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9073. var _ = this;
  9074. _.queries = t0;
  9075. _.span = t1;
  9076. _.children = t2;
  9077. _._children = t3;
  9078. _._indexInParent = _._parent = null;
  9079. _.isGroupEnd = false;
  9080. },
  9081. ModifiableCssNode: function ModifiableCssNode() {
  9082. },
  9083. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9084. },
  9085. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9086. },
  9087. ModifiableCssStyleRule$(_selector, span, originalSelector) {
  9088. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9089. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9090. },
  9091. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  9092. var _ = this;
  9093. _._style_rule$_selector = t0;
  9094. _.originalSelector = t1;
  9095. _.span = t2;
  9096. _.children = t3;
  9097. _._children = t4;
  9098. _._indexInParent = _._parent = null;
  9099. _.isGroupEnd = false;
  9100. },
  9101. ModifiableCssStylesheet$(span) {
  9102. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9103. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9104. },
  9105. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9106. var _ = this;
  9107. _.span = t0;
  9108. _.children = t1;
  9109. _._children = t2;
  9110. _._indexInParent = _._parent = null;
  9111. _.isGroupEnd = false;
  9112. },
  9113. ModifiableCssSupportsRule$(condition, span) {
  9114. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9115. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9116. },
  9117. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9118. var _ = this;
  9119. _.condition = t0;
  9120. _.span = t1;
  9121. _.children = t2;
  9122. _._children = t3;
  9123. _._indexInParent = _._parent = null;
  9124. _.isGroupEnd = false;
  9125. },
  9126. CssNode: function CssNode() {
  9127. },
  9128. CssParentNode: function CssParentNode() {
  9129. },
  9130. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9131. this.includeBogus = t0;
  9132. this.includeComments = t1;
  9133. },
  9134. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9135. },
  9136. CssStylesheet: function CssStylesheet(t0, t1) {
  9137. this.children = t0;
  9138. this.span = t1;
  9139. },
  9140. CssValue: function CssValue(t0, t1, t2) {
  9141. this.value = t0;
  9142. this.span = t1;
  9143. this.$ti = t2;
  9144. },
  9145. _FakeAstNode: function _FakeAstNode(t0) {
  9146. this._callback = t0;
  9147. },
  9148. Argument: function Argument(t0, t1, t2) {
  9149. this.name = t0;
  9150. this.defaultValue = t1;
  9151. this.span = t2;
  9152. },
  9153. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  9154. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  9155. },
  9156. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  9157. this.$arguments = t0;
  9158. this.restArgument = t1;
  9159. this.span = t2;
  9160. },
  9161. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  9162. },
  9163. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  9164. },
  9165. ArgumentInvocation$empty(span) {
  9166. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty6, null, null, span);
  9167. },
  9168. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  9169. var _ = this;
  9170. _.positional = t0;
  9171. _.named = t1;
  9172. _.rest = t2;
  9173. _.keywordRest = t3;
  9174. _.span = t4;
  9175. },
  9176. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9177. var _ = this;
  9178. _.include = t0;
  9179. _.names = t1;
  9180. _._all = t2;
  9181. _._at_root_query$_rule = t3;
  9182. },
  9183. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9184. var _ = this;
  9185. _.name = t0;
  9186. _.expression = t1;
  9187. _.isGuarded = t2;
  9188. _.span = t3;
  9189. },
  9190. _IsCalculationSafeVisitor: function _IsCalculationSafeVisitor() {
  9191. },
  9192. _IsCalculationSafeVisitor_visitListExpression_closure: function _IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  9193. this.$this = t0;
  9194. },
  9195. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9196. var _ = this;
  9197. _.operator = t0;
  9198. _.left = t1;
  9199. _.right = t2;
  9200. _.allowsSlash = t3;
  9201. },
  9202. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9203. var _ = this;
  9204. _.name = t0;
  9205. _.operator = t1;
  9206. _.precedence = t2;
  9207. _.isAssociative = t3;
  9208. _._name = t4;
  9209. },
  9210. BooleanExpression: function BooleanExpression(t0, t1) {
  9211. this.value = t0;
  9212. this.span = t1;
  9213. },
  9214. ColorExpression: function ColorExpression(t0, t1) {
  9215. this.value = t0;
  9216. this.span = t1;
  9217. },
  9218. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  9219. var _ = this;
  9220. _.namespace = t0;
  9221. _.originalName = t1;
  9222. _.$arguments = t2;
  9223. _.span = t3;
  9224. },
  9225. IfExpression: function IfExpression(t0, t1) {
  9226. this.$arguments = t0;
  9227. this.span = t1;
  9228. },
  9229. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9230. this.name = t0;
  9231. this.$arguments = t1;
  9232. this.span = t2;
  9233. },
  9234. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9235. var _ = this;
  9236. _.contents = t0;
  9237. _.separator = t1;
  9238. _.hasBrackets = t2;
  9239. _.span = t3;
  9240. },
  9241. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9242. this.$this = t0;
  9243. },
  9244. MapExpression: function MapExpression(t0, t1) {
  9245. this.pairs = t0;
  9246. this.span = t1;
  9247. },
  9248. NullExpression: function NullExpression(t0) {
  9249. this.span = t0;
  9250. },
  9251. NumberExpression: function NumberExpression(t0, t1, t2) {
  9252. this.value = t0;
  9253. this.unit = t1;
  9254. this.span = t2;
  9255. },
  9256. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9257. this.expression = t0;
  9258. this.span = t1;
  9259. },
  9260. SelectorExpression: function SelectorExpression(t0) {
  9261. this.span = t0;
  9262. },
  9263. StringExpression_quoteText(text) {
  9264. var t1,
  9265. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9266. buffer = new A.StringBuffer("");
  9267. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9268. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9269. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  9270. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9271. },
  9272. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9273. var t1, t2, i, _1_0, _0_0, t3, t4;
  9274. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9275. _1_0 = text.charCodeAt(i);
  9276. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9277. buffer.writeCharCode$1(92);
  9278. buffer.writeCharCode$1(97);
  9279. if (i !== t2) {
  9280. _0_0 = text.charCodeAt(i + 1);
  9281. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9282. if (!(_0_0 >= 48 && _0_0 <= 57))
  9283. if (!(_0_0 >= 97 && _0_0 <= 102))
  9284. t3 = _0_0 >= 65 && _0_0 <= 70;
  9285. else
  9286. t3 = true;
  9287. else
  9288. t3 = true;
  9289. else
  9290. t3 = true;
  9291. if (t3)
  9292. buffer.writeCharCode$1(32);
  9293. }
  9294. continue;
  9295. }
  9296. if (92 === _1_0) {
  9297. t3 = _1_0;
  9298. t4 = true;
  9299. } else {
  9300. t3 = null;
  9301. t4 = false;
  9302. }
  9303. if (!t4) {
  9304. if (_1_0 === quote) {
  9305. t3 = _1_0;
  9306. t4 = true;
  9307. } else
  9308. t4 = false;
  9309. if (!t4)
  9310. if (35 === _1_0)
  9311. if ($static)
  9312. if (i < t2)
  9313. if (text.charCodeAt(i + 1) === 123) {
  9314. t3 = _1_0;
  9315. t4 = true;
  9316. } else
  9317. t4 = false;
  9318. else
  9319. t4 = false;
  9320. else
  9321. t4 = false;
  9322. else
  9323. t4 = false;
  9324. else
  9325. t4 = true;
  9326. } else
  9327. t4 = true;
  9328. if (t4) {
  9329. buffer.writeCharCode$1(92);
  9330. buffer.writeCharCode$1(t3);
  9331. continue;
  9332. }
  9333. buffer.writeCharCode$1(_1_0);
  9334. }
  9335. },
  9336. StringExpression__bestQuote(strings) {
  9337. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9338. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  9339. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9340. t5 = t4.__internal$_current;
  9341. if (t5 == null)
  9342. t5 = t2._as(t5);
  9343. if (t5 === 39)
  9344. return 34;
  9345. if (t5 === 34)
  9346. containsDoubleQuote = true;
  9347. }
  9348. return containsDoubleQuote ? 39 : 34;
  9349. },
  9350. StringExpression: function StringExpression(t0, t1) {
  9351. this.text = t0;
  9352. this.hasQuotes = t1;
  9353. },
  9354. SupportsExpression: function SupportsExpression(t0) {
  9355. this.condition = t0;
  9356. },
  9357. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9358. this.operator = t0;
  9359. this.operand = t1;
  9360. this.span = t2;
  9361. },
  9362. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9363. this.name = t0;
  9364. this.operator = t1;
  9365. this._name = t2;
  9366. },
  9367. ValueExpression: function ValueExpression(t0, t1) {
  9368. this.value = t0;
  9369. this.span = t1;
  9370. },
  9371. VariableExpression: function VariableExpression(t0, t1, t2) {
  9372. this.namespace = t0;
  9373. this.name = t1;
  9374. this.span = t2;
  9375. },
  9376. DynamicImport: function DynamicImport(t0, t1) {
  9377. this.urlString = t0;
  9378. this.span = t1;
  9379. },
  9380. StaticImport: function StaticImport(t0, t1, t2) {
  9381. this.url = t0;
  9382. this.modifiers = t1;
  9383. this.span = t2;
  9384. },
  9385. Interpolation$(contents, span) {
  9386. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  9387. t1.Interpolation$2(contents, span);
  9388. return t1;
  9389. },
  9390. Interpolation: function Interpolation(t0, t1) {
  9391. this.contents = t0;
  9392. this.span = t1;
  9393. },
  9394. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9395. },
  9396. AtRootRule$(children, span, query) {
  9397. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9398. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9399. return new A.AtRootRule(query, span, t1, t2);
  9400. },
  9401. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9402. var _ = this;
  9403. _.query = t0;
  9404. _.span = t1;
  9405. _.children = t2;
  9406. _.hasDeclarations = t3;
  9407. },
  9408. AtRule$($name, span, children, value) {
  9409. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9410. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9411. return new A.AtRule($name, value, span, t1, t2 === true);
  9412. },
  9413. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9414. var _ = this;
  9415. _.name = t0;
  9416. _.value = t1;
  9417. _.span = t2;
  9418. _.children = t3;
  9419. _.hasDeclarations = t4;
  9420. },
  9421. CallableDeclaration: function CallableDeclaration() {
  9422. },
  9423. ContentBlock$($arguments, children, span) {
  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.ContentBlock("@content", $arguments, span, t1, t2);
  9427. },
  9428. ContentBlock: function ContentBlock(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. ContentRule: function ContentRule(t0, t1) {
  9437. this.$arguments = t0;
  9438. this.span = t1;
  9439. },
  9440. DebugRule: function DebugRule(t0, t1) {
  9441. this.expression = t0;
  9442. this.span = t1;
  9443. },
  9444. Declaration$($name, value, span) {
  9445. return new A.Declaration($name, value, span, null, false);
  9446. },
  9447. Declaration$nested($name, children, span, value) {
  9448. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9449. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9450. return new A.Declaration($name, value, span, t1, t2);
  9451. },
  9452. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9453. var _ = this;
  9454. _.name = t0;
  9455. _.value = t1;
  9456. _.span = t2;
  9457. _.children = t3;
  9458. _.hasDeclarations = t4;
  9459. },
  9460. EachRule$(variables, list, children, span) {
  9461. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9462. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9463. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9464. return new A.EachRule(t1, list, span, t2, t3);
  9465. },
  9466. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9467. var _ = this;
  9468. _.variables = t0;
  9469. _.list = t1;
  9470. _.span = t2;
  9471. _.children = t3;
  9472. _.hasDeclarations = t4;
  9473. },
  9474. EachRule_toString_closure: function EachRule_toString_closure() {
  9475. },
  9476. ErrorRule: function ErrorRule(t0, t1) {
  9477. this.expression = t0;
  9478. this.span = t1;
  9479. },
  9480. ExtendRule: function ExtendRule(t0, t1, t2) {
  9481. this.selector = t0;
  9482. this.isOptional = t1;
  9483. this.span = t2;
  9484. },
  9485. ForRule$(variable, from, to, children, span, exclusive) {
  9486. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9487. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9488. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9489. },
  9490. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9491. var _ = this;
  9492. _.variable = t0;
  9493. _.from = t1;
  9494. _.to = t2;
  9495. _.isExclusive = t3;
  9496. _.span = t4;
  9497. _.children = t5;
  9498. _.hasDeclarations = t6;
  9499. },
  9500. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9501. var _ = this;
  9502. _.url = t0;
  9503. _.shownMixinsAndFunctions = t1;
  9504. _.shownVariables = t2;
  9505. _.hiddenMixinsAndFunctions = t3;
  9506. _.hiddenVariables = t4;
  9507. _.prefix = t5;
  9508. _.configuration = t6;
  9509. _.span = t7;
  9510. },
  9511. FunctionRule$($name, $arguments, children, span, comment) {
  9512. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9513. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9514. return new A.FunctionRule($name, $arguments, span, t1, t2);
  9515. },
  9516. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  9517. var _ = this;
  9518. _.name = t0;
  9519. _.$arguments = t1;
  9520. _.span = t2;
  9521. _.children = t3;
  9522. _.hasDeclarations = t4;
  9523. },
  9524. IfClause$(expression, children) {
  9525. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9526. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9527. },
  9528. ElseClause$(children) {
  9529. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9530. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9531. },
  9532. IfRule: function IfRule(t0, t1, t2) {
  9533. this.clauses = t0;
  9534. this.lastClause = t1;
  9535. this.span = t2;
  9536. },
  9537. IfRule_toString_closure: function IfRule_toString_closure() {
  9538. },
  9539. IfRuleClause: function IfRuleClause() {
  9540. },
  9541. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9542. },
  9543. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9544. },
  9545. IfClause: function IfClause(t0, t1, t2) {
  9546. this.expression = t0;
  9547. this.children = t1;
  9548. this.hasDeclarations = t2;
  9549. },
  9550. ElseClause: function ElseClause(t0, t1) {
  9551. this.children = t0;
  9552. this.hasDeclarations = t1;
  9553. },
  9554. ImportRule: function ImportRule(t0, t1) {
  9555. this.imports = t0;
  9556. this.span = t1;
  9557. },
  9558. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  9559. var _ = this;
  9560. _.namespace = t0;
  9561. _.name = t1;
  9562. _.$arguments = t2;
  9563. _.content = t3;
  9564. _.span = t4;
  9565. },
  9566. LoudComment: function LoudComment(t0) {
  9567. this.text = t0;
  9568. },
  9569. MediaRule$(query, children, span) {
  9570. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9571. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9572. return new A.MediaRule(query, span, t1, t2);
  9573. },
  9574. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9575. var _ = this;
  9576. _.query = t0;
  9577. _.span = t1;
  9578. _.children = t2;
  9579. _.hasDeclarations = t3;
  9580. },
  9581. MixinRule$($name, $arguments, children, span, comment) {
  9582. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9583. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9584. return new A.MixinRule($name, $arguments, span, t1, t2);
  9585. },
  9586. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  9587. var _ = this;
  9588. _.__MixinRule_hasContent_FI = $;
  9589. _.name = t0;
  9590. _.$arguments = t1;
  9591. _.span = t2;
  9592. _.children = t3;
  9593. _.hasDeclarations = t4;
  9594. },
  9595. _HasContentVisitor: function _HasContentVisitor() {
  9596. },
  9597. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9598. },
  9599. ParentStatement: function ParentStatement() {
  9600. },
  9601. ParentStatement_closure: function ParentStatement_closure() {
  9602. },
  9603. ParentStatement__closure: function ParentStatement__closure() {
  9604. },
  9605. ReturnRule: function ReturnRule(t0, t1) {
  9606. this.expression = t0;
  9607. this.span = t1;
  9608. },
  9609. SilentComment: function SilentComment(t0, t1) {
  9610. this.text = t0;
  9611. this.span = t1;
  9612. },
  9613. StyleRule$(selector, children, span) {
  9614. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9615. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9616. return new A.StyleRule(selector, span, t1, t2);
  9617. },
  9618. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9619. var _ = this;
  9620. _.selector = t0;
  9621. _.span = t1;
  9622. _.children = t2;
  9623. _.hasDeclarations = t3;
  9624. },
  9625. Stylesheet$(children, span) {
  9626. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9627. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9628. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9629. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9630. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  9631. t1.Stylesheet$internal$3$plainCss(children, span, false);
  9632. return t1;
  9633. },
  9634. Stylesheet$internal(children, span, plainCss) {
  9635. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9636. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9637. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9638. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9639. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  9640. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  9641. return t1;
  9642. },
  9643. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  9644. var error, stackTrace, url0, t1, exception, t2;
  9645. try {
  9646. switch (syntax) {
  9647. case B.Syntax_Sass_sass:
  9648. t1 = A.SpanScanner$(contents, url);
  9649. t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9650. return t1;
  9651. case B.Syntax_SCSS_scss:
  9652. t1 = A.ScssParser$(contents, logger, url).parse$0();
  9653. return t1;
  9654. case B.Syntax_CSS_css:
  9655. t1 = A.SpanScanner$(contents, url);
  9656. t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9657. return t1;
  9658. default:
  9659. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  9660. throw A.wrapException(t1);
  9661. }
  9662. } catch (exception) {
  9663. t1 = A.unwrapException(exception);
  9664. if (t1 instanceof A.SassException) {
  9665. error = t1;
  9666. stackTrace = A.getTraceFromException(exception);
  9667. t1 = error;
  9668. t2 = J.getInterceptor$z(t1);
  9669. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9670. url0 = t1.get$sourceUrl(t1);
  9671. if (url0 == null || J.toString$0$(url0) === "stdin")
  9672. throw exception;
  9673. t1 = type$.Uri;
  9674. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9675. } else
  9676. throw exception;
  9677. }
  9678. },
  9679. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  9680. var _ = this;
  9681. _.span = t0;
  9682. _.plainCss = t1;
  9683. _._uses = t2;
  9684. _._forwards = t3;
  9685. _.children = t4;
  9686. _.hasDeclarations = t5;
  9687. },
  9688. SupportsRule$(condition, children, span) {
  9689. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9690. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9691. return new A.SupportsRule(condition, span, t1, t2);
  9692. },
  9693. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9694. var _ = this;
  9695. _.condition = t0;
  9696. _.span = t1;
  9697. _.children = t2;
  9698. _.hasDeclarations = t3;
  9699. },
  9700. UseRule: function UseRule(t0, t1, t2, t3) {
  9701. var _ = this;
  9702. _.url = t0;
  9703. _.namespace = t1;
  9704. _.configuration = t2;
  9705. _.span = t3;
  9706. },
  9707. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9708. if (namespace != null && global)
  9709. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9710. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9711. },
  9712. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9713. var _ = this;
  9714. _.namespace = t0;
  9715. _.name = t1;
  9716. _.expression = t2;
  9717. _.isGuarded = t3;
  9718. _.isGlobal = t4;
  9719. _.span = t5;
  9720. },
  9721. WarnRule: function WarnRule(t0, t1) {
  9722. this.expression = t0;
  9723. this.span = t1;
  9724. },
  9725. WhileRule$(condition, children, span) {
  9726. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9727. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9728. return new A.WhileRule(condition, span, t1, t2);
  9729. },
  9730. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9731. var _ = this;
  9732. _.condition = t0;
  9733. _.span = t1;
  9734. _.children = t2;
  9735. _.hasDeclarations = t3;
  9736. },
  9737. SupportsAnything: function SupportsAnything(t0, t1) {
  9738. this.contents = t0;
  9739. this.span = t1;
  9740. },
  9741. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9742. this.name = t0;
  9743. this.value = t1;
  9744. this.span = t2;
  9745. },
  9746. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9747. this.name = t0;
  9748. this.$arguments = t1;
  9749. this.span = t2;
  9750. },
  9751. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9752. this.expression = t0;
  9753. this.span = t1;
  9754. },
  9755. SupportsNegation: function SupportsNegation(t0, t1) {
  9756. this.condition = t0;
  9757. this.span = t1;
  9758. },
  9759. SupportsOperation$(left, right, operator, span) {
  9760. var lowerOperator = operator.toLowerCase();
  9761. if (lowerOperator !== "and" && lowerOperator !== "or")
  9762. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9763. return new A.SupportsOperation(left, right, operator, span);
  9764. },
  9765. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9766. var _ = this;
  9767. _.left = t0;
  9768. _.right = t1;
  9769. _.operator = t2;
  9770. _.span = t3;
  9771. },
  9772. Selector: function Selector() {
  9773. },
  9774. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9775. this.includeBogus = t0;
  9776. },
  9777. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9778. this.includeLeadingCombinator = t0;
  9779. },
  9780. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9781. this.$this = t0;
  9782. },
  9783. _IsUselessVisitor: function _IsUselessVisitor() {
  9784. },
  9785. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9786. this.$this = t0;
  9787. },
  9788. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9789. },
  9790. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9791. },
  9792. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9793. },
  9794. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9795. var _ = this;
  9796. _.name = t0;
  9797. _.op = t1;
  9798. _.value = t2;
  9799. _.modifier = t3;
  9800. _.span = t4;
  9801. },
  9802. AttributeOperator: function AttributeOperator(t0, t1) {
  9803. this._attribute$_text = t0;
  9804. this._name = t1;
  9805. },
  9806. ClassSelector: function ClassSelector(t0, t1) {
  9807. this.name = t0;
  9808. this.span = t1;
  9809. },
  9810. Combinator: function Combinator(t0, t1) {
  9811. this._combinator$_text = t0;
  9812. this._name = t1;
  9813. },
  9814. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9815. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9816. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9817. if (t1.length === 0 && t2.length === 0)
  9818. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9819. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9820. },
  9821. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9822. var _ = this;
  9823. _.leadingCombinators = t0;
  9824. _.components = t1;
  9825. _.lineBreak = t2;
  9826. _.__ComplexSelector_specificity_FI = $;
  9827. _.span = t3;
  9828. },
  9829. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9830. },
  9831. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9832. this.selector = t0;
  9833. this.combinators = t1;
  9834. this.span = t2;
  9835. },
  9836. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9837. },
  9838. CompoundSelector$(components, span) {
  9839. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9840. if (t1.length === 0)
  9841. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9842. return new A.CompoundSelector(t1, span);
  9843. },
  9844. CompoundSelector: function CompoundSelector(t0, t1) {
  9845. this.components = t0;
  9846. this.__CompoundSelector_specificity_FI = $;
  9847. this.span = t1;
  9848. },
  9849. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9850. },
  9851. IDSelector: function IDSelector(t0, t1) {
  9852. this.name = t0;
  9853. this.span = t1;
  9854. },
  9855. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9856. this.$this = t0;
  9857. },
  9858. SelectorList$(components, span) {
  9859. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9860. if (t1.length === 0)
  9861. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9862. return new A.SelectorList(t1, span);
  9863. },
  9864. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  9865. return A.SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  9866. },
  9867. SelectorList: function SelectorList(t0, t1) {
  9868. this.components = t0;
  9869. this.span = t1;
  9870. },
  9871. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9872. },
  9873. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  9874. this.$this = t0;
  9875. this.implicitParent = t1;
  9876. this.parent = t2;
  9877. },
  9878. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  9879. this.complex = t0;
  9880. },
  9881. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  9882. this.complex = t0;
  9883. },
  9884. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  9885. },
  9886. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  9887. this.parent = t0;
  9888. },
  9889. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  9890. this.parentSelector = t0;
  9891. this.resolvedSimples = t1;
  9892. this.component = t2;
  9893. },
  9894. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9895. this.combinators = t0;
  9896. },
  9897. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9898. },
  9899. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9900. },
  9901. ParentSelector: function ParentSelector(t0, t1) {
  9902. this.suffix = t0;
  9903. this.span = t1;
  9904. },
  9905. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9906. this.name = t0;
  9907. this.span = t1;
  9908. },
  9909. PseudoSelector$($name, span, argument, element, selector) {
  9910. var t1 = !element,
  9911. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9912. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9913. },
  9914. PseudoSelector__isFakePseudoElement($name) {
  9915. switch ($name.charCodeAt(0)) {
  9916. case 97:
  9917. case 65:
  9918. return A.equalsIgnoreCase($name, "after");
  9919. case 98:
  9920. case 66:
  9921. return A.equalsIgnoreCase($name, "before");
  9922. case 102:
  9923. case 70:
  9924. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9925. default:
  9926. return false;
  9927. }
  9928. },
  9929. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9930. var _ = this;
  9931. _.name = t0;
  9932. _.normalizedName = t1;
  9933. _.isClass = t2;
  9934. _.isSyntacticClass = t3;
  9935. _.argument = t4;
  9936. _.selector = t5;
  9937. _.__PseudoSelector_specificity_FI = $;
  9938. _.span = t6;
  9939. },
  9940. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9941. this.$this = t0;
  9942. },
  9943. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9944. },
  9945. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9946. },
  9947. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9948. },
  9949. QualifiedName: function QualifiedName(t0, t1) {
  9950. this.name = t0;
  9951. this.namespace = t1;
  9952. },
  9953. SimpleSelector: function SimpleSelector() {
  9954. },
  9955. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9956. this.$this = t0;
  9957. },
  9958. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9959. this.$this = t0;
  9960. },
  9961. TypeSelector: function TypeSelector(t0, t1) {
  9962. this.name = t0;
  9963. this.span = t1;
  9964. },
  9965. UniversalSelector: function UniversalSelector(t0, t1) {
  9966. this.namespace = t0;
  9967. this.span = t1;
  9968. },
  9969. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  9970. var $async$goto = 0,
  9971. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9972. $async$returnValue, t3, t0, stylesheet, result, t1, t2;
  9973. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9974. if ($async$errorCode === 1)
  9975. return A._asyncRethrow($async$result, $async$completer);
  9976. while (true)
  9977. switch ($async$goto) {
  9978. case 0:
  9979. // Function start
  9980. t1 = type$.Deprecation;
  9981. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9982. t2.addAll$1(0, fatalDeprecations);
  9983. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9984. t3.addAll$1(0, futureDeprecations);
  9985. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, !verbose);
  9986. t1 = syntax === A.Syntax_forPath(path);
  9987. $async$goto = t1 ? 3 : 5;
  9988. break;
  9989. case 3:
  9990. // then
  9991. t1 = $.$get$FilesystemImporter_cwd();
  9992. t2 = A.isNodeJs() ? self.process : null;
  9993. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  9994. t2 = A.isNodeJs() ? self.process : null;
  9995. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  9996. } else
  9997. t2 = true;
  9998. if (t2) {
  9999. t2 = $.$get$context();
  10000. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10001. t0 = t3;
  10002. t3 = t2;
  10003. t2 = t0;
  10004. } else {
  10005. t2 = $.$get$context();
  10006. t3 = t2.canonicalize$1(0, path);
  10007. t0 = t3;
  10008. t3 = t2;
  10009. t2 = t0;
  10010. }
  10011. $async$goto = 6;
  10012. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10013. case 6:
  10014. // returning from await.
  10015. t3 = $async$result;
  10016. t3.toString;
  10017. stylesheet = t3;
  10018. // goto join
  10019. $async$goto = 4;
  10020. break;
  10021. case 5:
  10022. // else
  10023. t1 = A.readFile(path);
  10024. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  10025. case 4:
  10026. // join
  10027. $async$goto = 7;
  10028. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10029. case 7:
  10030. // returning from await.
  10031. result = $async$result;
  10032. logger.summarize$1$js(false);
  10033. $async$returnValue = result;
  10034. // goto return
  10035. $async$goto = 1;
  10036. break;
  10037. case 1:
  10038. // return
  10039. return A._asyncReturn($async$returnValue, $async$completer);
  10040. }
  10041. });
  10042. return A._asyncStartSync($async$compileAsync, $async$completer);
  10043. },
  10044. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  10045. var $async$goto = 0,
  10046. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10047. $async$returnValue, t3, stylesheet, result, t1, t2;
  10048. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10049. if ($async$errorCode === 1)
  10050. return A._asyncRethrow($async$result, $async$completer);
  10051. while (true)
  10052. switch ($async$goto) {
  10053. case 0:
  10054. // Function start
  10055. t1 = type$.Deprecation;
  10056. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10057. t2.addAll$1(0, fatalDeprecations);
  10058. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10059. t3.addAll$1(0, futureDeprecations);
  10060. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, !verbose);
  10061. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  10062. $async$goto = 3;
  10063. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10064. case 3:
  10065. // returning from await.
  10066. result = $async$result;
  10067. logger.summarize$1$js(false);
  10068. $async$returnValue = result;
  10069. // goto return
  10070. $async$goto = 1;
  10071. break;
  10072. case 1:
  10073. // return
  10074. return A._asyncReturn($async$returnValue, $async$completer);
  10075. }
  10076. });
  10077. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10078. },
  10079. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10080. var $async$goto = 0,
  10081. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10082. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10083. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10084. if ($async$errorCode === 1)
  10085. return A._asyncRethrow($async$result, $async$completer);
  10086. while (true)
  10087. switch ($async$goto) {
  10088. case 0:
  10089. // Function start
  10090. $async$temp1 = A;
  10091. $async$goto = 3;
  10092. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10093. case 3:
  10094. // returning from await.
  10095. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  10096. resultSourceMap = serializeResult._1;
  10097. if (resultSourceMap != null && true)
  10098. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10099. $async$returnValue = new A.CompileResult(serializeResult);
  10100. // goto return
  10101. $async$goto = 1;
  10102. break;
  10103. case 1:
  10104. // return
  10105. return A._asyncReturn($async$returnValue, $async$completer);
  10106. }
  10107. });
  10108. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10109. },
  10110. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10111. this.stylesheet = t0;
  10112. this.importCache = t1;
  10113. },
  10114. AsyncEnvironment$() {
  10115. var t1 = type$.String,
  10116. t2 = type$.Module_AsyncCallable,
  10117. t3 = type$.AstNode,
  10118. t4 = type$.int,
  10119. t5 = type$.AsyncCallable,
  10120. t6 = type$.JSArray_Map_String_AsyncCallable;
  10121. 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);
  10122. },
  10123. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10124. var t1 = type$.String,
  10125. t2 = type$.int;
  10126. 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);
  10127. },
  10128. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10129. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10130. if (forwarded == null)
  10131. forwarded = B.Set_empty2;
  10132. t1 = type$.dynamic;
  10133. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10134. 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();) {
  10135. t6 = t4.get$current(t4);
  10136. module = t6._0;
  10137. result = A.List_List$from(t6._1, false, t5);
  10138. result.fixed$length = Array;
  10139. result.immutable$list = Array;
  10140. t1.$indexSet(0, module, result);
  10141. }
  10142. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10143. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10144. 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);
  10145. 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);
  10146. t5 = type$.Map_String_AsyncCallable;
  10147. t6 = type$.AsyncCallable;
  10148. 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);
  10149. 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);
  10150. 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());
  10151. 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()));
  10152. },
  10153. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10154. var modulesByVariable, t1, t2, t3, t4, t5;
  10155. if (forwarded.get$isEmpty(forwarded))
  10156. return B.Map_empty8;
  10157. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10158. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10159. t2 = t1.get$current(t1);
  10160. if (t2 instanceof A._EnvironmentModule0) {
  10161. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10162. t4 = t3.get$current(t3);
  10163. t5 = t4.get$variables();
  10164. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10165. }
  10166. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10167. } else {
  10168. t3 = t2.get$variables();
  10169. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10170. }
  10171. }
  10172. return modulesByVariable;
  10173. },
  10174. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10175. var t1, t2, t3;
  10176. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10177. if (otherMaps.get$isEmpty(otherMaps))
  10178. return localMap;
  10179. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10180. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10181. t3 = t2.get$current(t2);
  10182. if (t3.get$isNotEmpty(t3))
  10183. t1.push(t3);
  10184. }
  10185. t1.push(localMap);
  10186. if (t1.length === 1)
  10187. return localMap;
  10188. return A.MergedMapView$(t1, type$.String, $V);
  10189. },
  10190. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10191. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10192. },
  10193. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10194. var _ = this;
  10195. _._async_environment$_modules = t0;
  10196. _._async_environment$_namespaceNodes = t1;
  10197. _._async_environment$_globalModules = t2;
  10198. _._async_environment$_importedModules = t3;
  10199. _._async_environment$_forwardedModules = t4;
  10200. _._async_environment$_nestedForwardedModules = t5;
  10201. _._async_environment$_allModules = t6;
  10202. _._async_environment$_variables = t7;
  10203. _._async_environment$_variableNodes = t8;
  10204. _._async_environment$_variableIndices = t9;
  10205. _._async_environment$_functions = t10;
  10206. _._async_environment$_functionIndices = t11;
  10207. _._async_environment$_mixins = t12;
  10208. _._async_environment$_mixinIndices = t13;
  10209. _._async_environment$_content = t14;
  10210. _._async_environment$_inMixin = false;
  10211. _._async_environment$_inSemiGlobalScope = true;
  10212. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10213. },
  10214. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10215. this.name = t0;
  10216. },
  10217. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10218. this.$this = t0;
  10219. this.name = t1;
  10220. },
  10221. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10222. this.name = t0;
  10223. },
  10224. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10225. this.$this = t0;
  10226. this.name = t1;
  10227. },
  10228. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10229. this.name = t0;
  10230. },
  10231. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10232. this.name = t0;
  10233. },
  10234. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10235. },
  10236. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10237. },
  10238. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10239. var _ = this;
  10240. _.upstream = t0;
  10241. _.variables = t1;
  10242. _.variableNodes = t2;
  10243. _.functions = t3;
  10244. _.mixins = t4;
  10245. _.extensionStore = t5;
  10246. _.css = t6;
  10247. _.preModuleComments = t7;
  10248. _.transitivelyContainsCss = t8;
  10249. _.transitivelyContainsExtensions = t9;
  10250. _._async_environment$_environment = t10;
  10251. _._async_environment$_modulesByVariable = t11;
  10252. },
  10253. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10254. },
  10255. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10256. },
  10257. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10258. },
  10259. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10260. },
  10261. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10262. },
  10263. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10264. },
  10265. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10266. var t1, t2, t3, t4, _i, path, _null = null,
  10267. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10268. if (A.isBrowser()) {
  10269. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10270. B.JSArray_methods.addAll$1(t1, importers);
  10271. return t1;
  10272. }
  10273. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10274. B.JSArray_methods.addAll$1(t1, importers);
  10275. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10276. t3 = t2.get$current(t2);
  10277. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  10278. }
  10279. if (sassPath != null) {
  10280. t2 = A.isNodeJs() ? self.process : _null;
  10281. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10282. t4 = t3.length;
  10283. _i = 0;
  10284. for (; _i < t4; ++_i) {
  10285. path = t3[_i];
  10286. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  10287. }
  10288. }
  10289. return t1;
  10290. },
  10291. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  10292. var _ = this;
  10293. _._async_import_cache$_importers = t0;
  10294. _._async_import_cache$_logger = t1;
  10295. _._async_import_cache$_canonicalizeCache = t2;
  10296. _._async_import_cache$_relativeCanonicalizeCache = t3;
  10297. _._async_import_cache$_importCache = t4;
  10298. _._async_import_cache$_resultsCache = t5;
  10299. },
  10300. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  10301. var _ = this;
  10302. _.$this = t0;
  10303. _.baseImporter = t1;
  10304. _.baseUrl = t2;
  10305. _.url = t3;
  10306. _.forImport = t4;
  10307. },
  10308. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3) {
  10309. var _ = this;
  10310. _.$this = t0;
  10311. _.url = t1;
  10312. _.baseUrl = t2;
  10313. _.forImport = t3;
  10314. },
  10315. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10316. this.importer = t0;
  10317. this.resolved = t1;
  10318. },
  10319. AsyncImportCache__canonicalize__closure: function AsyncImportCache__canonicalize__closure(t0, t1) {
  10320. this.importer = t0;
  10321. this.resolved = t1;
  10322. },
  10323. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  10324. this.importer = t0;
  10325. this.resolved = t1;
  10326. },
  10327. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  10328. var _ = this;
  10329. _.$this = t0;
  10330. _.importer = t1;
  10331. _.canonicalUrl = t2;
  10332. _.originalUrl = t3;
  10333. _.quiet = t4;
  10334. },
  10335. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10336. this.canonicalUrl = t0;
  10337. },
  10338. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10339. },
  10340. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10341. },
  10342. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10343. this.canonicalUrl = t0;
  10344. },
  10345. AsyncBuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10346. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10347. },
  10348. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10349. var _ = this;
  10350. _.name = t0;
  10351. _._async_built_in$_arguments = t1;
  10352. _._async_built_in$_callback = t2;
  10353. _.acceptsContent = t3;
  10354. },
  10355. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10356. this.callback = t0;
  10357. },
  10358. BuiltInCallable$function($name, $arguments, callback, url) {
  10359. 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);
  10360. },
  10361. BuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10362. 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);
  10363. },
  10364. BuiltInCallable$overloadedFunction($name, overloads) {
  10365. var t2, t3, t4, t5, t6, args, callback,
  10366. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value);
  10367. 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();) {
  10368. t6 = t3.get$current(t3);
  10369. args = t6._0;
  10370. callback = t6._1;
  10371. t6 = A.SpanScanner$(t4 + args + ") {", null);
  10372. t1.push(new A._Record_2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false, null).parseArgumentDeclaration$0(), callback));
  10373. }
  10374. return new A.BuiltInCallable($name, t1, false);
  10375. },
  10376. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10377. this.name = t0;
  10378. this._overloads = t1;
  10379. this.acceptsContent = t2;
  10380. },
  10381. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10382. this.callback = t0;
  10383. },
  10384. PlainCssCallable: function PlainCssCallable(t0) {
  10385. this.name = t0;
  10386. },
  10387. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10388. var _ = this;
  10389. _.declaration = t0;
  10390. _.environment = t1;
  10391. _.inDependency = t2;
  10392. _.$ti = t3;
  10393. },
  10394. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10395. 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),
  10396. resultSourceMap = serializeResult._1;
  10397. if (resultSourceMap != null && true)
  10398. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10399. return new A.CompileResult(serializeResult);
  10400. },
  10401. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10402. this.stylesheet = t0;
  10403. this.importCache = t1;
  10404. },
  10405. CompileResult: function CompileResult(t0) {
  10406. this._serialize = t0;
  10407. },
  10408. Configuration: function Configuration(t0, t1) {
  10409. this._configuration$_values = t0;
  10410. this.__originalConfiguration = t1;
  10411. },
  10412. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10413. this.nodeWithSpan = t0;
  10414. this._configuration$_values = t1;
  10415. this.__originalConfiguration = t2;
  10416. },
  10417. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10418. this.value = t0;
  10419. this.configurationSpan = t1;
  10420. this.assignmentNode = t2;
  10421. },
  10422. Deprecation_fromId(id) {
  10423. return A.IterableExtension_firstWhereOrNull(B.List_GN8, new A.Deprecation_fromId_closure(id));
  10424. },
  10425. Deprecation_forVersion(version) {
  10426. var t2, _i, deprecation, $self, t3,
  10427. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10428. for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i < 16; ++_i) {
  10429. deprecation = B.List_GN8[_i];
  10430. $self = deprecation._deprecatedIn;
  10431. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10432. t3 = t3 == null ? null : t2.call$1(t3);
  10433. if (t3 == null ? false : t3)
  10434. t1.add$1(0, deprecation);
  10435. }
  10436. return t1;
  10437. },
  10438. Deprecation: function Deprecation(t0, t1, t2, t3, t4) {
  10439. var _ = this;
  10440. _.id = t0;
  10441. _._deprecatedIn = t1;
  10442. _.description = t2;
  10443. _.isFuture = t3;
  10444. _._name = t4;
  10445. },
  10446. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10447. this.id = t0;
  10448. },
  10449. Environment$() {
  10450. var t1 = type$.String,
  10451. t2 = type$.Module_Callable,
  10452. t3 = type$.AstNode,
  10453. t4 = type$.int,
  10454. t5 = type$.Callable,
  10455. t6 = type$.JSArray_Map_String_Callable;
  10456. 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);
  10457. },
  10458. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10459. var t1 = type$.String,
  10460. t2 = type$.int;
  10461. 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);
  10462. },
  10463. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10464. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10465. if (forwarded == null)
  10466. forwarded = B.Set_empty0;
  10467. t1 = type$.dynamic;
  10468. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10469. 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();) {
  10470. t6 = t4.get$current(t4);
  10471. module = t6._0;
  10472. result = A.List_List$from(t6._1, false, t5);
  10473. result.fixed$length = Array;
  10474. result.immutable$list = Array;
  10475. t1.$indexSet(0, module, result);
  10476. }
  10477. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10478. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10479. 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);
  10480. 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);
  10481. t5 = type$.Map_String_Callable;
  10482. t6 = type$.Callable;
  10483. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10484. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10485. 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());
  10486. 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()));
  10487. },
  10488. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10489. var modulesByVariable, t1, t2, t3, t4, t5;
  10490. if (forwarded.get$isEmpty(forwarded))
  10491. return B.Map_empty1;
  10492. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10493. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10494. t2 = t1.get$current(t1);
  10495. if (t2 instanceof A._EnvironmentModule) {
  10496. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10497. t4 = t3.get$current(t3);
  10498. t5 = t4.get$variables();
  10499. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10500. }
  10501. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10502. } else {
  10503. t3 = t2.get$variables();
  10504. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10505. }
  10506. }
  10507. return modulesByVariable;
  10508. },
  10509. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10510. var t1, t2, t3;
  10511. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10512. if (otherMaps.get$isEmpty(otherMaps))
  10513. return localMap;
  10514. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10515. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10516. t3 = t2.get$current(t2);
  10517. if (t3.get$isNotEmpty(t3))
  10518. t1.push(t3);
  10519. }
  10520. t1.push(localMap);
  10521. if (t1.length === 1)
  10522. return localMap;
  10523. return A.MergedMapView$(t1, type$.String, $V);
  10524. },
  10525. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10526. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10527. },
  10528. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10529. var _ = this;
  10530. _._environment$_modules = t0;
  10531. _._namespaceNodes = t1;
  10532. _._globalModules = t2;
  10533. _._importedModules = t3;
  10534. _._forwardedModules = t4;
  10535. _._nestedForwardedModules = t5;
  10536. _._allModules = t6;
  10537. _._variables = t7;
  10538. _._variableNodes = t8;
  10539. _._variableIndices = t9;
  10540. _._functions = t10;
  10541. _._functionIndices = t11;
  10542. _._mixins = t12;
  10543. _._mixinIndices = t13;
  10544. _._content = t14;
  10545. _._inMixin = false;
  10546. _._inSemiGlobalScope = true;
  10547. _._lastVariableIndex = _._lastVariableName = null;
  10548. },
  10549. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10550. this.name = t0;
  10551. },
  10552. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10553. this.$this = t0;
  10554. this.name = t1;
  10555. },
  10556. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10557. this.name = t0;
  10558. },
  10559. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10560. this.$this = t0;
  10561. this.name = t1;
  10562. },
  10563. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10564. this.name = t0;
  10565. },
  10566. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10567. this.name = t0;
  10568. },
  10569. Environment_toModule_closure: function Environment_toModule_closure() {
  10570. },
  10571. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10572. },
  10573. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10574. var _ = this;
  10575. _.upstream = t0;
  10576. _.variables = t1;
  10577. _.variableNodes = t2;
  10578. _.functions = t3;
  10579. _.mixins = t4;
  10580. _.extensionStore = t5;
  10581. _.css = t6;
  10582. _.preModuleComments = t7;
  10583. _.transitivelyContainsCss = t8;
  10584. _.transitivelyContainsExtensions = t9;
  10585. _._environment$_environment = t10;
  10586. _._modulesByVariable = t11;
  10587. },
  10588. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10589. },
  10590. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10591. },
  10592. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10593. },
  10594. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10595. },
  10596. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10597. },
  10598. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10599. },
  10600. SassException$(message, span, loadedUrls) {
  10601. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10602. },
  10603. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10604. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10605. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10606. },
  10607. SassRuntimeException$(message, span, trace, loadedUrls) {
  10608. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10609. },
  10610. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10611. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10612. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10613. },
  10614. SassFormatException$(message, span, loadedUrls) {
  10615. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10616. },
  10617. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10618. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10619. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10620. },
  10621. SassScriptException$(message, argumentName) {
  10622. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10623. },
  10624. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10625. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10626. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10627. },
  10628. SassException: function SassException(t0, t1, t2) {
  10629. this.loadedUrls = t0;
  10630. this._span_exception$_message = t1;
  10631. this._span = t2;
  10632. },
  10633. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10634. var _ = this;
  10635. _.primaryLabel = t0;
  10636. _.secondarySpans = t1;
  10637. _.loadedUrls = t2;
  10638. _._span_exception$_message = t3;
  10639. _._span = t4;
  10640. },
  10641. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10642. var _ = this;
  10643. _.trace = t0;
  10644. _.loadedUrls = t1;
  10645. _._span_exception$_message = t2;
  10646. _._span = t3;
  10647. },
  10648. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10649. var _ = this;
  10650. _.trace = t0;
  10651. _.primaryLabel = t1;
  10652. _.secondarySpans = t2;
  10653. _.loadedUrls = t3;
  10654. _._span_exception$_message = t4;
  10655. _._span = t5;
  10656. },
  10657. SassFormatException: function SassFormatException(t0, t1, t2) {
  10658. this.loadedUrls = t0;
  10659. this._span_exception$_message = t1;
  10660. this._span = t2;
  10661. },
  10662. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10663. var _ = this;
  10664. _.primaryLabel = t0;
  10665. _.secondarySpans = t1;
  10666. _.loadedUrls = t2;
  10667. _._span_exception$_message = t3;
  10668. _._span = t4;
  10669. },
  10670. SassScriptException: function SassScriptException(t0) {
  10671. this.message = t0;
  10672. },
  10673. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10674. this.primaryLabel = t0;
  10675. this.secondarySpans = t1;
  10676. this.message = t2;
  10677. },
  10678. compileStylesheet(options, graph, source, destination, ifModified) {
  10679. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10680. },
  10681. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10682. var $async$goto = 0,
  10683. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10684. $async$returnValue, $async$handler = 2, $async$currentError, error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10685. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10686. if ($async$errorCode === 1) {
  10687. $async$currentError = $async$result;
  10688. $async$goto = $async$handler;
  10689. }
  10690. while (true)
  10691. switch ($async$goto) {
  10692. case 0:
  10693. // Function start
  10694. $async$handler = 4;
  10695. $async$goto = 7;
  10696. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10697. case 7:
  10698. // returning from await.
  10699. $async$handler = 2;
  10700. // goto after finally
  10701. $async$goto = 6;
  10702. break;
  10703. case 4:
  10704. // catch
  10705. $async$handler = 3;
  10706. $async$exception = $async$currentError;
  10707. t1 = A.unwrapException($async$exception);
  10708. if (t1 instanceof A.SassException) {
  10709. error = t1;
  10710. stackTrace = A.getTraceFromException($async$exception);
  10711. if (destination != null && !options.get$emitErrorCss())
  10712. A._tryDelete(destination);
  10713. message = J.toString$1$color$(error, options.get$color());
  10714. if (A._asBool(options._options.$index(0, "trace"))) {
  10715. t1 = A.getTrace(error);
  10716. if (t1 == null)
  10717. t1 = stackTrace;
  10718. } else
  10719. t1 = null;
  10720. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10721. // goto return
  10722. $async$goto = 1;
  10723. break;
  10724. } else if (t1 instanceof A.FileSystemException) {
  10725. error0 = t1;
  10726. stackTrace0 = A.getTraceFromException($async$exception);
  10727. path = error0.path;
  10728. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10729. if (A._asBool(options._options.$index(0, "trace"))) {
  10730. t1 = A.getTrace(error0);
  10731. if (t1 == null)
  10732. t1 = stackTrace0;
  10733. } else
  10734. t1 = null;
  10735. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10736. // goto return
  10737. $async$goto = 1;
  10738. break;
  10739. } else
  10740. throw $async$exception;
  10741. // goto after finally
  10742. $async$goto = 6;
  10743. break;
  10744. case 3:
  10745. // uncaught
  10746. // goto rethrow
  10747. $async$goto = 2;
  10748. break;
  10749. case 6:
  10750. // after finally
  10751. $async$returnValue = null;
  10752. // goto return
  10753. $async$goto = 1;
  10754. break;
  10755. case 1:
  10756. // return
  10757. return A._asyncReturn($async$returnValue, $async$completer);
  10758. case 2:
  10759. // rethrow
  10760. return A._asyncRethrow($async$currentError, $async$completer);
  10761. }
  10762. });
  10763. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10764. },
  10765. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10766. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10767. },
  10768. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10769. var $async$goto = 0,
  10770. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10771. $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, importer, $async$exception;
  10772. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10773. if ($async$errorCode === 1) {
  10774. $async$currentError = $async$result;
  10775. $async$goto = $async$handler;
  10776. }
  10777. while (true)
  10778. switch ($async$goto) {
  10779. case 0:
  10780. // Function start
  10781. importer = $.$get$FilesystemImporter_cwd();
  10782. if (ifModified)
  10783. try {
  10784. if (source != null && destination != null && !graph.modifiedSince$3($.$get$context().toUri$1(source), A.modificationTime(destination), importer)) {
  10785. // goto return
  10786. $async$goto = 1;
  10787. break;
  10788. }
  10789. } catch (exception) {
  10790. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10791. throw exception;
  10792. }
  10793. syntax = null;
  10794. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10795. syntax = B.Syntax_Sass_sass;
  10796. else if (source != null)
  10797. syntax = A.Syntax_forPath(source);
  10798. else
  10799. syntax = B.Syntax_SCSS_scss;
  10800. result = null;
  10801. $async$handler = 4;
  10802. t1 = options._options;
  10803. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10804. break;
  10805. case 7:
  10806. // then
  10807. t2 = options.get$pkgImporters();
  10808. t3 = type$.List_String._as(t1.$index(0, "load-path"));
  10809. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10810. t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10811. t6 = type$.Uri;
  10812. t3 = A.AsyncImportCache__toImporters(t2, t3, null);
  10813. importCache = new A.AsyncImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t5), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport, t5), A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.ImporterResult));
  10814. $async$goto = source == null ? 10 : 12;
  10815. break;
  10816. case 10:
  10817. // then
  10818. $async$goto = 13;
  10819. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10820. case 13:
  10821. // returning from await.
  10822. t2 = $async$result;
  10823. t3 = syntax;
  10824. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10825. t5 = $.$get$FilesystemImporter_cwd();
  10826. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10827. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10828. t8 = A._asBool(t1.$index(0, "verbose"));
  10829. t9 = options.get$emitSourceMap();
  10830. $async$goto = 14;
  10831. return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), options.get$fatalDeprecations(), options.get$futureDeprecations(), importCache, t5, t4, t7, t9, t6, t3, t8), $async$_compileStylesheetWithoutErrorHandling);
  10832. case 14:
  10833. // returning from await.
  10834. result0 = $async$result;
  10835. // goto join
  10836. $async$goto = 11;
  10837. break;
  10838. case 12:
  10839. // else
  10840. t2 = syntax;
  10841. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10842. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10843. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10844. t6 = A._asBool(t1.$index(0, "verbose"));
  10845. t7 = options.get$emitSourceMap();
  10846. $async$goto = 15;
  10847. 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);
  10848. case 15:
  10849. // returning from await.
  10850. result0 = $async$result;
  10851. case 11:
  10852. // join
  10853. result = result0;
  10854. // goto join
  10855. $async$goto = 8;
  10856. break;
  10857. case 9:
  10858. // else
  10859. $async$goto = source == null ? 16 : 18;
  10860. break;
  10861. case 16:
  10862. // then
  10863. $async$goto = 19;
  10864. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10865. case 19:
  10866. // returning from await.
  10867. t2 = $async$result;
  10868. t3 = syntax;
  10869. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10870. t5 = $.$get$FilesystemImporter_cwd();
  10871. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10872. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10873. t8 = A._asBool(t1.$index(0, "verbose"));
  10874. t9 = options.get$emitSourceMap();
  10875. t1 = A._asBool(t1.$index(0, "charset"));
  10876. t10 = options.get$fatalDeprecations();
  10877. t11 = options.get$futureDeprecations();
  10878. t12 = type$.Deprecation;
  10879. t13 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  10880. t13.addAll$1(0, t10);
  10881. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  10882. t10.addAll$1(0, t11);
  10883. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t12, type$.int), t4, t13, t10, !t8);
  10884. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  10885. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10886. logger.summarize$1$js(false);
  10887. // goto join
  10888. $async$goto = 17;
  10889. break;
  10890. case 18:
  10891. // else
  10892. t2 = syntax;
  10893. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10894. importCache = graph.importCache;
  10895. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10896. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10897. t6 = A._asBool(t1.$index(0, "verbose"));
  10898. t7 = options.get$emitSourceMap();
  10899. t1 = A._asBool(t1.$index(0, "charset"));
  10900. t8 = options.get$fatalDeprecations();
  10901. t9 = options.get$futureDeprecations();
  10902. t10 = type$.Deprecation;
  10903. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  10904. t11.addAll$1(0, t8);
  10905. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  10906. t8.addAll$1(0, t9);
  10907. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t10, type$.int), t3, t11, t8, !t6);
  10908. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10909. if (t3) {
  10910. t2 = $.$get$FilesystemImporter_cwd();
  10911. t3 = A.isNodeJs() ? self.process : null;
  10912. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10913. t3 = A.isNodeJs() ? self.process : null;
  10914. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10915. } else
  10916. t3 = true;
  10917. if (t3) {
  10918. t3 = $.$get$context();
  10919. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10920. t0 = t6;
  10921. t6 = t3;
  10922. t3 = t0;
  10923. } else {
  10924. t3 = $.$get$context();
  10925. t6 = t3.canonicalize$1(0, source);
  10926. t0 = t6;
  10927. t6 = t3;
  10928. t3 = t0;
  10929. }
  10930. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10931. t6.toString;
  10932. stylesheet = t6;
  10933. } else {
  10934. t3 = A.readFile(source);
  10935. if (t2 == null)
  10936. t2 = A.Syntax_forPath(source);
  10937. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  10938. }
  10939. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10940. logger.summarize$1$js(false);
  10941. case 17:
  10942. // join
  10943. result = result0;
  10944. case 8:
  10945. // join
  10946. $async$handler = 2;
  10947. // goto after finally
  10948. $async$goto = 6;
  10949. break;
  10950. case 4:
  10951. // catch
  10952. $async$handler = 3;
  10953. $async$exception = $async$currentError;
  10954. t1 = A.unwrapException($async$exception);
  10955. if (t1 instanceof A.SassException) {
  10956. error = t1;
  10957. if (options.get$emitErrorCss())
  10958. if (destination == null)
  10959. A.print(error.toCssString$0());
  10960. else {
  10961. A.ensureDir($.$get$context().dirname$1(destination));
  10962. A.writeFile(destination, error.toCssString$0() + "\n");
  10963. }
  10964. throw $async$exception;
  10965. } else
  10966. throw $async$exception;
  10967. // goto after finally
  10968. $async$goto = 6;
  10969. break;
  10970. case 3:
  10971. // uncaught
  10972. // goto rethrow
  10973. $async$goto = 2;
  10974. break;
  10975. case 6:
  10976. // after finally
  10977. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  10978. if (destination == null) {
  10979. if (css.length !== 0)
  10980. A.print(css);
  10981. } else {
  10982. A.ensureDir($.$get$context().dirname$1(destination));
  10983. A.writeFile(destination, css + "\n");
  10984. }
  10985. t1 = options._options;
  10986. if (!A._asBool(t1.$index(0, "quiet")))
  10987. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  10988. else
  10989. t1 = true;
  10990. if (t1) {
  10991. // goto return
  10992. $async$goto = 1;
  10993. break;
  10994. }
  10995. buffer = new A.StringBuffer("");
  10996. if (source == null)
  10997. sourceName = "stdin";
  10998. else {
  10999. t1 = $.$get$context();
  11000. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11001. }
  11002. destination.toString;
  11003. t1 = $.$get$context();
  11004. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11005. nowStr = new A.DateTime(Date.now(), false).toString$0(0);
  11006. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11007. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  11008. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11009. if (options.get$color())
  11010. t1 = buffer._contents = t1 + "\x1b[32m";
  11011. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11012. buffer._contents = t1;
  11013. if (options.get$color())
  11014. buffer._contents = t1 + "\x1b[0m";
  11015. t1 = A.isNodeJs() ? self.process : null;
  11016. if (t1 != null) {
  11017. t1 = J.get$stdout$x(t1);
  11018. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11019. } else {
  11020. t1 = self.console;
  11021. J.log$1$x(t1, buffer);
  11022. }
  11023. case 1:
  11024. // return
  11025. return A._asyncReturn($async$returnValue, $async$completer);
  11026. case 2:
  11027. // rethrow
  11028. return A._asyncRethrow($async$currentError, $async$completer);
  11029. }
  11030. });
  11031. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11032. },
  11033. _writeSourceMap(options, sourceMap, destination) {
  11034. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11035. if (sourceMap == null)
  11036. return "";
  11037. if (destination != null) {
  11038. t1 = $.$get$context();
  11039. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11040. }
  11041. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11042. t1 = options._options;
  11043. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11044. if (A._asBool(t1.$index(0, "embed-source-map")))
  11045. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11046. else {
  11047. destination.toString;
  11048. sourceMapPath = destination + ".map";
  11049. t2 = $.$get$context();
  11050. A.ensureDir(t2.dirname$1(sourceMapPath));
  11051. A.writeFile(sourceMapPath, sourceMapText);
  11052. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11053. }
  11054. t2 = url.toString$0(0);
  11055. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11056. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11057. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11058. },
  11059. _tryDelete(path) {
  11060. var exception;
  11061. try {
  11062. A.deleteFile(path);
  11063. } catch (exception) {
  11064. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11065. throw exception;
  11066. }
  11067. },
  11068. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11069. 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);
  11070. },
  11071. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11072. this.options = t0;
  11073. this.destination = t1;
  11074. },
  11075. ExecutableOptions__separator(text) {
  11076. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11077. t2 = B.JSString_methods.$mul(t1, 3),
  11078. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11079. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11080. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11081. },
  11082. ExecutableOptions__fail(message) {
  11083. return A.throwExpression(A.UsageException$(message));
  11084. },
  11085. ExecutableOptions_ExecutableOptions$parse(args) {
  11086. var options, error, t1, t2, exception;
  11087. try {
  11088. t1 = $.$get$ExecutableOptions__parser();
  11089. t2 = A.ListQueue$(type$.String);
  11090. t2.addAll$1(0, args);
  11091. t2 = A.Parser$(null, t1, t2, null, null).parse$0();
  11092. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11093. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11094. options = new A.ExecutableOptions(t2);
  11095. if (A._asBool(options._options.$index(0, "help")))
  11096. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11097. return options;
  11098. } catch (exception) {
  11099. t1 = A.unwrapException(exception);
  11100. if (type$.FormatException._is(t1)) {
  11101. error = t1;
  11102. A.ExecutableOptions__fail(J.get$message$x(error));
  11103. } else
  11104. throw exception;
  11105. }
  11106. },
  11107. UsageException$(message) {
  11108. return new A.UsageException(message);
  11109. },
  11110. ExecutableOptions: function ExecutableOptions(t0) {
  11111. var _ = this;
  11112. _._options = t0;
  11113. _.__ExecutableOptions_interactive_FI = $;
  11114. _._sourcesToDestinations = null;
  11115. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11116. _._fatalDeprecations = null;
  11117. },
  11118. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11119. },
  11120. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11121. this.$this = t0;
  11122. },
  11123. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11124. },
  11125. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11126. this.$this = t0;
  11127. },
  11128. UsageException: function UsageException(t0) {
  11129. this.message = t0;
  11130. },
  11131. watch(options, graph) {
  11132. var $async$goto = 0,
  11133. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11134. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t0;
  11135. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11136. if ($async$errorCode === 1)
  11137. return A._asyncRethrow($async$result, $async$completer);
  11138. while (true)
  11139. switch ($async$goto) {
  11140. case 0:
  11141. // Function start
  11142. options._ensureSources$0();
  11143. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11144. t1 === $ && A.throwUnnamedLateFieldNI();
  11145. t2 = type$.String;
  11146. t1 = t1.cast$2$0(0, t2, t2);
  11147. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  11148. 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();) {
  11149. t4 = t3.get$current(t3);
  11150. t1.push($.$get$context().dirname$1(t4));
  11151. }
  11152. t3 = options._options;
  11153. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11154. t4 = A._asBool(t3.$index(0, "poll"));
  11155. t5 = type$.Stream_WatchEvent;
  11156. t6 = A.PathMap__create(null, t5);
  11157. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11158. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11159. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11160. $async$goto = 3;
  11161. 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);
  11162. case 3:
  11163. // returning from await.
  11164. options._ensureSources$0();
  11165. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11166. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11167. t2 = t1.get$current(t1);
  11168. t4 = $.$get$FilesystemImporter_cwd();
  11169. t5 = self.process;
  11170. if (t5 == null)
  11171. t5 = null;
  11172. else {
  11173. t5 = J.get$release$x(t5);
  11174. t5 = t5 == null ? null : J.get$name$x(t5);
  11175. }
  11176. t5 = J.$eq$(t5, "node") ? self.process : null;
  11177. if (!J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32")) {
  11178. t5 = self.process;
  11179. if (t5 == null)
  11180. t5 = null;
  11181. else {
  11182. t5 = J.get$release$x(t5);
  11183. t5 = t5 == null ? null : J.get$name$x(t5);
  11184. }
  11185. t5 = J.$eq$(t5, "node") ? self.process : null;
  11186. t5 = J.$eq$(t5 == null ? null : J.get$platform$x(t5), "darwin");
  11187. } else
  11188. t5 = true;
  11189. if (t5) {
  11190. t5 = $.$get$context();
  11191. t6 = A._realCasePath(t5.absolute$15(t5.normalize$1(t2), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  11192. t0 = t6;
  11193. t6 = t5;
  11194. t5 = t0;
  11195. } else {
  11196. t5 = $.$get$context();
  11197. t6 = t5.canonicalize$1(0, t2);
  11198. t0 = t6;
  11199. t6 = t5;
  11200. t5 = t0;
  11201. }
  11202. graph.addCanonical$4$recanonicalize(t4, t6.toUri$1(t5), t6.toUri$1(t2), false);
  11203. }
  11204. $async$goto = 4;
  11205. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11206. case 4:
  11207. // returning from await.
  11208. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11209. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11210. t1 === $ && A.throwUnnamedLateFieldNI();
  11211. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11212. // goto return
  11213. $async$goto = 1;
  11214. break;
  11215. }
  11216. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11217. $async$goto = 5;
  11218. return A._asyncAwait(new A._Watcher(options, graph).watch$1(0, dirWatcher), $async$watch);
  11219. case 5:
  11220. // returning from await.
  11221. case 1:
  11222. // return
  11223. return A._asyncReturn($async$returnValue, $async$completer);
  11224. }
  11225. });
  11226. return A._asyncStartSync($async$watch, $async$completer);
  11227. },
  11228. watch_closure: function watch_closure(t0) {
  11229. this.dirWatcher = t0;
  11230. },
  11231. _Watcher: function _Watcher(t0, t1) {
  11232. this._watch$_options = t0;
  11233. this._graph = t1;
  11234. },
  11235. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11236. },
  11237. EmptyExtensionStore: function EmptyExtensionStore() {
  11238. },
  11239. Extension: function Extension(t0, t1, t2, t3, t4) {
  11240. var _ = this;
  11241. _.extender = t0;
  11242. _.target = t1;
  11243. _.mediaContext = t2;
  11244. _.isOptional = t3;
  11245. _.span = t4;
  11246. },
  11247. Extender: function Extender(t0, t1) {
  11248. this.selector = t0;
  11249. this.isOriginal = t1;
  11250. this._extension = null;
  11251. },
  11252. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11253. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11254. extender = A.ExtensionStore$_mode(mode);
  11255. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11256. extender._originals.addAll$1(0, selector.components);
  11257. 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) {
  11258. complex = t1[_i];
  11259. compound = complex.get$singleCompound();
  11260. if (compound == null)
  11261. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  11262. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11263. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11264. simple = t10[_i0];
  11265. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11266. for (_i1 = 0; _i1 < t4; ++_i1) {
  11267. complex = t3[_i1];
  11268. complex.get$specificity();
  11269. t13 = new A.Extender(complex, false);
  11270. t14 = new A.Extension(t13, simple, null, true, span);
  11271. t13._extension = t14;
  11272. t12.$indexSet(0, complex, t14);
  11273. }
  11274. t9.$indexSet(0, simple, t12);
  11275. }
  11276. selector = extender._extendList$2(selector, t9);
  11277. }
  11278. return selector;
  11279. },
  11280. ExtensionStore$() {
  11281. var t1 = type$.SimpleSelector;
  11282. 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);
  11283. },
  11284. ExtensionStore$_mode(_mode) {
  11285. var t1 = type$.SimpleSelector;
  11286. 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);
  11287. },
  11288. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11289. var _ = this;
  11290. _._selectors = t0;
  11291. _._extensions = t1;
  11292. _._extensionsByExtender = t2;
  11293. _._mediaContexts = t3;
  11294. _._sourceSpecificity = t4;
  11295. _._originals = t5;
  11296. _._mode = t6;
  11297. },
  11298. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11299. },
  11300. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11301. },
  11302. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11303. },
  11304. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11305. },
  11306. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11307. this.complex = t0;
  11308. },
  11309. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11310. },
  11311. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11312. },
  11313. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11314. },
  11315. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11316. this._box_0 = t0;
  11317. this.$this = t1;
  11318. this.complex = t2;
  11319. },
  11320. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11321. this._box_0 = t0;
  11322. this.$this = t1;
  11323. this.complex = t2;
  11324. },
  11325. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11326. },
  11327. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11328. },
  11329. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11330. this.original = t0;
  11331. },
  11332. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11333. this.$this = t0;
  11334. this.extensions = t1;
  11335. this.targetsUsed = t2;
  11336. },
  11337. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11338. this.$this = t0;
  11339. this.withoutPseudo = t1;
  11340. },
  11341. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11342. },
  11343. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11344. },
  11345. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11346. },
  11347. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11348. },
  11349. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11350. this.pseudo = t0;
  11351. },
  11352. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11353. this.pseudo = t0;
  11354. this.selector = t1;
  11355. },
  11356. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11357. this._box_0 = t0;
  11358. this.complex1 = t1;
  11359. },
  11360. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11361. this._box_0 = t0;
  11362. this.complex1 = t1;
  11363. },
  11364. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11365. var _ = this;
  11366. _.$this = t0;
  11367. _.newSelectors = t1;
  11368. _.oldToNewSelectors = t2;
  11369. _.newMediaContexts = t3;
  11370. },
  11371. unifyComplex(complexes, span) {
  11372. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6, t5, _0_6_isSet, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  11373. t1 = J.getInterceptor$asx(complexes);
  11374. if (t1.get$length(complexes) === 1)
  11375. return complexes;
  11376. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11377. t3 = t2.get$current(t2);
  11378. if (t3.accept$1(B.C__IsUselessVisitor))
  11379. return _null;
  11380. t4 = t3.components;
  11381. if (t4.length === 1) {
  11382. _0_6 = t3.leadingCombinators;
  11383. t5 = _0_6.length === 1;
  11384. _0_6_isSet = true;
  11385. } else {
  11386. _0_6 = _null;
  11387. _0_6_isSet = false;
  11388. t5 = false;
  11389. }
  11390. if (t5) {
  11391. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11392. if (leadingCombinator == null)
  11393. leadingCombinator = newLeadingCombinator;
  11394. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11395. return _null;
  11396. }
  11397. base = B.JSArray_methods.get$last(t4);
  11398. _1_1 = base.combinators;
  11399. if (_1_1.length === 1) {
  11400. newTrailingCombinator = _1_1[0];
  11401. if (trailingCombinator != null)
  11402. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11403. else
  11404. t3 = false;
  11405. if (t3)
  11406. return _null;
  11407. trailingCombinator = newTrailingCombinator;
  11408. }
  11409. if (unifiedBase == null)
  11410. unifiedBase = base.selector.components;
  11411. else
  11412. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  11413. unifiedBase = t3[_i].unify$1(unifiedBase);
  11414. if (unifiedBase == null)
  11415. return _null;
  11416. }
  11417. }
  11418. t2 = type$.JSArray_ComplexSelector;
  11419. t3 = A._setArrayType([], t2);
  11420. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11421. t5 = t4.get$current(t4);
  11422. t6 = t5.components;
  11423. t7 = t6.length;
  11424. if (t7 > 1) {
  11425. t8 = t5.leadingCombinators;
  11426. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11427. }
  11428. }
  11429. t4 = leadingCombinator == null ? B.List_empty1 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11430. unifiedBase.toString;
  11431. t5 = A.CompoundSelector$(unifiedBase, span);
  11432. t6 = trailingCombinator == null ? B.List_empty1 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11433. 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_closure()));
  11434. if (t3.length === 0)
  11435. t1 = A._setArrayType([base], t2);
  11436. else {
  11437. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  11438. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11439. }
  11440. return A.weave(t1, span, false);
  11441. },
  11442. unifyCompound(compound1, compound2) {
  11443. var t1, t2, _i, unified,
  11444. result = compound2.components;
  11445. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  11446. unified = t1[_i].unify$1(result);
  11447. if (unified == null)
  11448. return null;
  11449. }
  11450. return A.CompoundSelector$(result, compound1.span);
  11451. },
  11452. unifyUniversalAndElement(selector1, selector2) {
  11453. var namespace, $name, t1,
  11454. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11455. namespace1 = _0_0._0,
  11456. name1 = _0_0._1,
  11457. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11458. namespace2 = _1_0._0,
  11459. name2 = _1_0._1;
  11460. if (namespace1 == namespace2 || namespace2 === "*")
  11461. namespace = namespace1;
  11462. else {
  11463. if (namespace1 !== "*")
  11464. return null;
  11465. namespace = namespace2;
  11466. }
  11467. if (name1 == name2 || name2 == null)
  11468. $name = name1;
  11469. else {
  11470. if (!(name1 == null || name1 === "*"))
  11471. return null;
  11472. $name = name2;
  11473. }
  11474. t1 = selector1.span;
  11475. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11476. },
  11477. _namespaceAndName(selector, $name) {
  11478. var t1, _0_4;
  11479. $label0$0: {
  11480. if (selector instanceof A.UniversalSelector) {
  11481. t1 = new A._Record_2(selector.namespace, null);
  11482. break $label0$0;
  11483. }
  11484. if (selector instanceof A.TypeSelector) {
  11485. _0_4 = selector.name;
  11486. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11487. break $label0$0;
  11488. }
  11489. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11490. }
  11491. return t1;
  11492. },
  11493. weave(complexes, span, forceLineBreak) {
  11494. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11495. t1 = J.getInterceptor$asx(complexes);
  11496. if (t1.get$length(complexes) === 1) {
  11497. complex = t1.$index(complexes, 0);
  11498. if (!forceLineBreak || complex.lineBreak)
  11499. return complexes;
  11500. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11501. }
  11502. t2 = type$.JSArray_ComplexSelector;
  11503. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11504. for (t1 = t1.skip$1(complexes, 1), t3 = A._instanceType(t1), t1 = new A.ListIterator(t1, t1.get$length(t1), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  11505. t5 = t1.__internal$_current;
  11506. if (t5 == null)
  11507. t5 = t3._as(t5);
  11508. t6 = t5.components;
  11509. if (t6.length === 1) {
  11510. for (i = 0; i < prefixes.length; ++i)
  11511. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11512. continue;
  11513. }
  11514. t7 = A._setArrayType([], t2);
  11515. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11516. t9 = A._weaveParents(prefixes[_i], t5, span);
  11517. if (t9 == null)
  11518. t9 = B.List_empty2;
  11519. t10 = t9.length;
  11520. _i0 = 0;
  11521. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11522. parentPrefix = t9[_i0];
  11523. t11 = B.JSArray_methods.get$last(t6);
  11524. t12 = A.List_List$of(parentPrefix.components, true, t4);
  11525. t12.push(t11);
  11526. t11 = parentPrefix.lineBreak || forceLineBreak;
  11527. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11528. }
  11529. }
  11530. prefixes = t7;
  11531. }
  11532. return prefixes;
  11533. },
  11534. _weaveParents(prefix, base, span) {
  11535. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, rootish1, rootish2, _0_30, t2, _0_3_isSet, rootish, t3, rootish_case_0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11536. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11537. if (leadingCombinators == null)
  11538. return _null;
  11539. t1 = type$.ComplexSelectorComponent;
  11540. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11541. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11542. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11543. if (trailingCombinators == null)
  11544. return _null;
  11545. $label0$0: {
  11546. _0_1 = A._firstIfRootish(queue1);
  11547. _0_3 = A._firstIfRootish(queue2);
  11548. if (_0_1 != null) {
  11549. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11550. if (_0_3 != null) {
  11551. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11552. _0_30 = _0_3;
  11553. t2 = true;
  11554. } else {
  11555. rootish2 = _null;
  11556. _0_30 = _0_3;
  11557. t2 = false;
  11558. }
  11559. _0_3_isSet = true;
  11560. } else {
  11561. rootish2 = _null;
  11562. rootish1 = rootish2;
  11563. _0_30 = rootish1;
  11564. _0_3_isSet = false;
  11565. t2 = false;
  11566. }
  11567. if (t2) {
  11568. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11569. if (rootish == null)
  11570. return _null;
  11571. t1 = rootish1.combinators;
  11572. t2 = rootish1.span;
  11573. t3 = type$.CssValue_Combinator;
  11574. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11575. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11576. break $label0$0;
  11577. }
  11578. if (_0_1 != null) {
  11579. rootish_case_0 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11580. if (_0_3_isSet)
  11581. t2 = _0_30;
  11582. else {
  11583. t2 = _0_3;
  11584. _0_30 = t2;
  11585. _0_3_isSet = true;
  11586. }
  11587. if (t2 == null) {
  11588. t2 = rootish_case_0;
  11589. t3 = true;
  11590. } else {
  11591. t2 = _null;
  11592. t3 = false;
  11593. }
  11594. } else {
  11595. t2 = _null;
  11596. t3 = false;
  11597. }
  11598. if (!t3)
  11599. if (_0_1 == null) {
  11600. if (_0_3_isSet)
  11601. t3 = _0_30;
  11602. else {
  11603. t3 = _0_3;
  11604. _0_30 = t3;
  11605. _0_3_isSet = true;
  11606. }
  11607. if (t3 != null) {
  11608. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11609. if (rootish_case_1 == null)
  11610. rootish_case_1 = t1._as(rootish_case_1);
  11611. t1 = rootish_case_1;
  11612. t2 = true;
  11613. } else {
  11614. t1 = t2;
  11615. t2 = false;
  11616. }
  11617. } else {
  11618. t1 = t2;
  11619. t2 = false;
  11620. }
  11621. else {
  11622. t1 = t2;
  11623. t2 = true;
  11624. }
  11625. if (t2) {
  11626. queue1.addFirst$1(t1);
  11627. queue2.addFirst$1(t1);
  11628. }
  11629. }
  11630. groups1 = A._groupSelectors(queue1);
  11631. groups2 = A._groupSelectors(queue2);
  11632. t1 = type$.List_ComplexSelectorComponent;
  11633. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11634. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11635. 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) {
  11636. group = lcs[_i];
  11637. t5 = A._setArrayType([], t3);
  11638. for (t6 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  11639. chunk = t6[_i0];
  11640. t8 = A._setArrayType([], t4);
  11641. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11642. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11643. t5.push(t8);
  11644. }
  11645. choices.push(t5);
  11646. choices.push(A._setArrayType([group], t3));
  11647. groups1.removeFirst$0();
  11648. groups2.removeFirst$0();
  11649. }
  11650. t2 = A._setArrayType([], t3);
  11651. for (t1 = A._chunks(groups1, groups2, new A._weaveParents_closure1(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  11652. chunk = t1[_i];
  11653. t5 = A._setArrayType([], t4);
  11654. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11655. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11656. t2.push(t5);
  11657. }
  11658. choices.push(t2);
  11659. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11660. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11661. for (t2 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure2(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  11662. t6 = t2.get$current(t2);
  11663. t7 = A._setArrayType([], t4);
  11664. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11665. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11666. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11667. }
  11668. return t1;
  11669. },
  11670. _firstIfRootish(queue) {
  11671. var first, t1, t2, _i, simple, t3;
  11672. if (queue.get$length(0) >= 1) {
  11673. first = queue.$index(0, 0);
  11674. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11675. simple = t1[_i];
  11676. if (simple instanceof A.PseudoSelector)
  11677. if (simple.isClass)
  11678. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11679. else
  11680. t3 = false;
  11681. else
  11682. t3 = false;
  11683. if (t3) {
  11684. queue.removeFirst$0();
  11685. return first;
  11686. }
  11687. }
  11688. }
  11689. return null;
  11690. },
  11691. _mergeLeadingCombinators(combinators1, combinators2) {
  11692. var _0_4, _0_4_isSet, t1, _0_7, t2, _0_1, _0_7_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  11693. $label0$0: {
  11694. _0_4 = combinators2;
  11695. _0_4_isSet = true;
  11696. t1 = false;
  11697. if (t1) {
  11698. t1 = _null;
  11699. break $label0$0;
  11700. }
  11701. t1 = type$.List_CssValue_Combinator;
  11702. if (t1._is(combinators1)) {
  11703. _0_7 = combinators1.length;
  11704. t2 = _0_7;
  11705. _0_1 = combinators1;
  11706. t2 = t2 > 1;
  11707. _0_7_isSet = true;
  11708. } else {
  11709. _0_7 = _null;
  11710. _0_1 = combinators1;
  11711. _0_7_isSet = false;
  11712. t2 = false;
  11713. }
  11714. if (!t2) {
  11715. if (_0_4_isSet)
  11716. t2 = _0_4;
  11717. else {
  11718. t2 = combinators2;
  11719. _0_4 = t2;
  11720. _0_4_isSet = true;
  11721. }
  11722. if (t1._is(t2)) {
  11723. if (_0_4_isSet)
  11724. t2 = _0_4;
  11725. else {
  11726. t2 = combinators2;
  11727. _0_4 = t2;
  11728. _0_4_isSet = true;
  11729. }
  11730. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  11731. t2 = _0_11;
  11732. t2 = t2 > 1;
  11733. _0_11_isSet = true;
  11734. } else {
  11735. _0_11 = _null;
  11736. _0_11_isSet = false;
  11737. t2 = false;
  11738. }
  11739. } else {
  11740. _0_11 = _null;
  11741. _0_11_isSet = false;
  11742. t2 = true;
  11743. }
  11744. if (t2) {
  11745. t1 = _null;
  11746. break $label0$0;
  11747. }
  11748. if (t1._is(_0_1)) {
  11749. if (_0_7_isSet)
  11750. t2 = _0_7;
  11751. else {
  11752. _0_7 = _0_1.length;
  11753. t2 = _0_7;
  11754. }
  11755. if (t2 <= 0) {
  11756. if (_0_4_isSet)
  11757. combinators = _0_4;
  11758. else {
  11759. combinators = combinators2;
  11760. _0_4 = combinators;
  11761. _0_4_isSet = true;
  11762. }
  11763. t2 = true;
  11764. } else {
  11765. combinators = _null;
  11766. t2 = false;
  11767. }
  11768. } else {
  11769. combinators = _null;
  11770. t2 = false;
  11771. }
  11772. if (!t2) {
  11773. if (_0_4_isSet)
  11774. t2 = _0_4;
  11775. else {
  11776. t2 = combinators2;
  11777. _0_4 = t2;
  11778. _0_4_isSet = true;
  11779. }
  11780. if (t1._is(t2)) {
  11781. if (_0_11_isSet)
  11782. t1 = _0_11;
  11783. else {
  11784. t2 = _0_4_isSet ? _0_4 : combinators2;
  11785. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  11786. t1 = _0_11;
  11787. }
  11788. t1 = t1 <= 0;
  11789. } else
  11790. t1 = false;
  11791. combinators = _0_1;
  11792. } else
  11793. t1 = true;
  11794. if (t1) {
  11795. t1 = combinators;
  11796. break $label0$0;
  11797. }
  11798. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11799. break $label0$0;
  11800. }
  11801. return t1;
  11802. },
  11803. _mergeTrailingCombinators(components1, components2, span, result) {
  11804. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4, _4_5, _4_5_isSet, _4_4_isSet, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, nextComponents, followingComponents, _4_6_isSet, _4_7_isSet, _4_9_isSet, _4_10, _4_1_isSet, _4_10_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, combinator2, unified, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  11805. if (result == null)
  11806. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11807. $label0$0: {
  11808. _0_1 = components1.get$length(0);
  11809. if (_0_1 >= 1) {
  11810. t1 = components1.$index(0, _0_1 - 1).combinators;
  11811. break $label0$0;
  11812. }
  11813. t1 = B.List_empty1;
  11814. break $label0$0;
  11815. }
  11816. $label1$1: {
  11817. _1_1 = components2.get$length(0);
  11818. if (_1_1 >= 1) {
  11819. t2 = components2.$index(0, _1_1 - 1).combinators;
  11820. break $label1$1;
  11821. }
  11822. t2 = B.List_empty1;
  11823. break $label1$1;
  11824. }
  11825. t3 = t1.length;
  11826. if (t3 === 0 && t2.length === 0)
  11827. return result;
  11828. if (t3 > 1 || t2.length > 1)
  11829. return _null;
  11830. $label2$2: {
  11831. t3 = A.IterableExtension_get_firstOrNull(t1);
  11832. t3 = t3 == null ? _null : t3.value;
  11833. t2 = A.IterableExtension_get_firstOrNull(t2);
  11834. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11835. _4_1 = t2[0];
  11836. _4_3 = B.Combinator_Htt === _4_1;
  11837. t3 = _4_3;
  11838. if (t3) {
  11839. _4_4 = t2[1];
  11840. _4_5 = B.Combinator_Htt === _4_4;
  11841. t3 = _4_5;
  11842. _4_5_isSet = true;
  11843. _4_4_isSet = true;
  11844. } else {
  11845. _4_4 = _null;
  11846. _4_5 = _4_4;
  11847. _4_5_isSet = false;
  11848. _4_4_isSet = false;
  11849. t3 = false;
  11850. }
  11851. if (t3) {
  11852. component1 = components1.removeLast$0(0);
  11853. component2 = components2.removeLast$0(0);
  11854. t2 = component1.selector;
  11855. t3 = component2.selector;
  11856. if (A.compoundIsSuperselector(t2, t3, _null))
  11857. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11858. else {
  11859. t4 = type$.JSArray_ComplexSelectorComponent;
  11860. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11861. if (A.compoundIsSuperselector(t3, t2, _null))
  11862. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11863. else {
  11864. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11865. _2_0 = A.unifyCompound(t2, t3);
  11866. if (_2_0 != null)
  11867. choices.push(A._setArrayType([new A.ComplexSelectorComponent(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t4));
  11868. result.addFirst$1(choices);
  11869. }
  11870. }
  11871. break $label2$2;
  11872. }
  11873. if (_4_3) {
  11874. if (_4_4_isSet)
  11875. t3 = _4_4;
  11876. else {
  11877. _4_4 = t2[1];
  11878. t3 = _4_4;
  11879. _4_4_isSet = true;
  11880. }
  11881. _4_9 = B.Combinator_4QF === t3;
  11882. t3 = _4_9;
  11883. if (t3) {
  11884. _4_6 = t2[2];
  11885. _4_7 = t2[3];
  11886. nextComponents = _4_7;
  11887. followingComponents = _4_6;
  11888. _4_6_isSet = true;
  11889. _4_7_isSet = true;
  11890. t3 = true;
  11891. } else {
  11892. nextComponents = _null;
  11893. followingComponents = nextComponents;
  11894. _4_7 = followingComponents;
  11895. _4_6 = _4_7;
  11896. _4_6_isSet = false;
  11897. _4_7_isSet = false;
  11898. t3 = false;
  11899. }
  11900. _4_9_isSet = true;
  11901. } else {
  11902. nextComponents = _null;
  11903. followingComponents = nextComponents;
  11904. _4_7 = followingComponents;
  11905. _4_6 = _4_7;
  11906. _4_9 = _4_6;
  11907. _4_9_isSet = false;
  11908. _4_6_isSet = false;
  11909. _4_7_isSet = false;
  11910. t3 = false;
  11911. }
  11912. if (!t3) {
  11913. _4_10 = B.Combinator_4QF === _4_1;
  11914. t3 = _4_10;
  11915. _4_1_isSet = true;
  11916. if (t3) {
  11917. if (_4_5_isSet)
  11918. t3 = _4_5;
  11919. else {
  11920. if (_4_4_isSet)
  11921. t3 = _4_4;
  11922. else {
  11923. _4_4 = t2[1];
  11924. t3 = _4_4;
  11925. _4_4_isSet = true;
  11926. }
  11927. _4_5 = B.Combinator_Htt === t3;
  11928. t3 = _4_5;
  11929. _4_5_isSet = true;
  11930. }
  11931. if (t3) {
  11932. if (_4_6_isSet)
  11933. nextComponents = _4_6;
  11934. else {
  11935. _4_6 = t2[2];
  11936. nextComponents = _4_6;
  11937. _4_6_isSet = true;
  11938. }
  11939. if (_4_7_isSet)
  11940. followingComponents = _4_7;
  11941. else {
  11942. _4_7 = t2[3];
  11943. followingComponents = _4_7;
  11944. _4_7_isSet = true;
  11945. }
  11946. t3 = true;
  11947. } else
  11948. t3 = false;
  11949. } else
  11950. t3 = false;
  11951. _4_10_isSet = true;
  11952. } else {
  11953. _4_10 = _null;
  11954. _4_1_isSet = true;
  11955. _4_10_isSet = false;
  11956. t3 = true;
  11957. }
  11958. if (t3) {
  11959. next = nextComponents.removeLast$0(0);
  11960. following = followingComponents.removeLast$0(0);
  11961. t1 = following.selector;
  11962. t2 = next.selector;
  11963. t3 = type$.JSArray_ComplexSelectorComponent;
  11964. t4 = type$.JSArray_List_ComplexSelectorComponent;
  11965. if (A.compoundIsSuperselector(t1, t2, _null))
  11966. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  11967. else {
  11968. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  11969. _3_0 = A.unifyCompound(t1, t2);
  11970. if (_3_0 != null)
  11971. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  11972. result.addFirst$1(t4);
  11973. }
  11974. break $label2$2;
  11975. }
  11976. if (_4_1_isSet)
  11977. t3 = _4_1;
  11978. else {
  11979. _4_1 = t2[0];
  11980. t3 = _4_1;
  11981. _4_1_isSet = true;
  11982. }
  11983. if (B.Combinator_Cht === t3) {
  11984. if (_4_9_isSet)
  11985. t3 = _4_9;
  11986. else {
  11987. if (_4_4_isSet)
  11988. t3 = _4_4;
  11989. else {
  11990. _4_4 = t2[1];
  11991. t3 = _4_4;
  11992. _4_4_isSet = true;
  11993. }
  11994. _4_9 = B.Combinator_4QF === t3;
  11995. t3 = _4_9;
  11996. }
  11997. if (!t3)
  11998. if (_4_5_isSet)
  11999. t3 = _4_5;
  12000. else {
  12001. if (_4_4_isSet)
  12002. t3 = _4_4;
  12003. else {
  12004. _4_4 = t2[1];
  12005. t3 = _4_4;
  12006. _4_4_isSet = true;
  12007. }
  12008. _4_5 = B.Combinator_Htt === t3;
  12009. t3 = _4_5;
  12010. }
  12011. else
  12012. t3 = true;
  12013. if (t3) {
  12014. if (_4_7_isSet)
  12015. siblingComponents_case_0 = _4_7;
  12016. else {
  12017. _4_7 = t2[3];
  12018. siblingComponents_case_0 = _4_7;
  12019. _4_7_isSet = true;
  12020. }
  12021. t3 = siblingComponents_case_0;
  12022. t4 = true;
  12023. } else {
  12024. t3 = _null;
  12025. t4 = false;
  12026. }
  12027. } else {
  12028. t3 = _null;
  12029. t4 = false;
  12030. }
  12031. if (!t4) {
  12032. if (_4_10_isSet)
  12033. t4 = _4_10;
  12034. else {
  12035. if (_4_1_isSet)
  12036. t4 = _4_1;
  12037. else {
  12038. _4_1 = t2[0];
  12039. t4 = _4_1;
  12040. _4_1_isSet = true;
  12041. }
  12042. _4_10 = B.Combinator_4QF === t4;
  12043. t4 = _4_10;
  12044. }
  12045. if (!t4)
  12046. t4 = _4_3;
  12047. else
  12048. t4 = true;
  12049. if (t4) {
  12050. if (_4_4_isSet)
  12051. t4 = _4_4;
  12052. else {
  12053. _4_4 = t2[1];
  12054. t4 = _4_4;
  12055. _4_4_isSet = true;
  12056. }
  12057. if (B.Combinator_Cht === t4) {
  12058. if (_4_6_isSet)
  12059. siblingComponents_case_1 = _4_6;
  12060. else {
  12061. _4_6 = t2[2];
  12062. siblingComponents_case_1 = _4_6;
  12063. _4_6_isSet = true;
  12064. }
  12065. t3 = siblingComponents_case_1;
  12066. t4 = true;
  12067. } else
  12068. t4 = false;
  12069. } else
  12070. t4 = false;
  12071. } else
  12072. t4 = true;
  12073. if (t4) {
  12074. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12075. break $label2$2;
  12076. }
  12077. if (_4_1_isSet)
  12078. t3 = _4_1;
  12079. else {
  12080. _4_1 = t2[0];
  12081. t3 = _4_1;
  12082. _4_1_isSet = true;
  12083. }
  12084. if (t3 != null) {
  12085. if (_4_1_isSet)
  12086. combinator1 = _4_1;
  12087. else {
  12088. _4_1 = t2[0];
  12089. combinator1 = _4_1;
  12090. _4_1_isSet = true;
  12091. }
  12092. if (combinator1 == null)
  12093. combinator1 = type$.Combinator._as(combinator1);
  12094. if (_4_4_isSet)
  12095. t3 = _4_4;
  12096. else {
  12097. _4_4 = t2[1];
  12098. t3 = _4_4;
  12099. _4_4_isSet = true;
  12100. }
  12101. if (t3 != null) {
  12102. if (_4_4_isSet)
  12103. combinator2 = _4_4;
  12104. else {
  12105. _4_4 = t2[1];
  12106. combinator2 = _4_4;
  12107. _4_4_isSet = true;
  12108. }
  12109. t3 = combinator1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12110. } else
  12111. t3 = false;
  12112. } else
  12113. t3 = false;
  12114. if (t3) {
  12115. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12116. if (unified == null)
  12117. return _null;
  12118. 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));
  12119. break $label2$2;
  12120. }
  12121. if (_4_1_isSet)
  12122. t1 = _4_1;
  12123. else {
  12124. _4_1 = t2[0];
  12125. t1 = _4_1;
  12126. _4_1_isSet = true;
  12127. }
  12128. if (t1 != null) {
  12129. if (_4_1_isSet)
  12130. combinator_case_0 = _4_1;
  12131. else {
  12132. _4_1 = t2[0];
  12133. combinator_case_0 = _4_1;
  12134. _4_1_isSet = true;
  12135. }
  12136. if (combinator_case_0 == null)
  12137. combinator_case_0 = type$.Combinator._as(combinator_case_0);
  12138. if (_4_4_isSet)
  12139. t1 = _4_4;
  12140. else {
  12141. _4_4 = t2[1];
  12142. t1 = _4_4;
  12143. _4_4_isSet = true;
  12144. }
  12145. if (t1 == null) {
  12146. if (_4_6_isSet)
  12147. combinatorComponents_case_0 = _4_6;
  12148. else {
  12149. _4_6 = t2[2];
  12150. combinatorComponents_case_0 = _4_6;
  12151. _4_6_isSet = true;
  12152. }
  12153. if (_4_7_isSet)
  12154. descendantComponents_case_0 = _4_7;
  12155. else {
  12156. _4_7 = t2[3];
  12157. descendantComponents_case_0 = _4_7;
  12158. _4_7_isSet = true;
  12159. }
  12160. t1 = descendantComponents_case_0;
  12161. t3 = true;
  12162. t5 = t3;
  12163. t3 = combinatorComponents_case_0;
  12164. t4 = t1;
  12165. t1 = combinator_case_0;
  12166. } else {
  12167. t4 = _null;
  12168. t3 = t4;
  12169. t1 = t3;
  12170. t5 = false;
  12171. }
  12172. } else {
  12173. t4 = _null;
  12174. t3 = t4;
  12175. t1 = t3;
  12176. t5 = false;
  12177. }
  12178. if (!t5)
  12179. if ((_4_1_isSet ? _4_1 : t2[0]) == null) {
  12180. if (_4_4_isSet)
  12181. t5 = _4_4;
  12182. else {
  12183. _4_4 = t2[1];
  12184. t5 = _4_4;
  12185. _4_4_isSet = true;
  12186. }
  12187. if (t5 != null) {
  12188. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12189. if (combinator_case_1 == null)
  12190. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12191. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12192. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12193. t1 = combinatorComponents_case_1;
  12194. t2 = true;
  12195. t3 = t2;
  12196. t2 = descendantComponents_case_1;
  12197. t4 = t3;
  12198. t3 = t2;
  12199. t2 = t1;
  12200. t1 = combinator_case_1;
  12201. } else {
  12202. t2 = t3;
  12203. t3 = t4;
  12204. t4 = false;
  12205. }
  12206. } else {
  12207. t2 = t3;
  12208. t3 = t4;
  12209. t4 = false;
  12210. }
  12211. else {
  12212. t2 = t3;
  12213. t3 = t4;
  12214. t4 = true;
  12215. }
  12216. if (t4) {
  12217. if (t1 === B.Combinator_Cht) {
  12218. t1 = A.IterableExtension_get_lastOrNull(t3);
  12219. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12220. t1 = t1 === true;
  12221. } else
  12222. t1 = false;
  12223. if (t1)
  12224. t3.removeLast$0(0);
  12225. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12226. break $label2$2;
  12227. }
  12228. return _null;
  12229. }
  12230. return A._mergeTrailingCombinators(components1, components2, span, result);
  12231. },
  12232. _mustUnify(complex1, complex2) {
  12233. var t2, t3, t4,
  12234. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12235. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12236. 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();)
  12237. t1.add$1(0, t3.get$current(0));
  12238. if (t1._collection$_length === 0)
  12239. return false;
  12240. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12241. },
  12242. _isUnique(simple) {
  12243. var t1;
  12244. if (!(simple instanceof A.IDSelector))
  12245. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12246. else
  12247. t1 = true;
  12248. return t1;
  12249. },
  12250. _chunks(queue1, queue2, done, $T) {
  12251. var chunk2, _0_4, _0_1, _0_7, _0_5, _0_7_isSet, _0_5_isSet, chunk, t2, _null = null,
  12252. t1 = $T._eval$1("JSArray<0>"),
  12253. chunk1 = A._setArrayType([], t1);
  12254. for (; !done.call$1(queue1);)
  12255. chunk1.push(queue1.removeFirst$0());
  12256. chunk2 = A._setArrayType([], t1);
  12257. for (; !done.call$1(queue2);)
  12258. chunk2.push(queue2.removeFirst$0());
  12259. $label0$0: {
  12260. _0_4 = chunk1.length <= 0;
  12261. t1 = _0_4;
  12262. _0_1 = chunk1;
  12263. if (t1) {
  12264. _0_7 = chunk2.length <= 0;
  12265. t1 = _0_7;
  12266. _0_5 = chunk2;
  12267. _0_7_isSet = true;
  12268. _0_5_isSet = true;
  12269. } else {
  12270. _0_5 = _null;
  12271. _0_7 = _0_5;
  12272. _0_7_isSet = false;
  12273. _0_5_isSet = false;
  12274. t1 = false;
  12275. }
  12276. if (t1) {
  12277. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12278. break $label0$0;
  12279. }
  12280. if (_0_4) {
  12281. if (_0_5_isSet)
  12282. chunk = _0_5;
  12283. else {
  12284. chunk = chunk2;
  12285. _0_5 = chunk;
  12286. _0_5_isSet = true;
  12287. }
  12288. t1 = true;
  12289. } else {
  12290. chunk = _null;
  12291. t1 = false;
  12292. }
  12293. if (!t1) {
  12294. chunk = _0_1;
  12295. if (_0_7_isSet)
  12296. t1 = _0_7;
  12297. else {
  12298. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  12299. t1 = _0_7;
  12300. }
  12301. } else
  12302. t1 = true;
  12303. if (t1) {
  12304. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12305. break $label0$0;
  12306. }
  12307. t1 = A.List_List$of(chunk1, true, $T);
  12308. B.JSArray_methods.addAll$1(t1, chunk2);
  12309. t2 = A.List_List$of(chunk2, true, $T);
  12310. B.JSArray_methods.addAll$1(t2, chunk1);
  12311. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12312. t1 = t2;
  12313. break $label0$0;
  12314. }
  12315. return t1;
  12316. },
  12317. paths(choices, $T) {
  12318. 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));
  12319. },
  12320. _groupSelectors(complex) {
  12321. var t2, t3, t4,
  12322. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12323. t1 = type$.JSArray_ComplexSelectorComponent,
  12324. group = A._setArrayType([], t1);
  12325. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  12326. t4 = t3.__internal$_current;
  12327. if (t4 == null)
  12328. t4 = t2._as(t4);
  12329. group.push(t4);
  12330. if (t4.combinators.length === 0) {
  12331. groups._queue_list$_add$1(group);
  12332. group = A._setArrayType([], t1);
  12333. }
  12334. }
  12335. if (group.length !== 0)
  12336. groups._queue_list$_add$1(group);
  12337. return groups;
  12338. },
  12339. listIsSuperselector(list1, list2) {
  12340. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12341. },
  12342. _complexIsParentSuperselector(complex1, complex2) {
  12343. var t1, base, t2;
  12344. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12345. return false;
  12346. t1 = $.$get$bogusSpan();
  12347. 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);
  12348. t1 = type$.ComplexSelectorComponent;
  12349. t2 = A.List_List$of(complex1, true, t1);
  12350. t2.push(base);
  12351. t1 = A.List_List$of(complex2, true, t1);
  12352. t1.push(base);
  12353. return A.complexIsSuperselector(t2, t1);
  12354. },
  12355. complexIsSuperselector(complex1, complex2) {
  12356. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  12357. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12358. return false;
  12359. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12360. return false;
  12361. 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) {
  12362. remaining1 = complex1.length - i1;
  12363. t4 = complex2.length;
  12364. remaining2 = t4 - i2;
  12365. if (remaining1 === 0 || remaining2 === 0)
  12366. return false;
  12367. if (remaining1 > remaining2)
  12368. return false;
  12369. component1 = complex1[i1];
  12370. t5 = component1.combinators;
  12371. if (t5.length > 1)
  12372. return false;
  12373. if (remaining1 === 1) {
  12374. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  12375. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  12376. return false;
  12377. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  12378. }
  12379. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  12380. component2 = complex2[endOfSubselector];
  12381. if (component2.combinators.length > 1)
  12382. return false;
  12383. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  12384. break;
  12385. ++endOfSubselector;
  12386. if (endOfSubselector === complex2.length - 1)
  12387. return false;
  12388. if (parents == null)
  12389. parents = A._setArrayType([], t1);
  12390. parents.push(component2);
  12391. }
  12392. if (!A._compatibleWithPreviousCombinator(previousCombinator, parents == null ? B.List_empty0 : parents))
  12393. return false;
  12394. component2 = complex2[endOfSubselector];
  12395. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  12396. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12397. return false;
  12398. ++i1;
  12399. i2 = endOfSubselector + 1;
  12400. if (complex1.length - i1 === 1) {
  12401. t4 = combinator1 == null;
  12402. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt)) {
  12403. t4 = complex2.length - 1;
  12404. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  12405. t5.SubListIterable$3(complex2, 0, t4, t3);
  12406. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12407. return false;
  12408. } else if (!t4)
  12409. if (complex2.length - i2 > 1)
  12410. return false;
  12411. }
  12412. }
  12413. },
  12414. _compatibleWithPreviousCombinator(previous, parents) {
  12415. if (parents.length === 0)
  12416. return true;
  12417. if (previous == null)
  12418. return true;
  12419. if (previous.value !== B.Combinator_Htt)
  12420. return false;
  12421. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure());
  12422. },
  12423. _isSupercombinator(combinator1, combinator2) {
  12424. var t1, t2;
  12425. if (!J.$eq$(combinator1, combinator2)) {
  12426. t1 = combinator1 == null;
  12427. if (t1)
  12428. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht);
  12429. else
  12430. t2 = false;
  12431. if (!t2)
  12432. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt))
  12433. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF);
  12434. else
  12435. t1 = false;
  12436. else
  12437. t1 = true;
  12438. } else
  12439. t1 = true;
  12440. return t1;
  12441. },
  12442. compoundIsSuperselector(compound1, compound2, parents) {
  12443. var pseudo1, index1, pseudo2, index2, _0_50, _0_5_isSet, t2, t3, t4, t5, _i, simple1, _null = null,
  12444. _0_1 = A._findPseudoElementIndexed(compound1),
  12445. _0_5 = A._findPseudoElementIndexed(compound2),
  12446. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12447. if (t1._is(_0_1)) {
  12448. pseudo1 = (_0_1 == null ? t1._as(_0_1) : _0_1)._0;
  12449. index1 = (_0_1 == null ? t1._as(_0_1) : _0_1)._1;
  12450. if (t1._is(_0_5)) {
  12451. pseudo2 = (_0_5 == null ? t1._as(_0_5) : _0_5)._0;
  12452. index2 = (_0_5 == null ? t1._as(_0_5) : _0_5)._1;
  12453. _0_50 = _0_5;
  12454. t1 = true;
  12455. } else {
  12456. index2 = _null;
  12457. pseudo2 = index2;
  12458. _0_50 = _0_5;
  12459. t1 = false;
  12460. }
  12461. _0_5_isSet = true;
  12462. } else {
  12463. index2 = _null;
  12464. pseudo2 = index2;
  12465. index1 = pseudo2;
  12466. pseudo1 = index1;
  12467. _0_50 = pseudo1;
  12468. _0_5_isSet = false;
  12469. t1 = false;
  12470. }
  12471. if (t1) {
  12472. if (pseudo1.isSuperselector$1(pseudo2)) {
  12473. t1 = compound1.components;
  12474. t2 = type$.int;
  12475. t3 = A._arrayInstanceType(t1)._precomputed1;
  12476. t4 = compound2.components;
  12477. t5 = A._arrayInstanceType(t4)._precomputed1;
  12478. 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);
  12479. } else
  12480. t1 = false;
  12481. return t1;
  12482. }
  12483. if (!(_0_1 != null && true))
  12484. t1 = (_0_5_isSet ? _0_50 : _0_5) != null && true;
  12485. else
  12486. t1 = true;
  12487. if (t1)
  12488. return false;
  12489. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12490. simple1 = t1[_i];
  12491. if (simple1 instanceof A.PseudoSelector && simple1.selector != null && true) {
  12492. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12493. return false;
  12494. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12495. return false;
  12496. }
  12497. return true;
  12498. },
  12499. _findPseudoElementIndexed(compound) {
  12500. var t1, t2, i, simple;
  12501. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12502. simple = t1[i];
  12503. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12504. return new A._Record_2(simple, i);
  12505. }
  12506. return null;
  12507. },
  12508. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12509. var t1;
  12510. if (compound1.get$length(0) === 0)
  12511. return true;
  12512. if (compound2.get$length(0) === 0)
  12513. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12514. t1 = $.$get$bogusSpan();
  12515. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12516. },
  12517. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12518. var selector1 = pseudo1.selector;
  12519. if (selector1 == null)
  12520. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12521. switch (pseudo1.normalizedName) {
  12522. case "is":
  12523. case "matches":
  12524. case "any":
  12525. case "where":
  12526. 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));
  12527. case "has":
  12528. case "host":
  12529. case "host-context":
  12530. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12531. case "slotted":
  12532. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12533. case "not":
  12534. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12535. case "current":
  12536. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12537. case "nth-child":
  12538. case "nth-last-child":
  12539. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12540. default:
  12541. throw A.wrapException("unreachable");
  12542. }
  12543. },
  12544. _selectorPseudoArgs(compound, $name, isClass) {
  12545. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12546. 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);
  12547. },
  12548. unifyComplex_closure: function unifyComplex_closure() {
  12549. },
  12550. _weaveParents_closure: function _weaveParents_closure(t0) {
  12551. this.span = t0;
  12552. },
  12553. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12554. this.group = t0;
  12555. },
  12556. _weaveParents_closure1: function _weaveParents_closure1() {
  12557. },
  12558. _weaveParents_closure2: function _weaveParents_closure2() {
  12559. },
  12560. _mustUnify_closure: function _mustUnify_closure(t0) {
  12561. this.uniqueSelectors = t0;
  12562. },
  12563. _mustUnify__closure: function _mustUnify__closure(t0) {
  12564. this.uniqueSelectors = t0;
  12565. },
  12566. paths_closure: function paths_closure(t0) {
  12567. this.T = t0;
  12568. },
  12569. paths__closure: function paths__closure(t0, t1) {
  12570. this.paths = t0;
  12571. this.T = t1;
  12572. },
  12573. paths___closure: function paths___closure(t0, t1) {
  12574. this.option = t0;
  12575. this.T = t1;
  12576. },
  12577. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12578. this.list1 = t0;
  12579. },
  12580. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12581. this.complex1 = t0;
  12582. },
  12583. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12584. },
  12585. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12586. this.combinator1 = t0;
  12587. },
  12588. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12589. },
  12590. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12591. this.selector1 = t0;
  12592. },
  12593. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12594. this.parents = t0;
  12595. this.compound2 = t1;
  12596. },
  12597. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12598. this.selector1 = t0;
  12599. },
  12600. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12601. this.selector1 = t0;
  12602. },
  12603. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12604. this.compound2 = t0;
  12605. this.pseudo1 = t1;
  12606. },
  12607. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12608. this.complex = t0;
  12609. this.pseudo1 = t1;
  12610. },
  12611. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12612. this.simple2 = t0;
  12613. },
  12614. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12615. this.simple2 = t0;
  12616. },
  12617. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12618. this.selector1 = t0;
  12619. },
  12620. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12621. this.pseudo1 = t0;
  12622. this.selector1 = t1;
  12623. },
  12624. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12625. this.isClass = t0;
  12626. this.name = t1;
  12627. },
  12628. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12629. },
  12630. MergedExtension_merge(left, right) {
  12631. var t2, t3, t4,
  12632. t1 = left.extender.selector;
  12633. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12634. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12635. t2 = left.mediaContext;
  12636. t3 = t2 == null;
  12637. if (!t3) {
  12638. t4 = right.mediaContext;
  12639. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12640. } else
  12641. t4 = false;
  12642. if (t4)
  12643. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12644. if (right.isOptional && right.mediaContext == null)
  12645. return left;
  12646. if (left.isOptional && t3)
  12647. return right;
  12648. if (t3)
  12649. t2 = right.mediaContext;
  12650. t1.get$specificity();
  12651. t1 = new A.Extender(t1, false);
  12652. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12653. },
  12654. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12655. var _ = this;
  12656. _.left = t0;
  12657. _.right = t1;
  12658. _.extender = t2;
  12659. _.target = t3;
  12660. _.mediaContext = t4;
  12661. _.isOptional = t5;
  12662. _.span = t6;
  12663. },
  12664. ExtendMode: function ExtendMode(t0, t1) {
  12665. this.name = t0;
  12666. this._name = t1;
  12667. },
  12668. globalFunctions_closure: function globalFunctions_closure() {
  12669. },
  12670. _updateComponents($arguments, adjust, change, scale) {
  12671. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  12672. t1 = J.getInterceptor$asx($arguments),
  12673. color = t1.$index($arguments, 0).assertColor$1("color"),
  12674. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12675. if (argumentList._list$_contents.length !== 0)
  12676. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12677. argumentList._wereKeywordsAccessed = true;
  12678. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  12679. t1 = new A._updateComponents_getParam(keywords, scale, change);
  12680. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  12681. red = t1.call$2("red", 255);
  12682. green = t1.call$2("green", 255);
  12683. blue = t1.call$2("blue", 255);
  12684. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  12685. saturation = t1.call$3$checkPercent("saturation", 100, true);
  12686. lightness = t1.call$3$checkPercent("lightness", 100, true);
  12687. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  12688. blackness = t1.call$3$assertPercent("blackness", 100, true);
  12689. t1 = keywords.__js_helper$_length;
  12690. if (t1 !== 0)
  12691. throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.toSentence(keywords.get$keys(0).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or") + ".", _null));
  12692. hasRgb = red != null || green != null || blue != null;
  12693. hasSL = saturation != null || lightness != null;
  12694. hasWB = whiteness != null || blackness != null;
  12695. if (hasRgb)
  12696. t1 = hasSL || hasWB || hue != null;
  12697. else
  12698. t1 = false;
  12699. if (t1)
  12700. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  12701. if (hasSL && hasWB)
  12702. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  12703. t1 = new A._updateComponents_updateValue(change, adjust);
  12704. t2 = new A._updateComponents_updateRgb(t1);
  12705. if (hasRgb) {
  12706. t3 = t2.call$2(color.get$red(0), red);
  12707. t4 = t2.call$2(color.get$green(0), green);
  12708. t2 = t2.call$2(color.get$blue(0), blue);
  12709. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12710. } else if (hasWB) {
  12711. if (change)
  12712. t2 = hue;
  12713. else {
  12714. t2 = color.get$hue(0);
  12715. t2 += hue == null ? 0 : hue;
  12716. }
  12717. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  12718. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  12719. t5 = color._alpha;
  12720. t1 = t1.call$3(t5, alpha, 1);
  12721. if (t2 == null)
  12722. t2 = color.get$hue(0);
  12723. if (t3 == null)
  12724. t3 = color.get$whiteness(0);
  12725. if (t4 == null)
  12726. t4 = color.get$blackness(0);
  12727. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  12728. } else {
  12729. t2 = hue == null;
  12730. if (!t2 || hasSL) {
  12731. if (change)
  12732. t2 = hue;
  12733. else {
  12734. t3 = color.get$hue(0);
  12735. t3 += t2 ? 0 : hue;
  12736. t2 = t3;
  12737. }
  12738. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  12739. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  12740. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12741. } else if (alpha != null)
  12742. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  12743. else
  12744. return color;
  12745. }
  12746. },
  12747. _functionString($name, $arguments) {
  12748. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  12749. },
  12750. _removedColorFunction($name, argument, negative) {
  12751. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  12752. },
  12753. _rgb($name, $arguments) {
  12754. var t2, red, green, blue, t3, t4,
  12755. t1 = J.getInterceptor$asx($arguments),
  12756. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12757. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12758. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12759. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12760. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12761. t2 = t2 === true;
  12762. } else
  12763. t2 = true;
  12764. else
  12765. t2 = true;
  12766. else
  12767. t2 = true;
  12768. if (t2)
  12769. return A._functionString($name, $arguments);
  12770. red = t1.$index($arguments, 0).assertNumber$1("red");
  12771. green = t1.$index($arguments, 1).assertNumber$1("green");
  12772. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  12773. t1 = A.fuzzyRound(A._percentageOrUnitless(red, 255, "red"));
  12774. t2 = A.fuzzyRound(A._percentageOrUnitless(green, 255, "green"));
  12775. t3 = A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue"));
  12776. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  12777. return A.SassColor$rgbInternal(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction);
  12778. },
  12779. _rgbTwoArg($name, $arguments) {
  12780. var t2, color,
  12781. t1 = J.getInterceptor$asx($arguments);
  12782. if (!t1.$index($arguments, 0).get$isVar())
  12783. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor) && t1.$index($arguments, 1).get$isVar();
  12784. else
  12785. t2 = true;
  12786. if (t2)
  12787. return A._functionString($name, $arguments);
  12788. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  12789. color = t1.$index($arguments, 0).assertColor$1("color");
  12790. return new A.SassString($name + "(" + color.get$red(0) + ", " + color.get$green(0) + ", " + color.get$blue(0) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  12791. }
  12792. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  12793. },
  12794. _hsl($name, $arguments) {
  12795. var t2, hue, saturation, lightness, t3,
  12796. _s10_ = "saturation",
  12797. _s9_ = "lightness",
  12798. t1 = J.getInterceptor$asx($arguments),
  12799. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12800. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12801. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12802. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12803. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12804. t2 = t2 === true;
  12805. } else
  12806. t2 = true;
  12807. else
  12808. t2 = true;
  12809. else
  12810. t2 = true;
  12811. if (t2)
  12812. return A._functionString($name, $arguments);
  12813. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  12814. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  12815. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  12816. A._checkPercent(saturation, _s10_);
  12817. A._checkPercent(lightness, _s9_);
  12818. t1 = B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100);
  12819. t2 = B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100);
  12820. t3 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  12821. return A.SassColor$hslInternal(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction);
  12822. },
  12823. _angleValue(angleValue, $name) {
  12824. var t1, t2,
  12825. angle = angleValue.assertNumber$1($name);
  12826. if (angle.compatibleWithUnit$1("deg"))
  12827. return angle.coerceValueToUnit$1("deg");
  12828. t1 = angle.toString$0(0);
  12829. t2 = angle.unitSuggestion$1($name);
  12830. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_8WR);
  12831. return angle._number$_value;
  12832. },
  12833. _checkPercent(number, $name) {
  12834. var t1, t2;
  12835. if (number.hasUnit$1("%"))
  12836. return;
  12837. t1 = number.toString$0(0);
  12838. t2 = number.unitSuggestion$2($name, "%");
  12839. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  12840. },
  12841. _hwb($arguments) {
  12842. var t2, t3,
  12843. _s9_ = "whiteness",
  12844. _s9_0 = "blackness",
  12845. t1 = J.getInterceptor$asx($arguments),
  12846. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12847. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  12848. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  12849. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  12850. whiteness.assertUnit$2("%", _s9_);
  12851. blackness.assertUnit$2("%", _s9_0);
  12852. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  12853. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  12854. t3 = A.NullableExtension_andThen(alpha, new A._hwb_closure());
  12855. return A.SassColor_SassColor$hwb(hue, t1, t2, t3 == null ? 1 : t3);
  12856. },
  12857. _parseChannels($name, argumentNames, channels) {
  12858. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, _1_0, _1_2, _1_2_isSet, t2, _null = null,
  12859. _s17_ = "$channels must be";
  12860. if (channels.get$isVar())
  12861. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12862. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  12863. list = channels.get$asList();
  12864. t1 = list.length;
  12865. if (t1 !== 2)
  12866. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  12867. channels0 = list[0];
  12868. alphaFromSlashList = list[1];
  12869. if (!alphaFromSlashList.get$isSpecialNumber())
  12870. alphaFromSlashList.assertNumber$1("alpha");
  12871. if (list[0].get$isVar())
  12872. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12873. } else {
  12874. alphaFromSlashList = _null;
  12875. channels0 = channels;
  12876. }
  12877. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  12878. isBracketed = channels0.get$hasBrackets();
  12879. if (isCommaSeparated || isBracketed) {
  12880. buffer = new A.StringBuffer(_s17_);
  12881. if (isBracketed) {
  12882. t1 = _s17_ + " an unbracketed";
  12883. buffer._contents = t1;
  12884. } else
  12885. t1 = _s17_;
  12886. if (isCommaSeparated) {
  12887. t1 += isBracketed ? "," : " a";
  12888. buffer._contents = t1;
  12889. t1 = buffer._contents = t1 + " space-separated";
  12890. }
  12891. buffer._contents = t1 + " list.";
  12892. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  12893. }
  12894. list = channels0.get$asList();
  12895. if (list.length >= 2) {
  12896. _0_4 = list[0];
  12897. t1 = _0_4;
  12898. if (t1 instanceof A.SassString) {
  12899. type$.SassString._as(_0_4);
  12900. t1 = !_0_4._hasQuotes && A.equalsIgnoreCase(_0_4._string$_text, "from");
  12901. } else
  12902. t1 = false;
  12903. } else
  12904. t1 = false;
  12905. if (t1)
  12906. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12907. t1 = list.length;
  12908. if (t1 > 3)
  12909. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  12910. else if (t1 < 3) {
  12911. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  12912. if (list.length !== 0) {
  12913. t1 = B.JSArray_methods.get$last(list);
  12914. if (t1 instanceof A.SassString)
  12915. if (t1._hasQuotes) {
  12916. t1 = t1._string$_text;
  12917. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  12918. } else
  12919. t1 = false;
  12920. else
  12921. t1 = false;
  12922. } else
  12923. t1 = false;
  12924. else
  12925. t1 = true;
  12926. if (t1)
  12927. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12928. else
  12929. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  12930. }
  12931. if (alphaFromSlashList != null) {
  12932. t1 = A.List_List$of(list, true, type$.Value);
  12933. t1.push(alphaFromSlashList);
  12934. return t1;
  12935. }
  12936. _1_0 = list[2];
  12937. $label0$0: {
  12938. if (_1_0 instanceof A.SassNumber) {
  12939. _1_2 = _1_0.asSlash;
  12940. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  12941. _1_2_isSet = true;
  12942. } else {
  12943. _1_2 = _null;
  12944. _1_2_isSet = false;
  12945. t1 = false;
  12946. }
  12947. if (t1) {
  12948. if (_1_2_isSet)
  12949. t1 = _1_2;
  12950. else {
  12951. _1_2 = _1_0.asSlash;
  12952. t1 = _1_2;
  12953. _1_2_isSet = true;
  12954. }
  12955. if (t1 == null)
  12956. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  12957. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  12958. if (t2 == null)
  12959. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  12960. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value);
  12961. t1 = t2;
  12962. break $label0$0;
  12963. }
  12964. if (_1_0 instanceof A.SassString)
  12965. if (!_1_0._hasQuotes)
  12966. t1 = B.JSString_methods.contains$1(_1_0._string$_text, "/");
  12967. else
  12968. t1 = false;
  12969. else
  12970. t1 = false;
  12971. if (t1) {
  12972. t1 = A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  12973. break $label0$0;
  12974. }
  12975. t1 = list;
  12976. break $label0$0;
  12977. }
  12978. return t1;
  12979. },
  12980. _percentageOrUnitless(number, max, $name) {
  12981. var value;
  12982. if (!number.get$hasUnits())
  12983. value = number._number$_value;
  12984. else if (number.hasUnit$1("%"))
  12985. value = max * number._number$_value / 100;
  12986. else
  12987. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  12988. return B.JSNumber_methods.clamp$2(value, 0, max);
  12989. },
  12990. _mixColors(color1, color2, weight) {
  12991. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  12992. A._checkPercent(weight, "weight");
  12993. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  12994. normalizedWeight = weightScale * 2 - 1;
  12995. t1 = color1._alpha;
  12996. t2 = color2._alpha;
  12997. alphaDistance = t1 - t2;
  12998. t3 = normalizedWeight * alphaDistance;
  12999. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  13000. weight2 = 1 - weight1;
  13001. return A.SassColor$rgb(A.fuzzyRound(color1.get$red(0) * weight1 + color2.get$red(0) * weight2), A.fuzzyRound(color1.get$green(0) * weight1 + color2.get$green(0) * weight2), A.fuzzyRound(color1.get$blue(0) * weight1 + color2.get$blue(0) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  13002. },
  13003. _opacify($arguments) {
  13004. var t1 = J.getInterceptor$asx($arguments),
  13005. color = t1.$index($arguments, 0).assertColor$1("color");
  13006. 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));
  13007. },
  13008. _transparentize($arguments) {
  13009. var t1 = J.getInterceptor$asx($arguments),
  13010. color = t1.$index($arguments, 0).assertColor$1("color");
  13011. 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));
  13012. },
  13013. _function4($name, $arguments, callback) {
  13014. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13015. },
  13016. global_closure0: function global_closure0() {
  13017. },
  13018. global_closure1: function global_closure1() {
  13019. },
  13020. global_closure2: function global_closure2() {
  13021. },
  13022. global_closure3: function global_closure3() {
  13023. },
  13024. global_closure4: function global_closure4() {
  13025. },
  13026. global_closure5: function global_closure5() {
  13027. },
  13028. global_closure6: function global_closure6() {
  13029. },
  13030. global_closure7: function global_closure7() {
  13031. },
  13032. global_closure8: function global_closure8() {
  13033. },
  13034. global_closure9: function global_closure9() {
  13035. },
  13036. global_closure10: function global_closure10() {
  13037. },
  13038. global_closure11: function global_closure11() {
  13039. },
  13040. global_closure12: function global_closure12() {
  13041. },
  13042. global_closure13: function global_closure13() {
  13043. },
  13044. global_closure14: function global_closure14() {
  13045. },
  13046. global_closure15: function global_closure15() {
  13047. },
  13048. global_closure16: function global_closure16() {
  13049. },
  13050. global_closure17: function global_closure17() {
  13051. },
  13052. global_closure18: function global_closure18() {
  13053. },
  13054. global_closure19: function global_closure19() {
  13055. },
  13056. global_closure20: function global_closure20() {
  13057. },
  13058. global_closure21: function global_closure21() {
  13059. },
  13060. global_closure22: function global_closure22() {
  13061. },
  13062. global_closure23: function global_closure23() {
  13063. },
  13064. global_closure24: function global_closure24() {
  13065. },
  13066. global_closure25: function global_closure25() {
  13067. },
  13068. global__closure: function global__closure() {
  13069. },
  13070. global_closure26: function global_closure26() {
  13071. },
  13072. module_closure1: function module_closure1() {
  13073. },
  13074. module_closure2: function module_closure2() {
  13075. },
  13076. module_closure3: function module_closure3() {
  13077. },
  13078. module_closure4: function module_closure4() {
  13079. },
  13080. module_closure5: function module_closure5() {
  13081. },
  13082. module_closure6: function module_closure6() {
  13083. },
  13084. module_closure7: function module_closure7() {
  13085. },
  13086. module_closure8: function module_closure8() {
  13087. },
  13088. module__closure1: function module__closure1() {
  13089. },
  13090. module_closure9: function module_closure9() {
  13091. },
  13092. _red_closure: function _red_closure() {
  13093. },
  13094. _green_closure: function _green_closure() {
  13095. },
  13096. _blue_closure: function _blue_closure() {
  13097. },
  13098. _mix_closure: function _mix_closure() {
  13099. },
  13100. _hue_closure: function _hue_closure() {
  13101. },
  13102. _saturation_closure: function _saturation_closure() {
  13103. },
  13104. _lightness_closure: function _lightness_closure() {
  13105. },
  13106. _complement_closure: function _complement_closure() {
  13107. },
  13108. _adjust_closure: function _adjust_closure() {
  13109. },
  13110. _scale_closure: function _scale_closure() {
  13111. },
  13112. _change_closure: function _change_closure() {
  13113. },
  13114. _ieHexStr_closure: function _ieHexStr_closure() {
  13115. },
  13116. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13117. },
  13118. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  13119. this.keywords = t0;
  13120. this.scale = t1;
  13121. this.change = t2;
  13122. },
  13123. _updateComponents_closure: function _updateComponents_closure() {
  13124. },
  13125. _updateComponents_closure0: function _updateComponents_closure0() {
  13126. },
  13127. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  13128. this.change = t0;
  13129. this.adjust = t1;
  13130. },
  13131. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  13132. this.updateValue = t0;
  13133. },
  13134. _functionString_closure: function _functionString_closure() {
  13135. },
  13136. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13137. this.name = t0;
  13138. this.argument = t1;
  13139. this.negative = t2;
  13140. },
  13141. _rgb_closure: function _rgb_closure() {
  13142. },
  13143. _hsl_closure: function _hsl_closure() {
  13144. },
  13145. _hwb_closure: function _hwb_closure() {
  13146. },
  13147. _parseChannels_closure: function _parseChannels_closure() {
  13148. },
  13149. _function3($name, $arguments, callback) {
  13150. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13151. },
  13152. _length_closure0: function _length_closure0() {
  13153. },
  13154. _nth_closure: function _nth_closure() {
  13155. },
  13156. _setNth_closure: function _setNth_closure() {
  13157. },
  13158. _join_closure: function _join_closure() {
  13159. },
  13160. _append_closure0: function _append_closure0() {
  13161. },
  13162. _zip_closure: function _zip_closure() {
  13163. },
  13164. _zip__closure: function _zip__closure() {
  13165. },
  13166. _zip__closure0: function _zip__closure0(t0) {
  13167. this._box_0 = t0;
  13168. },
  13169. _zip__closure1: function _zip__closure1(t0) {
  13170. this._box_0 = t0;
  13171. },
  13172. _index_closure0: function _index_closure0() {
  13173. },
  13174. _separator_closure: function _separator_closure() {
  13175. },
  13176. _isBracketed_closure: function _isBracketed_closure() {
  13177. },
  13178. _slash_closure: function _slash_closure() {
  13179. },
  13180. _modify(map, keys, modify, addNesting) {
  13181. var keyIterator = J.get$iterator$ax(keys);
  13182. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13183. },
  13184. _deepMergeImpl(map1, map2) {
  13185. var t2, t3, result, t4, key, value, _1_1, _1_3, resultMap, _1_30, _1_3_isSet, valueMap, merged, _null = null,
  13186. t1 = map1._map$_contents;
  13187. if (t1.get$isEmpty(t1))
  13188. return map2;
  13189. t2 = map2._map$_contents;
  13190. if (t2.get$isEmpty(t2))
  13191. return map1;
  13192. t3 = type$.Value;
  13193. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13194. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13195. t4 = t1.get$current(t1);
  13196. key = t4._0;
  13197. value = t4._1;
  13198. t4 = result.$index(0, key);
  13199. _1_1 = t4 == null ? _null : t4.tryMap$0();
  13200. _1_3 = value.tryMap$0();
  13201. if (_1_1 != null) {
  13202. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  13203. t4 = _1_3 != null;
  13204. _1_30 = _1_3;
  13205. _1_3_isSet = true;
  13206. } else {
  13207. _1_30 = _null;
  13208. resultMap = _1_30;
  13209. _1_3_isSet = false;
  13210. t4 = false;
  13211. }
  13212. if (t4) {
  13213. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13214. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13215. if (merged === resultMap)
  13216. continue;
  13217. result.$indexSet(0, key, merged);
  13218. } else
  13219. result.$indexSet(0, key, value);
  13220. }
  13221. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13222. },
  13223. _function2($name, $arguments, callback) {
  13224. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13225. },
  13226. _get_closure: function _get_closure() {
  13227. },
  13228. _set_closure: function _set_closure() {
  13229. },
  13230. _set__closure0: function _set__closure0(t0) {
  13231. this.$arguments = t0;
  13232. },
  13233. _set_closure0: function _set_closure0() {
  13234. },
  13235. _set__closure: function _set__closure(t0) {
  13236. this._box_0 = t0;
  13237. },
  13238. _merge_closure: function _merge_closure() {
  13239. },
  13240. _merge_closure0: function _merge_closure0() {
  13241. },
  13242. _merge__closure: function _merge__closure(t0) {
  13243. this.map2 = t0;
  13244. },
  13245. _deepMerge_closure: function _deepMerge_closure() {
  13246. },
  13247. _deepRemove_closure: function _deepRemove_closure() {
  13248. },
  13249. _deepRemove__closure: function _deepRemove__closure(t0) {
  13250. this.keys = t0;
  13251. },
  13252. _remove_closure: function _remove_closure() {
  13253. },
  13254. _remove_closure0: function _remove_closure0() {
  13255. },
  13256. _keys_closure: function _keys_closure() {
  13257. },
  13258. _values_closure: function _values_closure() {
  13259. },
  13260. _hasKey_closure: function _hasKey_closure() {
  13261. },
  13262. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13263. this.keyIterator = t0;
  13264. this.modify = t1;
  13265. this.addNesting = t2;
  13266. },
  13267. _singleArgumentMathFunc($name, mathFunc) {
  13268. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13269. },
  13270. _numberFunction($name, transform) {
  13271. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13272. },
  13273. _function1($name, $arguments, callback) {
  13274. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13275. },
  13276. global_closure: function global_closure() {
  13277. },
  13278. module_closure0: function module_closure0() {
  13279. },
  13280. _ceil_closure: function _ceil_closure() {
  13281. },
  13282. _clamp_closure: function _clamp_closure() {
  13283. },
  13284. _floor_closure: function _floor_closure() {
  13285. },
  13286. _max_closure: function _max_closure() {
  13287. },
  13288. _min_closure: function _min_closure() {
  13289. },
  13290. _round_closure: function _round_closure() {
  13291. },
  13292. _hypot_closure: function _hypot_closure() {
  13293. },
  13294. _hypot__closure: function _hypot__closure() {
  13295. },
  13296. _log_closure: function _log_closure() {
  13297. },
  13298. _pow_closure: function _pow_closure() {
  13299. },
  13300. _atan2_closure: function _atan2_closure() {
  13301. },
  13302. _compatible_closure: function _compatible_closure() {
  13303. },
  13304. _isUnitless_closure: function _isUnitless_closure() {
  13305. },
  13306. _unit_closure: function _unit_closure() {
  13307. },
  13308. _percentage_closure: function _percentage_closure() {
  13309. },
  13310. _randomFunction_closure: function _randomFunction_closure() {
  13311. },
  13312. _div_closure: function _div_closure() {
  13313. },
  13314. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13315. this.mathFunc = t0;
  13316. },
  13317. _numberFunction_closure: function _numberFunction_closure(t0) {
  13318. this.transform = t0;
  13319. },
  13320. _function5($name, $arguments, callback) {
  13321. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13322. },
  13323. global_closure27: function global_closure27() {
  13324. },
  13325. global_closure28: function global_closure28() {
  13326. },
  13327. global_closure29: function global_closure29() {
  13328. },
  13329. global_closure30: function global_closure30() {
  13330. },
  13331. local_closure: function local_closure() {
  13332. },
  13333. local_closure0: function local_closure0() {
  13334. },
  13335. local__closure: function local__closure() {
  13336. },
  13337. local_closure1: function local_closure1() {
  13338. },
  13339. _prependParent(compound) {
  13340. var _0_3, _0_4, t1, _0_4_isSet, rest, _null = null,
  13341. span = A.EvaluationContext_current().get$currentCallableSpan(),
  13342. _0_0 = compound.components;
  13343. $label0$0: {
  13344. _0_3 = _0_0.length >= 1;
  13345. if (_0_3) {
  13346. _0_4 = _0_0[0];
  13347. t1 = _0_4;
  13348. t1 = t1 instanceof A.UniversalSelector;
  13349. _0_4_isSet = true;
  13350. } else {
  13351. _0_4 = _null;
  13352. _0_4_isSet = false;
  13353. t1 = false;
  13354. }
  13355. if (t1) {
  13356. t1 = _null;
  13357. break $label0$0;
  13358. }
  13359. if (_0_3) {
  13360. if (_0_4_isSet)
  13361. t1 = _0_4;
  13362. else {
  13363. _0_4 = _0_0[0];
  13364. t1 = _0_4;
  13365. _0_4_isSet = true;
  13366. }
  13367. if (t1 instanceof A.TypeSelector) {
  13368. if (_0_4_isSet)
  13369. t1 = _0_4;
  13370. else {
  13371. _0_4 = _0_0[0];
  13372. t1 = _0_4;
  13373. _0_4_isSet = true;
  13374. }
  13375. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  13376. } else
  13377. t1 = false;
  13378. } else
  13379. t1 = false;
  13380. if (t1) {
  13381. t1 = _null;
  13382. break $label0$0;
  13383. }
  13384. if (_0_3) {
  13385. if (_0_4_isSet)
  13386. t1 = _0_4;
  13387. else {
  13388. _0_4 = _0_0[0];
  13389. t1 = _0_4;
  13390. _0_4_isSet = true;
  13391. }
  13392. t1 = t1 instanceof A.TypeSelector;
  13393. } else
  13394. t1 = false;
  13395. if (t1) {
  13396. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  13397. type$.TypeSelector._as(t1);
  13398. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  13399. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  13400. B.JSArray_methods.addAll$1(t1, rest);
  13401. t1 = A.CompoundSelector$(t1, span);
  13402. break $label0$0;
  13403. }
  13404. t1 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  13405. B.JSArray_methods.addAll$1(t1, _0_0);
  13406. t1 = A.CompoundSelector$(t1, span);
  13407. break $label0$0;
  13408. }
  13409. return t1;
  13410. },
  13411. _function0($name, $arguments, callback) {
  13412. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  13413. },
  13414. _nest_closure: function _nest_closure() {
  13415. },
  13416. _nest__closure: function _nest__closure(t0) {
  13417. this._box_0 = t0;
  13418. },
  13419. _nest__closure0: function _nest__closure0() {
  13420. },
  13421. _append_closure: function _append_closure() {
  13422. },
  13423. _append__closure: function _append__closure() {
  13424. },
  13425. _append__closure0: function _append__closure0(t0) {
  13426. this.span = t0;
  13427. },
  13428. _append___closure: function _append___closure(t0, t1) {
  13429. this.parent = t0;
  13430. this.span = t1;
  13431. },
  13432. _extend_closure: function _extend_closure() {
  13433. },
  13434. _replace_closure: function _replace_closure() {
  13435. },
  13436. _unify_closure: function _unify_closure() {
  13437. },
  13438. _isSuperselector_closure: function _isSuperselector_closure() {
  13439. },
  13440. _simpleSelectors_closure: function _simpleSelectors_closure() {
  13441. },
  13442. _simpleSelectors__closure: function _simpleSelectors__closure() {
  13443. },
  13444. _parse_closure: function _parse_closure() {
  13445. },
  13446. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  13447. var result;
  13448. if (index === 0)
  13449. return 0;
  13450. if (index > 0)
  13451. return Math.min(index - 1, lengthInCodepoints);
  13452. result = lengthInCodepoints + index;
  13453. if (result < 0 && !allowNegative)
  13454. return 0;
  13455. return result;
  13456. },
  13457. _function($name, $arguments, callback) {
  13458. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  13459. },
  13460. module_closure: function module_closure() {
  13461. },
  13462. module__closure: function module__closure(t0) {
  13463. this.string = t0;
  13464. },
  13465. module__closure0: function module__closure0(t0) {
  13466. this.string = t0;
  13467. },
  13468. _unquote_closure: function _unquote_closure() {
  13469. },
  13470. _quote_closure: function _quote_closure() {
  13471. },
  13472. _length_closure: function _length_closure() {
  13473. },
  13474. _insert_closure: function _insert_closure() {
  13475. },
  13476. _index_closure: function _index_closure() {
  13477. },
  13478. _slice_closure: function _slice_closure() {
  13479. },
  13480. _toUpperCase_closure: function _toUpperCase_closure() {
  13481. },
  13482. _toLowerCase_closure: function _toLowerCase_closure() {
  13483. },
  13484. _uniqueId_closure: function _uniqueId_closure() {
  13485. },
  13486. ImportCache$(importers, loadPaths, logger) {
  13487. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  13488. t2 = type$.Uri,
  13489. t3 = A.ImportCache__toImporters(importers, loadPaths, null);
  13490. 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));
  13491. },
  13492. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  13493. var t1, t2, t3, t4, _i, path, _null = null,
  13494. sassPath = A.getEnvironmentVariable("SASS_PATH");
  13495. if (A.isBrowser()) {
  13496. t1 = A._setArrayType([], type$.JSArray_Importer);
  13497. B.JSArray_methods.addAll$1(t1, importers);
  13498. return t1;
  13499. }
  13500. t1 = A._setArrayType([], type$.JSArray_Importer);
  13501. B.JSArray_methods.addAll$1(t1, importers);
  13502. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  13503. t3 = t2.get$current(t2);
  13504. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  13505. }
  13506. if (sassPath != null) {
  13507. t2 = A.isNodeJs() ? self.process : _null;
  13508. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  13509. t4 = t3.length;
  13510. _i = 0;
  13511. for (; _i < t4; ++_i) {
  13512. path = t3[_i];
  13513. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  13514. }
  13515. }
  13516. return t1;
  13517. },
  13518. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  13519. var _ = this;
  13520. _._importers = t0;
  13521. _._logger = t1;
  13522. _._canonicalizeCache = t2;
  13523. _._relativeCanonicalizeCache = t3;
  13524. _._importCache = t4;
  13525. _._resultsCache = t5;
  13526. },
  13527. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  13528. var _ = this;
  13529. _.$this = t0;
  13530. _.baseImporter = t1;
  13531. _.baseUrl = t2;
  13532. _.url = t3;
  13533. _.forImport = t4;
  13534. },
  13535. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3) {
  13536. var _ = this;
  13537. _.$this = t0;
  13538. _.url = t1;
  13539. _.baseUrl = t2;
  13540. _.forImport = t3;
  13541. },
  13542. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  13543. this.importer = t0;
  13544. this.resolved = t1;
  13545. },
  13546. ImportCache__canonicalize__closure: function ImportCache__canonicalize__closure(t0, t1) {
  13547. this.importer = t0;
  13548. this.resolved = t1;
  13549. },
  13550. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  13551. this.importer = t0;
  13552. this.resolved = t1;
  13553. },
  13554. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  13555. var _ = this;
  13556. _.$this = t0;
  13557. _.importer = t1;
  13558. _.canonicalUrl = t2;
  13559. _.originalUrl = t3;
  13560. _.quiet = t4;
  13561. },
  13562. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  13563. this.canonicalUrl = t0;
  13564. },
  13565. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  13566. },
  13567. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  13568. },
  13569. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  13570. this.canonicalUrl = t0;
  13571. },
  13572. ImportCache_clearCanonicalize_closure: function ImportCache_clearCanonicalize_closure(t0) {
  13573. this.url = t0;
  13574. },
  13575. Importer: function Importer() {
  13576. },
  13577. AsyncImporter: function AsyncImporter() {
  13578. },
  13579. FilesystemImporter$(loadPath) {
  13580. var _null = null;
  13581. return new A.FilesystemImporter(A.absolute(loadPath, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  13582. },
  13583. FilesystemImporter: function FilesystemImporter(t0) {
  13584. this._loadPath = t0;
  13585. },
  13586. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  13587. },
  13588. NoOpImporter: function NoOpImporter() {
  13589. },
  13590. NodePackageImporter: function NodePackageImporter() {
  13591. this.__NodePackageImporter__entryPointDirectory_F = $;
  13592. },
  13593. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  13594. },
  13595. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  13596. },
  13597. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  13598. },
  13599. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  13600. this.$this = t0;
  13601. this.exports = t1;
  13602. this.packageRoot = t2;
  13603. },
  13604. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  13605. this.$this = t0;
  13606. this.variant = t1;
  13607. this.packageRoot = t2;
  13608. },
  13609. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  13610. },
  13611. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  13612. },
  13613. ImporterResult: function ImporterResult(t0, t1, t2) {
  13614. this.contents = t0;
  13615. this._sourceMapUrl = t1;
  13616. this.syntax = t2;
  13617. },
  13618. fromImport() {
  13619. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  13620. return t1 === true;
  13621. },
  13622. containingUrl() {
  13623. var t1,
  13624. _0_0 = $.Zone__current.$index(0, B.Symbol__containingUrl);
  13625. $label0$0: {
  13626. if (_0_0 == null)
  13627. A.throwExpression(A.StateError$(string$.contai));
  13628. if (B.Symbol__none.$eq(0, _0_0)) {
  13629. t1 = null;
  13630. break $label0$0;
  13631. }
  13632. if (type$.Uri._is(_0_0)) {
  13633. t1 = _0_0;
  13634. break $label0$0;
  13635. }
  13636. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  13637. }
  13638. return t1;
  13639. },
  13640. withContainingUrl(url, callback, $T) {
  13641. var t1 = url == null ? B.Symbol__none : url,
  13642. t2 = type$.nullable_Object;
  13643. return A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__containingUrl, t1], t2, t2), $T);
  13644. },
  13645. resolveImportPath(path) {
  13646. var t1,
  13647. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  13648. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  13649. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  13650. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  13651. }
  13652. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  13653. if (t1 == null)
  13654. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  13655. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  13656. },
  13657. _tryPathWithExtensions(path) {
  13658. var result = A._tryPath(path + ".sass");
  13659. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  13660. return result.length !== 0 ? result : A._tryPath(path + ".css");
  13661. },
  13662. _tryPath(path) {
  13663. var t1 = $.$get$context(),
  13664. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  13665. t1 = A._setArrayType([], type$.JSArray_String);
  13666. if (A.fileExists(partial))
  13667. t1.push(partial);
  13668. if (A.fileExists(path))
  13669. t1.push(path);
  13670. return t1;
  13671. },
  13672. _tryPathAsDirectory(path) {
  13673. var t1;
  13674. if (!A.dirExists(path))
  13675. return null;
  13676. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  13677. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  13678. },
  13679. _exactlyOne(paths) {
  13680. var _0_1, t1, path;
  13681. $label0$0: {
  13682. _0_1 = paths.length;
  13683. if (_0_1 <= 0) {
  13684. t1 = null;
  13685. break $label0$0;
  13686. }
  13687. if (_0_1 === 1) {
  13688. path = paths[0];
  13689. t1 = path;
  13690. break $label0$0;
  13691. }
  13692. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  13693. }
  13694. return t1;
  13695. },
  13696. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  13697. this.path = t0;
  13698. this.extension = t1;
  13699. },
  13700. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  13701. this.path = t0;
  13702. },
  13703. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  13704. this.path = t0;
  13705. },
  13706. _exactlyOne_closure: function _exactlyOne_closure() {
  13707. },
  13708. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  13709. this._interpolation_buffer$_text = t0;
  13710. this._interpolation_buffer$_contents = t1;
  13711. },
  13712. InterpolationMap$(_interpolation, targetLocations) {
  13713. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  13714. t2 = _interpolation.contents.length,
  13715. expectedLocations = Math.max(0, t2 - 1);
  13716. if (t1.length !== expectedLocations)
  13717. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  13718. return new A.InterpolationMap(_interpolation, t1);
  13719. },
  13720. InterpolationMap: function InterpolationMap(t0, t1) {
  13721. this._interpolation = t0;
  13722. this._targetLocations = t1;
  13723. },
  13724. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  13725. },
  13726. _realCasePath(path) {
  13727. var prefix, _null = null,
  13728. t1 = A.isNodeJs() ? self.process : _null;
  13729. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13730. t1 = A.isNodeJs() ? self.process : _null;
  13731. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  13732. } else
  13733. t1 = true;
  13734. if (!t1)
  13735. return path;
  13736. t1 = A.isNodeJs() ? self.process : _null;
  13737. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13738. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  13739. t1 = prefix.length;
  13740. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  13741. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  13742. }
  13743. return new A._realCasePath_helper().call$1(path);
  13744. },
  13745. _realCasePath_helper: function _realCasePath_helper() {
  13746. },
  13747. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  13748. this.helper = t0;
  13749. this.dirname = t1;
  13750. this.path = t2;
  13751. },
  13752. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  13753. this.basename = t0;
  13754. },
  13755. printError(message) {
  13756. var t1 = A.isNodeJs() ? self.process : null;
  13757. if (t1 != null) {
  13758. t1 = J.get$stderr$x(t1);
  13759. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  13760. } else {
  13761. t1 = self.console;
  13762. J.error$1$x(t1, message == null ? "" : message);
  13763. }
  13764. },
  13765. readFile(path) {
  13766. var contents, sourceFile, t1, i;
  13767. if (!A.isNodeJs())
  13768. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  13769. contents = A._asString(A._readFile(path, "utf8"));
  13770. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  13771. return contents;
  13772. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  13773. for (t1 = contents.length, i = 0; i < t1; ++i) {
  13774. if (contents.charCodeAt(i) !== 65533)
  13775. continue;
  13776. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  13777. }
  13778. return contents;
  13779. },
  13780. _readFile(path, encoding) {
  13781. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  13782. },
  13783. writeFile(path, contents) {
  13784. if (!A.isNodeJs())
  13785. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  13786. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  13787. },
  13788. deleteFile(path) {
  13789. if (!A.isNodeJs())
  13790. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  13791. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  13792. },
  13793. readStdin() {
  13794. return A.readStdin$body();
  13795. },
  13796. readStdin$body() {
  13797. var $async$goto = 0,
  13798. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  13799. $async$returnValue, t3, completer, sink, t1, t2;
  13800. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  13801. if ($async$errorCode === 1)
  13802. return A._asyncRethrow($async$result, $async$completer);
  13803. while (true)
  13804. switch ($async$goto) {
  13805. case 0:
  13806. // Function start
  13807. t1 = {};
  13808. t2 = A.isNodeJs() ? self.process : null;
  13809. if (t2 == null)
  13810. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  13811. t3 = new A._Future($.Zone__current, type$._Future_String);
  13812. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  13813. t1.contents = null;
  13814. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  13815. t1 = J.getInterceptor$x(t2);
  13816. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  13817. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  13818. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  13819. $async$returnValue = t3;
  13820. // goto return
  13821. $async$goto = 1;
  13822. break;
  13823. case 1:
  13824. // return
  13825. return A._asyncReturn($async$returnValue, $async$completer);
  13826. }
  13827. });
  13828. return A._asyncStartSync($async$readStdin, $async$completer);
  13829. },
  13830. fileExists(path) {
  13831. if (!A.isNodeJs())
  13832. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  13833. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  13834. },
  13835. dirExists(path) {
  13836. if (!A.isNodeJs())
  13837. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  13838. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  13839. },
  13840. ensureDir(path) {
  13841. if (!A.isNodeJs())
  13842. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  13843. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  13844. },
  13845. listDir(path, recursive) {
  13846. if (!A.isNodeJs())
  13847. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  13848. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  13849. },
  13850. modificationTime(path) {
  13851. if (!A.isNodeJs())
  13852. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  13853. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  13854. },
  13855. getEnvironmentVariable($name) {
  13856. var t1 = A.isNodeJs() ? self.process : null,
  13857. env = t1 == null ? null : J.get$env$x(t1);
  13858. if (env == null)
  13859. t1 = null;
  13860. else
  13861. t1 = A._asStringQ(env[$name]);
  13862. return t1;
  13863. },
  13864. _systemErrorToFileSystemException(callback) {
  13865. var error, t1, exception, t2;
  13866. try {
  13867. t1 = callback.call$0();
  13868. return t1;
  13869. } catch (exception) {
  13870. error = A.unwrapException(exception);
  13871. if (!type$.JsSystemError._is(error))
  13872. throw exception;
  13873. t1 = error;
  13874. t2 = J.getInterceptor$x(t1);
  13875. 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)));
  13876. }
  13877. },
  13878. hasTerminal() {
  13879. var t1 = A.isNodeJs() ? self.process : null;
  13880. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  13881. },
  13882. isWindows() {
  13883. var t1 = A.isNodeJs() ? self.process : null;
  13884. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  13885. },
  13886. watchDir(path, poll) {
  13887. var watcher, t2, t3, t1 = {};
  13888. if (!A.isNodeJs())
  13889. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  13890. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  13891. t1.controller = null;
  13892. t2 = J.getInterceptor$x(watcher);
  13893. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  13894. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  13895. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  13896. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  13897. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  13898. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  13899. return t3;
  13900. },
  13901. FileSystemException: function FileSystemException(t0, t1) {
  13902. this.message = t0;
  13903. this.path = t1;
  13904. },
  13905. _readFile_closure: function _readFile_closure(t0, t1) {
  13906. this.path = t0;
  13907. this.encoding = t1;
  13908. },
  13909. writeFile_closure: function writeFile_closure(t0, t1) {
  13910. this.path = t0;
  13911. this.contents = t1;
  13912. },
  13913. deleteFile_closure: function deleteFile_closure(t0) {
  13914. this.path = t0;
  13915. },
  13916. readStdin_closure: function readStdin_closure(t0, t1) {
  13917. this._box_0 = t0;
  13918. this.completer = t1;
  13919. },
  13920. readStdin_closure0: function readStdin_closure0(t0) {
  13921. this.sink = t0;
  13922. },
  13923. readStdin_closure1: function readStdin_closure1(t0) {
  13924. this.sink = t0;
  13925. },
  13926. readStdin_closure2: function readStdin_closure2(t0) {
  13927. this.completer = t0;
  13928. },
  13929. fileExists_closure: function fileExists_closure(t0) {
  13930. this.path = t0;
  13931. },
  13932. dirExists_closure: function dirExists_closure(t0) {
  13933. this.path = t0;
  13934. },
  13935. ensureDir_closure: function ensureDir_closure(t0) {
  13936. this.path = t0;
  13937. },
  13938. listDir_closure: function listDir_closure(t0, t1) {
  13939. this.recursive = t0;
  13940. this.path = t1;
  13941. },
  13942. listDir__closure: function listDir__closure(t0) {
  13943. this.path = t0;
  13944. },
  13945. listDir__closure0: function listDir__closure0() {
  13946. },
  13947. listDir_closure_list: function listDir_closure_list() {
  13948. },
  13949. listDir__list_closure: function listDir__list_closure(t0, t1) {
  13950. this.parent = t0;
  13951. this.list = t1;
  13952. },
  13953. modificationTime_closure: function modificationTime_closure(t0) {
  13954. this.path = t0;
  13955. },
  13956. watchDir_closure: function watchDir_closure(t0) {
  13957. this._box_0 = t0;
  13958. },
  13959. watchDir_closure0: function watchDir_closure0(t0) {
  13960. this._box_0 = t0;
  13961. },
  13962. watchDir_closure1: function watchDir_closure1(t0) {
  13963. this._box_0 = t0;
  13964. },
  13965. watchDir_closure2: function watchDir_closure2(t0) {
  13966. this._box_0 = t0;
  13967. },
  13968. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  13969. this._box_0 = t0;
  13970. this.watcher = t1;
  13971. this.completer = t2;
  13972. },
  13973. watchDir__closure: function watchDir__closure(t0) {
  13974. this.watcher = t0;
  13975. },
  13976. JSArray0: function JSArray0() {
  13977. },
  13978. Chokidar: function Chokidar() {
  13979. },
  13980. ChokidarOptions: function ChokidarOptions() {
  13981. },
  13982. ChokidarWatcher: function ChokidarWatcher() {
  13983. },
  13984. JSFunction: function JSFunction() {
  13985. },
  13986. ImmutableList: function ImmutableList() {
  13987. },
  13988. ImmutableMap: function ImmutableMap() {
  13989. },
  13990. NodeImporterResult: function NodeImporterResult() {
  13991. },
  13992. RenderContext: function RenderContext() {
  13993. },
  13994. RenderContextOptions: function RenderContextOptions() {
  13995. },
  13996. RenderContextResult: function RenderContextResult() {
  13997. },
  13998. RenderContextResultStats: function RenderContextResultStats() {
  13999. },
  14000. JSModule: function JSModule() {
  14001. },
  14002. JSModuleRequire: function JSModuleRequire() {
  14003. },
  14004. JSClass: function JSClass() {
  14005. },
  14006. JSUrl: function JSUrl() {
  14007. },
  14008. jsThrow0(error) {
  14009. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14010. },
  14011. _PropertyDescriptor: function _PropertyDescriptor() {
  14012. },
  14013. _RequireMain: function _RequireMain() {
  14014. },
  14015. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14016. if (_this instanceof A.DeprecationHandlingLogger)
  14017. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  14018. else if (!deprecation.isFuture)
  14019. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  14020. },
  14021. _QuietLogger: function _QuietLogger() {
  14022. },
  14023. DeprecationHandlingLogger: function DeprecationHandlingLogger(t0, t1, t2, t3, t4) {
  14024. var _ = this;
  14025. _._warningCounts = t0;
  14026. _._inner = t1;
  14027. _.fatalDeprecations = t2;
  14028. _.futureDeprecations = t3;
  14029. _.limitRepetition = t4;
  14030. },
  14031. DeprecationHandlingLogger_summarize_closure: function DeprecationHandlingLogger_summarize_closure() {
  14032. },
  14033. DeprecationHandlingLogger_summarize_closure0: function DeprecationHandlingLogger_summarize_closure0() {
  14034. },
  14035. StderrLogger: function StderrLogger(t0) {
  14036. this.color = t0;
  14037. },
  14038. TrackingLogger: function TrackingLogger(t0) {
  14039. this._tracking$_logger = t0;
  14040. this._emittedDebug = this._emittedWarning = false;
  14041. },
  14042. BuiltInModule$($name, functions, mixins, variables, $T) {
  14043. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14044. t2 = A.BuiltInModule__callableMap(functions, $T),
  14045. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14046. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14047. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14048. },
  14049. BuiltInModule__callableMap(callables, $T) {
  14050. var t2, _i, callable,
  14051. t1 = type$.String;
  14052. if (callables == null)
  14053. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14054. else {
  14055. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14056. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14057. callable = callables[_i];
  14058. t1.$indexSet(0, J.get$name$x(callable), callable);
  14059. }
  14060. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14061. }
  14062. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14063. },
  14064. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14065. var _ = this;
  14066. _.url = t0;
  14067. _.functions = t1;
  14068. _.mixins = t2;
  14069. _.variables = t3;
  14070. _.$ti = t4;
  14071. },
  14072. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14073. var t1;
  14074. if (rule.prefix == null)
  14075. if (rule.shownMixinsAndFunctions == null)
  14076. if (rule.shownVariables == null) {
  14077. t1 = rule.hiddenMixinsAndFunctions;
  14078. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14079. if (t1 === true) {
  14080. t1 = rule.hiddenVariables;
  14081. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14082. t1 = t1 === true;
  14083. } else
  14084. t1 = false;
  14085. } else
  14086. t1 = false;
  14087. else
  14088. t1 = false;
  14089. else
  14090. t1 = false;
  14091. if (t1)
  14092. return inner;
  14093. else
  14094. return A.ForwardedModuleView$(inner, rule, $T);
  14095. },
  14096. ForwardedModuleView$(_inner, _rule, $T) {
  14097. var t1 = _rule.prefix,
  14098. t2 = _rule.shownVariables,
  14099. t3 = _rule.hiddenVariables,
  14100. t4 = _rule.shownMixinsAndFunctions,
  14101. t5 = _rule.hiddenMixinsAndFunctions;
  14102. 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>"));
  14103. },
  14104. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14105. var t2,
  14106. t1 = prefix == null;
  14107. if (t1)
  14108. if (safelist == null)
  14109. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14110. else
  14111. t2 = false;
  14112. else
  14113. t2 = false;
  14114. if (t2)
  14115. return map;
  14116. if (!t1)
  14117. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14118. if (safelist != null)
  14119. 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>"));
  14120. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14121. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14122. return map;
  14123. },
  14124. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14125. var _ = this;
  14126. _._forwarded_view$_inner = t0;
  14127. _._rule = t1;
  14128. _.variables = t2;
  14129. _.variableNodes = t3;
  14130. _.functions = t4;
  14131. _.mixins = t5;
  14132. _.$ti = t6;
  14133. },
  14134. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14135. 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;
  14136. },
  14137. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14138. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14139. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14140. },
  14141. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14142. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14143. },
  14144. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14145. var _ = this;
  14146. _._shadowed_view$_inner = t0;
  14147. _.variables = t1;
  14148. _.variableNodes = t2;
  14149. _.functions = t3;
  14150. _.mixins = t4;
  14151. _.$ti = t5;
  14152. },
  14153. AtRootQueryParser$(contents, logger, url) {
  14154. var t1 = A.SpanScanner$(contents, url);
  14155. return new A.AtRootQueryParser(t1, logger, null);
  14156. },
  14157. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  14158. this.scanner = t0;
  14159. this.logger = t1;
  14160. this._interpolationMap = t2;
  14161. },
  14162. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14163. this.$this = t0;
  14164. },
  14165. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14166. },
  14167. CssParser: function CssParser(t0, t1, t2, t3) {
  14168. var _ = this;
  14169. _._isUseAllowed = true;
  14170. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14171. _._globalVariables = t0;
  14172. _.lastSilentComment = null;
  14173. _.scanner = t1;
  14174. _.logger = t2;
  14175. _._interpolationMap = t3;
  14176. },
  14177. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  14178. var t1 = A.SpanScanner$(contents, null);
  14179. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  14180. },
  14181. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  14182. this.scanner = t0;
  14183. this.logger = t1;
  14184. this._interpolationMap = t2;
  14185. },
  14186. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14187. this.$this = t0;
  14188. },
  14189. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  14190. this.scanner = t0;
  14191. this.logger = t1;
  14192. this._interpolationMap = t2;
  14193. },
  14194. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14195. this.$this = t0;
  14196. },
  14197. Parser_isIdentifier(text) {
  14198. var t1, t2, exception, logger = null;
  14199. try {
  14200. t1 = logger;
  14201. t2 = A.SpanScanner$(text, null);
  14202. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  14203. return true;
  14204. } catch (exception) {
  14205. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14206. return false;
  14207. else
  14208. throw exception;
  14209. }
  14210. },
  14211. Parser: function Parser(t0, t1, t2) {
  14212. this.scanner = t0;
  14213. this.logger = t1;
  14214. this._interpolationMap = t2;
  14215. },
  14216. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14217. this.$this = t0;
  14218. },
  14219. Parser_escape_closure: function Parser_escape_closure() {
  14220. },
  14221. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14222. this.caseSensitive = t0;
  14223. this.char = t1;
  14224. },
  14225. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14226. this.$this = t0;
  14227. this.span = t1;
  14228. },
  14229. SassParser: function SassParser(t0, t1, t2, t3) {
  14230. var _ = this;
  14231. _._currentIndentation = 0;
  14232. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14233. _._isUseAllowed = true;
  14234. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14235. _._globalVariables = t0;
  14236. _.lastSilentComment = null;
  14237. _.scanner = t1;
  14238. _.logger = t2;
  14239. _._interpolationMap = t3;
  14240. },
  14241. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14242. },
  14243. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14244. this.$this = t0;
  14245. this.child = t1;
  14246. this.children = t2;
  14247. },
  14248. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14249. },
  14250. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14251. },
  14252. ScssParser$(contents, logger, url) {
  14253. var t1 = A.SpanScanner$(contents, url),
  14254. t2 = logger == null ? B.StderrLogger_false : logger;
  14255. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  14256. },
  14257. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14258. var _ = this;
  14259. _._isUseAllowed = true;
  14260. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14261. _._globalVariables = t0;
  14262. _.lastSilentComment = null;
  14263. _.scanner = t1;
  14264. _.logger = t2;
  14265. _._interpolationMap = t3;
  14266. },
  14267. SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  14268. var t1 = A.SpanScanner$(contents, url);
  14269. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  14270. },
  14271. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  14272. var _ = this;
  14273. _._allowParent = t0;
  14274. _._allowPlaceholder = t1;
  14275. _.scanner = t2;
  14276. _.logger = t3;
  14277. _._interpolationMap = t4;
  14278. },
  14279. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14280. this.$this = t0;
  14281. },
  14282. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14283. this.$this = t0;
  14284. },
  14285. StylesheetParser: function StylesheetParser() {
  14286. },
  14287. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14288. this.$this = t0;
  14289. },
  14290. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14291. this.$this = t0;
  14292. },
  14293. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  14294. },
  14295. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  14296. this.$this = t0;
  14297. },
  14298. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14299. this.$this = t0;
  14300. },
  14301. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14302. this.$this = t0;
  14303. },
  14304. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14305. this.$this = t0;
  14306. this.production = t1;
  14307. this.T = t2;
  14308. },
  14309. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  14310. this.$this = t0;
  14311. },
  14312. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  14313. this.$this = t0;
  14314. this.start = t1;
  14315. },
  14316. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  14317. this.declaration = t0;
  14318. },
  14319. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  14320. this.name = t0;
  14321. },
  14322. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  14323. this._box_0 = t0;
  14324. this.name = t1;
  14325. },
  14326. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  14327. var _ = this;
  14328. _._box_0 = t0;
  14329. _.$this = t1;
  14330. _.wasInStyleRule = t2;
  14331. _.start = t3;
  14332. },
  14333. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  14334. this._box_0 = t0;
  14335. },
  14336. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  14337. this._box_0 = t0;
  14338. this.value = t1;
  14339. },
  14340. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  14341. this.query = t0;
  14342. },
  14343. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  14344. },
  14345. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  14346. var _ = this;
  14347. _.$this = t0;
  14348. _.wasInControlDirective = t1;
  14349. _.variables = t2;
  14350. _.list = t3;
  14351. },
  14352. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  14353. this.name = t0;
  14354. this.$arguments = t1;
  14355. this.precedingComment = t2;
  14356. },
  14357. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  14358. this._box_0 = t0;
  14359. this.$this = t1;
  14360. },
  14361. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  14362. var _ = this;
  14363. _._box_0 = t0;
  14364. _.$this = t1;
  14365. _.wasInControlDirective = t2;
  14366. _.variable = t3;
  14367. _.from = t4;
  14368. _.to = t5;
  14369. },
  14370. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  14371. this.$this = t0;
  14372. this.variables = t1;
  14373. this.identifiers = t2;
  14374. },
  14375. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  14376. this.contentArguments_ = t0;
  14377. },
  14378. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  14379. this.query = t0;
  14380. },
  14381. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  14382. var _ = this;
  14383. _.$this = t0;
  14384. _.name = t1;
  14385. _.$arguments = t2;
  14386. _.precedingComment = t3;
  14387. },
  14388. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  14389. var _ = this;
  14390. _._box_0 = t0;
  14391. _.$this = t1;
  14392. _.name = t2;
  14393. _.value = t3;
  14394. },
  14395. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  14396. this.condition = t0;
  14397. },
  14398. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  14399. this.$this = t0;
  14400. this.wasInControlDirective = t1;
  14401. this.condition = t2;
  14402. },
  14403. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  14404. this._box_0 = t0;
  14405. this.name = t1;
  14406. },
  14407. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  14408. this._box_0 = t0;
  14409. this.$this = t1;
  14410. this.start = t2;
  14411. },
  14412. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  14413. this._box_0 = t0;
  14414. this.$this = t1;
  14415. },
  14416. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  14417. this._box_0 = t0;
  14418. this.resolveOneOperation = t1;
  14419. },
  14420. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  14421. var _ = this;
  14422. _._box_0 = t0;
  14423. _.$this = t1;
  14424. _.resetState = t2;
  14425. _.resolveOperations = t3;
  14426. },
  14427. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  14428. this._box_0 = t0;
  14429. this.$this = t1;
  14430. this.resolveOneOperation = t2;
  14431. },
  14432. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  14433. this._box_0 = t0;
  14434. this.$this = t1;
  14435. this.resolveOperations = t2;
  14436. },
  14437. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  14438. this.$this = t0;
  14439. },
  14440. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  14441. },
  14442. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  14443. },
  14444. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  14445. },
  14446. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  14447. this.$this = t0;
  14448. this.start = t1;
  14449. },
  14450. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  14451. },
  14452. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  14453. this.$this = t0;
  14454. },
  14455. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  14456. this.$this = t0;
  14457. this.start = t1;
  14458. },
  14459. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  14460. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  14461. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  14462. return t1;
  14463. },
  14464. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  14465. this._nodes = t0;
  14466. this.importCache = t1;
  14467. this._transitiveModificationTimes = t2;
  14468. },
  14469. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  14470. this.$this = t0;
  14471. },
  14472. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  14473. this.node = t0;
  14474. this.transitiveModificationTime = t1;
  14475. },
  14476. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  14477. var _ = this;
  14478. _.$this = t0;
  14479. _.url = t1;
  14480. _.baseImporter = t2;
  14481. _.baseUrl = t3;
  14482. },
  14483. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  14484. var _ = this;
  14485. _.$this = t0;
  14486. _.importer = t1;
  14487. _.canonicalUrl = t2;
  14488. _.originalUrl = t3;
  14489. },
  14490. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  14491. this.$this = t0;
  14492. this.node = t1;
  14493. this.canonicalUrl = t2;
  14494. },
  14495. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  14496. var _ = this;
  14497. _.$this = t0;
  14498. _.url = t1;
  14499. _.baseImporter = t2;
  14500. _.baseUrl = t3;
  14501. _.forImport = t4;
  14502. },
  14503. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  14504. this._box_0 = t0;
  14505. this.$this = t1;
  14506. },
  14507. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  14508. var _ = this;
  14509. _._stylesheet = t0;
  14510. _.importer = t1;
  14511. _.canonicalUrl = t2;
  14512. _._upstream = t3;
  14513. _._upstreamImports = t4;
  14514. _._downstream = t5;
  14515. },
  14516. Syntax_forPath(path) {
  14517. var t1,
  14518. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14519. $label0$0: {
  14520. if (".sass" === _0_0) {
  14521. t1 = B.Syntax_Sass_sass;
  14522. break $label0$0;
  14523. }
  14524. if (".css" === _0_0) {
  14525. t1 = B.Syntax_CSS_css;
  14526. break $label0$0;
  14527. }
  14528. t1 = B.Syntax_SCSS_scss;
  14529. break $label0$0;
  14530. }
  14531. return t1;
  14532. },
  14533. Syntax: function Syntax(t0, t1) {
  14534. this._syntax$_name = t0;
  14535. this._name = t1;
  14536. },
  14537. Box: function Box(t0, t1) {
  14538. this._box$_inner = t0;
  14539. this.$ti = t1;
  14540. },
  14541. ModifiableBox: function ModifiableBox(t0, t1) {
  14542. this.value = t0;
  14543. this.$ti = t1;
  14544. },
  14545. LazyFileSpan: function LazyFileSpan(t0) {
  14546. this._builder = t0;
  14547. this._lazy_file_span$_span = null;
  14548. },
  14549. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  14550. var t2, key,
  14551. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  14552. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  14553. key = t2.get$current(t2);
  14554. if (!blocklist.contains$1(0, key))
  14555. t1.add$1(0, key);
  14556. }
  14557. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  14558. },
  14559. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  14560. this._limited_map_view$_map = t0;
  14561. this._limited_map_view$_keys = t1;
  14562. this.$ti = t2;
  14563. },
  14564. MapExtensions_get_pairs(_this, $K, $V) {
  14565. 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)"));
  14566. },
  14567. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  14568. this.K = t0;
  14569. this.V = t1;
  14570. },
  14571. MergedMapView$(maps, $K, $V) {
  14572. var t1 = $K._eval$1("@<0>")._bind$1($V);
  14573. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  14574. t1.MergedMapView$1(maps, $K, $V);
  14575. return t1;
  14576. },
  14577. MergedMapView: function MergedMapView(t0, t1) {
  14578. this._mapsByKey = t0;
  14579. this.$ti = t1;
  14580. },
  14581. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  14582. this._watchers = t0;
  14583. this._group = t1;
  14584. this._poll = t2;
  14585. },
  14586. MultiSpan: function MultiSpan(t0, t1, t2) {
  14587. this._multi_span$_primary = t0;
  14588. this.primaryLabel = t1;
  14589. this.secondarySpans = t2;
  14590. },
  14591. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  14592. this._no_source_map_buffer$_buffer = t0;
  14593. },
  14594. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  14595. this._prefixed_map_view$_map = t0;
  14596. this._prefix = t1;
  14597. this.$ti = t2;
  14598. },
  14599. _PrefixedKeys: function _PrefixedKeys(t0) {
  14600. this._view = t0;
  14601. },
  14602. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  14603. this.$this = t0;
  14604. },
  14605. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  14606. this._public_member_map_view$_inner = t0;
  14607. this.$ti = t1;
  14608. },
  14609. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  14610. var _ = this;
  14611. _._source_map_buffer$_buffer = t0;
  14612. _._entries = t1;
  14613. _._column = _._line = 0;
  14614. _._inSpan = false;
  14615. },
  14616. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  14617. this._box_0 = t0;
  14618. this.prefixLength = t1;
  14619. },
  14620. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  14621. this._unprefixed_map_view$_map = t0;
  14622. this._unprefixed_map_view$_prefix = t1;
  14623. this.$ti = t2;
  14624. },
  14625. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  14626. this._unprefixed_map_view$_view = t0;
  14627. },
  14628. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  14629. this.$this = t0;
  14630. },
  14631. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  14632. this.$this = t0;
  14633. },
  14634. toSentence(iter, conjunction) {
  14635. if (iter.get$length(iter) === 1)
  14636. return J.toString$0$(iter.get$first(iter));
  14637. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  14638. },
  14639. indent(string, indentation) {
  14640. 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");
  14641. },
  14642. pluralize($name, number, plural) {
  14643. if (number === 1)
  14644. return $name;
  14645. if (plural != null)
  14646. return plural;
  14647. return $name + "s";
  14648. },
  14649. trimAscii(string, excludeEscape) {
  14650. var t1,
  14651. start = A._firstNonWhitespace(string);
  14652. if (start == null)
  14653. t1 = "";
  14654. else {
  14655. t1 = A._lastNonWhitespace(string, true);
  14656. t1.toString;
  14657. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  14658. }
  14659. return t1;
  14660. },
  14661. trimAsciiRight(string, excludeEscape) {
  14662. var end = A._lastNonWhitespace(string, excludeEscape);
  14663. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  14664. },
  14665. _firstNonWhitespace(string) {
  14666. var t1, i, t2;
  14667. for (t1 = string.length, i = 0; i < t1; ++i) {
  14668. t2 = string.charCodeAt(i);
  14669. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  14670. return i;
  14671. }
  14672. return null;
  14673. },
  14674. _lastNonWhitespace(string, excludeEscape) {
  14675. var i, i0, codeUnit;
  14676. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  14677. codeUnit = string.charCodeAt(i0);
  14678. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  14679. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  14680. return i0 + 1;
  14681. else
  14682. return i0;
  14683. }
  14684. return null;
  14685. },
  14686. isPublic(member) {
  14687. var start = member.charCodeAt(0);
  14688. return start !== 45 && start !== 95;
  14689. },
  14690. flattenVertically(iterable, $T) {
  14691. var result,
  14692. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  14693. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  14694. if (queues.length === 1)
  14695. return B.JSArray_methods.get$first(queues);
  14696. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  14697. for (; queues.length !== 0;) {
  14698. if (!!queues.fixed$length)
  14699. A.throwExpression(A.UnsupportedError$("removeWhere"));
  14700. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  14701. }
  14702. return result;
  14703. },
  14704. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  14705. var codeUnitIndex, i, codeUnitIndex0;
  14706. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  14707. codeUnitIndex0 = codeUnitIndex + 1;
  14708. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  14709. }
  14710. return codeUnitIndex;
  14711. },
  14712. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  14713. var codepointIndex, i;
  14714. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  14715. ++codepointIndex;
  14716. return codepointIndex;
  14717. },
  14718. frameForSpan(span, member, url) {
  14719. var t2, t3,
  14720. t1 = url == null ? span.get$sourceUrl(span) : url;
  14721. if (t1 == null)
  14722. t1 = $.$get$_noSourceUrl();
  14723. t2 = span.get$start(span);
  14724. t2 = t2.file.getLine$1(t2.offset);
  14725. t3 = span.get$start(span);
  14726. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  14727. },
  14728. declarationName(span) {
  14729. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  14730. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  14731. },
  14732. unvendor($name) {
  14733. var i,
  14734. t1 = $name.length;
  14735. if (t1 < 2)
  14736. return $name;
  14737. if ($name.charCodeAt(0) !== 45)
  14738. return $name;
  14739. if ($name.charCodeAt(1) === 45)
  14740. return $name;
  14741. for (i = 2; i < t1; ++i)
  14742. if ($name.charCodeAt(i) === 45)
  14743. return B.JSString_methods.substring$1($name, i + 1);
  14744. return $name;
  14745. },
  14746. equalsIgnoreCase(string1, string2) {
  14747. var t1, i;
  14748. if (string1 === string2)
  14749. return true;
  14750. if (string1 == null || false)
  14751. return false;
  14752. t1 = string1.length;
  14753. if (t1 !== string2.length)
  14754. return false;
  14755. for (i = 0; i < t1; ++i)
  14756. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  14757. return false;
  14758. return true;
  14759. },
  14760. startsWithIgnoreCase(string, prefix) {
  14761. var i,
  14762. t1 = prefix.length;
  14763. if (string.length < t1)
  14764. return false;
  14765. for (i = 0; i < t1; ++i)
  14766. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  14767. return false;
  14768. return true;
  14769. },
  14770. mapInPlace(list, $function) {
  14771. var i;
  14772. for (i = 0; i < list.length; ++i)
  14773. list[i] = $function.call$1(list[i]);
  14774. },
  14775. longestCommonSubsequence(list1, list2, select, $T) {
  14776. var t1, _i, selections, i, i0, j, selection, j0,
  14777. _length = list1.get$length(0) + 1,
  14778. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  14779. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  14780. 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);
  14781. _length = list1.get$length(0);
  14782. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  14783. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  14784. 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);
  14785. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  14786. 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) {
  14787. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  14788. selections[i][j] = selection;
  14789. t1 = lengths[i0];
  14790. j0 = j + 1;
  14791. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  14792. }
  14793. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  14794. },
  14795. removeFirstWhere(list, test, orElse) {
  14796. var i;
  14797. for (i = 0; i < list.length; ++i) {
  14798. if (!test.call$1(list[i]))
  14799. continue;
  14800. B.JSArray_methods.removeAt$1(list, i);
  14801. return;
  14802. }
  14803. orElse.call$0();
  14804. },
  14805. mapAddAll2(destination, source, K1, K2, $V) {
  14806. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  14807. },
  14808. setAll(map, keys, value) {
  14809. var t1;
  14810. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  14811. map.$indexSet(0, t1.get$current(t1), value);
  14812. },
  14813. rotateSlice(list, start, end) {
  14814. var i, next,
  14815. element = list.$index(0, end - 1);
  14816. for (i = start; i < end; ++i, element = next) {
  14817. next = list.$index(0, i);
  14818. list.$indexSet(0, i, element);
  14819. }
  14820. },
  14821. mapAsync(iterable, callback, $E, $F) {
  14822. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  14823. },
  14824. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  14825. var $async$goto = 0,
  14826. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14827. $async$returnValue, t2, _i, t1, $async$temp1;
  14828. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14829. if ($async$errorCode === 1)
  14830. return A._asyncRethrow($async$result, $async$completer);
  14831. while (true)
  14832. switch ($async$goto) {
  14833. case 0:
  14834. // Function start
  14835. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  14836. t2 = iterable.length, _i = 0;
  14837. case 3:
  14838. // for condition
  14839. if (!(_i < t2)) {
  14840. // goto after for
  14841. $async$goto = 5;
  14842. break;
  14843. }
  14844. $async$temp1 = t1;
  14845. $async$goto = 6;
  14846. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  14847. case 6:
  14848. // returning from await.
  14849. $async$temp1.push($async$result);
  14850. case 4:
  14851. // for update
  14852. ++_i;
  14853. // goto for condition
  14854. $async$goto = 3;
  14855. break;
  14856. case 5:
  14857. // after for
  14858. $async$returnValue = t1;
  14859. // goto return
  14860. $async$goto = 1;
  14861. break;
  14862. case 1:
  14863. // return
  14864. return A._asyncReturn($async$returnValue, $async$completer);
  14865. }
  14866. });
  14867. return A._asyncStartSync($async$mapAsync, $async$completer);
  14868. },
  14869. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  14870. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  14871. },
  14872. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  14873. var $async$goto = 0,
  14874. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14875. $async$returnValue, t1, value;
  14876. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14877. if ($async$errorCode === 1)
  14878. return A._asyncRethrow($async$result, $async$completer);
  14879. while (true)
  14880. switch ($async$goto) {
  14881. case 0:
  14882. // Function start
  14883. if (map.containsKey$1(key)) {
  14884. t1 = map.$index(0, key);
  14885. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  14886. // goto return
  14887. $async$goto = 1;
  14888. break;
  14889. }
  14890. $async$goto = 3;
  14891. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  14892. case 3:
  14893. // returning from await.
  14894. value = $async$result;
  14895. map.$indexSet(0, key, value);
  14896. $async$returnValue = value;
  14897. // goto return
  14898. $async$goto = 1;
  14899. break;
  14900. case 1:
  14901. // return
  14902. return A._asyncReturn($async$returnValue, $async$completer);
  14903. }
  14904. });
  14905. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  14906. },
  14907. copyMapOfMap(map, K1, K2, $V) {
  14908. var t3, key, child,
  14909. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  14910. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  14911. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14912. t3 = t1.get$current(t1);
  14913. key = t3._0;
  14914. child = t3._1;
  14915. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  14916. t3.addAll$1(0, child);
  14917. t2.$indexSet(0, key, t3);
  14918. }
  14919. return t2;
  14920. },
  14921. copyMapOfList(map, $K, $E) {
  14922. var t3,
  14923. t1 = $E._eval$1("List<0>"),
  14924. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  14925. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14926. t3 = t1.get$current(t1);
  14927. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  14928. }
  14929. return t2;
  14930. },
  14931. consumeEscapedCharacter(scanner) {
  14932. var _1_0, value, i, next, t1;
  14933. scanner.expectChar$1(92);
  14934. _1_0 = scanner.peekChar$0();
  14935. if (_1_0 == null)
  14936. return 65533;
  14937. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  14938. scanner.error$1(0, "Expected escape sequence.");
  14939. if (A.CharacterExtension_get_isHex(_1_0)) {
  14940. for (value = 0, i = 0; i < 6; ++i) {
  14941. next = scanner.peekChar$0();
  14942. if (next != null) {
  14943. if (!(next >= 48 && next <= 57))
  14944. if (!(next >= 97 && next <= 102))
  14945. t1 = next >= 65 && next <= 70;
  14946. else
  14947. t1 = true;
  14948. else
  14949. t1 = true;
  14950. t1 = !t1;
  14951. } else
  14952. t1 = true;
  14953. if (t1)
  14954. break;
  14955. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  14956. }
  14957. t1 = scanner.peekChar$0();
  14958. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  14959. scanner.readChar$0();
  14960. $label0$1: {
  14961. if (0 !== value)
  14962. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  14963. else
  14964. t1 = true;
  14965. if (t1) {
  14966. t1 = 65533;
  14967. break $label0$1;
  14968. }
  14969. t1 = value;
  14970. break $label0$1;
  14971. }
  14972. return t1;
  14973. }
  14974. return scanner.readChar$0();
  14975. },
  14976. throwWithTrace(error, originalError, trace) {
  14977. var t1 = A.getTrace(originalError);
  14978. A.attachTrace(error, t1 == null ? trace : t1);
  14979. throw A.wrapException(error);
  14980. },
  14981. attachTrace(error, trace) {
  14982. var t1;
  14983. if (trace.toString$0(0).length === 0)
  14984. return;
  14985. t1 = $.$get$_traces();
  14986. A.Expando__checkType(error);
  14987. if (t1._jsWeakMap.get(error) == null)
  14988. t1.$indexSet(0, error, trace);
  14989. },
  14990. getTrace(error) {
  14991. var t1;
  14992. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  14993. t1 = null;
  14994. else {
  14995. t1 = $.$get$_traces();
  14996. A.Expando__checkType(error);
  14997. t1 = t1._jsWeakMap.get(error);
  14998. }
  14999. return t1;
  15000. },
  15001. indent_closure: function indent_closure(t0) {
  15002. this.indentation = t0;
  15003. },
  15004. flattenVertically_closure: function flattenVertically_closure(t0) {
  15005. this.T = t0;
  15006. },
  15007. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15008. this.result = t0;
  15009. this.T = t1;
  15010. },
  15011. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15012. this.selections = t0;
  15013. this.lengths = t1;
  15014. this.T = t2;
  15015. },
  15016. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15017. var _ = this;
  15018. _.destination = t0;
  15019. _.K1 = t1;
  15020. _.K2 = t2;
  15021. _.V = t3;
  15022. },
  15023. SassApiValue_assertSelector(_this, allowParent, $name) {
  15024. var error, stackTrace, t1, exception,
  15025. string = _this._selectorString$1($name);
  15026. try {
  15027. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null, null);
  15028. return t1;
  15029. } catch (exception) {
  15030. t1 = A.unwrapException(exception);
  15031. if (type$.SassFormatException._is(t1)) {
  15032. error = t1;
  15033. stackTrace = A.getTraceFromException(exception);
  15034. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15035. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15036. } else
  15037. throw exception;
  15038. }
  15039. },
  15040. SassApiValue_assertCompoundSelector(_this, $name) {
  15041. var error, stackTrace, t1, exception,
  15042. allowParent = false,
  15043. string = _this._selectorString$1($name);
  15044. try {
  15045. t1 = A.SelectorParser$(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  15046. return t1;
  15047. } catch (exception) {
  15048. t1 = A.unwrapException(exception);
  15049. if (type$.SassFormatException._is(t1)) {
  15050. error = t1;
  15051. stackTrace = A.getTraceFromException(exception);
  15052. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15053. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15054. } else
  15055. throw exception;
  15056. }
  15057. },
  15058. Value: function Value() {
  15059. },
  15060. SassArgumentList$(contents, keywords, separator) {
  15061. var t1 = type$.Value;
  15062. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15063. t1.SassList$3$brackets(contents, separator, false);
  15064. return t1;
  15065. },
  15066. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15067. var _ = this;
  15068. _._keywords = t0;
  15069. _._wereKeywordsAccessed = false;
  15070. _._list$_contents = t1;
  15071. _._separator = t2;
  15072. _._hasBrackets = t3;
  15073. },
  15074. SassBoolean: function SassBoolean(t0) {
  15075. this.value = t0;
  15076. },
  15077. SassCalculation_calc(argument) {
  15078. var t1,
  15079. _0_0 = A.SassCalculation__simplify(argument);
  15080. $label0$0: {
  15081. if (_0_0 instanceof A.SassNumber) {
  15082. t1 = _0_0;
  15083. break $label0$0;
  15084. }
  15085. if (_0_0 instanceof A.SassCalculation) {
  15086. t1 = _0_0;
  15087. break $label0$0;
  15088. }
  15089. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15090. break $label0$0;
  15091. }
  15092. return t1;
  15093. },
  15094. SassCalculation_min($arguments) {
  15095. var minimum, _i, arg, t2,
  15096. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15097. t1 = args.length;
  15098. if (t1 === 0)
  15099. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15100. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15101. arg = args[_i];
  15102. if (arg instanceof A.SassNumber)
  15103. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15104. else
  15105. t2 = true;
  15106. if (t2) {
  15107. minimum = null;
  15108. break;
  15109. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15110. minimum = arg;
  15111. }
  15112. if (minimum != null)
  15113. return minimum;
  15114. A.SassCalculation__verifyCompatibleNumbers(args);
  15115. return new A.SassCalculation("min", args);
  15116. },
  15117. SassCalculation_max($arguments) {
  15118. var maximum, _i, arg, t2,
  15119. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15120. t1 = args.length;
  15121. if (t1 === 0)
  15122. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15123. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15124. arg = args[_i];
  15125. if (arg instanceof A.SassNumber)
  15126. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15127. else
  15128. t2 = true;
  15129. if (t2) {
  15130. maximum = null;
  15131. break;
  15132. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15133. maximum = arg;
  15134. }
  15135. if (maximum != null)
  15136. return maximum;
  15137. A.SassCalculation__verifyCompatibleNumbers(args);
  15138. return new A.SassCalculation("max", args);
  15139. },
  15140. SassCalculation_hypot($arguments) {
  15141. var first, subtotal, i, number, value, t2, t3,
  15142. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15143. t1 = args.length;
  15144. if (t1 === 0)
  15145. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15146. A.SassCalculation__verifyCompatibleNumbers(args);
  15147. first = B.JSArray_methods.get$first(args);
  15148. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15149. return new A.SassCalculation("hypot", args);
  15150. for (subtotal = 0, i = 0; i < t1;) {
  15151. number = args[i];
  15152. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15153. return new A.SassCalculation("hypot", args);
  15154. ++i;
  15155. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15156. subtotal += value * value;
  15157. }
  15158. t1 = Math.sqrt(subtotal);
  15159. t2 = J.getInterceptor$x(first);
  15160. t3 = t2.get$numeratorUnits(first);
  15161. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(first), t3);
  15162. },
  15163. SassCalculation_abs(argument) {
  15164. var t1, t2;
  15165. argument = A.SassCalculation__simplify(argument);
  15166. if (!(argument instanceof A.SassNumber))
  15167. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15168. if (argument.hasUnit$1("%")) {
  15169. t1 = argument.toString$0(0);
  15170. t2 = argument.toString$0(0);
  15171. A.EvaluationContext_current().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_043);
  15172. }
  15173. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15174. },
  15175. SassCalculation_exp(argument) {
  15176. argument = A.SassCalculation__simplify(argument);
  15177. if (!(argument instanceof A.SassNumber))
  15178. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15179. argument.assertNoUnits$0();
  15180. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15181. },
  15182. SassCalculation_sign(argument) {
  15183. var t1, _0_2, t2, arg;
  15184. argument = A.SassCalculation__simplify(argument);
  15185. $label0$0: {
  15186. t1 = argument instanceof A.SassNumber;
  15187. if (t1) {
  15188. _0_2 = argument._number$_value;
  15189. if (!isNaN(_0_2))
  15190. t2 = 0 === _0_2;
  15191. else
  15192. t2 = true;
  15193. } else
  15194. t2 = false;
  15195. if (t2) {
  15196. t1 = argument;
  15197. break $label0$0;
  15198. }
  15199. if (t1) {
  15200. t1 = !argument.hasUnit$1("%");
  15201. arg = argument;
  15202. } else {
  15203. arg = null;
  15204. t1 = false;
  15205. }
  15206. if (t1) {
  15207. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15208. break $label0$0;
  15209. }
  15210. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15211. break $label0$0;
  15212. }
  15213. return t1;
  15214. },
  15215. SassCalculation_clamp(min, value, max) {
  15216. var t1, args;
  15217. if (value == null && max != null)
  15218. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15219. min = A.SassCalculation__simplify(min);
  15220. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15221. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15222. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15223. if (value.lessThanOrEquals$1(min).value)
  15224. return min;
  15225. if (value.greaterThanOrEquals$1(max).value)
  15226. return max;
  15227. return value;
  15228. }
  15229. t1 = [min];
  15230. if (value != null)
  15231. t1.push(value);
  15232. if (max != null)
  15233. t1.push(max);
  15234. args = A.List_List$unmodifiable(t1, type$.Object);
  15235. A.SassCalculation__verifyCompatibleNumbers(args);
  15236. A.SassCalculation__verifyLength(args, 3);
  15237. return new A.SassCalculation("clamp", args);
  15238. },
  15239. SassCalculation_pow(base, exponent) {
  15240. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15241. if (exponent != null)
  15242. t1.push(exponent);
  15243. A.SassCalculation__verifyLength(t1, 2);
  15244. base = A.SassCalculation__simplify(base);
  15245. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15246. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15247. return new A.SassCalculation("pow", t1);
  15248. base.assertNoUnits$0();
  15249. exponent.assertNoUnits$0();
  15250. return A.pow0(base, exponent);
  15251. },
  15252. SassCalculation_log(number, base) {
  15253. var t1, t2;
  15254. number = A.SassCalculation__simplify(number);
  15255. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15256. t1 = A._setArrayType([number], type$.JSArray_Object);
  15257. t2 = base != null;
  15258. if (t2)
  15259. t1.push(base);
  15260. if (number instanceof A.SassNumber)
  15261. t2 = t2 && !(base instanceof A.SassNumber);
  15262. else
  15263. t2 = true;
  15264. if (t2)
  15265. return new A.SassCalculation("log", t1);
  15266. number.assertNoUnits$0();
  15267. if (base instanceof A.SassNumber) {
  15268. base.assertNoUnits$0();
  15269. return A.log(number, base);
  15270. }
  15271. return A.log(number, null);
  15272. },
  15273. SassCalculation_atan2(y, x) {
  15274. var t1;
  15275. y = A.SassCalculation__simplify(y);
  15276. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15277. t1 = A._setArrayType([y], type$.JSArray_Object);
  15278. if (x != null)
  15279. t1.push(x);
  15280. A.SassCalculation__verifyLength(t1, 2);
  15281. A.SassCalculation__verifyCompatibleNumbers(t1);
  15282. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15283. return new A.SassCalculation("atan2", t1);
  15284. 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));
  15285. },
  15286. SassCalculation_rem(dividend, modulus) {
  15287. var t1, result;
  15288. dividend = A.SassCalculation__simplify(dividend);
  15289. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15290. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15291. if (modulus != null)
  15292. t1.push(modulus);
  15293. A.SassCalculation__verifyLength(t1, 2);
  15294. A.SassCalculation__verifyCompatibleNumbers(t1);
  15295. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15296. return new A.SassCalculation("rem", t1);
  15297. result = dividend.modulo$1(modulus);
  15298. t1 = modulus._number$_value;
  15299. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15300. if (t1 == 1 / 0 || t1 == -1 / 0)
  15301. return dividend;
  15302. if (result._number$_value === 0)
  15303. return result.unaryMinus$0();
  15304. return result.minus$1(modulus);
  15305. }
  15306. return result;
  15307. },
  15308. SassCalculation_mod(dividend, modulus) {
  15309. var t1;
  15310. dividend = A.SassCalculation__simplify(dividend);
  15311. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15312. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15313. if (modulus != null)
  15314. t1.push(modulus);
  15315. A.SassCalculation__verifyLength(t1, 2);
  15316. A.SassCalculation__verifyCompatibleNumbers(t1);
  15317. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15318. return new A.SassCalculation("mod", t1);
  15319. return dividend.modulo$1(modulus);
  15320. },
  15321. SassCalculation_round(strategyOrNumber, numberOrStep, step) {
  15322. var _0_4, t1, _0_20, _0_6, _0_50, _0_6_isSet, _0_5_isSet, _0_2_isSet, number, _0_4_isSet, t2, _0_8, _0_8_isSet, _0_12, _0_14, _0_16, _0_16_isSet, _0_14_isSet, _0_12_isSet, t3, strategy, _0_10_isSet, rest, _null = null, _s5_ = "round",
  15323. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  15324. _0_2 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  15325. _0_5 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  15326. _0_10 = _0_1;
  15327. if (_0_1 instanceof A.SassNumber) {
  15328. type$.SassNumber._as(_0_10);
  15329. _0_4 = _0_2 == null;
  15330. t1 = _0_4;
  15331. _0_20 = _0_2;
  15332. if (t1) {
  15333. _0_6 = _0_5 == null;
  15334. t1 = _0_6;
  15335. _0_50 = _0_5;
  15336. _0_6_isSet = true;
  15337. _0_5_isSet = true;
  15338. } else {
  15339. _0_50 = _null;
  15340. _0_6 = _0_50;
  15341. _0_6_isSet = false;
  15342. _0_5_isSet = false;
  15343. t1 = false;
  15344. }
  15345. _0_2_isSet = true;
  15346. number = _0_10;
  15347. _0_1 = number;
  15348. _0_4_isSet = true;
  15349. } else {
  15350. number = _null;
  15351. _0_50 = number;
  15352. _0_6 = _0_50;
  15353. _0_20 = _0_6;
  15354. _0_4 = _0_20;
  15355. _0_1 = _0_10;
  15356. _0_4_isSet = false;
  15357. _0_2_isSet = false;
  15358. _0_6_isSet = false;
  15359. _0_5_isSet = false;
  15360. t1 = false;
  15361. }
  15362. if (t1) {
  15363. t1 = B.JSNumber_methods.round$0(number._number$_value);
  15364. t2 = number.get$numeratorUnits(number);
  15365. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  15366. }
  15367. if (_0_1 instanceof A.SassNumber) {
  15368. t1 = type$.SassNumber;
  15369. t1._as(_0_1);
  15370. if (_0_2_isSet)
  15371. t2 = _0_20;
  15372. else {
  15373. t2 = _0_2;
  15374. _0_20 = t2;
  15375. _0_2_isSet = true;
  15376. }
  15377. if (t2 instanceof A.SassNumber) {
  15378. if (_0_2_isSet)
  15379. t2 = _0_20;
  15380. else {
  15381. t2 = _0_2;
  15382. _0_20 = t2;
  15383. _0_2_isSet = true;
  15384. }
  15385. t1._as(t2);
  15386. if (_0_6_isSet)
  15387. t1 = _0_6;
  15388. else {
  15389. if (_0_5_isSet)
  15390. t1 = _0_50;
  15391. else {
  15392. t1 = _0_5;
  15393. _0_50 = t1;
  15394. _0_5_isSet = true;
  15395. }
  15396. _0_6 = t1 == null;
  15397. t1 = _0_6;
  15398. _0_6_isSet = true;
  15399. }
  15400. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  15401. step = t2;
  15402. } else {
  15403. step = _null;
  15404. t1 = false;
  15405. }
  15406. number = _0_1;
  15407. } else {
  15408. step = _null;
  15409. number = step;
  15410. t1 = false;
  15411. }
  15412. if (t1) {
  15413. t1 = type$.JSArray_Object;
  15414. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15415. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  15416. }
  15417. if (_0_1 instanceof A.SassNumber) {
  15418. t1 = type$.SassNumber;
  15419. t1._as(_0_1);
  15420. if (_0_2_isSet)
  15421. t2 = _0_20;
  15422. else {
  15423. t2 = _0_2;
  15424. _0_20 = t2;
  15425. _0_2_isSet = true;
  15426. }
  15427. if (t2 instanceof A.SassNumber) {
  15428. if (_0_2_isSet)
  15429. t2 = _0_20;
  15430. else {
  15431. t2 = _0_2;
  15432. _0_20 = t2;
  15433. _0_2_isSet = true;
  15434. }
  15435. t1._as(t2);
  15436. if (_0_6_isSet)
  15437. t1 = _0_6;
  15438. else {
  15439. if (_0_5_isSet)
  15440. t1 = _0_50;
  15441. else {
  15442. t1 = _0_5;
  15443. _0_50 = t1;
  15444. _0_5_isSet = true;
  15445. }
  15446. _0_6 = t1 == null;
  15447. t1 = _0_6;
  15448. _0_6_isSet = true;
  15449. }
  15450. step = t2;
  15451. } else {
  15452. step = _null;
  15453. t1 = false;
  15454. }
  15455. number = _0_1;
  15456. } else {
  15457. step = _null;
  15458. number = step;
  15459. t1 = false;
  15460. }
  15461. if (t1) {
  15462. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15463. return A.SassCalculation__roundWithStep("nearest", number, step);
  15464. }
  15465. if (_0_1 instanceof A.SassString) {
  15466. type$.SassString._as(_0_1);
  15467. _0_8 = _0_1._string$_text;
  15468. t1 = _0_8;
  15469. _0_10 = "nearest" === t1;
  15470. t1 = _0_10;
  15471. if (!t1) {
  15472. t1 = _0_8;
  15473. _0_8_isSet = true;
  15474. _0_12 = "up" === t1;
  15475. t1 = _0_12;
  15476. if (!t1) {
  15477. if (_0_8_isSet)
  15478. t1 = _0_8;
  15479. else {
  15480. type$.SassString._as(_0_1);
  15481. _0_8 = _0_1._string$_text;
  15482. t1 = _0_8;
  15483. _0_8_isSet = true;
  15484. }
  15485. _0_14 = "down" === t1;
  15486. t1 = _0_14;
  15487. if (!t1) {
  15488. if (_0_8_isSet)
  15489. t1 = _0_8;
  15490. else {
  15491. type$.SassString._as(_0_1);
  15492. _0_8 = _0_1._string$_text;
  15493. t1 = _0_8;
  15494. _0_8_isSet = true;
  15495. }
  15496. _0_16 = "to-zero" === t1;
  15497. t1 = _0_16;
  15498. _0_16_isSet = true;
  15499. } else {
  15500. _0_16 = _null;
  15501. _0_16_isSet = false;
  15502. t1 = true;
  15503. }
  15504. _0_14_isSet = true;
  15505. } else {
  15506. _0_16 = _null;
  15507. _0_14 = _0_16;
  15508. _0_14_isSet = false;
  15509. _0_16_isSet = false;
  15510. t1 = true;
  15511. }
  15512. _0_12_isSet = true;
  15513. } else {
  15514. _0_16 = _null;
  15515. _0_14 = _0_16;
  15516. _0_12 = _0_14;
  15517. _0_8_isSet = true;
  15518. _0_12_isSet = false;
  15519. _0_14_isSet = false;
  15520. _0_16_isSet = false;
  15521. t1 = true;
  15522. }
  15523. if (t1) {
  15524. type$.SassString._as(_0_1);
  15525. if (_0_2_isSet)
  15526. t1 = _0_20;
  15527. else {
  15528. t1 = _0_2;
  15529. _0_20 = t1;
  15530. _0_2_isSet = true;
  15531. }
  15532. if (t1 instanceof A.SassNumber) {
  15533. if (_0_2_isSet)
  15534. t1 = _0_20;
  15535. else {
  15536. t1 = _0_2;
  15537. _0_20 = t1;
  15538. _0_2_isSet = true;
  15539. }
  15540. t2 = type$.SassNumber;
  15541. t2._as(t1);
  15542. if (_0_5_isSet)
  15543. t3 = _0_50;
  15544. else {
  15545. t3 = _0_5;
  15546. _0_50 = t3;
  15547. _0_5_isSet = true;
  15548. }
  15549. if (t3 instanceof A.SassNumber) {
  15550. if (_0_5_isSet)
  15551. t3 = _0_50;
  15552. else {
  15553. t3 = _0_5;
  15554. _0_50 = t3;
  15555. _0_5_isSet = true;
  15556. }
  15557. t2._as(t3);
  15558. t2 = !t1.hasCompatibleUnits$1(t3);
  15559. step = t3;
  15560. } else {
  15561. step = _null;
  15562. t2 = false;
  15563. }
  15564. number = t1;
  15565. t1 = t2;
  15566. } else {
  15567. step = _null;
  15568. number = step;
  15569. t1 = false;
  15570. }
  15571. strategy = _0_1;
  15572. } else {
  15573. step = _null;
  15574. number = step;
  15575. strategy = number;
  15576. t1 = false;
  15577. }
  15578. _0_10_isSet = true;
  15579. } else {
  15580. step = _null;
  15581. number = step;
  15582. strategy = number;
  15583. _0_16 = strategy;
  15584. _0_14 = _0_16;
  15585. _0_12 = _0_14;
  15586. _0_8 = _0_12;
  15587. _0_10 = _0_8;
  15588. _0_10_isSet = false;
  15589. _0_8_isSet = false;
  15590. _0_12_isSet = false;
  15591. _0_14_isSet = false;
  15592. _0_16_isSet = false;
  15593. t1 = false;
  15594. }
  15595. if (t1) {
  15596. t1 = type$.JSArray_Object;
  15597. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15598. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  15599. }
  15600. if (_0_1 instanceof A.SassString) {
  15601. if (_0_10_isSet)
  15602. t1 = _0_10;
  15603. else {
  15604. if (_0_8_isSet)
  15605. t1 = _0_8;
  15606. else {
  15607. type$.SassString._as(_0_1);
  15608. _0_8 = _0_1._string$_text;
  15609. t1 = _0_8;
  15610. _0_8_isSet = true;
  15611. }
  15612. _0_10 = "nearest" === t1;
  15613. t1 = _0_10;
  15614. _0_10_isSet = true;
  15615. }
  15616. if (!t1) {
  15617. if (_0_12_isSet)
  15618. t1 = _0_12;
  15619. else {
  15620. if (_0_8_isSet)
  15621. t1 = _0_8;
  15622. else {
  15623. type$.SassString._as(_0_1);
  15624. _0_8 = _0_1._string$_text;
  15625. t1 = _0_8;
  15626. _0_8_isSet = true;
  15627. }
  15628. _0_12 = "up" === t1;
  15629. t1 = _0_12;
  15630. _0_12_isSet = true;
  15631. }
  15632. if (!t1) {
  15633. if (_0_14_isSet)
  15634. t1 = _0_14;
  15635. else {
  15636. if (_0_8_isSet)
  15637. t1 = _0_8;
  15638. else {
  15639. type$.SassString._as(_0_1);
  15640. _0_8 = _0_1._string$_text;
  15641. t1 = _0_8;
  15642. _0_8_isSet = true;
  15643. }
  15644. _0_14 = "down" === t1;
  15645. t1 = _0_14;
  15646. _0_14_isSet = true;
  15647. }
  15648. if (!t1)
  15649. if (_0_16_isSet)
  15650. t1 = _0_16;
  15651. else {
  15652. if (_0_8_isSet)
  15653. t1 = _0_8;
  15654. else {
  15655. type$.SassString._as(_0_1);
  15656. _0_8 = _0_1._string$_text;
  15657. t1 = _0_8;
  15658. _0_8_isSet = true;
  15659. }
  15660. _0_16 = "to-zero" === t1;
  15661. t1 = _0_16;
  15662. _0_16_isSet = true;
  15663. }
  15664. else
  15665. t1 = true;
  15666. } else
  15667. t1 = true;
  15668. } else
  15669. t1 = true;
  15670. if (t1) {
  15671. type$.SassString._as(_0_1);
  15672. if (_0_2_isSet)
  15673. t1 = _0_20;
  15674. else {
  15675. t1 = _0_2;
  15676. _0_20 = t1;
  15677. _0_2_isSet = true;
  15678. }
  15679. if (t1 instanceof A.SassNumber) {
  15680. if (_0_2_isSet)
  15681. t1 = _0_20;
  15682. else {
  15683. t1 = _0_2;
  15684. _0_20 = t1;
  15685. _0_2_isSet = true;
  15686. }
  15687. t2 = type$.SassNumber;
  15688. t2._as(t1);
  15689. if (_0_5_isSet)
  15690. t3 = _0_50;
  15691. else {
  15692. t3 = _0_5;
  15693. _0_50 = t3;
  15694. _0_5_isSet = true;
  15695. }
  15696. if (t3 instanceof A.SassNumber) {
  15697. if (_0_5_isSet)
  15698. t3 = _0_50;
  15699. else {
  15700. t3 = _0_5;
  15701. _0_50 = t3;
  15702. _0_5_isSet = true;
  15703. }
  15704. t2._as(t3);
  15705. step = t3;
  15706. t2 = true;
  15707. } else {
  15708. step = _null;
  15709. t2 = false;
  15710. }
  15711. number = t1;
  15712. t1 = t2;
  15713. } else {
  15714. step = _null;
  15715. number = step;
  15716. t1 = false;
  15717. }
  15718. strategy = _0_1;
  15719. } else {
  15720. step = _null;
  15721. number = step;
  15722. strategy = number;
  15723. t1 = false;
  15724. }
  15725. } else {
  15726. step = _null;
  15727. number = step;
  15728. strategy = number;
  15729. t1 = false;
  15730. }
  15731. if (t1) {
  15732. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15733. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  15734. }
  15735. if (_0_1 instanceof A.SassString) {
  15736. if (_0_10_isSet)
  15737. t1 = _0_10;
  15738. else {
  15739. if (_0_8_isSet)
  15740. t1 = _0_8;
  15741. else {
  15742. type$.SassString._as(_0_1);
  15743. _0_8 = _0_1._string$_text;
  15744. t1 = _0_8;
  15745. _0_8_isSet = true;
  15746. }
  15747. _0_10 = "nearest" === t1;
  15748. t1 = _0_10;
  15749. _0_10_isSet = true;
  15750. }
  15751. if (!t1) {
  15752. if (_0_12_isSet)
  15753. t1 = _0_12;
  15754. else {
  15755. if (_0_8_isSet)
  15756. t1 = _0_8;
  15757. else {
  15758. type$.SassString._as(_0_1);
  15759. _0_8 = _0_1._string$_text;
  15760. t1 = _0_8;
  15761. _0_8_isSet = true;
  15762. }
  15763. _0_12 = "up" === t1;
  15764. t1 = _0_12;
  15765. _0_12_isSet = true;
  15766. }
  15767. if (!t1) {
  15768. if (_0_14_isSet)
  15769. t1 = _0_14;
  15770. else {
  15771. if (_0_8_isSet)
  15772. t1 = _0_8;
  15773. else {
  15774. type$.SassString._as(_0_1);
  15775. _0_8 = _0_1._string$_text;
  15776. t1 = _0_8;
  15777. _0_8_isSet = true;
  15778. }
  15779. _0_14 = "down" === t1;
  15780. t1 = _0_14;
  15781. _0_14_isSet = true;
  15782. }
  15783. if (!t1)
  15784. if (_0_16_isSet)
  15785. t1 = _0_16;
  15786. else {
  15787. if (_0_8_isSet)
  15788. t1 = _0_8;
  15789. else {
  15790. type$.SassString._as(_0_1);
  15791. _0_8 = _0_1._string$_text;
  15792. t1 = _0_8;
  15793. _0_8_isSet = true;
  15794. }
  15795. _0_16 = "to-zero" === t1;
  15796. t1 = _0_16;
  15797. _0_16_isSet = true;
  15798. }
  15799. else
  15800. t1 = true;
  15801. } else
  15802. t1 = true;
  15803. } else
  15804. t1 = true;
  15805. if (t1) {
  15806. t1 = type$.SassString;
  15807. t1._as(_0_1);
  15808. if (_0_2_isSet)
  15809. t2 = _0_20;
  15810. else {
  15811. t2 = _0_2;
  15812. _0_20 = t2;
  15813. _0_2_isSet = true;
  15814. }
  15815. if (t2 instanceof A.SassString) {
  15816. if (_0_2_isSet)
  15817. t2 = _0_20;
  15818. else {
  15819. t2 = _0_2;
  15820. _0_20 = t2;
  15821. _0_2_isSet = true;
  15822. }
  15823. t1._as(t2);
  15824. if (_0_6_isSet)
  15825. t1 = _0_6;
  15826. else {
  15827. if (_0_5_isSet)
  15828. t1 = _0_50;
  15829. else {
  15830. t1 = _0_5;
  15831. _0_50 = t1;
  15832. _0_5_isSet = true;
  15833. }
  15834. _0_6 = t1 == null;
  15835. t1 = _0_6;
  15836. _0_6_isSet = true;
  15837. }
  15838. rest = t2;
  15839. } else {
  15840. rest = _null;
  15841. t1 = false;
  15842. }
  15843. strategy = _0_1;
  15844. } else {
  15845. rest = _null;
  15846. strategy = rest;
  15847. t1 = false;
  15848. }
  15849. } else {
  15850. rest = _null;
  15851. strategy = rest;
  15852. t1 = false;
  15853. }
  15854. if (t1)
  15855. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  15856. if (_0_1 instanceof A.SassString) {
  15857. if (_0_10_isSet)
  15858. t1 = _0_10;
  15859. else {
  15860. if (_0_8_isSet)
  15861. t1 = _0_8;
  15862. else {
  15863. type$.SassString._as(_0_1);
  15864. _0_8 = _0_1._string$_text;
  15865. t1 = _0_8;
  15866. _0_8_isSet = true;
  15867. }
  15868. _0_10 = "nearest" === t1;
  15869. t1 = _0_10;
  15870. _0_10_isSet = true;
  15871. }
  15872. if (!t1) {
  15873. if (_0_12_isSet)
  15874. t1 = _0_12;
  15875. else {
  15876. if (_0_8_isSet)
  15877. t1 = _0_8;
  15878. else {
  15879. type$.SassString._as(_0_1);
  15880. _0_8 = _0_1._string$_text;
  15881. t1 = _0_8;
  15882. _0_8_isSet = true;
  15883. }
  15884. _0_12 = "up" === t1;
  15885. t1 = _0_12;
  15886. _0_12_isSet = true;
  15887. }
  15888. if (!t1) {
  15889. if (_0_14_isSet)
  15890. t1 = _0_14;
  15891. else {
  15892. if (_0_8_isSet)
  15893. t1 = _0_8;
  15894. else {
  15895. type$.SassString._as(_0_1);
  15896. _0_8 = _0_1._string$_text;
  15897. t1 = _0_8;
  15898. _0_8_isSet = true;
  15899. }
  15900. _0_14 = "down" === t1;
  15901. t1 = _0_14;
  15902. _0_14_isSet = true;
  15903. }
  15904. if (!t1)
  15905. if (_0_16_isSet)
  15906. t1 = _0_16;
  15907. else {
  15908. if (_0_8_isSet)
  15909. t1 = _0_8;
  15910. else {
  15911. type$.SassString._as(_0_1);
  15912. _0_8 = _0_1._string$_text;
  15913. t1 = _0_8;
  15914. _0_8_isSet = true;
  15915. }
  15916. _0_16 = "to-zero" === t1;
  15917. t1 = _0_16;
  15918. _0_16_isSet = true;
  15919. }
  15920. else
  15921. t1 = true;
  15922. } else
  15923. t1 = true;
  15924. } else
  15925. t1 = true;
  15926. if (t1) {
  15927. if (_0_2_isSet)
  15928. t1 = _0_20;
  15929. else {
  15930. t1 = _0_2;
  15931. _0_20 = t1;
  15932. _0_2_isSet = true;
  15933. }
  15934. if (t1 != null)
  15935. if (_0_6_isSet)
  15936. t1 = _0_6;
  15937. else {
  15938. if (_0_5_isSet)
  15939. t1 = _0_50;
  15940. else {
  15941. t1 = _0_5;
  15942. _0_50 = t1;
  15943. _0_5_isSet = true;
  15944. }
  15945. _0_6 = t1 == null;
  15946. t1 = _0_6;
  15947. _0_6_isSet = true;
  15948. }
  15949. else
  15950. t1 = false;
  15951. } else
  15952. t1 = false;
  15953. } else
  15954. t1 = false;
  15955. if (t1)
  15956. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  15957. if (_0_1 instanceof A.SassString) {
  15958. if (_0_10_isSet)
  15959. t1 = _0_10;
  15960. else {
  15961. if (_0_8_isSet)
  15962. t1 = _0_8;
  15963. else {
  15964. type$.SassString._as(_0_1);
  15965. _0_8 = _0_1._string$_text;
  15966. t1 = _0_8;
  15967. _0_8_isSet = true;
  15968. }
  15969. _0_10 = "nearest" === t1;
  15970. t1 = _0_10;
  15971. _0_10_isSet = true;
  15972. }
  15973. if (!t1) {
  15974. if (_0_12_isSet)
  15975. t1 = _0_12;
  15976. else {
  15977. if (_0_8_isSet)
  15978. t1 = _0_8;
  15979. else {
  15980. type$.SassString._as(_0_1);
  15981. _0_8 = _0_1._string$_text;
  15982. t1 = _0_8;
  15983. _0_8_isSet = true;
  15984. }
  15985. _0_12 = "up" === t1;
  15986. t1 = _0_12;
  15987. _0_12_isSet = true;
  15988. }
  15989. if (!t1) {
  15990. if (_0_14_isSet)
  15991. t1 = _0_14;
  15992. else {
  15993. if (_0_8_isSet)
  15994. t1 = _0_8;
  15995. else {
  15996. type$.SassString._as(_0_1);
  15997. _0_8 = _0_1._string$_text;
  15998. t1 = _0_8;
  15999. _0_8_isSet = true;
  16000. }
  16001. _0_14 = "down" === t1;
  16002. t1 = _0_14;
  16003. _0_14_isSet = true;
  16004. }
  16005. if (!t1)
  16006. if (_0_16_isSet)
  16007. t1 = _0_16;
  16008. else {
  16009. if (_0_8_isSet)
  16010. t1 = _0_8;
  16011. else {
  16012. type$.SassString._as(_0_1);
  16013. _0_8 = _0_1._string$_text;
  16014. t1 = _0_8;
  16015. _0_8_isSet = true;
  16016. }
  16017. _0_16 = "to-zero" === t1;
  16018. t1 = _0_16;
  16019. _0_16_isSet = true;
  16020. }
  16021. else
  16022. t1 = true;
  16023. } else
  16024. t1 = true;
  16025. } else
  16026. t1 = true;
  16027. if (t1) {
  16028. if (_0_4_isSet)
  16029. t1 = _0_4;
  16030. else {
  16031. if (_0_2_isSet)
  16032. t1 = _0_20;
  16033. else {
  16034. t1 = _0_2;
  16035. _0_20 = t1;
  16036. _0_2_isSet = true;
  16037. }
  16038. _0_4 = t1 == null;
  16039. t1 = _0_4;
  16040. _0_4_isSet = true;
  16041. }
  16042. if (t1)
  16043. if (_0_6_isSet)
  16044. t1 = _0_6;
  16045. else {
  16046. if (_0_5_isSet)
  16047. t1 = _0_50;
  16048. else {
  16049. t1 = _0_5;
  16050. _0_50 = t1;
  16051. _0_5_isSet = true;
  16052. }
  16053. _0_6 = t1 == null;
  16054. t1 = _0_6;
  16055. _0_6_isSet = true;
  16056. }
  16057. else
  16058. t1 = false;
  16059. } else
  16060. t1 = false;
  16061. } else
  16062. t1 = false;
  16063. if (t1)
  16064. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16065. if (_0_1 instanceof A.SassString) {
  16066. type$.SassString._as(_0_1);
  16067. if (_0_4_isSet)
  16068. t1 = _0_4;
  16069. else {
  16070. if (_0_2_isSet)
  16071. t1 = _0_20;
  16072. else {
  16073. t1 = _0_2;
  16074. _0_20 = t1;
  16075. _0_2_isSet = true;
  16076. }
  16077. _0_4 = t1 == null;
  16078. t1 = _0_4;
  16079. _0_4_isSet = true;
  16080. }
  16081. if (t1)
  16082. if (_0_6_isSet)
  16083. t1 = _0_6;
  16084. else {
  16085. if (_0_5_isSet)
  16086. t1 = _0_50;
  16087. else {
  16088. t1 = _0_5;
  16089. _0_50 = t1;
  16090. _0_5_isSet = true;
  16091. }
  16092. _0_6 = t1 == null;
  16093. t1 = _0_6;
  16094. _0_6_isSet = true;
  16095. }
  16096. else
  16097. t1 = false;
  16098. rest = _0_1;
  16099. } else {
  16100. rest = _null;
  16101. t1 = false;
  16102. }
  16103. if (t1)
  16104. return new A.SassCalculation(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  16105. if (_0_4_isSet)
  16106. t1 = _0_4;
  16107. else {
  16108. if (_0_2_isSet)
  16109. t1 = _0_20;
  16110. else {
  16111. t1 = _0_2;
  16112. _0_20 = t1;
  16113. _0_2_isSet = true;
  16114. }
  16115. _0_4 = t1 == null;
  16116. t1 = _0_4;
  16117. }
  16118. if (t1)
  16119. if (_0_6_isSet)
  16120. t1 = _0_6;
  16121. else {
  16122. if (_0_5_isSet)
  16123. t1 = _0_50;
  16124. else {
  16125. t1 = _0_5;
  16126. _0_50 = t1;
  16127. _0_5_isSet = true;
  16128. }
  16129. _0_6 = t1 == null;
  16130. t1 = _0_6;
  16131. _0_6_isSet = true;
  16132. }
  16133. else
  16134. t1 = false;
  16135. if (t1)
  16136. throw A.wrapException(A.SassScriptException$("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  16137. if (_0_2_isSet)
  16138. t1 = _0_20;
  16139. else {
  16140. t1 = _0_2;
  16141. _0_20 = t1;
  16142. _0_2_isSet = true;
  16143. }
  16144. if (t1 != null) {
  16145. if (_0_2_isSet)
  16146. step = _0_20;
  16147. else {
  16148. step = _0_2;
  16149. _0_20 = step;
  16150. _0_2_isSet = true;
  16151. }
  16152. if (step == null)
  16153. step = type$.Object._as(step);
  16154. if (_0_6_isSet)
  16155. t1 = _0_6;
  16156. else {
  16157. if (_0_5_isSet)
  16158. t1 = _0_50;
  16159. else {
  16160. t1 = _0_5;
  16161. _0_50 = t1;
  16162. _0_5_isSet = true;
  16163. }
  16164. _0_6 = t1 == null;
  16165. t1 = _0_6;
  16166. }
  16167. } else {
  16168. step = _null;
  16169. t1 = false;
  16170. }
  16171. if (t1)
  16172. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16173. if (_0_1 instanceof A.SassString) {
  16174. if (_0_10_isSet)
  16175. t1 = _0_10;
  16176. else {
  16177. if (_0_8_isSet)
  16178. t1 = _0_8;
  16179. else {
  16180. type$.SassString._as(_0_1);
  16181. _0_8 = _0_1._string$_text;
  16182. t1 = _0_8;
  16183. _0_8_isSet = true;
  16184. }
  16185. _0_10 = "nearest" === t1;
  16186. t1 = _0_10;
  16187. }
  16188. if (!t1) {
  16189. if (_0_12_isSet)
  16190. t1 = _0_12;
  16191. else {
  16192. if (_0_8_isSet)
  16193. t1 = _0_8;
  16194. else {
  16195. type$.SassString._as(_0_1);
  16196. _0_8 = _0_1._string$_text;
  16197. t1 = _0_8;
  16198. _0_8_isSet = true;
  16199. }
  16200. _0_12 = "up" === t1;
  16201. t1 = _0_12;
  16202. }
  16203. if (!t1) {
  16204. if (_0_14_isSet)
  16205. t1 = _0_14;
  16206. else {
  16207. if (_0_8_isSet)
  16208. t1 = _0_8;
  16209. else {
  16210. type$.SassString._as(_0_1);
  16211. _0_8 = _0_1._string$_text;
  16212. t1 = _0_8;
  16213. _0_8_isSet = true;
  16214. }
  16215. _0_14 = "down" === t1;
  16216. t1 = _0_14;
  16217. }
  16218. if (!t1)
  16219. if (_0_16_isSet)
  16220. t1 = _0_16;
  16221. else {
  16222. if (_0_8_isSet)
  16223. t1 = _0_8;
  16224. else {
  16225. type$.SassString._as(_0_1);
  16226. _0_8 = _0_1._string$_text;
  16227. t1 = _0_8;
  16228. }
  16229. _0_16 = "to-zero" === t1;
  16230. t1 = _0_16;
  16231. }
  16232. else
  16233. t1 = true;
  16234. } else
  16235. t1 = true;
  16236. } else
  16237. t1 = true;
  16238. } else
  16239. t1 = false;
  16240. if (!t1)
  16241. if (_0_1 instanceof A.SassString) {
  16242. type$.SassString._as(_0_1);
  16243. t1 = _0_1.get$isVar();
  16244. } else
  16245. t1 = false;
  16246. else
  16247. t1 = true;
  16248. if (t1) {
  16249. type$.SassString._as(_0_1);
  16250. if (_0_2_isSet)
  16251. t1 = _0_20;
  16252. else {
  16253. t1 = _0_2;
  16254. _0_20 = t1;
  16255. _0_2_isSet = true;
  16256. }
  16257. if (t1 != null) {
  16258. if (_0_2_isSet)
  16259. number = _0_20;
  16260. else {
  16261. number = _0_2;
  16262. _0_20 = number;
  16263. _0_2_isSet = true;
  16264. }
  16265. if (number == null)
  16266. number = type$.Object._as(number);
  16267. if (_0_5_isSet)
  16268. t1 = _0_50;
  16269. else {
  16270. t1 = _0_5;
  16271. _0_50 = t1;
  16272. _0_5_isSet = true;
  16273. }
  16274. if (t1 != null) {
  16275. if (_0_5_isSet)
  16276. step = _0_50;
  16277. else {
  16278. step = _0_5;
  16279. _0_50 = step;
  16280. _0_5_isSet = true;
  16281. }
  16282. if (step == null)
  16283. step = type$.Object._as(step);
  16284. t1 = true;
  16285. } else {
  16286. step = _null;
  16287. t1 = false;
  16288. }
  16289. } else {
  16290. step = _null;
  16291. number = step;
  16292. t1 = false;
  16293. }
  16294. strategy = _0_1;
  16295. } else {
  16296. step = _null;
  16297. number = step;
  16298. strategy = number;
  16299. t1 = false;
  16300. }
  16301. if (t1)
  16302. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16303. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  16304. t1 = (_0_5_isSet ? _0_50 : _0_5) != null && true;
  16305. else
  16306. t1 = false;
  16307. if (t1)
  16308. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16309. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16310. throw A.wrapException(t1);
  16311. },
  16312. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify) {
  16313. var t1;
  16314. if (!simplify)
  16315. return new A.CalculationOperation(operator, left, right);
  16316. left = A.SassCalculation__simplify(left);
  16317. right = A.SassCalculation__simplify(right);
  16318. if (B.CalculationOperator_IyK === operator || B.CalculationOperator_2bx === operator) {
  16319. if (left instanceof A.SassNumber)
  16320. if (right instanceof A.SassNumber)
  16321. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  16322. else
  16323. t1 = false;
  16324. else
  16325. t1 = false;
  16326. if (t1)
  16327. return operator === B.CalculationOperator_IyK ? left.plus$1(right) : left.minus$1(right);
  16328. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16329. if (right instanceof A.SassNumber) {
  16330. t1 = right._number$_value;
  16331. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16332. } else
  16333. t1 = false;
  16334. if (t1) {
  16335. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16336. operator = operator === B.CalculationOperator_IyK ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  16337. }
  16338. return new A.CalculationOperation(operator, left, right);
  16339. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16340. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  16341. else
  16342. return new A.CalculationOperation(operator, left, right);
  16343. },
  16344. SassCalculation__roundWithStep(strategy, number, step) {
  16345. var _0_2, t1, _0_6, _0_8, _0_1, _0_1_isSet, _0_8_isSet, _0_9, _0_9_isSet, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  16346. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  16347. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  16348. _0_2 = number._number$_value;
  16349. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  16350. t1 = step._number$_value;
  16351. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  16352. } else
  16353. t1 = false;
  16354. if (!t1) {
  16355. t1 = step._number$_value;
  16356. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  16357. } else
  16358. t1 = true;
  16359. if (t1) {
  16360. t1 = number.get$numeratorUnits(number);
  16361. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16362. }
  16363. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  16364. return number;
  16365. t1 = step._number$_value;
  16366. if (t1 == 1 / 0 || t1 == -1 / 0) {
  16367. $label0$0: {
  16368. if (0 === _0_2) {
  16369. t1 = number;
  16370. break $label0$0;
  16371. }
  16372. _0_6 = "nearest" === strategy;
  16373. t1 = _0_6;
  16374. if (!t1) {
  16375. _0_8 = "to-zero" === strategy;
  16376. t1 = _0_8;
  16377. _0_1 = strategy;
  16378. _0_1_isSet = true;
  16379. _0_8_isSet = true;
  16380. } else {
  16381. _0_8 = _null;
  16382. _0_1 = strategy;
  16383. _0_1_isSet = true;
  16384. _0_8_isSet = false;
  16385. t1 = true;
  16386. }
  16387. if (t1) {
  16388. _0_9 = _0_2 > 0;
  16389. t1 = _0_9;
  16390. _0_9_isSet = true;
  16391. } else {
  16392. _0_9 = _null;
  16393. _0_9_isSet = false;
  16394. t1 = false;
  16395. }
  16396. if (t1) {
  16397. t1 = number.get$numeratorUnits(number);
  16398. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16399. break $label0$0;
  16400. }
  16401. if (!_0_6)
  16402. if (_0_8_isSet)
  16403. t1 = _0_8;
  16404. else {
  16405. if (_0_1_isSet)
  16406. t1 = _0_1;
  16407. else {
  16408. t1 = strategy;
  16409. _0_1 = t1;
  16410. _0_1_isSet = true;
  16411. }
  16412. _0_8 = "to-zero" === t1;
  16413. t1 = _0_8;
  16414. }
  16415. else
  16416. t1 = true;
  16417. if (t1) {
  16418. t1 = number.get$numeratorUnits(number);
  16419. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16420. break $label0$0;
  16421. }
  16422. if (_0_1_isSet)
  16423. t1 = _0_1;
  16424. else {
  16425. t1 = strategy;
  16426. _0_1 = t1;
  16427. _0_1_isSet = true;
  16428. }
  16429. _0_11 = "up" === t1;
  16430. t1 = _0_11;
  16431. if (t1)
  16432. if (_0_9_isSet)
  16433. t1 = _0_9;
  16434. else {
  16435. _0_9 = _0_2 > 0;
  16436. t1 = _0_9;
  16437. }
  16438. else
  16439. t1 = false;
  16440. if (t1) {
  16441. t1 = number.get$numeratorUnits(number);
  16442. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  16443. break $label0$0;
  16444. }
  16445. if (_0_11) {
  16446. t1 = number.get$numeratorUnits(number);
  16447. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16448. break $label0$0;
  16449. }
  16450. _0_13 = "down" === (_0_1_isSet ? _0_1 : strategy);
  16451. t1 = _0_13;
  16452. if (t1)
  16453. t1 = _0_2 < 0;
  16454. else
  16455. t1 = false;
  16456. if (t1) {
  16457. t1 = number.get$numeratorUnits(number);
  16458. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  16459. break $label0$0;
  16460. }
  16461. if (_0_13) {
  16462. t1 = number.get$numeratorUnits(number);
  16463. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16464. break $label0$0;
  16465. }
  16466. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  16467. }
  16468. return t1;
  16469. }
  16470. stepWithNumberUnit = step.convertValueToMatch$1(number);
  16471. $label1$1: {
  16472. if ("nearest" === strategy) {
  16473. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  16474. t2 = number.get$numeratorUnits(number);
  16475. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16476. t1 = t2;
  16477. break $label1$1;
  16478. }
  16479. if ("up" === strategy) {
  16480. t2 = _0_2 / stepWithNumberUnit;
  16481. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  16482. t2 = number.get$numeratorUnits(number);
  16483. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16484. t1 = t2;
  16485. break $label1$1;
  16486. }
  16487. if ("down" === strategy) {
  16488. t2 = _0_2 / stepWithNumberUnit;
  16489. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  16490. t2 = number.get$numeratorUnits(number);
  16491. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16492. t1 = t2;
  16493. break $label1$1;
  16494. }
  16495. if ("to-zero" === strategy) {
  16496. t1 = _0_2 / stepWithNumberUnit;
  16497. if (_0_2 < 0) {
  16498. t1 = B.JSNumber_methods.ceil$0(t1);
  16499. t2 = number.get$numeratorUnits(number);
  16500. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16501. t1 = t2;
  16502. } else {
  16503. t1 = B.JSNumber_methods.floor$0(t1);
  16504. t2 = number.get$numeratorUnits(number);
  16505. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16506. t1 = t2;
  16507. }
  16508. break $label1$1;
  16509. }
  16510. t1 = number.get$numeratorUnits(number);
  16511. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16512. break $label1$1;
  16513. }
  16514. return t1;
  16515. },
  16516. SassCalculation__simplify(arg) {
  16517. var t1, _0_11, _0_12, _0_15, t2, _0_12_isSet, _0_16, text, _0_16_isSet, _0_15_isSet, _0_11_isSet, value, _null = null,
  16518. _s32_ = " can't be used in a calculation.";
  16519. $label0$0: {
  16520. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  16521. t1 = arg;
  16522. break $label0$0;
  16523. }
  16524. t1 = arg instanceof A.SassString;
  16525. if (t1 && !arg._hasQuotes) {
  16526. t1 = arg;
  16527. break $label0$0;
  16528. }
  16529. if (t1)
  16530. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  16531. t1 = arg instanceof A.SassCalculation;
  16532. if (t1) {
  16533. _0_11 = "calc" === arg.name;
  16534. if (_0_11) {
  16535. _0_12 = arg.$arguments;
  16536. _0_15 = _0_12.length === 1;
  16537. t2 = _0_15;
  16538. if (t2) {
  16539. t2 = _0_12;
  16540. _0_12_isSet = true;
  16541. _0_16 = t2[0];
  16542. t2 = _0_16;
  16543. if (t2 instanceof A.SassString) {
  16544. type$.SassString._as(_0_16);
  16545. if (!_0_16._hasQuotes) {
  16546. text = _0_16._string$_text;
  16547. t2 = A.SassCalculation__needsParentheses(text);
  16548. } else {
  16549. text = _null;
  16550. t2 = false;
  16551. }
  16552. } else {
  16553. text = _null;
  16554. t2 = false;
  16555. }
  16556. _0_16_isSet = true;
  16557. } else {
  16558. text = _null;
  16559. _0_16 = text;
  16560. _0_12_isSet = true;
  16561. _0_16_isSet = false;
  16562. t2 = false;
  16563. }
  16564. _0_15_isSet = true;
  16565. } else {
  16566. text = _null;
  16567. _0_16 = text;
  16568. _0_12 = _0_16;
  16569. _0_15 = _0_12;
  16570. _0_15_isSet = false;
  16571. _0_12_isSet = false;
  16572. _0_16_isSet = false;
  16573. t2 = false;
  16574. }
  16575. _0_11_isSet = true;
  16576. } else {
  16577. text = _null;
  16578. _0_16 = text;
  16579. _0_12 = _0_16;
  16580. _0_15 = _0_12;
  16581. _0_11 = _0_15;
  16582. _0_11_isSet = false;
  16583. _0_15_isSet = false;
  16584. _0_12_isSet = false;
  16585. _0_16_isSet = false;
  16586. t2 = false;
  16587. }
  16588. if (t2) {
  16589. t1 = new A.SassString("(" + A.S(text) + ")", false);
  16590. break $label0$0;
  16591. }
  16592. if (t1)
  16593. if (_0_11_isSet ? _0_11 : "calc" === arg.name)
  16594. if (_0_15_isSet)
  16595. t2 = _0_15;
  16596. else {
  16597. if (_0_12_isSet)
  16598. t2 = _0_12;
  16599. else {
  16600. _0_12 = arg.$arguments;
  16601. t2 = _0_12;
  16602. _0_12_isSet = true;
  16603. }
  16604. _0_15 = t2.length === 1;
  16605. t2 = _0_15;
  16606. }
  16607. else
  16608. t2 = false;
  16609. else
  16610. t2 = false;
  16611. if (t2) {
  16612. if (_0_16_isSet)
  16613. value = _0_16;
  16614. else {
  16615. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  16616. value = _0_16;
  16617. }
  16618. t1 = value;
  16619. break $label0$0;
  16620. }
  16621. if (t1) {
  16622. t1 = arg;
  16623. break $label0$0;
  16624. }
  16625. if (arg instanceof A.Value)
  16626. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  16627. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  16628. }
  16629. return t1;
  16630. },
  16631. SassCalculation__needsParentheses(text) {
  16632. var t1, couldBeVar, second, third, fourth, i, t2,
  16633. first = text.charCodeAt(0);
  16634. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  16635. return true;
  16636. t1 = text.length;
  16637. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  16638. if (t1 < 2)
  16639. return false;
  16640. second = text.charCodeAt(1);
  16641. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  16642. return true;
  16643. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  16644. if (t1 < 3)
  16645. return false;
  16646. third = text.charCodeAt(2);
  16647. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  16648. return true;
  16649. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  16650. if (t1 < 4)
  16651. return false;
  16652. fourth = text.charCodeAt(3);
  16653. if (couldBeVar && fourth === 40)
  16654. return true;
  16655. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  16656. return true;
  16657. for (i = 4; i < t1; ++i) {
  16658. t2 = text.charCodeAt(i);
  16659. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  16660. return true;
  16661. }
  16662. return false;
  16663. },
  16664. SassCalculation__verifyCompatibleNumbers(args) {
  16665. var t1, _i, t2, arg, i, number1, j, number2;
  16666. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  16667. arg = args[_i];
  16668. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  16669. throw A.wrapException(A.SassScriptException$("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  16670. }
  16671. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  16672. number1 = args[i];
  16673. if (!(number1 instanceof A.SassNumber))
  16674. continue;
  16675. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  16676. number2 = args[j];
  16677. if (!(number2 instanceof A.SassNumber))
  16678. continue;
  16679. if (number1.hasPossiblyCompatibleUnits$1(number2))
  16680. continue;
  16681. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  16682. }
  16683. }
  16684. },
  16685. SassCalculation__verifyLength(args, expectedLength) {
  16686. var t1;
  16687. if (args.length === expectedLength)
  16688. return;
  16689. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  16690. return;
  16691. t1 = args.length;
  16692. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  16693. },
  16694. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  16695. argument = A.SassCalculation__simplify(argument);
  16696. if (!(argument instanceof A.SassNumber))
  16697. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  16698. if (forbidUnits)
  16699. argument.assertNoUnits$0();
  16700. return mathFunc.call$1(argument);
  16701. },
  16702. SassCalculation: function SassCalculation(t0, t1) {
  16703. this.name = t0;
  16704. this.$arguments = t1;
  16705. },
  16706. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  16707. },
  16708. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  16709. this._operator = t0;
  16710. this._left = t1;
  16711. this._right = t2;
  16712. },
  16713. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  16714. var _ = this;
  16715. _.name = t0;
  16716. _.operator = t1;
  16717. _.precedence = t2;
  16718. _._name = t3;
  16719. },
  16720. SassColor$rgb(red, green, blue, alpha) {
  16721. var _null = null,
  16722. t1 = new A.SassColor(red, green, blue, _null, _null, _null, A.fuzzyAssertRange(A.SassColor__handleNullAlpha(alpha), 0, 1, "alpha"), _null);
  16723. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16724. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16725. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16726. return t1;
  16727. },
  16728. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  16729. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  16730. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16731. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16732. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16733. return t1;
  16734. },
  16735. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  16736. 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);
  16737. },
  16738. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  16739. var t2, t1 = {},
  16740. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  16741. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  16742. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  16743. sum = scaledWhiteness + scaledBlackness;
  16744. if (sum > 1) {
  16745. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  16746. scaledBlackness /= sum;
  16747. } else
  16748. t2 = scaledWhiteness;
  16749. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  16750. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  16751. },
  16752. SassColor__handleNullAlpha(alpha) {
  16753. return alpha;
  16754. },
  16755. SassColor__hueToRgb(m1, m2, hue) {
  16756. var t1;
  16757. if (hue < 0)
  16758. ++hue;
  16759. if (hue > 1)
  16760. --hue;
  16761. $label0$0: {
  16762. if (hue < 0.16666666666666666) {
  16763. t1 = m1 + (m2 - m1) * hue * 6;
  16764. break $label0$0;
  16765. }
  16766. if (hue < 0.5) {
  16767. t1 = m2;
  16768. break $label0$0;
  16769. }
  16770. if (hue < 0.6666666666666666) {
  16771. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  16772. break $label0$0;
  16773. }
  16774. t1 = m1;
  16775. break $label0$0;
  16776. }
  16777. return t1;
  16778. },
  16779. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  16780. var _ = this;
  16781. _._red = t0;
  16782. _._green = t1;
  16783. _._blue = t2;
  16784. _._hue = t3;
  16785. _._saturation = t4;
  16786. _._lightness = t5;
  16787. _._alpha = t6;
  16788. _.format = t7;
  16789. },
  16790. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  16791. this._box_0 = t0;
  16792. this.factor = t1;
  16793. },
  16794. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  16795. this._color$_name = t0;
  16796. },
  16797. SpanColorFormat: function SpanColorFormat(t0) {
  16798. this._color$_span = t0;
  16799. },
  16800. SassFunction: function SassFunction(t0) {
  16801. this.callable = t0;
  16802. },
  16803. SassList$(contents, _separator, brackets) {
  16804. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  16805. t1.SassList$3$brackets(contents, _separator, brackets);
  16806. return t1;
  16807. },
  16808. SassList: function SassList(t0, t1, t2) {
  16809. this._list$_contents = t0;
  16810. this._separator = t1;
  16811. this._hasBrackets = t2;
  16812. },
  16813. SassList_isBlank_closure: function SassList_isBlank_closure() {
  16814. },
  16815. ListSeparator: function ListSeparator(t0, t1, t2) {
  16816. this._list$_name = t0;
  16817. this.separator = t1;
  16818. this._name = t2;
  16819. },
  16820. SassMap: function SassMap(t0) {
  16821. this._map$_contents = t0;
  16822. },
  16823. SassMixin: function SassMixin(t0) {
  16824. this.callable = t0;
  16825. },
  16826. _SassNull: function _SassNull() {
  16827. },
  16828. conversionFactor(unit1, unit2) {
  16829. var _0_0;
  16830. if (unit1 === unit2)
  16831. return 1;
  16832. _0_0 = B.Map_nfuzN.$index(0, unit1);
  16833. if (_0_0 != null)
  16834. return _0_0.$index(0, unit2);
  16835. return null;
  16836. },
  16837. SassNumber_SassNumber(value, unit) {
  16838. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  16839. },
  16840. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  16841. var _0_4, t1, _0_1, _0_1_isSet, _0_6, _0_6_isSet, _0_4_isSet, _0_8, _0_10, _0_7, _0_7_isSet, _0_10_isSet, _0_8_isSet, t2, unit, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7, _1_7_isSet, _null = null;
  16842. if (!false) {
  16843. _0_4 = (numeratorUnits === null ? type$.List_String._as(numeratorUnits) : numeratorUnits).length;
  16844. t1 = _0_4;
  16845. _0_1 = numeratorUnits;
  16846. _0_1_isSet = true;
  16847. _0_6 = t1 <= 0;
  16848. t1 = _0_6;
  16849. _0_6_isSet = true;
  16850. _0_4_isSet = true;
  16851. } else {
  16852. _0_4 = _null;
  16853. _0_6 = _0_4;
  16854. _0_1 = numeratorUnits;
  16855. _0_1_isSet = true;
  16856. _0_6_isSet = false;
  16857. _0_4_isSet = false;
  16858. t1 = true;
  16859. }
  16860. if (t1) {
  16861. _0_8 = denominatorUnits == null;
  16862. t1 = _0_8;
  16863. if (!t1) {
  16864. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  16865. t1 = _0_10;
  16866. _0_7 = denominatorUnits;
  16867. _0_7_isSet = true;
  16868. _0_10_isSet = true;
  16869. } else {
  16870. _0_10 = _null;
  16871. _0_7 = denominatorUnits;
  16872. _0_7_isSet = true;
  16873. _0_10_isSet = false;
  16874. t1 = true;
  16875. }
  16876. _0_8_isSet = true;
  16877. } else {
  16878. _0_10 = _null;
  16879. _0_7 = _0_10;
  16880. _0_8 = _0_7;
  16881. _0_8_isSet = false;
  16882. _0_7_isSet = false;
  16883. _0_10_isSet = false;
  16884. t1 = false;
  16885. }
  16886. if (t1)
  16887. return new A.UnitlessSassNumber(value, _null);
  16888. if (_0_1_isSet)
  16889. t1 = _0_1;
  16890. else {
  16891. t1 = numeratorUnits;
  16892. _0_1 = t1;
  16893. _0_1_isSet = true;
  16894. }
  16895. t2 = type$.List_String;
  16896. if (t2._is(t1)) {
  16897. if (_0_4_isSet)
  16898. t1 = _0_4;
  16899. else {
  16900. if (_0_1_isSet)
  16901. t1 = _0_1;
  16902. else {
  16903. t1 = numeratorUnits;
  16904. _0_1 = t1;
  16905. _0_1_isSet = true;
  16906. }
  16907. _0_4 = (t1 == null ? t2._as(t1) : t1).length;
  16908. t1 = _0_4;
  16909. _0_4_isSet = true;
  16910. }
  16911. if (t1 === 1) {
  16912. if (_0_1_isSet)
  16913. t1 = _0_1;
  16914. else {
  16915. t1 = numeratorUnits;
  16916. _0_1 = t1;
  16917. _0_1_isSet = true;
  16918. }
  16919. unit = (t1 == null ? t2._as(t1) : t1)[0];
  16920. if (_0_8_isSet)
  16921. t1 = _0_8;
  16922. else {
  16923. if (_0_7_isSet)
  16924. t1 = _0_7;
  16925. else {
  16926. t1 = denominatorUnits;
  16927. _0_7 = t1;
  16928. _0_7_isSet = true;
  16929. }
  16930. _0_8 = t1 == null;
  16931. t1 = _0_8;
  16932. _0_8_isSet = true;
  16933. }
  16934. if (!t1)
  16935. if (_0_10_isSet)
  16936. t1 = _0_10;
  16937. else {
  16938. if (_0_7_isSet)
  16939. t1 = _0_7;
  16940. else {
  16941. t1 = denominatorUnits;
  16942. _0_7 = t1;
  16943. _0_7_isSet = true;
  16944. }
  16945. _0_10 = (t1 == null ? t2._as(t1) : t1).length <= 0;
  16946. t1 = _0_10;
  16947. _0_10_isSet = true;
  16948. }
  16949. else
  16950. t1 = true;
  16951. } else {
  16952. unit = _null;
  16953. t1 = false;
  16954. }
  16955. } else {
  16956. unit = _null;
  16957. t1 = false;
  16958. }
  16959. if (t1)
  16960. return new A.SingleUnitSassNumber(unit, value, _null);
  16961. if (_0_1_isSet)
  16962. t1 = _0_1;
  16963. else {
  16964. t1 = numeratorUnits;
  16965. _0_1 = t1;
  16966. _0_1_isSet = true;
  16967. }
  16968. if (t1 != null) {
  16969. if (_0_1_isSet)
  16970. numerators = _0_1;
  16971. else {
  16972. numerators = numeratorUnits;
  16973. _0_1 = numerators;
  16974. _0_1_isSet = true;
  16975. }
  16976. if (numerators == null)
  16977. numerators = t2._as(numerators);
  16978. if (_0_8_isSet)
  16979. t1 = _0_8;
  16980. else {
  16981. if (_0_7_isSet)
  16982. t1 = _0_7;
  16983. else {
  16984. t1 = denominatorUnits;
  16985. _0_7 = t1;
  16986. _0_7_isSet = true;
  16987. }
  16988. _0_8 = t1 == null;
  16989. t1 = _0_8;
  16990. }
  16991. if (!t1)
  16992. if (_0_10_isSet)
  16993. t1 = _0_10;
  16994. else {
  16995. if (_0_7_isSet)
  16996. t1 = _0_7;
  16997. else {
  16998. t1 = denominatorUnits;
  16999. _0_7 = t1;
  17000. _0_7_isSet = true;
  17001. }
  17002. _0_10 = (t1 == null ? t2._as(t1) : t1).length <= 0;
  17003. t1 = _0_10;
  17004. }
  17005. else
  17006. t1 = true;
  17007. } else {
  17008. numerators = _null;
  17009. t1 = false;
  17010. }
  17011. if (t1)
  17012. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17013. if (!false)
  17014. if (_0_6_isSet)
  17015. t1 = _0_6;
  17016. else {
  17017. if (_0_4_isSet)
  17018. t1 = _0_4;
  17019. else {
  17020. t1 = _0_1_isSet ? _0_1 : numeratorUnits;
  17021. _0_4 = (t1 == null ? t2._as(t1) : t1).length;
  17022. t1 = _0_4;
  17023. }
  17024. _0_6 = t1 <= 0;
  17025. t1 = _0_6;
  17026. }
  17027. else
  17028. t1 = true;
  17029. if (t1) {
  17030. if (_0_7_isSet)
  17031. t1 = _0_7;
  17032. else {
  17033. t1 = denominatorUnits;
  17034. _0_7 = t1;
  17035. _0_7_isSet = true;
  17036. }
  17037. if (t1 != null) {
  17038. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17039. if (denominators == null)
  17040. denominators = t2._as(denominators);
  17041. t1 = true;
  17042. } else {
  17043. denominators = _null;
  17044. t1 = false;
  17045. }
  17046. } else {
  17047. denominators = _null;
  17048. t1 = false;
  17049. }
  17050. if (t1)
  17051. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17052. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17053. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17054. denominators = A._setArrayType([], type$.JSArray_String);
  17055. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17056. denominator = unsimplifiedDenominators[_i];
  17057. i = 0;
  17058. while (true) {
  17059. if (!(i < numerators.length)) {
  17060. simplifiedAway = false;
  17061. break;
  17062. }
  17063. c$0: {
  17064. factor = A.conversionFactor(denominator, numerators[i]);
  17065. if (factor == null)
  17066. break c$0;
  17067. valueDouble *= factor;
  17068. B.JSArray_methods.removeAt$1(numerators, i);
  17069. simplifiedAway = true;
  17070. break;
  17071. }
  17072. ++i;
  17073. }
  17074. if (!simplifiedAway)
  17075. denominators.push(denominator);
  17076. }
  17077. $label0$1: {
  17078. _1_2 = numerators.length;
  17079. t1 = _1_2;
  17080. if (t1 <= 0) {
  17081. _1_7 = denominators.length <= 0;
  17082. t1 = _1_7;
  17083. _1_7_isSet = true;
  17084. } else {
  17085. _1_7 = _null;
  17086. _1_7_isSet = false;
  17087. t1 = false;
  17088. }
  17089. if (t1) {
  17090. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17091. break $label0$1;
  17092. }
  17093. if (_1_2 === 1) {
  17094. unit = numerators[0];
  17095. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  17096. } else {
  17097. unit = _null;
  17098. t1 = false;
  17099. }
  17100. if (t1) {
  17101. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  17102. break $label0$1;
  17103. }
  17104. t1 = type$.String;
  17105. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  17106. break $label0$1;
  17107. }
  17108. return t1;
  17109. },
  17110. SassNumber: function SassNumber() {
  17111. },
  17112. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  17113. var _ = this;
  17114. _.$this = t0;
  17115. _.other = t1;
  17116. _.otherName = t2;
  17117. _.otherHasUnits = t3;
  17118. _.name = t4;
  17119. _.newNumerators = t5;
  17120. _.newDenominators = t6;
  17121. },
  17122. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  17123. this._box_0 = t0;
  17124. this.newNumerator = t1;
  17125. },
  17126. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  17127. this.compatibilityException = t0;
  17128. },
  17129. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  17130. this._box_0 = t0;
  17131. this.newDenominator = t1;
  17132. },
  17133. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  17134. this.compatibilityException = t0;
  17135. },
  17136. SassNumber_plus_closure: function SassNumber_plus_closure() {
  17137. },
  17138. SassNumber_minus_closure: function SassNumber_minus_closure() {
  17139. },
  17140. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  17141. this._box_0 = t0;
  17142. this.numerator = t1;
  17143. },
  17144. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  17145. this.newNumerators = t0;
  17146. this.numerator = t1;
  17147. },
  17148. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  17149. this._box_0 = t0;
  17150. this.numerator = t1;
  17151. },
  17152. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  17153. this.newNumerators = t0;
  17154. this.numerator = t1;
  17155. },
  17156. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  17157. this.units2 = t0;
  17158. },
  17159. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  17160. },
  17161. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  17162. this.$this = t0;
  17163. },
  17164. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  17165. },
  17166. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  17167. },
  17168. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  17169. var _ = this;
  17170. _._numeratorUnits = t0;
  17171. _._denominatorUnits = t1;
  17172. _._number$_value = t2;
  17173. _.hashCache = null;
  17174. _.asSlash = t3;
  17175. },
  17176. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  17177. var _ = this;
  17178. _._unit = t0;
  17179. _._number$_value = t1;
  17180. _.hashCache = null;
  17181. _.asSlash = t2;
  17182. },
  17183. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  17184. this.$this = t0;
  17185. this.unit = t1;
  17186. },
  17187. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  17188. this.$this = t0;
  17189. },
  17190. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  17191. this._box_0 = t0;
  17192. this.$this = t1;
  17193. },
  17194. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  17195. this._box_0 = t0;
  17196. this.$this = t1;
  17197. },
  17198. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  17199. this._number$_value = t0;
  17200. this.hashCache = null;
  17201. this.asSlash = t1;
  17202. },
  17203. SassString$(_text, quotes) {
  17204. return new A.SassString(_text, quotes);
  17205. },
  17206. SassString: function SassString(t0, t1) {
  17207. var _ = this;
  17208. _._string$_text = t0;
  17209. _._hasQuotes = t1;
  17210. _.__SassString__sassLength_FI = $;
  17211. _._hashCache = null;
  17212. },
  17213. AnySelectorVisitor: function AnySelectorVisitor() {
  17214. },
  17215. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  17216. this.$this = t0;
  17217. },
  17218. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  17219. this.$this = t0;
  17220. },
  17221. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17222. var t1 = type$.Uri,
  17223. t2 = type$.Module_AsyncCallable,
  17224. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17225. 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);
  17226. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17227. return t1;
  17228. },
  17229. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  17230. var _ = this;
  17231. _._async_evaluate$_importCache = t0;
  17232. _._async_evaluate$_nodeImporter = t1;
  17233. _._async_evaluate$_builtInFunctions = t2;
  17234. _._async_evaluate$_builtInModules = t3;
  17235. _._async_evaluate$_modules = t4;
  17236. _._async_evaluate$_moduleConfigurations = t5;
  17237. _._async_evaluate$_moduleNodes = t6;
  17238. _._async_evaluate$_logger = t7;
  17239. _._async_evaluate$_warningsEmitted = t8;
  17240. _._async_evaluate$_quietDeps = t9;
  17241. _._async_evaluate$_sourceMap = t10;
  17242. _._async_evaluate$_environment = t11;
  17243. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  17244. _._async_evaluate$_member = "root stylesheet";
  17245. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  17246. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  17247. _._async_evaluate$_loadedUrls = t12;
  17248. _._async_evaluate$_activeModules = t13;
  17249. _._async_evaluate$_stack = t14;
  17250. _._async_evaluate$_importer = null;
  17251. _._async_evaluate$_inDependency = false;
  17252. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  17253. _._async_evaluate$_configuration = t15;
  17254. },
  17255. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  17256. this.$this = t0;
  17257. },
  17258. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  17259. this.$this = t0;
  17260. },
  17261. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  17262. this.$this = t0;
  17263. },
  17264. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  17265. this.$this = t0;
  17266. },
  17267. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  17268. this.$this = t0;
  17269. },
  17270. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  17271. this.$this = t0;
  17272. },
  17273. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  17274. this.$this = t0;
  17275. },
  17276. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  17277. this.$this = t0;
  17278. },
  17279. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  17280. this.$this = t0;
  17281. },
  17282. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  17283. this.$this = t0;
  17284. this.name = t1;
  17285. this.module = t2;
  17286. },
  17287. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  17288. this.$this = t0;
  17289. },
  17290. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  17291. this.$this = t0;
  17292. this.name = t1;
  17293. this.module = t2;
  17294. },
  17295. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  17296. this.$this = t0;
  17297. },
  17298. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  17299. this.$this = t0;
  17300. },
  17301. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  17302. this.values = t0;
  17303. this.span = t1;
  17304. this.callableNode = t2;
  17305. },
  17306. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  17307. this.$this = t0;
  17308. },
  17309. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  17310. this.$this = t0;
  17311. },
  17312. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  17313. this.$this = t0;
  17314. this.node = t1;
  17315. this.importer = t2;
  17316. },
  17317. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  17318. this.$this = t0;
  17319. this.importer = t1;
  17320. this.node = t2;
  17321. },
  17322. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  17323. this._box_1 = t0;
  17324. this.callback = t1;
  17325. },
  17326. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  17327. var _ = this;
  17328. _.$this = t0;
  17329. _.url = t1;
  17330. _.nodeWithSpan = t2;
  17331. _.baseUrl = t3;
  17332. _.namesInErrors = t4;
  17333. _.configuration = t5;
  17334. _.callback = t6;
  17335. },
  17336. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  17337. this.$this = t0;
  17338. this.message = t1;
  17339. },
  17340. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  17341. this._box_0 = t0;
  17342. this.callback = t1;
  17343. this.firstLoad = t2;
  17344. },
  17345. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17346. var _ = this;
  17347. _.$this = t0;
  17348. _.importer = t1;
  17349. _.stylesheet = t2;
  17350. _.extensionStore = t3;
  17351. _.configuration = t4;
  17352. _.css = t5;
  17353. _.preModuleComments = t6;
  17354. },
  17355. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  17356. },
  17357. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  17358. this.selectors = t0;
  17359. },
  17360. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  17361. var _ = this;
  17362. _.$this = t0;
  17363. _.seen = t1;
  17364. _.clone = t2;
  17365. _.css = t3;
  17366. _.imports = t4;
  17367. _.sorted = t5;
  17368. },
  17369. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  17370. this.originalSelectors = t0;
  17371. },
  17372. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  17373. },
  17374. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  17375. this.$this = t0;
  17376. this.node = t1;
  17377. },
  17378. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  17379. this.$this = t0;
  17380. this.node = t1;
  17381. },
  17382. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  17383. this.$this = t0;
  17384. this.newParent = t1;
  17385. this.node = t2;
  17386. },
  17387. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  17388. this.$this = t0;
  17389. this.innerScope = t1;
  17390. },
  17391. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  17392. this.$this = t0;
  17393. this.innerScope = t1;
  17394. },
  17395. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  17396. this.innerScope = t0;
  17397. this.callback = t1;
  17398. },
  17399. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  17400. this.$this = t0;
  17401. this.innerScope = t1;
  17402. },
  17403. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  17404. },
  17405. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  17406. this.$this = t0;
  17407. this.innerScope = t1;
  17408. },
  17409. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  17410. this.$this = t0;
  17411. this.content = t1;
  17412. },
  17413. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  17414. this._box_0 = t0;
  17415. this.$this = t1;
  17416. },
  17417. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  17418. this._box_0 = t0;
  17419. this.$this = t1;
  17420. this.nodeWithSpan = t2;
  17421. },
  17422. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  17423. this._box_0 = t0;
  17424. this.$this = t1;
  17425. this.nodeWithSpan = t2;
  17426. },
  17427. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  17428. var _ = this;
  17429. _.$this = t0;
  17430. _.list = t1;
  17431. _.setVariables = t2;
  17432. _.node = t3;
  17433. },
  17434. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  17435. this.$this = t0;
  17436. this.setVariables = t1;
  17437. this.node = t2;
  17438. },
  17439. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  17440. this.$this = t0;
  17441. },
  17442. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  17443. this.$this = t0;
  17444. },
  17445. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  17446. this.$this = t0;
  17447. this.name = t1;
  17448. this.children = t2;
  17449. },
  17450. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  17451. this.$this = t0;
  17452. this.children = t1;
  17453. },
  17454. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  17455. },
  17456. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  17457. this.$this = t0;
  17458. this.node = t1;
  17459. },
  17460. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  17461. this.$this = t0;
  17462. this.node = t1;
  17463. },
  17464. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  17465. this.fromNumber = t0;
  17466. },
  17467. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  17468. this.toNumber = t0;
  17469. this.fromNumber = t1;
  17470. },
  17471. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  17472. var _ = this;
  17473. _._box_0 = t0;
  17474. _.$this = t1;
  17475. _.node = t2;
  17476. _.from = t3;
  17477. _.direction = t4;
  17478. _.fromNumber = t5;
  17479. },
  17480. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  17481. this.$this = t0;
  17482. },
  17483. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  17484. this.$this = t0;
  17485. this.node = t1;
  17486. },
  17487. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  17488. this.$this = t0;
  17489. this.node = t1;
  17490. },
  17491. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  17492. },
  17493. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  17494. this.$this = t0;
  17495. },
  17496. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  17497. this.$this = t0;
  17498. this.clause = t1;
  17499. },
  17500. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  17501. this.$this = t0;
  17502. },
  17503. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  17504. this.$this = t0;
  17505. this.$import = t1;
  17506. },
  17507. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  17508. this.$this = t0;
  17509. },
  17510. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  17511. },
  17512. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  17513. },
  17514. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  17515. var _ = this;
  17516. _._box_0 = t0;
  17517. _.$this = t1;
  17518. _.loadsUserDefinedModules = t2;
  17519. _.environment = t3;
  17520. _.children = t4;
  17521. },
  17522. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  17523. var _ = this;
  17524. _.$this = t0;
  17525. _.$arguments = t1;
  17526. _.mixin = t2;
  17527. _.nodeWithSpanWithoutContent = t3;
  17528. },
  17529. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  17530. var _ = this;
  17531. _.$this = t0;
  17532. _.$arguments = t1;
  17533. _.mixin = t2;
  17534. _.nodeWithSpanWithoutContent = t3;
  17535. },
  17536. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  17537. var _ = this;
  17538. _.$this = t0;
  17539. _.contentCallable = t1;
  17540. _.mixin = t2;
  17541. _.nodeWithSpanWithoutContent = t3;
  17542. },
  17543. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  17544. this.$this = t0;
  17545. this.mixin = t1;
  17546. this.nodeWithSpanWithoutContent = t2;
  17547. },
  17548. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  17549. this.$this = t0;
  17550. this.mixin = t1;
  17551. this.nodeWithSpanWithoutContent = t2;
  17552. },
  17553. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  17554. this.$this = t0;
  17555. this.statement = t1;
  17556. },
  17557. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  17558. this.$this = t0;
  17559. this.node = t1;
  17560. },
  17561. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  17562. this.$this = t0;
  17563. },
  17564. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  17565. this.node = t0;
  17566. },
  17567. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  17568. this.$this = t0;
  17569. this.queries = t1;
  17570. },
  17571. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  17572. var _ = this;
  17573. _.$this = t0;
  17574. _.mergedQueries = t1;
  17575. _.queries = t2;
  17576. _.mergedSources = t3;
  17577. _.node = t4;
  17578. },
  17579. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  17580. this.$this = t0;
  17581. this.node = t1;
  17582. },
  17583. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  17584. this.$this = t0;
  17585. this.node = t1;
  17586. },
  17587. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  17588. this.mergedSources = t0;
  17589. },
  17590. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1) {
  17591. this.$this = t0;
  17592. this.node = t1;
  17593. },
  17594. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  17595. },
  17596. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  17597. this.$this = t0;
  17598. this.rule = t1;
  17599. this.node = t2;
  17600. },
  17601. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  17602. this.$this = t0;
  17603. this.node = t1;
  17604. },
  17605. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7() {
  17606. },
  17607. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  17608. },
  17609. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  17610. this.$this = t0;
  17611. this.node = t1;
  17612. },
  17613. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  17614. this.$this = t0;
  17615. this.node = t1;
  17616. },
  17617. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  17618. },
  17619. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  17620. this._box_0 = t0;
  17621. this.$this = t1;
  17622. },
  17623. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  17624. this._box_0 = t0;
  17625. this.$this = t1;
  17626. this.node = t2;
  17627. },
  17628. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  17629. this.$this = t0;
  17630. this.node = t1;
  17631. },
  17632. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  17633. this.$this = t0;
  17634. this.node = t1;
  17635. this.value = t2;
  17636. },
  17637. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  17638. this.$this = t0;
  17639. this.node = t1;
  17640. },
  17641. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  17642. this.$this = t0;
  17643. this.node = t1;
  17644. },
  17645. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  17646. this.$this = t0;
  17647. this.node = t1;
  17648. },
  17649. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  17650. this.$this = t0;
  17651. },
  17652. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  17653. this.$this = t0;
  17654. this.node = t1;
  17655. },
  17656. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  17657. },
  17658. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  17659. this.$this = t0;
  17660. this.node = t1;
  17661. },
  17662. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  17663. this.node = t0;
  17664. this.operand = t1;
  17665. },
  17666. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  17667. this.$this = t0;
  17668. },
  17669. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  17670. this.$this = t0;
  17671. this.node = t1;
  17672. },
  17673. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  17674. },
  17675. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  17676. this._box_0 = t0;
  17677. this.$this = t1;
  17678. this.node = t2;
  17679. },
  17680. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  17681. this.$this = t0;
  17682. this.node = t1;
  17683. },
  17684. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  17685. var _ = this;
  17686. _._box_0 = t0;
  17687. _.$this = t1;
  17688. _.node = t2;
  17689. _.inLegacySassFunction = t3;
  17690. },
  17691. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  17692. this.$this = t0;
  17693. this.node = t1;
  17694. this.$function = t2;
  17695. },
  17696. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  17697. var _ = this;
  17698. _.$this = t0;
  17699. _.callable = t1;
  17700. _.evaluated = t2;
  17701. _.nodeWithSpan = t3;
  17702. _.run = t4;
  17703. _.V = t5;
  17704. },
  17705. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  17706. var _ = this;
  17707. _.$this = t0;
  17708. _.evaluated = t1;
  17709. _.callable = t2;
  17710. _.nodeWithSpan = t3;
  17711. _.run = t4;
  17712. _.V = t5;
  17713. },
  17714. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  17715. var _ = this;
  17716. _.$this = t0;
  17717. _.evaluated = t1;
  17718. _.callable = t2;
  17719. _.nodeWithSpan = t3;
  17720. _.run = t4;
  17721. _.V = t5;
  17722. },
  17723. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  17724. },
  17725. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  17726. this.$this = t0;
  17727. this.callable = t1;
  17728. },
  17729. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  17730. this._box_0 = t0;
  17731. this.evaluated = t1;
  17732. this.namedSet = t2;
  17733. },
  17734. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  17735. this._box_0 = t0;
  17736. this.evaluated = t1;
  17737. },
  17738. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  17739. },
  17740. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  17741. },
  17742. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  17743. this.$this = t0;
  17744. this.restNodeForSpan = t1;
  17745. },
  17746. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  17747. var _ = this;
  17748. _.$this = t0;
  17749. _.named = t1;
  17750. _.restNodeForSpan = t2;
  17751. _.namedNodes = t3;
  17752. },
  17753. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  17754. },
  17755. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  17756. this.restArgs = t0;
  17757. },
  17758. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  17759. this.$this = t0;
  17760. this.restNodeForSpan = t1;
  17761. this.restArgs = t2;
  17762. },
  17763. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  17764. var _ = this;
  17765. _.$this = t0;
  17766. _.named = t1;
  17767. _.restNodeForSpan = t2;
  17768. _.restArgs = t3;
  17769. },
  17770. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  17771. this.$this = t0;
  17772. this.keywordRestNodeForSpan = t1;
  17773. this.keywordRestArgs = t2;
  17774. },
  17775. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  17776. var _ = this;
  17777. _.$this = t0;
  17778. _.values = t1;
  17779. _.convert = t2;
  17780. _.expressionNode = t3;
  17781. _.map = t4;
  17782. _.nodeWithSpan = t5;
  17783. },
  17784. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  17785. this.$arguments = t0;
  17786. this.positional = t1;
  17787. this.named = t2;
  17788. },
  17789. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  17790. this.$this = t0;
  17791. this.node = t1;
  17792. },
  17793. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  17794. },
  17795. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  17796. this.$this = t0;
  17797. this.node = t1;
  17798. },
  17799. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  17800. },
  17801. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  17802. this.$this = t0;
  17803. this.node = t1;
  17804. },
  17805. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  17806. var _ = this;
  17807. _.$this = t0;
  17808. _.mergedQueries = t1;
  17809. _.node = t2;
  17810. _.mergedSources = t3;
  17811. },
  17812. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  17813. this.$this = t0;
  17814. this.node = t1;
  17815. },
  17816. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  17817. this.$this = t0;
  17818. this.node = t1;
  17819. },
  17820. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  17821. this.mergedSources = t0;
  17822. },
  17823. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
  17824. this.$this = t0;
  17825. this.rule = t1;
  17826. this.node = t2;
  17827. },
  17828. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  17829. this.$this = t0;
  17830. this.node = t1;
  17831. },
  17832. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
  17833. },
  17834. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  17835. this.$this = t0;
  17836. this.node = t1;
  17837. },
  17838. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  17839. this.$this = t0;
  17840. this.node = t1;
  17841. },
  17842. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  17843. },
  17844. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  17845. this.interpolation = t0;
  17846. },
  17847. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  17848. this.value = t0;
  17849. this.quote = t1;
  17850. },
  17851. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  17852. this.$this = t0;
  17853. this.expression = t1;
  17854. },
  17855. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  17856. },
  17857. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  17858. this.$this = t0;
  17859. },
  17860. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  17861. this._async_evaluate$_visitor = t0;
  17862. },
  17863. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  17864. },
  17865. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  17866. this.hasBeenMerged = t0;
  17867. },
  17868. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  17869. },
  17870. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  17871. },
  17872. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  17873. this._async_evaluate$_visitor = t0;
  17874. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  17875. },
  17876. cloneCssStylesheet(stylesheet, extensionStore) {
  17877. var _0_0 = extensionStore.clone$0();
  17878. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  17879. },
  17880. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  17881. this._oldToNewSelectors = t0;
  17882. },
  17883. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17884. var t1 = type$.Uri,
  17885. t2 = type$.Module_Callable,
  17886. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17887. 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);
  17888. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17889. return t1;
  17890. },
  17891. Evaluator: function Evaluator(t0, t1) {
  17892. this._visitor = t0;
  17893. this._importer = t1;
  17894. },
  17895. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  17896. var _ = this;
  17897. _._evaluate$_importCache = t0;
  17898. _._evaluate$_nodeImporter = t1;
  17899. _._builtInFunctions = t2;
  17900. _._builtInModules = t3;
  17901. _._modules = t4;
  17902. _._moduleConfigurations = t5;
  17903. _._moduleNodes = t6;
  17904. _._evaluate$_logger = t7;
  17905. _._warningsEmitted = t8;
  17906. _._quietDeps = t9;
  17907. _._sourceMap = t10;
  17908. _._environment = t11;
  17909. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  17910. _._member = "root stylesheet";
  17911. _._importSpan = _._callableNode = _._currentCallable = null;
  17912. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  17913. _._loadedUrls = t12;
  17914. _._activeModules = t13;
  17915. _._stack = t14;
  17916. _._importer = null;
  17917. _._inDependency = false;
  17918. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  17919. _._configuration = t15;
  17920. },
  17921. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  17922. this.$this = t0;
  17923. },
  17924. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  17925. this.$this = t0;
  17926. },
  17927. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  17928. this.$this = t0;
  17929. },
  17930. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  17931. this.$this = t0;
  17932. },
  17933. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  17934. this.$this = t0;
  17935. },
  17936. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  17937. this.$this = t0;
  17938. },
  17939. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  17940. this.$this = t0;
  17941. },
  17942. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  17943. this.$this = t0;
  17944. },
  17945. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  17946. this.$this = t0;
  17947. },
  17948. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  17949. this.$this = t0;
  17950. this.name = t1;
  17951. this.module = t2;
  17952. },
  17953. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  17954. this.$this = t0;
  17955. },
  17956. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  17957. this.$this = t0;
  17958. this.name = t1;
  17959. this.module = t2;
  17960. },
  17961. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  17962. this.$this = t0;
  17963. },
  17964. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  17965. this.$this = t0;
  17966. },
  17967. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  17968. this.values = t0;
  17969. this.span = t1;
  17970. this.callableNode = t2;
  17971. },
  17972. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  17973. this.$this = t0;
  17974. },
  17975. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  17976. this.$this = t0;
  17977. },
  17978. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  17979. this.$this = t0;
  17980. this.node = t1;
  17981. this.importer = t2;
  17982. },
  17983. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  17984. this.$this = t0;
  17985. this.importer = t1;
  17986. this.node = t2;
  17987. },
  17988. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  17989. this.$this = t0;
  17990. this.importer = t1;
  17991. this.expression = t2;
  17992. },
  17993. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  17994. this.$this = t0;
  17995. this.expression = t1;
  17996. },
  17997. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  17998. this.$this = t0;
  17999. this.expression = t1;
  18000. },
  18001. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18002. this.$this = t0;
  18003. this.importer = t1;
  18004. this.statement = t2;
  18005. },
  18006. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18007. this.$this = t0;
  18008. this.statement = t1;
  18009. },
  18010. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18011. this.$this = t0;
  18012. this.statement = t1;
  18013. },
  18014. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18015. this._box_1 = t0;
  18016. this.callback = t1;
  18017. },
  18018. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18019. var _ = this;
  18020. _.$this = t0;
  18021. _.url = t1;
  18022. _.nodeWithSpan = t2;
  18023. _.baseUrl = t3;
  18024. _.namesInErrors = t4;
  18025. _.configuration = t5;
  18026. _.callback = t6;
  18027. },
  18028. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18029. this.$this = t0;
  18030. this.message = t1;
  18031. },
  18032. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18033. this._box_0 = t0;
  18034. this.callback = t1;
  18035. this.firstLoad = t2;
  18036. },
  18037. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18038. var _ = this;
  18039. _.$this = t0;
  18040. _.importer = t1;
  18041. _.stylesheet = t2;
  18042. _.extensionStore = t3;
  18043. _.configuration = t4;
  18044. _.css = t5;
  18045. _.preModuleComments = t6;
  18046. },
  18047. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18048. },
  18049. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18050. this.selectors = t0;
  18051. },
  18052. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18053. var _ = this;
  18054. _.$this = t0;
  18055. _.seen = t1;
  18056. _.clone = t2;
  18057. _.css = t3;
  18058. _.imports = t4;
  18059. _.sorted = t5;
  18060. },
  18061. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18062. this.originalSelectors = t0;
  18063. },
  18064. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18065. },
  18066. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18067. this.$this = t0;
  18068. this.node = t1;
  18069. },
  18070. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18071. this.$this = t0;
  18072. this.node = t1;
  18073. },
  18074. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18075. this.$this = t0;
  18076. this.newParent = t1;
  18077. this.node = t2;
  18078. },
  18079. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18080. this.$this = t0;
  18081. this.innerScope = t1;
  18082. },
  18083. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  18084. this.$this = t0;
  18085. this.innerScope = t1;
  18086. },
  18087. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  18088. this.innerScope = t0;
  18089. this.callback = t1;
  18090. },
  18091. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  18092. this.$this = t0;
  18093. this.innerScope = t1;
  18094. },
  18095. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  18096. },
  18097. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  18098. this.$this = t0;
  18099. this.innerScope = t1;
  18100. },
  18101. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  18102. this.$this = t0;
  18103. this.content = t1;
  18104. },
  18105. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  18106. this._box_0 = t0;
  18107. this.$this = t1;
  18108. },
  18109. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  18110. this._box_0 = t0;
  18111. this.$this = t1;
  18112. this.nodeWithSpan = t2;
  18113. },
  18114. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  18115. this._box_0 = t0;
  18116. this.$this = t1;
  18117. this.nodeWithSpan = t2;
  18118. },
  18119. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  18120. var _ = this;
  18121. _.$this = t0;
  18122. _.list = t1;
  18123. _.setVariables = t2;
  18124. _.node = t3;
  18125. },
  18126. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  18127. this.$this = t0;
  18128. this.setVariables = t1;
  18129. this.node = t2;
  18130. },
  18131. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  18132. this.$this = t0;
  18133. },
  18134. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  18135. this.$this = t0;
  18136. },
  18137. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  18138. this.$this = t0;
  18139. this.name = t1;
  18140. this.children = t2;
  18141. },
  18142. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  18143. this.$this = t0;
  18144. this.children = t1;
  18145. },
  18146. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  18147. },
  18148. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  18149. this.$this = t0;
  18150. this.node = t1;
  18151. },
  18152. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  18153. this.$this = t0;
  18154. this.node = t1;
  18155. },
  18156. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  18157. this.fromNumber = t0;
  18158. },
  18159. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  18160. this.toNumber = t0;
  18161. this.fromNumber = t1;
  18162. },
  18163. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  18164. var _ = this;
  18165. _._box_0 = t0;
  18166. _.$this = t1;
  18167. _.node = t2;
  18168. _.from = t3;
  18169. _.direction = t4;
  18170. _.fromNumber = t5;
  18171. },
  18172. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  18173. this.$this = t0;
  18174. },
  18175. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  18176. this.$this = t0;
  18177. this.node = t1;
  18178. },
  18179. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  18180. this.$this = t0;
  18181. this.node = t1;
  18182. },
  18183. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  18184. },
  18185. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  18186. this.$this = t0;
  18187. },
  18188. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  18189. this.$this = t0;
  18190. this.clause = t1;
  18191. },
  18192. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  18193. this.$this = t0;
  18194. },
  18195. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  18196. this.$this = t0;
  18197. this.$import = t1;
  18198. },
  18199. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  18200. this.$this = t0;
  18201. },
  18202. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  18203. },
  18204. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  18205. },
  18206. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  18207. var _ = this;
  18208. _._box_0 = t0;
  18209. _.$this = t1;
  18210. _.loadsUserDefinedModules = t2;
  18211. _.environment = t3;
  18212. _.children = t4;
  18213. },
  18214. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  18215. var _ = this;
  18216. _.$this = t0;
  18217. _.$arguments = t1;
  18218. _.mixin = t2;
  18219. _.nodeWithSpanWithoutContent = t3;
  18220. },
  18221. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  18222. var _ = this;
  18223. _.$this = t0;
  18224. _.$arguments = t1;
  18225. _.mixin = t2;
  18226. _.nodeWithSpanWithoutContent = t3;
  18227. },
  18228. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  18229. var _ = this;
  18230. _.$this = t0;
  18231. _.contentCallable = t1;
  18232. _.mixin = t2;
  18233. _.nodeWithSpanWithoutContent = t3;
  18234. },
  18235. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  18236. this.$this = t0;
  18237. this.mixin = t1;
  18238. this.nodeWithSpanWithoutContent = t2;
  18239. },
  18240. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  18241. this.$this = t0;
  18242. this.mixin = t1;
  18243. this.nodeWithSpanWithoutContent = t2;
  18244. },
  18245. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  18246. this.$this = t0;
  18247. this.statement = t1;
  18248. },
  18249. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  18250. this.$this = t0;
  18251. this.node = t1;
  18252. },
  18253. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  18254. this.$this = t0;
  18255. },
  18256. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  18257. this.node = t0;
  18258. },
  18259. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  18260. this.$this = t0;
  18261. this.queries = t1;
  18262. },
  18263. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  18264. var _ = this;
  18265. _.$this = t0;
  18266. _.mergedQueries = t1;
  18267. _.queries = t2;
  18268. _.mergedSources = t3;
  18269. _.node = t4;
  18270. },
  18271. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  18272. this.$this = t0;
  18273. this.node = t1;
  18274. },
  18275. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  18276. this.$this = t0;
  18277. this.node = t1;
  18278. },
  18279. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  18280. this.mergedSources = t0;
  18281. },
  18282. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  18283. this.$this = t0;
  18284. this.node = t1;
  18285. },
  18286. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  18287. },
  18288. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1(t0, t1, t2) {
  18289. this.$this = t0;
  18290. this.rule = t1;
  18291. this.node = t2;
  18292. },
  18293. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  18294. this.$this = t0;
  18295. this.node = t1;
  18296. },
  18297. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2() {
  18298. },
  18299. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3() {
  18300. },
  18301. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  18302. this.$this = t0;
  18303. this.node = t1;
  18304. },
  18305. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  18306. this.$this = t0;
  18307. this.node = t1;
  18308. },
  18309. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  18310. },
  18311. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  18312. this._box_0 = t0;
  18313. this.$this = t1;
  18314. },
  18315. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  18316. this._box_0 = t0;
  18317. this.$this = t1;
  18318. this.node = t2;
  18319. },
  18320. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  18321. this.$this = t0;
  18322. this.node = t1;
  18323. },
  18324. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  18325. this.$this = t0;
  18326. this.node = t1;
  18327. this.value = t2;
  18328. },
  18329. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  18330. this.$this = t0;
  18331. this.node = t1;
  18332. },
  18333. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  18334. this.$this = t0;
  18335. this.node = t1;
  18336. },
  18337. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  18338. this.$this = t0;
  18339. this.node = t1;
  18340. },
  18341. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  18342. this.$this = t0;
  18343. },
  18344. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  18345. this.$this = t0;
  18346. this.node = t1;
  18347. },
  18348. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  18349. },
  18350. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  18351. this.$this = t0;
  18352. this.node = t1;
  18353. },
  18354. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  18355. this.node = t0;
  18356. this.operand = t1;
  18357. },
  18358. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  18359. this.$this = t0;
  18360. },
  18361. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  18362. this.$this = t0;
  18363. this.node = t1;
  18364. },
  18365. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  18366. },
  18367. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  18368. this._box_0 = t0;
  18369. this.$this = t1;
  18370. this.node = t2;
  18371. },
  18372. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  18373. this.$this = t0;
  18374. this.node = t1;
  18375. },
  18376. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  18377. var _ = this;
  18378. _._box_0 = t0;
  18379. _.$this = t1;
  18380. _.node = t2;
  18381. _.inLegacySassFunction = t3;
  18382. },
  18383. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  18384. this.$this = t0;
  18385. this.node = t1;
  18386. this.$function = t2;
  18387. },
  18388. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  18389. var _ = this;
  18390. _.$this = t0;
  18391. _.callable = t1;
  18392. _.evaluated = t2;
  18393. _.nodeWithSpan = t3;
  18394. _.run = t4;
  18395. _.V = t5;
  18396. },
  18397. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  18398. var _ = this;
  18399. _.$this = t0;
  18400. _.evaluated = t1;
  18401. _.callable = t2;
  18402. _.nodeWithSpan = t3;
  18403. _.run = t4;
  18404. _.V = t5;
  18405. },
  18406. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  18407. var _ = this;
  18408. _.$this = t0;
  18409. _.evaluated = t1;
  18410. _.callable = t2;
  18411. _.nodeWithSpan = t3;
  18412. _.run = t4;
  18413. _.V = t5;
  18414. },
  18415. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  18416. },
  18417. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  18418. this.$this = t0;
  18419. this.callable = t1;
  18420. },
  18421. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  18422. this._box_0 = t0;
  18423. this.evaluated = t1;
  18424. this.namedSet = t2;
  18425. },
  18426. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  18427. this._box_0 = t0;
  18428. this.evaluated = t1;
  18429. },
  18430. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  18431. },
  18432. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  18433. },
  18434. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  18435. this.$this = t0;
  18436. this.restNodeForSpan = t1;
  18437. },
  18438. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  18439. var _ = this;
  18440. _.$this = t0;
  18441. _.named = t1;
  18442. _.restNodeForSpan = t2;
  18443. _.namedNodes = t3;
  18444. },
  18445. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  18446. },
  18447. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  18448. this.restArgs = t0;
  18449. },
  18450. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  18451. this.$this = t0;
  18452. this.restNodeForSpan = t1;
  18453. this.restArgs = t2;
  18454. },
  18455. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  18456. var _ = this;
  18457. _.$this = t0;
  18458. _.named = t1;
  18459. _.restNodeForSpan = t2;
  18460. _.restArgs = t3;
  18461. },
  18462. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  18463. this.$this = t0;
  18464. this.keywordRestNodeForSpan = t1;
  18465. this.keywordRestArgs = t2;
  18466. },
  18467. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  18468. var _ = this;
  18469. _.$this = t0;
  18470. _.values = t1;
  18471. _.convert = t2;
  18472. _.expressionNode = t3;
  18473. _.map = t4;
  18474. _.nodeWithSpan = t5;
  18475. },
  18476. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  18477. this.$arguments = t0;
  18478. this.positional = t1;
  18479. this.named = t2;
  18480. },
  18481. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  18482. this.$this = t0;
  18483. this.node = t1;
  18484. },
  18485. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  18486. },
  18487. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18488. this.$this = t0;
  18489. this.node = t1;
  18490. },
  18491. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  18492. },
  18493. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  18494. this.$this = t0;
  18495. this.node = t1;
  18496. },
  18497. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  18498. var _ = this;
  18499. _.$this = t0;
  18500. _.mergedQueries = t1;
  18501. _.node = t2;
  18502. _.mergedSources = t3;
  18503. },
  18504. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  18505. this.$this = t0;
  18506. this.node = t1;
  18507. },
  18508. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  18509. this.$this = t0;
  18510. this.node = t1;
  18511. },
  18512. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  18513. this.mergedSources = t0;
  18514. },
  18515. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  18516. this.$this = t0;
  18517. this.rule = t1;
  18518. this.node = t2;
  18519. },
  18520. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  18521. this.$this = t0;
  18522. this.node = t1;
  18523. },
  18524. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  18525. },
  18526. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  18527. this.$this = t0;
  18528. this.node = t1;
  18529. },
  18530. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  18531. this.$this = t0;
  18532. this.node = t1;
  18533. },
  18534. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  18535. },
  18536. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  18537. this.interpolation = t0;
  18538. },
  18539. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  18540. this.value = t0;
  18541. this.quote = t1;
  18542. },
  18543. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  18544. this.$this = t0;
  18545. this.expression = t1;
  18546. },
  18547. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  18548. },
  18549. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  18550. this.$this = t0;
  18551. },
  18552. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  18553. this._visitor = t0;
  18554. },
  18555. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  18556. },
  18557. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  18558. this.hasBeenMerged = t0;
  18559. },
  18560. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  18561. },
  18562. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  18563. },
  18564. _EvaluationContext: function _EvaluationContext(t0, t1) {
  18565. this._visitor = t0;
  18566. this._defaultWarnNodeWithSpan = t1;
  18567. },
  18568. EveryCssVisitor: function EveryCssVisitor() {
  18569. },
  18570. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  18571. this.$this = t0;
  18572. },
  18573. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  18574. this.$this = t0;
  18575. },
  18576. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  18577. this.$this = t0;
  18578. },
  18579. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  18580. this.$this = t0;
  18581. },
  18582. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  18583. this.$this = t0;
  18584. },
  18585. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  18586. this.$this = t0;
  18587. },
  18588. expressionToCalc(expression) {
  18589. var t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression),
  18590. t2 = expression.get$span(0),
  18591. t3 = type$.Expression;
  18592. 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(0));
  18593. },
  18594. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  18595. },
  18596. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  18597. },
  18598. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  18599. var _ = this;
  18600. _._find_dependencies$_uses = t0;
  18601. _._find_dependencies$_forwards = t1;
  18602. _._metaLoadCss = t2;
  18603. _._imports = t3;
  18604. _._metaNamespaces = t4;
  18605. },
  18606. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  18607. var _ = this;
  18608. _.uses = t0;
  18609. _.forwards = t1;
  18610. _.metaLoadCss = t2;
  18611. _.imports = t3;
  18612. },
  18613. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  18614. },
  18615. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  18616. },
  18617. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  18618. },
  18619. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  18620. this.$this = t0;
  18621. },
  18622. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  18623. this.$this = t0;
  18624. },
  18625. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  18626. this.$this = t0;
  18627. },
  18628. SelectorSearchVisitor: function SelectorSearchVisitor() {
  18629. },
  18630. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  18631. this.$this = t0;
  18632. },
  18633. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  18634. this.$this = t0;
  18635. },
  18636. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  18637. var t1, css, t2, prefix,
  18638. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  18639. node.accept$1(visitor);
  18640. t1 = visitor._serialize$_buffer;
  18641. css = t1.toString$0(0);
  18642. if (charset) {
  18643. t2 = new A.CodeUnits(css);
  18644. t2 = t2.any$1(t2, new A.serialize_closure());
  18645. } else
  18646. t2 = false;
  18647. if (t2)
  18648. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  18649. else
  18650. prefix = "";
  18651. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  18652. return new A._Record_2_sourceMap(prefix + css, t1);
  18653. },
  18654. serializeValue(value, inspect, quote) {
  18655. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  18656. value.accept$1(visitor);
  18657. return visitor._serialize$_buffer.toString$0(0);
  18658. },
  18659. serializeSelector(selector, inspect) {
  18660. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  18661. selector.accept$1(visitor);
  18662. return visitor._serialize$_buffer.toString$0(0);
  18663. },
  18664. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  18665. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  18666. t2 = style == null ? B.OutputStyle_0 : style,
  18667. t3 = indentWidth == null ? 2 : indentWidth;
  18668. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  18669. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  18670. },
  18671. serialize_closure: function serialize_closure() {
  18672. },
  18673. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  18674. var _ = this;
  18675. _._serialize$_buffer = t0;
  18676. _._indentation = 0;
  18677. _._style = t1;
  18678. _._inspect = t2;
  18679. _._quote = t3;
  18680. _._indentCharacter = t4;
  18681. _._indentWidth = t5;
  18682. _._serialize$_lineFeed = t6;
  18683. },
  18684. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  18685. this.$this = t0;
  18686. this.node = t1;
  18687. },
  18688. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  18689. this.$this = t0;
  18690. this.node = t1;
  18691. },
  18692. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  18693. this.$this = t0;
  18694. this.node = t1;
  18695. },
  18696. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  18697. this.$this = t0;
  18698. this.node = t1;
  18699. },
  18700. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  18701. this.$this = t0;
  18702. this.node = t1;
  18703. },
  18704. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18705. this.$this = t0;
  18706. this.node = t1;
  18707. },
  18708. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  18709. this.$this = t0;
  18710. this.node = t1;
  18711. },
  18712. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  18713. this.$this = t0;
  18714. this.node = t1;
  18715. },
  18716. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  18717. this.$this = t0;
  18718. this.node = t1;
  18719. },
  18720. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  18721. this.$this = t0;
  18722. this.node = t1;
  18723. },
  18724. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  18725. },
  18726. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  18727. this.$this = t0;
  18728. this.value = t1;
  18729. },
  18730. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  18731. this.$this = t0;
  18732. },
  18733. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  18734. this.$this = t0;
  18735. },
  18736. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  18737. },
  18738. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  18739. this.$this = t0;
  18740. this.value = t1;
  18741. },
  18742. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  18743. this.$this = t0;
  18744. this.child = t1;
  18745. },
  18746. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  18747. this.$this = t0;
  18748. this.child = t1;
  18749. },
  18750. OutputStyle: function OutputStyle(t0) {
  18751. this._name = t0;
  18752. },
  18753. LineFeed: function LineFeed(t0) {
  18754. this._name = t0;
  18755. },
  18756. StatementSearchVisitor: function StatementSearchVisitor() {
  18757. },
  18758. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  18759. this.$this = t0;
  18760. },
  18761. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  18762. this.$this = t0;
  18763. },
  18764. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  18765. this.$this = t0;
  18766. },
  18767. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  18768. this.$this = t0;
  18769. },
  18770. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  18771. this.$this = t0;
  18772. },
  18773. Entry: function Entry(t0, t1, t2) {
  18774. this.source = t0;
  18775. this.target = t1;
  18776. this.identifierName = t2;
  18777. },
  18778. SingleMapping_SingleMapping$fromEntries(entries) {
  18779. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  18780. sourceEntries = J.toList$0$ax(entries);
  18781. B.JSArray_methods.sort$0(sourceEntries);
  18782. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  18783. t1 = type$.String;
  18784. t2 = type$.int;
  18785. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18786. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18787. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  18788. targetEntries = A._Cell$();
  18789. 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) {
  18790. sourceEntry = sourceEntries[_i];
  18791. if (lineNum == null || sourceEntry.target.line > lineNum) {
  18792. lineNum = sourceEntry.target.line;
  18793. t5 = A._setArrayType([], t3);
  18794. targetEntries._value = t5;
  18795. lines.push(new A.TargetLineEntry(lineNum, t5));
  18796. }
  18797. t5 = sourceEntry.source;
  18798. t6 = t5.file;
  18799. sourceUrl = t6.url;
  18800. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  18801. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  18802. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  18803. t7 = targetEntries._value;
  18804. if (t7 === targetEntries)
  18805. A.throwExpression(A.LateError$localNI(t4));
  18806. t5 = t5.offset;
  18807. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  18808. }
  18809. t2 = urls.get$values(0);
  18810. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  18811. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  18812. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18813. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18814. 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));
  18815. },
  18816. Mapping: function Mapping() {
  18817. },
  18818. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  18819. var _ = this;
  18820. _.urls = t0;
  18821. _.names = t1;
  18822. _.files = t2;
  18823. _.lines = t3;
  18824. _.targetUrl = t4;
  18825. _.sourceRoot = null;
  18826. _.extensions = t5;
  18827. },
  18828. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  18829. this.urls = t0;
  18830. },
  18831. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  18832. this.sourceEntry = t0;
  18833. },
  18834. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  18835. this.files = t0;
  18836. },
  18837. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  18838. },
  18839. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  18840. this.result = t0;
  18841. },
  18842. TargetLineEntry: function TargetLineEntry(t0, t1) {
  18843. this.line = t0;
  18844. this.entries = t1;
  18845. },
  18846. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  18847. var _ = this;
  18848. _.column = t0;
  18849. _.sourceUrlId = t1;
  18850. _.sourceLine = t2;
  18851. _.sourceColumn = t3;
  18852. _.sourceNameId = t4;
  18853. },
  18854. SourceFile$fromString(text, url) {
  18855. var t1 = new A.CodeUnits(text),
  18856. t2 = A._setArrayType([0], type$.JSArray_int),
  18857. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18858. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  18859. t2.SourceFile$decoded$2$url(t1, url);
  18860. return t2;
  18861. },
  18862. SourceFile$decoded(decodedChars, url) {
  18863. var t1 = A._setArrayType([0], type$.JSArray_int),
  18864. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18865. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  18866. t1.SourceFile$decoded$2$url(decodedChars, url);
  18867. return t1;
  18868. },
  18869. FileLocation$_(file, offset) {
  18870. if (offset < 0)
  18871. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18872. else if (offset > file._decodedChars.length)
  18873. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  18874. return new A.FileLocation(file, offset);
  18875. },
  18876. _FileSpan$(file, _start, _end) {
  18877. if (_end < _start)
  18878. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  18879. else if (_end > file._decodedChars.length)
  18880. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  18881. else if (_start < 0)
  18882. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  18883. return new A._FileSpan(file, _start, _end);
  18884. },
  18885. FileSpanExtension_subspan(_this, start, end) {
  18886. var t1, startOffset, t2;
  18887. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  18888. if (start === 0)
  18889. t1 = end == null || end === _this.get$length(_this);
  18890. else
  18891. t1 = false;
  18892. if (t1)
  18893. return _this;
  18894. startOffset = _this.get$start(_this).offset;
  18895. t1 = _this.get$file(_this);
  18896. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  18897. return t1.span$2(0, startOffset + start, t2);
  18898. },
  18899. SourceFile: function SourceFile(t0, t1, t2) {
  18900. var _ = this;
  18901. _.url = t0;
  18902. _._lineStarts = t1;
  18903. _._decodedChars = t2;
  18904. _._cachedLine = null;
  18905. },
  18906. FileLocation: function FileLocation(t0, t1) {
  18907. this.file = t0;
  18908. this.offset = t1;
  18909. },
  18910. _FileSpan: function _FileSpan(t0, t1, t2) {
  18911. this.file = t0;
  18912. this._file$_start = t1;
  18913. this._end = t2;
  18914. },
  18915. Highlighter$(span, color) {
  18916. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  18917. t2 = new A.Highlighter_closure(color).call$0(),
  18918. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  18919. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  18920. t5 = A._arrayInstanceType(t1);
  18921. 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(""));
  18922. },
  18923. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  18924. var t2, t3, t4, t5, t6,
  18925. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  18926. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  18927. t3 = t2.get$current(t2);
  18928. t1.push(A._Highlight$(t3.key, t3.value, false));
  18929. }
  18930. t1 = A.Highlighter__collateLines(t1);
  18931. if (color)
  18932. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  18933. else
  18934. t2 = null;
  18935. if (color)
  18936. t3 = "\x1b[34m";
  18937. else
  18938. t3 = null;
  18939. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  18940. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  18941. t6 = A._arrayInstanceType(t1);
  18942. 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(""));
  18943. },
  18944. Highlighter__contiguous(lines) {
  18945. var i, thisLine, nextLine;
  18946. for (i = 0; i < lines.length - 1;) {
  18947. thisLine = lines[i];
  18948. ++i;
  18949. nextLine = lines[i];
  18950. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  18951. return false;
  18952. }
  18953. return true;
  18954. },
  18955. Highlighter__collateLines(highlights) {
  18956. var t1, t2, t3,
  18957. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  18958. for (t1 = highlightsByUrl.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  18959. t3 = t1.__internal$_current;
  18960. if (t3 == null)
  18961. t3 = t2._as(t3);
  18962. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  18963. }
  18964. t1 = highlightsByUrl.get$entries(0);
  18965. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  18966. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  18967. },
  18968. _Highlight$(span, label, primary) {
  18969. var t2,
  18970. t1 = new A._Highlight_closure(span).call$0();
  18971. if (label == null)
  18972. t2 = null;
  18973. else
  18974. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  18975. return new A._Highlight(t1, primary, t2);
  18976. },
  18977. _Highlight__normalizeNewlines(span) {
  18978. var endOffset, t1, i, t2, t3, t4,
  18979. text = span.get$text();
  18980. if (!B.JSString_methods.contains$1(text, "\r\n"))
  18981. return span;
  18982. endOffset = span.get$end(span).get$offset();
  18983. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  18984. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  18985. --endOffset;
  18986. t1 = span.get$start(span);
  18987. t2 = span.get$sourceUrl(span);
  18988. t3 = span.get$end(span).get$line();
  18989. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  18990. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  18991. t4 = span.get$context(span);
  18992. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  18993. },
  18994. _Highlight__normalizeTrailingNewline(span) {
  18995. var context, text, start, end, t1, t2, t3;
  18996. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  18997. return span;
  18998. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  18999. return span;
  19000. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19001. text = span.get$text();
  19002. start = span.get$start(span);
  19003. end = span.get$end(span);
  19004. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19005. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19006. t1.toString;
  19007. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19008. } else
  19009. t1 = false;
  19010. if (t1) {
  19011. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19012. if (text.length === 0)
  19013. end = start;
  19014. else {
  19015. t1 = span.get$end(span).get$offset();
  19016. t2 = span.get$sourceUrl(span);
  19017. t3 = span.get$end(span).get$line();
  19018. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19019. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19020. }
  19021. }
  19022. return A.SourceSpanWithContext$(start, end, text, context);
  19023. },
  19024. _Highlight__normalizeEndOfLine(span) {
  19025. var text, t1, t2, t3, t4;
  19026. if (span.get$end(span).get$column() !== 0)
  19027. return span;
  19028. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19029. return span;
  19030. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19031. t1 = span.get$start(span);
  19032. t2 = span.get$end(span).get$offset();
  19033. t3 = span.get$sourceUrl(span);
  19034. t4 = span.get$end(span).get$line();
  19035. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19036. 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));
  19037. },
  19038. _Highlight__lastLineLength(text) {
  19039. var t1 = text.length;
  19040. if (t1 === 0)
  19041. return 0;
  19042. else if (text.charCodeAt(t1 - 1) === 10)
  19043. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19044. else
  19045. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19046. },
  19047. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19048. var _ = this;
  19049. _._lines = t0;
  19050. _._primaryColor = t1;
  19051. _._secondaryColor = t2;
  19052. _._paddingBeforeSidebar = t3;
  19053. _._maxMultilineSpans = t4;
  19054. _._multipleFiles = t5;
  19055. _._highlighter$_buffer = t6;
  19056. },
  19057. Highlighter_closure: function Highlighter_closure(t0) {
  19058. this.color = t0;
  19059. },
  19060. Highlighter$__closure: function Highlighter$__closure() {
  19061. },
  19062. Highlighter$___closure: function Highlighter$___closure() {
  19063. },
  19064. Highlighter$__closure0: function Highlighter$__closure0() {
  19065. },
  19066. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  19067. },
  19068. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  19069. },
  19070. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  19071. },
  19072. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  19073. this.line = t0;
  19074. },
  19075. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  19076. },
  19077. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  19078. this.$this = t0;
  19079. },
  19080. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  19081. this.$this = t0;
  19082. this.startLine = t1;
  19083. this.line = t2;
  19084. },
  19085. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  19086. this.$this = t0;
  19087. this.highlight = t1;
  19088. },
  19089. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  19090. this.$this = t0;
  19091. },
  19092. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19093. var _ = this;
  19094. _._box_0 = t0;
  19095. _.$this = t1;
  19096. _.current = t2;
  19097. _.startLine = t3;
  19098. _.line = t4;
  19099. _.highlight = t5;
  19100. _.endLine = t6;
  19101. },
  19102. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  19103. this._box_0 = t0;
  19104. this.$this = t1;
  19105. },
  19106. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  19107. this.$this = t0;
  19108. this.vertical = t1;
  19109. },
  19110. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  19111. var _ = this;
  19112. _.$this = t0;
  19113. _.text = t1;
  19114. _.startColumn = t2;
  19115. _.endColumn = t3;
  19116. },
  19117. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  19118. this.$this = t0;
  19119. this.line = t1;
  19120. this.highlight = t2;
  19121. },
  19122. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  19123. this.$this = t0;
  19124. this.line = t1;
  19125. this.highlight = t2;
  19126. },
  19127. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  19128. var _ = this;
  19129. _.$this = t0;
  19130. _.coversWholeLine = t1;
  19131. _.line = t2;
  19132. _.highlight = t3;
  19133. },
  19134. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  19135. this.$this = t0;
  19136. this.lines = t1;
  19137. },
  19138. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  19139. this.$this = t0;
  19140. this.text = t1;
  19141. },
  19142. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  19143. this._box_0 = t0;
  19144. this.$this = t1;
  19145. this.end = t2;
  19146. },
  19147. _Highlight: function _Highlight(t0, t1, t2) {
  19148. this.span = t0;
  19149. this.isPrimary = t1;
  19150. this.label = t2;
  19151. },
  19152. _Highlight_closure: function _Highlight_closure(t0) {
  19153. this.span = t0;
  19154. },
  19155. _Line: function _Line(t0, t1, t2, t3) {
  19156. var _ = this;
  19157. _.text = t0;
  19158. _.number = t1;
  19159. _.url = t2;
  19160. _.highlights = t3;
  19161. },
  19162. SourceLocation$(offset, column, line, sourceUrl) {
  19163. var t1 = line == null,
  19164. t2 = t1 ? 0 : line,
  19165. t3 = column == null,
  19166. t4 = t3 ? offset : column;
  19167. if (offset < 0)
  19168. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19169. else if (!t1 && line < 0)
  19170. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  19171. else if (!t3 && column < 0)
  19172. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  19173. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  19174. },
  19175. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  19176. var _ = this;
  19177. _.sourceUrl = t0;
  19178. _.offset = t1;
  19179. _.line = t2;
  19180. _.column = t3;
  19181. },
  19182. SourceLocationMixin: function SourceLocationMixin() {
  19183. },
  19184. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  19185. var t2, t3,
  19186. t1 = _this.get$start(_this);
  19187. t1 = t1.file.getLine$1(t1.offset);
  19188. t2 = _this.get$start(_this);
  19189. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  19190. if (_this.get$sourceUrl(_this) != null) {
  19191. t1 = _this.get$sourceUrl(_this);
  19192. t3 = $.$get$context();
  19193. t1.toString;
  19194. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  19195. } else
  19196. t1 = t2;
  19197. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  19198. return t1.charCodeAt(0) == 0 ? t1 : t1;
  19199. },
  19200. SourceSpanBase: function SourceSpanBase() {
  19201. },
  19202. SourceSpanException: function SourceSpanException() {
  19203. },
  19204. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  19205. this.source = t0;
  19206. this._span_exception$_message = t1;
  19207. this._span = t2;
  19208. },
  19209. MultiSourceSpanException: function MultiSourceSpanException() {
  19210. },
  19211. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3) {
  19212. var _ = this;
  19213. _.primaryLabel = t0;
  19214. _.secondarySpans = t1;
  19215. _._span_exception$_message = t2;
  19216. _._span = t3;
  19217. },
  19218. SourceSpanMixin: function SourceSpanMixin() {
  19219. },
  19220. SourceSpanWithContext$(start, end, text, _context) {
  19221. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  19222. t1.SourceSpanBase$3(start, end, text);
  19223. if (!B.JSString_methods.contains$1(_context, text))
  19224. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  19225. if (A.findLineStart(_context, text, start.get$column()) == null)
  19226. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  19227. return t1;
  19228. },
  19229. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  19230. var _ = this;
  19231. _._context = t0;
  19232. _.start = t1;
  19233. _.end = t2;
  19234. _.text = t3;
  19235. },
  19236. Chain_Chain$parse(chain) {
  19237. var t1, t2,
  19238. _s51_ = string$.x3d_____;
  19239. if (chain.length === 0)
  19240. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  19241. t1 = $.$get$vmChainGap();
  19242. if (B.JSString_methods.contains$1(chain, t1)) {
  19243. t1 = B.JSString_methods.split$1(chain, t1);
  19244. t2 = A._arrayInstanceType(t1);
  19245. 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));
  19246. }
  19247. if (!B.JSString_methods.contains$1(chain, _s51_))
  19248. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  19249. 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));
  19250. },
  19251. Chain: function Chain(t0) {
  19252. this.traces = t0;
  19253. },
  19254. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  19255. },
  19256. Chain_toTrace_closure: function Chain_toTrace_closure() {
  19257. },
  19258. Chain_toString_closure0: function Chain_toString_closure0() {
  19259. },
  19260. Chain_toString__closure0: function Chain_toString__closure0() {
  19261. },
  19262. Chain_toString_closure: function Chain_toString_closure(t0) {
  19263. this.longest = t0;
  19264. },
  19265. Chain_toString__closure: function Chain_toString__closure(t0) {
  19266. this.longest = t0;
  19267. },
  19268. Frame___parseVM_tearOff(frame) {
  19269. return A.Frame_Frame$parseVM(frame);
  19270. },
  19271. Frame_Frame$parseVM(frame) {
  19272. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  19273. },
  19274. Frame___parseV8_tearOff(frame) {
  19275. return A.Frame_Frame$parseV8(frame);
  19276. },
  19277. Frame_Frame$parseV8(frame) {
  19278. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  19279. },
  19280. Frame_Frame$_parseFirefoxEval(frame) {
  19281. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  19282. },
  19283. Frame___parseFirefox_tearOff(frame) {
  19284. return A.Frame_Frame$parseFirefox(frame);
  19285. },
  19286. Frame_Frame$parseFirefox(frame) {
  19287. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  19288. },
  19289. Frame___parseFriendly_tearOff(frame) {
  19290. return A.Frame_Frame$parseFriendly(frame);
  19291. },
  19292. Frame_Frame$parseFriendly(frame) {
  19293. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  19294. },
  19295. Frame__uriOrPathToUri(uriOrPath) {
  19296. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  19297. return A.Uri_parse(uriOrPath);
  19298. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  19299. return A._Uri__Uri$file(uriOrPath, true);
  19300. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  19301. return A._Uri__Uri$file(uriOrPath, false);
  19302. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  19303. return $.$get$windows().toUri$1(uriOrPath);
  19304. return A.Uri_parse(uriOrPath);
  19305. },
  19306. Frame__catchFormatException(text, body) {
  19307. var t1, exception;
  19308. try {
  19309. t1 = body.call$0();
  19310. return t1;
  19311. } catch (exception) {
  19312. if (type$.FormatException._is(A.unwrapException(exception)))
  19313. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  19314. else
  19315. throw exception;
  19316. }
  19317. },
  19318. Frame: function Frame(t0, t1, t2, t3) {
  19319. var _ = this;
  19320. _.uri = t0;
  19321. _.line = t1;
  19322. _.column = t2;
  19323. _.member = t3;
  19324. },
  19325. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  19326. this.frame = t0;
  19327. },
  19328. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  19329. this.frame = t0;
  19330. },
  19331. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  19332. this.frame = t0;
  19333. },
  19334. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  19335. this.frame = t0;
  19336. },
  19337. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  19338. this.frame = t0;
  19339. },
  19340. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  19341. this.frame = t0;
  19342. },
  19343. LazyTrace: function LazyTrace(t0) {
  19344. this._thunk = t0;
  19345. this.__LazyTrace__trace_FI = $;
  19346. },
  19347. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  19348. this.$this = t0;
  19349. },
  19350. Trace_Trace$from(trace) {
  19351. if (type$.Trace._is(trace))
  19352. return trace;
  19353. if (trace instanceof A.Chain)
  19354. return trace.toTrace$0();
  19355. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  19356. },
  19357. Trace_Trace$parse(trace) {
  19358. var error, t1, exception;
  19359. try {
  19360. if (trace.length === 0) {
  19361. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  19362. return t1;
  19363. }
  19364. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  19365. t1 = A.Trace$parseV8(trace);
  19366. return t1;
  19367. }
  19368. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  19369. t1 = A.Trace$parseJSCore(trace);
  19370. return t1;
  19371. }
  19372. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  19373. t1 = A.Trace$parseFirefox(trace);
  19374. return t1;
  19375. }
  19376. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  19377. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  19378. return t1;
  19379. }
  19380. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  19381. t1 = A.Trace$parseFriendly(trace);
  19382. return t1;
  19383. }
  19384. t1 = A.Trace$parseVM(trace);
  19385. return t1;
  19386. } catch (exception) {
  19387. t1 = A.unwrapException(exception);
  19388. if (type$.FormatException._is(t1)) {
  19389. error = t1;
  19390. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  19391. } else
  19392. throw exception;
  19393. }
  19394. },
  19395. Trace___parseVM_tearOff(trace) {
  19396. return A.Trace$parseVM(trace);
  19397. },
  19398. Trace$parseVM(trace) {
  19399. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  19400. return new A.Trace(t1, new A._StringStackTrace(trace));
  19401. },
  19402. Trace__parseVM(trace) {
  19403. var $frames,
  19404. t1 = B.JSString_methods.trim$0(trace),
  19405. t2 = $.$get$vmChainGap(),
  19406. t3 = type$.WhereIterable_String,
  19407. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  19408. if (!lines.get$iterator(0).moveNext$0())
  19409. return A._setArrayType([], type$.JSArray_Frame);
  19410. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  19411. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  19412. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  19413. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  19414. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(0)));
  19415. return $frames;
  19416. },
  19417. Trace$parseV8(trace) {
  19418. 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()),
  19419. t2 = type$.Frame;
  19420. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  19421. return new A.Trace(t2, new A._StringStackTrace(trace));
  19422. },
  19423. Trace$parseJSCore(trace) {
  19424. 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);
  19425. return new A.Trace(t1, new A._StringStackTrace(trace));
  19426. },
  19427. Trace$parseFirefox(trace) {
  19428. 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);
  19429. return new A.Trace(t1, new A._StringStackTrace(trace));
  19430. },
  19431. Trace___parseFriendly_tearOff(trace) {
  19432. return A.Trace$parseFriendly(trace);
  19433. },
  19434. Trace$parseFriendly(trace) {
  19435. 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);
  19436. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  19437. return new A.Trace(t1, new A._StringStackTrace(trace));
  19438. },
  19439. Trace$($frames, original) {
  19440. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  19441. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  19442. },
  19443. Trace: function Trace(t0, t1) {
  19444. this.frames = t0;
  19445. this.original = t1;
  19446. },
  19447. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  19448. this.trace = t0;
  19449. },
  19450. Trace__parseVM_closure: function Trace__parseVM_closure() {
  19451. },
  19452. Trace$parseV8_closure: function Trace$parseV8_closure() {
  19453. },
  19454. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  19455. },
  19456. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  19457. },
  19458. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  19459. },
  19460. Trace_terse_closure: function Trace_terse_closure() {
  19461. },
  19462. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  19463. this.oldPredicate = t0;
  19464. },
  19465. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  19466. this._box_0 = t0;
  19467. },
  19468. Trace_toString_closure0: function Trace_toString_closure0() {
  19469. },
  19470. Trace_toString_closure: function Trace_toString_closure(t0) {
  19471. this.longest = t0;
  19472. },
  19473. UnparsedFrame: function UnparsedFrame(t0, t1) {
  19474. this.uri = t0;
  19475. this.member = t1;
  19476. },
  19477. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  19478. var _null = null, t1 = {},
  19479. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  19480. t1.subscription = null;
  19481. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  19482. return controller.get$stream();
  19483. },
  19484. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  19485. sink.addError$2(error, stackTrace);
  19486. },
  19487. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  19488. var _ = this;
  19489. _._box_1 = t0;
  19490. _._this = t1;
  19491. _.handleData = t2;
  19492. _.controller = t3;
  19493. _.handleError = t4;
  19494. _.handleDone = t5;
  19495. _.S = t6;
  19496. },
  19497. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  19498. this.handleData = t0;
  19499. this.controller = t1;
  19500. this.S = t2;
  19501. },
  19502. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  19503. this.handleError = t0;
  19504. this.controller = t1;
  19505. },
  19506. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  19507. this._box_0 = t0;
  19508. this.handleDone = t1;
  19509. this.controller = t2;
  19510. },
  19511. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  19512. this._box_1 = t0;
  19513. this._box_0 = t1;
  19514. },
  19515. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  19516. var t1 = {};
  19517. t1.soFar = t1.timer = null;
  19518. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  19519. 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);
  19520. },
  19521. _collect($event, soFar, $T) {
  19522. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  19523. J.add$1$ax(t1, $event);
  19524. return t1;
  19525. },
  19526. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  19527. var _ = this;
  19528. _._box_0 = t0;
  19529. _.S = t1;
  19530. _.collect = t2;
  19531. _.leading = t3;
  19532. _.duration = t4;
  19533. _.trailing = t5;
  19534. _.T = t6;
  19535. },
  19536. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  19537. this._box_0 = t0;
  19538. this.sink = t1;
  19539. this.S = t2;
  19540. },
  19541. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  19542. var _ = this;
  19543. _._box_0 = t0;
  19544. _.trailing = t1;
  19545. _.emit = t2;
  19546. _.sink = t3;
  19547. },
  19548. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  19549. this._box_0 = t0;
  19550. this.trailing = t1;
  19551. this.S = t2;
  19552. },
  19553. StringScannerException$(message, span, source) {
  19554. return new A.StringScannerException(source, message, span);
  19555. },
  19556. StringScannerException: function StringScannerException(t0, t1, t2) {
  19557. this.source = t0;
  19558. this._span_exception$_message = t1;
  19559. this._span = t2;
  19560. },
  19561. LineScanner$(string) {
  19562. return new A.LineScanner(null, string);
  19563. },
  19564. LineScanner: function LineScanner(t0, t1) {
  19565. var _ = this;
  19566. _._line_scanner$_column = _._line_scanner$_line = 0;
  19567. _.sourceUrl = t0;
  19568. _.string = t1;
  19569. _._string_scanner$_position = 0;
  19570. _._lastMatchPosition = _._lastMatch = null;
  19571. },
  19572. SpanScanner$(string, sourceUrl) {
  19573. var t2,
  19574. t1 = A.SourceFile$fromString(string, sourceUrl);
  19575. if (sourceUrl == null)
  19576. t2 = null;
  19577. else
  19578. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19579. return new A.SpanScanner(t1, t2, string);
  19580. },
  19581. SpanScanner: function SpanScanner(t0, t1, t2) {
  19582. var _ = this;
  19583. _._sourceFile = t0;
  19584. _.sourceUrl = t1;
  19585. _.string = t2;
  19586. _._string_scanner$_position = 0;
  19587. _._lastMatchPosition = _._lastMatch = null;
  19588. },
  19589. _SpanScannerState: function _SpanScannerState(t0, t1) {
  19590. this._scanner = t0;
  19591. this.position = t1;
  19592. },
  19593. StringScanner$(string, position, sourceUrl) {
  19594. var t1;
  19595. if (sourceUrl == null)
  19596. t1 = null;
  19597. else
  19598. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19599. return new A.StringScanner(t1, string);
  19600. },
  19601. StringScanner: function StringScanner(t0, t1) {
  19602. var _ = this;
  19603. _.sourceUrl = t0;
  19604. _.string = t1;
  19605. _._string_scanner$_position = 0;
  19606. _._lastMatchPosition = _._lastMatch = null;
  19607. },
  19608. AsciiGlyphSet: function AsciiGlyphSet() {
  19609. },
  19610. UnicodeGlyphSet: function UnicodeGlyphSet() {
  19611. },
  19612. WatchEvent: function WatchEvent(t0, t1) {
  19613. this.type = t0;
  19614. this.path = t1;
  19615. },
  19616. ChangeType: function ChangeType(t0) {
  19617. this._watch_event$_name = t0;
  19618. },
  19619. AnySelectorVisitor0: function AnySelectorVisitor0() {
  19620. },
  19621. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  19622. this.$this = t0;
  19623. },
  19624. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  19625. this.$this = t0;
  19626. },
  19627. SupportsAnything0: function SupportsAnything0(t0, t1) {
  19628. this.contents = t0;
  19629. this.span = t1;
  19630. },
  19631. Argument0: function Argument0(t0, t1, t2) {
  19632. this.name = t0;
  19633. this.defaultValue = t1;
  19634. this.span = t2;
  19635. },
  19636. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  19637. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  19638. },
  19639. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  19640. this.$arguments = t0;
  19641. this.restArgument = t1;
  19642. this.span = t2;
  19643. },
  19644. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  19645. },
  19646. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  19647. },
  19648. ArgumentInvocation$empty0(span) {
  19649. return new A.ArgumentInvocation0(B.List_empty20, B.Map_empty14, null, null, span);
  19650. },
  19651. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  19652. var _ = this;
  19653. _.positional = t0;
  19654. _.named = t1;
  19655. _.rest = t2;
  19656. _.keywordRest = t3;
  19657. _.span = t4;
  19658. },
  19659. argumentListClass_closure: function argumentListClass_closure() {
  19660. },
  19661. argumentListClass__closure: function argumentListClass__closure() {
  19662. },
  19663. argumentListClass__closure0: function argumentListClass__closure0() {
  19664. },
  19665. SassArgumentList$0(contents, keywords, separator) {
  19666. var t1 = type$.Value_2;
  19667. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  19668. t1.SassList$3$brackets0(contents, separator, false);
  19669. return t1;
  19670. },
  19671. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  19672. var _ = this;
  19673. _._argument_list$_keywords = t0;
  19674. _._argument_list$_wereKeywordsAccessed = false;
  19675. _._list1$_contents = t1;
  19676. _._list1$_separator = t2;
  19677. _._list1$_hasBrackets = t3;
  19678. },
  19679. JSArray1: function JSArray1() {
  19680. },
  19681. AsyncImporter0: function AsyncImporter0() {
  19682. },
  19683. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  19684. this._async0$_canonicalize = t0;
  19685. this._load = t1;
  19686. this._nonCanonicalSchemes = t2;
  19687. },
  19688. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  19689. this.$this = t0;
  19690. this.url = t1;
  19691. },
  19692. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  19693. this.$this = t0;
  19694. this.url = t1;
  19695. },
  19696. AsyncBuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  19697. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  19698. },
  19699. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  19700. var _ = this;
  19701. _.name = t0;
  19702. _._async_built_in0$_arguments = t1;
  19703. _._async_built_in0$_callback = t2;
  19704. _.acceptsContent = t3;
  19705. },
  19706. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  19707. this.callback = t0;
  19708. },
  19709. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  19710. var $async$goto = 0,
  19711. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19712. $async$returnValue, t2, t3, t4, t0, stylesheet, result, t1;
  19713. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19714. if ($async$errorCode === 1)
  19715. return A._asyncRethrow($async$result, $async$completer);
  19716. while (true)
  19717. switch ($async$goto) {
  19718. case 0:
  19719. // Function start
  19720. t1 = type$.Deprecation_2;
  19721. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  19722. t1 = nodeImporter == null;
  19723. if (t1)
  19724. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  19725. else
  19726. t2 = false;
  19727. $async$goto = t2 ? 3 : 5;
  19728. break;
  19729. case 3:
  19730. // then
  19731. if (importCache == null)
  19732. importCache = A.AsyncImportCache$none(logger);
  19733. t2 = $.$get$FilesystemImporter_cwd0();
  19734. t3 = A.isNodeJs() ? self.process : null;
  19735. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  19736. t3 = A.isNodeJs() ? self.process : null;
  19737. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  19738. } else
  19739. t3 = true;
  19740. if (t3) {
  19741. t3 = $.$get$context();
  19742. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  19743. t0 = t4;
  19744. t4 = t3;
  19745. t3 = t0;
  19746. } else {
  19747. t3 = $.$get$context();
  19748. t4 = t3.canonicalize$1(0, path);
  19749. t0 = t4;
  19750. t4 = t3;
  19751. t3 = t0;
  19752. }
  19753. $async$goto = 6;
  19754. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  19755. case 6:
  19756. // returning from await.
  19757. t4 = $async$result;
  19758. t4.toString;
  19759. stylesheet = t4;
  19760. // goto join
  19761. $async$goto = 4;
  19762. break;
  19763. case 5:
  19764. // else
  19765. t2 = A.readFile0(path);
  19766. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  19767. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  19768. case 4:
  19769. // join
  19770. $async$goto = 7;
  19771. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  19772. case 7:
  19773. // returning from await.
  19774. result = $async$result;
  19775. logger.summarize$1$js(!t1);
  19776. $async$returnValue = result;
  19777. // goto return
  19778. $async$goto = 1;
  19779. break;
  19780. case 1:
  19781. // return
  19782. return A._asyncReturn($async$returnValue, $async$completer);
  19783. }
  19784. });
  19785. return A._asyncStartSync($async$compileAsync0, $async$completer);
  19786. },
  19787. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  19788. var $async$goto = 0,
  19789. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19790. $async$returnValue, stylesheet, result, t1;
  19791. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19792. if ($async$errorCode === 1)
  19793. return A._asyncRethrow($async$result, $async$completer);
  19794. while (true)
  19795. switch ($async$goto) {
  19796. case 0:
  19797. // Function start
  19798. t1 = type$.Deprecation_2;
  19799. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  19800. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  19801. if (importer == null)
  19802. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  19803. else
  19804. t1 = importer;
  19805. $async$goto = 3;
  19806. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  19807. case 3:
  19808. // returning from await.
  19809. result = $async$result;
  19810. logger.summarize$1$js(nodeImporter != null);
  19811. $async$returnValue = result;
  19812. // goto return
  19813. $async$goto = 1;
  19814. break;
  19815. case 1:
  19816. // return
  19817. return A._asyncReturn($async$returnValue, $async$completer);
  19818. }
  19819. });
  19820. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  19821. },
  19822. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  19823. var $async$goto = 0,
  19824. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19825. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  19826. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19827. if ($async$errorCode === 1)
  19828. return A._asyncRethrow($async$result, $async$completer);
  19829. while (true)
  19830. switch ($async$goto) {
  19831. case 0:
  19832. // Function start
  19833. $async$goto = 3;
  19834. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  19835. case 3:
  19836. // returning from await.
  19837. evaluateResult = $async$result;
  19838. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  19839. resultSourceMap = serializeResult._1;
  19840. if (resultSourceMap != null && importCache != null)
  19841. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  19842. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  19843. // goto return
  19844. $async$goto = 1;
  19845. break;
  19846. case 1:
  19847. // return
  19848. return A._asyncReturn($async$returnValue, $async$completer);
  19849. }
  19850. });
  19851. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  19852. },
  19853. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  19854. this.stylesheet = t0;
  19855. this.importCache = t1;
  19856. },
  19857. AsyncEnvironment$0() {
  19858. var t1 = type$.String,
  19859. t2 = type$.Module_AsyncCallable_2,
  19860. t3 = type$.AstNode_2,
  19861. t4 = type$.int,
  19862. t5 = type$.AsyncCallable_2,
  19863. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  19864. 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);
  19865. },
  19866. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  19867. var t1 = type$.String,
  19868. t2 = type$.int;
  19869. 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);
  19870. },
  19871. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  19872. var t1, t2, t3, t4, t5, t6, module, result, t7;
  19873. if (forwarded == null)
  19874. forwarded = B.Set_empty6;
  19875. t1 = type$.dynamic;
  19876. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  19877. 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();) {
  19878. t6 = t4.get$current(t4);
  19879. module = t6._0;
  19880. result = A.List_List$from(t6._1, false, t5);
  19881. result.fixed$length = Array;
  19882. result.immutable$list = Array;
  19883. t1.$indexSet(0, module, result);
  19884. }
  19885. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  19886. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  19887. 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);
  19888. 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);
  19889. t5 = type$.Map_String_AsyncCallable_2;
  19890. t6 = type$.AsyncCallable_2;
  19891. 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);
  19892. 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);
  19893. 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());
  19894. 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()));
  19895. },
  19896. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  19897. var modulesByVariable, t1, t2, t3, t4, t5;
  19898. if (forwarded.get$isEmpty(forwarded))
  19899. return B.Map_empty16;
  19900. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  19901. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  19902. t2 = t1.get$current(t1);
  19903. if (t2 instanceof A._EnvironmentModule2) {
  19904. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  19905. t4 = t3.get$current(t3);
  19906. t5 = t4.get$variables();
  19907. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  19908. }
  19909. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  19910. } else {
  19911. t3 = t2.get$variables();
  19912. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  19913. }
  19914. }
  19915. return modulesByVariable;
  19916. },
  19917. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  19918. var t1, t2, t3;
  19919. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  19920. if (otherMaps.get$isEmpty(otherMaps))
  19921. return localMap;
  19922. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  19923. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  19924. t3 = t2.get$current(t2);
  19925. if (t3.get$isNotEmpty(t3))
  19926. t1.push(t3);
  19927. }
  19928. t1.push(localMap);
  19929. if (t1.length === 1)
  19930. return localMap;
  19931. return A.MergedMapView$0(t1, type$.String, $V);
  19932. },
  19933. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  19934. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  19935. },
  19936. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  19937. var _ = this;
  19938. _._async_environment0$_modules = t0;
  19939. _._async_environment0$_namespaceNodes = t1;
  19940. _._async_environment0$_globalModules = t2;
  19941. _._async_environment0$_importedModules = t3;
  19942. _._async_environment0$_forwardedModules = t4;
  19943. _._async_environment0$_nestedForwardedModules = t5;
  19944. _._async_environment0$_allModules = t6;
  19945. _._async_environment0$_variables = t7;
  19946. _._async_environment0$_variableNodes = t8;
  19947. _._async_environment0$_variableIndices = t9;
  19948. _._async_environment0$_functions = t10;
  19949. _._async_environment0$_functionIndices = t11;
  19950. _._async_environment0$_mixins = t12;
  19951. _._async_environment0$_mixinIndices = t13;
  19952. _._async_environment0$_content = t14;
  19953. _._async_environment0$_inMixin = false;
  19954. _._async_environment0$_inSemiGlobalScope = true;
  19955. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  19956. },
  19957. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  19958. this.name = t0;
  19959. },
  19960. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  19961. this.$this = t0;
  19962. this.name = t1;
  19963. },
  19964. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  19965. this.name = t0;
  19966. },
  19967. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  19968. this.$this = t0;
  19969. this.name = t1;
  19970. },
  19971. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  19972. this.name = t0;
  19973. },
  19974. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  19975. this.name = t0;
  19976. },
  19977. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  19978. },
  19979. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  19980. },
  19981. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  19982. var _ = this;
  19983. _.upstream = t0;
  19984. _.variables = t1;
  19985. _.variableNodes = t2;
  19986. _.functions = t3;
  19987. _.mixins = t4;
  19988. _.extensionStore = t5;
  19989. _.css = t6;
  19990. _.preModuleComments = t7;
  19991. _.transitivelyContainsCss = t8;
  19992. _.transitivelyContainsExtensions = t9;
  19993. _._async_environment0$_environment = t10;
  19994. _._async_environment0$_modulesByVariable = t11;
  19995. },
  19996. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  19997. },
  19998. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  19999. },
  20000. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20001. },
  20002. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20003. },
  20004. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20005. },
  20006. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20007. },
  20008. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20009. var t4,
  20010. t1 = type$.Uri,
  20011. t2 = type$.Module_AsyncCallable_2,
  20012. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20013. if (importCache == null)
  20014. t4 = nodeImporter == null ? A.AsyncImportCache$none(logger) : null;
  20015. else
  20016. t4 = importCache;
  20017. 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);
  20018. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20019. return t1;
  20020. },
  20021. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  20022. var _ = this;
  20023. _._async_evaluate0$_importCache = t0;
  20024. _._async_evaluate0$_nodeImporter = t1;
  20025. _._async_evaluate0$_builtInFunctions = t2;
  20026. _._async_evaluate0$_builtInModules = t3;
  20027. _._async_evaluate0$_modules = t4;
  20028. _._async_evaluate0$_moduleConfigurations = t5;
  20029. _._async_evaluate0$_moduleNodes = t6;
  20030. _._async_evaluate0$_logger = t7;
  20031. _._async_evaluate0$_warningsEmitted = t8;
  20032. _._async_evaluate0$_quietDeps = t9;
  20033. _._async_evaluate0$_sourceMap = t10;
  20034. _._async_evaluate0$_environment = t11;
  20035. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20036. _._async_evaluate0$_member = "root stylesheet";
  20037. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  20038. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20039. _._async_evaluate0$_loadedUrls = t12;
  20040. _._async_evaluate0$_activeModules = t13;
  20041. _._async_evaluate0$_stack = t14;
  20042. _._async_evaluate0$_importer = null;
  20043. _._async_evaluate0$_inDependency = false;
  20044. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20045. _._async_evaluate0$_configuration = t15;
  20046. },
  20047. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20048. this.$this = t0;
  20049. },
  20050. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  20051. this.$this = t0;
  20052. },
  20053. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  20054. this.$this = t0;
  20055. },
  20056. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  20057. this.$this = t0;
  20058. },
  20059. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  20060. this.$this = t0;
  20061. },
  20062. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  20063. this.$this = t0;
  20064. },
  20065. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  20066. this.$this = t0;
  20067. },
  20068. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  20069. this.$this = t0;
  20070. },
  20071. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  20072. this.$this = t0;
  20073. },
  20074. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  20075. this.$this = t0;
  20076. this.name = t1;
  20077. this.module = t2;
  20078. },
  20079. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  20080. this.$this = t0;
  20081. },
  20082. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  20083. this.$this = t0;
  20084. this.name = t1;
  20085. this.module = t2;
  20086. },
  20087. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  20088. this.$this = t0;
  20089. },
  20090. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  20091. this.$this = t0;
  20092. },
  20093. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  20094. this.values = t0;
  20095. this.span = t1;
  20096. this.callableNode = t2;
  20097. },
  20098. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  20099. this.$this = t0;
  20100. },
  20101. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  20102. this.$this = t0;
  20103. },
  20104. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  20105. this.$this = t0;
  20106. this.node = t1;
  20107. this.importer = t2;
  20108. },
  20109. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  20110. this.$this = t0;
  20111. this.importer = t1;
  20112. this.node = t2;
  20113. },
  20114. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  20115. this._box_1 = t0;
  20116. this.callback = t1;
  20117. },
  20118. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  20119. var _ = this;
  20120. _.$this = t0;
  20121. _.url = t1;
  20122. _.nodeWithSpan = t2;
  20123. _.baseUrl = t3;
  20124. _.namesInErrors = t4;
  20125. _.configuration = t5;
  20126. _.callback = t6;
  20127. },
  20128. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  20129. this.$this = t0;
  20130. this.message = t1;
  20131. },
  20132. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  20133. this._box_0 = t0;
  20134. this.callback = t1;
  20135. this.firstLoad = t2;
  20136. },
  20137. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  20138. var _ = this;
  20139. _.$this = t0;
  20140. _.importer = t1;
  20141. _.stylesheet = t2;
  20142. _.extensionStore = t3;
  20143. _.configuration = t4;
  20144. _.css = t5;
  20145. _.preModuleComments = t6;
  20146. },
  20147. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  20148. },
  20149. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  20150. this.selectors = t0;
  20151. },
  20152. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  20153. var _ = this;
  20154. _.$this = t0;
  20155. _.seen = t1;
  20156. _.clone = t2;
  20157. _.css = t3;
  20158. _.imports = t4;
  20159. _.sorted = t5;
  20160. },
  20161. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  20162. this.originalSelectors = t0;
  20163. },
  20164. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  20165. },
  20166. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  20167. this.$this = t0;
  20168. this.node = t1;
  20169. },
  20170. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  20171. this.$this = t0;
  20172. this.node = t1;
  20173. },
  20174. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  20175. this.$this = t0;
  20176. this.newParent = t1;
  20177. this.node = t2;
  20178. },
  20179. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  20180. this.$this = t0;
  20181. this.innerScope = t1;
  20182. },
  20183. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  20184. this.$this = t0;
  20185. this.innerScope = t1;
  20186. },
  20187. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  20188. this.innerScope = t0;
  20189. this.callback = t1;
  20190. },
  20191. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  20192. this.$this = t0;
  20193. this.innerScope = t1;
  20194. },
  20195. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  20196. },
  20197. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  20198. this.$this = t0;
  20199. this.innerScope = t1;
  20200. },
  20201. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  20202. this.$this = t0;
  20203. this.content = t1;
  20204. },
  20205. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  20206. this._box_0 = t0;
  20207. this.$this = t1;
  20208. },
  20209. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  20210. this._box_0 = t0;
  20211. this.$this = t1;
  20212. this.nodeWithSpan = t2;
  20213. },
  20214. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  20215. this._box_0 = t0;
  20216. this.$this = t1;
  20217. this.nodeWithSpan = t2;
  20218. },
  20219. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  20220. var _ = this;
  20221. _.$this = t0;
  20222. _.list = t1;
  20223. _.setVariables = t2;
  20224. _.node = t3;
  20225. },
  20226. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  20227. this.$this = t0;
  20228. this.setVariables = t1;
  20229. this.node = t2;
  20230. },
  20231. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  20232. this.$this = t0;
  20233. },
  20234. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  20235. this.$this = t0;
  20236. },
  20237. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  20238. this.$this = t0;
  20239. this.name = t1;
  20240. this.children = t2;
  20241. },
  20242. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  20243. this.$this = t0;
  20244. this.children = t1;
  20245. },
  20246. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  20247. },
  20248. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  20249. this.$this = t0;
  20250. this.node = t1;
  20251. },
  20252. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  20253. this.$this = t0;
  20254. this.node = t1;
  20255. },
  20256. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  20257. this.fromNumber = t0;
  20258. },
  20259. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  20260. this.toNumber = t0;
  20261. this.fromNumber = t1;
  20262. },
  20263. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  20264. var _ = this;
  20265. _._box_0 = t0;
  20266. _.$this = t1;
  20267. _.node = t2;
  20268. _.from = t3;
  20269. _.direction = t4;
  20270. _.fromNumber = t5;
  20271. },
  20272. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  20273. this.$this = t0;
  20274. },
  20275. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  20276. this.$this = t0;
  20277. this.node = t1;
  20278. },
  20279. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  20280. this.$this = t0;
  20281. this.node = t1;
  20282. },
  20283. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  20284. },
  20285. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  20286. this.$this = t0;
  20287. },
  20288. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  20289. this.$this = t0;
  20290. this.clause = t1;
  20291. },
  20292. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  20293. this.$this = t0;
  20294. },
  20295. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  20296. this.$this = t0;
  20297. this.$import = t1;
  20298. },
  20299. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  20300. this.$this = t0;
  20301. },
  20302. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  20303. },
  20304. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  20305. },
  20306. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  20307. var _ = this;
  20308. _._box_0 = t0;
  20309. _.$this = t1;
  20310. _.loadsUserDefinedModules = t2;
  20311. _.environment = t3;
  20312. _.children = t4;
  20313. },
  20314. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  20315. var _ = this;
  20316. _.$this = t0;
  20317. _.$arguments = t1;
  20318. _.mixin = t2;
  20319. _.nodeWithSpanWithoutContent = t3;
  20320. },
  20321. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  20322. var _ = this;
  20323. _.$this = t0;
  20324. _.$arguments = t1;
  20325. _.mixin = t2;
  20326. _.nodeWithSpanWithoutContent = t3;
  20327. },
  20328. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  20329. var _ = this;
  20330. _.$this = t0;
  20331. _.contentCallable = t1;
  20332. _.mixin = t2;
  20333. _.nodeWithSpanWithoutContent = t3;
  20334. },
  20335. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  20336. this.$this = t0;
  20337. this.mixin = t1;
  20338. this.nodeWithSpanWithoutContent = t2;
  20339. },
  20340. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  20341. this.$this = t0;
  20342. this.mixin = t1;
  20343. this.nodeWithSpanWithoutContent = t2;
  20344. },
  20345. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  20346. this.$this = t0;
  20347. this.statement = t1;
  20348. },
  20349. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  20350. this.$this = t0;
  20351. this.node = t1;
  20352. },
  20353. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  20354. this.$this = t0;
  20355. },
  20356. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  20357. this.node = t0;
  20358. },
  20359. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  20360. this.$this = t0;
  20361. this.queries = t1;
  20362. },
  20363. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  20364. var _ = this;
  20365. _.$this = t0;
  20366. _.mergedQueries = t1;
  20367. _.queries = t2;
  20368. _.mergedSources = t3;
  20369. _.node = t4;
  20370. },
  20371. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  20372. this.$this = t0;
  20373. this.node = t1;
  20374. },
  20375. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  20376. this.$this = t0;
  20377. this.node = t1;
  20378. },
  20379. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  20380. this.mergedSources = t0;
  20381. },
  20382. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
  20383. this.$this = t0;
  20384. this.node = t1;
  20385. },
  20386. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
  20387. },
  20388. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1, t2) {
  20389. this.$this = t0;
  20390. this.rule = t1;
  20391. this.node = t2;
  20392. },
  20393. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  20394. this.$this = t0;
  20395. this.node = t1;
  20396. },
  20397. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  20398. },
  20399. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18() {
  20400. },
  20401. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  20402. this.$this = t0;
  20403. this.node = t1;
  20404. },
  20405. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  20406. this.$this = t0;
  20407. this.node = t1;
  20408. },
  20409. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  20410. },
  20411. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  20412. this._box_0 = t0;
  20413. this.$this = t1;
  20414. },
  20415. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  20416. this._box_0 = t0;
  20417. this.$this = t1;
  20418. this.node = t2;
  20419. },
  20420. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  20421. this.$this = t0;
  20422. this.node = t1;
  20423. },
  20424. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  20425. this.$this = t0;
  20426. this.node = t1;
  20427. this.value = t2;
  20428. },
  20429. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  20430. this.$this = t0;
  20431. this.node = t1;
  20432. },
  20433. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  20434. this.$this = t0;
  20435. this.node = t1;
  20436. },
  20437. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  20438. this.$this = t0;
  20439. this.node = t1;
  20440. },
  20441. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  20442. this.$this = t0;
  20443. },
  20444. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  20445. this.$this = t0;
  20446. this.node = t1;
  20447. },
  20448. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  20449. },
  20450. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  20451. this.$this = t0;
  20452. this.node = t1;
  20453. },
  20454. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  20455. this.node = t0;
  20456. this.operand = t1;
  20457. },
  20458. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  20459. this.$this = t0;
  20460. },
  20461. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  20462. this.$this = t0;
  20463. this.node = t1;
  20464. },
  20465. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  20466. },
  20467. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  20468. this._box_0 = t0;
  20469. this.$this = t1;
  20470. this.node = t2;
  20471. },
  20472. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  20473. this.$this = t0;
  20474. this.node = t1;
  20475. },
  20476. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  20477. var _ = this;
  20478. _._box_0 = t0;
  20479. _.$this = t1;
  20480. _.node = t2;
  20481. _.inLegacySassFunction = t3;
  20482. },
  20483. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  20484. this.$this = t0;
  20485. this.node = t1;
  20486. this.$function = t2;
  20487. },
  20488. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  20489. var _ = this;
  20490. _.$this = t0;
  20491. _.callable = t1;
  20492. _.evaluated = t2;
  20493. _.nodeWithSpan = t3;
  20494. _.run = t4;
  20495. _.V = t5;
  20496. },
  20497. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  20498. var _ = this;
  20499. _.$this = t0;
  20500. _.evaluated = t1;
  20501. _.callable = t2;
  20502. _.nodeWithSpan = t3;
  20503. _.run = t4;
  20504. _.V = t5;
  20505. },
  20506. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  20507. var _ = this;
  20508. _.$this = t0;
  20509. _.evaluated = t1;
  20510. _.callable = t2;
  20511. _.nodeWithSpan = t3;
  20512. _.run = t4;
  20513. _.V = t5;
  20514. },
  20515. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  20516. },
  20517. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  20518. this.$this = t0;
  20519. this.callable = t1;
  20520. },
  20521. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  20522. this._box_0 = t0;
  20523. this.evaluated = t1;
  20524. this.namedSet = t2;
  20525. },
  20526. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  20527. this._box_0 = t0;
  20528. this.evaluated = t1;
  20529. },
  20530. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  20531. },
  20532. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  20533. },
  20534. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  20535. this.$this = t0;
  20536. this.restNodeForSpan = t1;
  20537. },
  20538. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  20539. var _ = this;
  20540. _.$this = t0;
  20541. _.named = t1;
  20542. _.restNodeForSpan = t2;
  20543. _.namedNodes = t3;
  20544. },
  20545. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  20546. },
  20547. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  20548. this.restArgs = t0;
  20549. },
  20550. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  20551. this.$this = t0;
  20552. this.restNodeForSpan = t1;
  20553. this.restArgs = t2;
  20554. },
  20555. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  20556. var _ = this;
  20557. _.$this = t0;
  20558. _.named = t1;
  20559. _.restNodeForSpan = t2;
  20560. _.restArgs = t3;
  20561. },
  20562. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  20563. this.$this = t0;
  20564. this.keywordRestNodeForSpan = t1;
  20565. this.keywordRestArgs = t2;
  20566. },
  20567. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  20568. var _ = this;
  20569. _.$this = t0;
  20570. _.values = t1;
  20571. _.convert = t2;
  20572. _.expressionNode = t3;
  20573. _.map = t4;
  20574. _.nodeWithSpan = t5;
  20575. },
  20576. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  20577. this.$arguments = t0;
  20578. this.positional = t1;
  20579. this.named = t2;
  20580. },
  20581. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  20582. this.$this = t0;
  20583. this.node = t1;
  20584. },
  20585. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  20586. },
  20587. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  20588. this.$this = t0;
  20589. this.node = t1;
  20590. },
  20591. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  20592. },
  20593. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  20594. this.$this = t0;
  20595. this.node = t1;
  20596. },
  20597. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  20598. var _ = this;
  20599. _.$this = t0;
  20600. _.mergedQueries = t1;
  20601. _.node = t2;
  20602. _.mergedSources = t3;
  20603. },
  20604. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  20605. this.$this = t0;
  20606. this.node = t1;
  20607. },
  20608. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  20609. this.$this = t0;
  20610. this.node = t1;
  20611. },
  20612. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  20613. this.mergedSources = t0;
  20614. },
  20615. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  20616. this.$this = t0;
  20617. this.rule = t1;
  20618. this.node = t2;
  20619. },
  20620. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  20621. this.$this = t0;
  20622. this.node = t1;
  20623. },
  20624. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  20625. },
  20626. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  20627. this.$this = t0;
  20628. this.node = t1;
  20629. },
  20630. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  20631. this.$this = t0;
  20632. this.node = t1;
  20633. },
  20634. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  20635. },
  20636. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  20637. this.interpolation = t0;
  20638. },
  20639. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  20640. this.value = t0;
  20641. this.quote = t1;
  20642. },
  20643. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  20644. this.$this = t0;
  20645. this.expression = t1;
  20646. },
  20647. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  20648. },
  20649. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  20650. this.$this = t0;
  20651. },
  20652. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  20653. this._async_evaluate0$_visitor = t0;
  20654. },
  20655. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  20656. },
  20657. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  20658. this.hasBeenMerged = t0;
  20659. },
  20660. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  20661. },
  20662. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  20663. },
  20664. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  20665. this._async_evaluate0$_visitor = t0;
  20666. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  20667. },
  20668. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  20669. this._findFileUrl = t0;
  20670. },
  20671. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  20672. this.$this = t0;
  20673. this.url = t1;
  20674. },
  20675. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  20676. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20677. t2 = type$.Uri,
  20678. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  20679. 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));
  20680. },
  20681. AsyncImportCache$none(logger) {
  20682. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20683. t2 = type$.Uri;
  20684. 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));
  20685. },
  20686. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  20687. var t1, t2, t3, t4, _i, path, _null = null,
  20688. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  20689. if (A.isBrowser()) {
  20690. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20691. if (importers != null)
  20692. B.JSArray_methods.addAll$1(t1, importers);
  20693. return t1;
  20694. }
  20695. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20696. if (importers != null)
  20697. B.JSArray_methods.addAll$1(t1, importers);
  20698. if (loadPaths != null)
  20699. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  20700. t3 = t2.get$current(t2);
  20701. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20702. }
  20703. if (sassPath != null) {
  20704. t2 = A.isNodeJs() ? self.process : _null;
  20705. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  20706. t4 = t3.length;
  20707. _i = 0;
  20708. for (; _i < t4; ++_i) {
  20709. path = t3[_i];
  20710. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  20711. }
  20712. }
  20713. return t1;
  20714. },
  20715. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  20716. var _ = this;
  20717. _._async_import_cache0$_importers = t0;
  20718. _._async_import_cache0$_logger = t1;
  20719. _._async_import_cache0$_canonicalizeCache = t2;
  20720. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  20721. _._async_import_cache0$_importCache = t4;
  20722. _._async_import_cache0$_resultsCache = t5;
  20723. },
  20724. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  20725. var _ = this;
  20726. _.$this = t0;
  20727. _.baseImporter = t1;
  20728. _.baseUrl = t2;
  20729. _.url = t3;
  20730. _.forImport = t4;
  20731. },
  20732. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2, t3) {
  20733. var _ = this;
  20734. _.$this = t0;
  20735. _.url = t1;
  20736. _.baseUrl = t2;
  20737. _.forImport = t3;
  20738. },
  20739. AsyncImportCache__canonicalize_closure1: function AsyncImportCache__canonicalize_closure1(t0, t1) {
  20740. this.importer = t0;
  20741. this.resolved = t1;
  20742. },
  20743. AsyncImportCache__canonicalize__closure0: function AsyncImportCache__canonicalize__closure0(t0, t1) {
  20744. this.importer = t0;
  20745. this.resolved = t1;
  20746. },
  20747. AsyncImportCache__canonicalize_closure2: function AsyncImportCache__canonicalize_closure2(t0, t1) {
  20748. this.importer = t0;
  20749. this.resolved = t1;
  20750. },
  20751. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  20752. var _ = this;
  20753. _.$this = t0;
  20754. _.importer = t1;
  20755. _.canonicalUrl = t2;
  20756. _.originalUrl = t3;
  20757. _.quiet = t4;
  20758. },
  20759. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  20760. this.canonicalUrl = t0;
  20761. },
  20762. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  20763. },
  20764. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  20765. },
  20766. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  20767. this.canonicalUrl = t0;
  20768. },
  20769. AtRootQueryParser$0(contents, logger, url) {
  20770. var t1 = A.SpanScanner$(contents, url);
  20771. return new A.AtRootQueryParser0(t1, logger, null);
  20772. },
  20773. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  20774. this.scanner = t0;
  20775. this.logger = t1;
  20776. this._parser0$_interpolationMap = t2;
  20777. },
  20778. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  20779. this.$this = t0;
  20780. },
  20781. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  20782. var _ = this;
  20783. _.include = t0;
  20784. _.names = t1;
  20785. _._at_root_query0$_all = t2;
  20786. _._at_root_query0$_rule = t3;
  20787. },
  20788. AtRootRule$0(children, span, query) {
  20789. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20790. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20791. return new A.AtRootRule0(query, span, t1, t2);
  20792. },
  20793. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  20794. var _ = this;
  20795. _.query = t0;
  20796. _.span = t1;
  20797. _.children = t2;
  20798. _.hasDeclarations = t3;
  20799. },
  20800. ModifiableCssAtRule$0($name, span, childless, value) {
  20801. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20802. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20803. },
  20804. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  20805. var _ = this;
  20806. _.name = t0;
  20807. _.value = t1;
  20808. _.isChildless = t2;
  20809. _.span = t3;
  20810. _.children = t4;
  20811. _._node$_children = t5;
  20812. _._node$_indexInParent = _._node$_parent = null;
  20813. _.isGroupEnd = false;
  20814. },
  20815. AtRule$0($name, span, children, value) {
  20816. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  20817. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20818. return new A.AtRule0($name, value, span, t1, t2 === true);
  20819. },
  20820. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  20821. var _ = this;
  20822. _.name = t0;
  20823. _.value = t1;
  20824. _.span = t2;
  20825. _.children = t3;
  20826. _.hasDeclarations = t4;
  20827. },
  20828. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  20829. var _ = this;
  20830. _.name = t0;
  20831. _.op = t1;
  20832. _.value = t2;
  20833. _.modifier = t3;
  20834. _.span = t4;
  20835. },
  20836. AttributeOperator0: function AttributeOperator0(t0, t1) {
  20837. this._attribute0$_text = t0;
  20838. this._name = t1;
  20839. },
  20840. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  20841. var _ = this;
  20842. _.operator = t0;
  20843. _.left = t1;
  20844. _.right = t2;
  20845. _.allowsSlash = t3;
  20846. },
  20847. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  20848. var _ = this;
  20849. _.name = t0;
  20850. _.operator = t1;
  20851. _.precedence = t2;
  20852. _.isAssociative = t3;
  20853. _._name = t4;
  20854. },
  20855. BooleanExpression0: function BooleanExpression0(t0, t1) {
  20856. this.value = t0;
  20857. this.span = t1;
  20858. },
  20859. booleanClass_closure: function booleanClass_closure() {
  20860. },
  20861. booleanClass__closure: function booleanClass__closure() {
  20862. },
  20863. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  20864. },
  20865. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  20866. },
  20867. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  20868. },
  20869. SassBoolean0: function SassBoolean0(t0) {
  20870. this.value = t0;
  20871. },
  20872. Box0: function Box0(t0, t1) {
  20873. this._box0$_inner = t0;
  20874. this.$ti = t1;
  20875. },
  20876. ModifiableBox0: function ModifiableBox0(t0, t1) {
  20877. this.value = t0;
  20878. this.$ti = t1;
  20879. },
  20880. BuiltInCallable$function0($name, $arguments, callback, url) {
  20881. 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);
  20882. },
  20883. BuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  20884. 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);
  20885. },
  20886. BuiltInCallable$overloadedFunction0($name, overloads) {
  20887. var t2, t3, t4, t5, t6, args, callback,
  20888. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2);
  20889. 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();) {
  20890. t6 = t3.get$current(t3);
  20891. args = t6._0;
  20892. callback = t6._1;
  20893. t6 = A.SpanScanner$(t4 + args + ") {", null);
  20894. t1.push(new A._Record_2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), callback));
  20895. }
  20896. return new A.BuiltInCallable0($name, t1, false);
  20897. },
  20898. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  20899. this.name = t0;
  20900. this._built_in$_overloads = t1;
  20901. this.acceptsContent = t2;
  20902. },
  20903. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  20904. this.callback = t0;
  20905. },
  20906. BuiltInModule$0($name, functions, mixins, variables, $T) {
  20907. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  20908. t2 = A.BuiltInModule__callableMap0(functions, $T),
  20909. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  20910. t4 = variables == null ? B.Map_empty13 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  20911. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  20912. },
  20913. BuiltInModule__callableMap0(callables, $T) {
  20914. var t2, _i, callable,
  20915. t1 = type$.String;
  20916. if (callables == null)
  20917. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20918. else {
  20919. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20920. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  20921. callable = callables[_i];
  20922. t1.$indexSet(0, J.get$name$x(callable), callable);
  20923. }
  20924. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20925. }
  20926. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20927. },
  20928. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  20929. var _ = this;
  20930. _.url = t0;
  20931. _.functions = t1;
  20932. _.mixins = t2;
  20933. _.variables = t3;
  20934. _.$ti = t4;
  20935. },
  20936. _assertCalculationValue(arg) {
  20937. var t1;
  20938. $label0$0: {
  20939. if (!(arg instanceof A.SassNumber0))
  20940. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  20941. else
  20942. t1 = true;
  20943. if (t1) {
  20944. t1 = null;
  20945. break $label0$0;
  20946. }
  20947. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  20948. }
  20949. return t1;
  20950. },
  20951. _isValidClampArg(arg) {
  20952. var t1;
  20953. $label0$0: {
  20954. if (!(arg instanceof A.CalculationInterpolation))
  20955. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  20956. else
  20957. t1 = true;
  20958. if (t1) {
  20959. t1 = true;
  20960. break $label0$0;
  20961. }
  20962. t1 = false;
  20963. break $label0$0;
  20964. }
  20965. return t1;
  20966. },
  20967. calculationClass_closure: function calculationClass_closure() {
  20968. },
  20969. calculationClass__closure: function calculationClass__closure() {
  20970. },
  20971. calculationClass__closure0: function calculationClass__closure0() {
  20972. },
  20973. calculationClass__closure1: function calculationClass__closure1() {
  20974. },
  20975. calculationClass__closure2: function calculationClass__closure2() {
  20976. },
  20977. calculationClass__closure3: function calculationClass__closure3() {
  20978. },
  20979. calculationClass__closure4: function calculationClass__closure4() {
  20980. },
  20981. calculationClass__closure5: function calculationClass__closure5() {
  20982. },
  20983. calculationOperationClass_closure: function calculationOperationClass_closure() {
  20984. },
  20985. calculationOperationClass__closure: function calculationOperationClass__closure() {
  20986. },
  20987. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  20988. this.strOperator = t0;
  20989. },
  20990. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  20991. },
  20992. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  20993. },
  20994. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  20995. },
  20996. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  20997. },
  20998. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  20999. },
  21000. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21001. },
  21002. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21003. },
  21004. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21005. },
  21006. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21007. },
  21008. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21009. },
  21010. SassCalculation_calc0(argument) {
  21011. var t1,
  21012. _0_0 = A.SassCalculation__simplify0(argument);
  21013. $label0$0: {
  21014. if (_0_0 instanceof A.SassNumber0) {
  21015. t1 = _0_0;
  21016. break $label0$0;
  21017. }
  21018. if (_0_0 instanceof A.SassCalculation0) {
  21019. t1 = _0_0;
  21020. break $label0$0;
  21021. }
  21022. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21023. break $label0$0;
  21024. }
  21025. return t1;
  21026. },
  21027. SassCalculation_min0($arguments) {
  21028. var minimum, _i, arg, t2,
  21029. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21030. t1 = args.length;
  21031. if (t1 === 0)
  21032. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21033. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21034. arg = args[_i];
  21035. if (arg instanceof A.SassNumber0)
  21036. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21037. else
  21038. t2 = true;
  21039. if (t2) {
  21040. minimum = null;
  21041. break;
  21042. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21043. minimum = arg;
  21044. }
  21045. if (minimum != null)
  21046. return minimum;
  21047. A.SassCalculation__verifyCompatibleNumbers0(args);
  21048. return new A.SassCalculation0("min", args);
  21049. },
  21050. SassCalculation_max0($arguments) {
  21051. var maximum, _i, arg, t2,
  21052. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21053. t1 = args.length;
  21054. if (t1 === 0)
  21055. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  21056. for (maximum = null, _i = 0; _i < t1; ++_i) {
  21057. arg = args[_i];
  21058. if (arg instanceof A.SassNumber0)
  21059. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  21060. else
  21061. t2 = true;
  21062. if (t2) {
  21063. maximum = null;
  21064. break;
  21065. } else if (maximum == null || maximum.lessThan$1(arg).value)
  21066. maximum = arg;
  21067. }
  21068. if (maximum != null)
  21069. return maximum;
  21070. A.SassCalculation__verifyCompatibleNumbers0(args);
  21071. return new A.SassCalculation0("max", args);
  21072. },
  21073. SassCalculation_hypot0($arguments) {
  21074. var first, subtotal, i, number, value, t2, t3,
  21075. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21076. t1 = args.length;
  21077. if (t1 === 0)
  21078. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  21079. A.SassCalculation__verifyCompatibleNumbers0(args);
  21080. first = B.JSArray_methods.get$first(args);
  21081. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  21082. return new A.SassCalculation0("hypot", args);
  21083. for (subtotal = 0, i = 0; i < t1;) {
  21084. number = args[i];
  21085. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  21086. return new A.SassCalculation0("hypot", args);
  21087. ++i;
  21088. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  21089. subtotal += value * value;
  21090. }
  21091. t1 = Math.sqrt(subtotal);
  21092. t2 = J.getInterceptor$x(first);
  21093. t3 = t2.get$numeratorUnits(first);
  21094. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(first), t3);
  21095. },
  21096. SassCalculation_abs0(argument) {
  21097. var t1, t2;
  21098. argument = A.SassCalculation__simplify0(argument);
  21099. if (!(argument instanceof A.SassNumber0))
  21100. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  21101. if (argument.hasUnit$1("%")) {
  21102. t1 = argument.toString$0(0);
  21103. t2 = argument.toString$0(0);
  21104. A.EvaluationContext_current0().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_la6);
  21105. }
  21106. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  21107. },
  21108. SassCalculation_exp0(argument) {
  21109. argument = A.SassCalculation__simplify0(argument);
  21110. if (!(argument instanceof A.SassNumber0))
  21111. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  21112. argument.assertNoUnits$0();
  21113. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  21114. },
  21115. SassCalculation_sign0(argument) {
  21116. var t1, _0_2, t2, arg;
  21117. argument = A.SassCalculation__simplify0(argument);
  21118. $label0$0: {
  21119. t1 = argument instanceof A.SassNumber0;
  21120. if (t1) {
  21121. _0_2 = argument._number1$_value;
  21122. if (!isNaN(_0_2))
  21123. t2 = 0 === _0_2;
  21124. else
  21125. t2 = true;
  21126. } else
  21127. t2 = false;
  21128. if (t2) {
  21129. t1 = argument;
  21130. break $label0$0;
  21131. }
  21132. if (t1) {
  21133. t1 = !argument.hasUnit$1("%");
  21134. arg = argument;
  21135. } else {
  21136. arg = null;
  21137. t1 = false;
  21138. }
  21139. if (t1) {
  21140. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  21141. break $label0$0;
  21142. }
  21143. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  21144. break $label0$0;
  21145. }
  21146. return t1;
  21147. },
  21148. SassCalculation_clamp0(min, value, max) {
  21149. var t1, args;
  21150. if (value == null && max != null)
  21151. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  21152. min = A.SassCalculation__simplify0(min);
  21153. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  21154. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  21155. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  21156. if (value.lessThanOrEquals$1(min).value)
  21157. return min;
  21158. if (value.greaterThanOrEquals$1(max).value)
  21159. return max;
  21160. return value;
  21161. }
  21162. t1 = [min];
  21163. if (value != null)
  21164. t1.push(value);
  21165. if (max != null)
  21166. t1.push(max);
  21167. args = A.List_List$unmodifiable(t1, type$.Object);
  21168. A.SassCalculation__verifyCompatibleNumbers0(args);
  21169. A.SassCalculation__verifyLength0(args, 3);
  21170. return new A.SassCalculation0("clamp", args);
  21171. },
  21172. SassCalculation_pow0(base, exponent) {
  21173. var t1 = A._setArrayType([base], type$.JSArray_Object);
  21174. if (exponent != null)
  21175. t1.push(exponent);
  21176. A.SassCalculation__verifyLength0(t1, 2);
  21177. base = A.SassCalculation__simplify0(base);
  21178. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  21179. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  21180. return new A.SassCalculation0("pow", t1);
  21181. base.assertNoUnits$0();
  21182. exponent.assertNoUnits$0();
  21183. return A.pow1(base, exponent);
  21184. },
  21185. SassCalculation_log0(number, base) {
  21186. var t1, t2;
  21187. number = A.SassCalculation__simplify0(number);
  21188. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  21189. t1 = A._setArrayType([number], type$.JSArray_Object);
  21190. t2 = base != null;
  21191. if (t2)
  21192. t1.push(base);
  21193. if (number instanceof A.SassNumber0)
  21194. t2 = t2 && !(base instanceof A.SassNumber0);
  21195. else
  21196. t2 = true;
  21197. if (t2)
  21198. return new A.SassCalculation0("log", t1);
  21199. number.assertNoUnits$0();
  21200. if (base instanceof A.SassNumber0) {
  21201. base.assertNoUnits$0();
  21202. return A.log0(number, base);
  21203. }
  21204. return A.log0(number, null);
  21205. },
  21206. SassCalculation_atan20(y, x) {
  21207. var t1;
  21208. y = A.SassCalculation__simplify0(y);
  21209. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  21210. t1 = A._setArrayType([y], type$.JSArray_Object);
  21211. if (x != null)
  21212. t1.push(x);
  21213. A.SassCalculation__verifyLength0(t1, 2);
  21214. A.SassCalculation__verifyCompatibleNumbers0(t1);
  21215. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  21216. return new A.SassCalculation0("atan2", t1);
  21217. 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));
  21218. },
  21219. SassCalculation_rem0(dividend, modulus) {
  21220. var t1, result;
  21221. dividend = A.SassCalculation__simplify0(dividend);
  21222. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  21223. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  21224. if (modulus != null)
  21225. t1.push(modulus);
  21226. A.SassCalculation__verifyLength0(t1, 2);
  21227. A.SassCalculation__verifyCompatibleNumbers0(t1);
  21228. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  21229. return new A.SassCalculation0("rem", t1);
  21230. result = dividend.modulo$1(modulus);
  21231. t1 = modulus._number1$_value;
  21232. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  21233. if (t1 == 1 / 0 || t1 == -1 / 0)
  21234. return dividend;
  21235. if (result._number1$_value === 0)
  21236. return result.unaryMinus$0();
  21237. return result.minus$1(modulus);
  21238. }
  21239. return result;
  21240. },
  21241. SassCalculation_mod0(dividend, modulus) {
  21242. var t1;
  21243. dividend = A.SassCalculation__simplify0(dividend);
  21244. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  21245. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  21246. if (modulus != null)
  21247. t1.push(modulus);
  21248. A.SassCalculation__verifyLength0(t1, 2);
  21249. A.SassCalculation__verifyCompatibleNumbers0(t1);
  21250. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  21251. return new A.SassCalculation0("mod", t1);
  21252. return dividend.modulo$1(modulus);
  21253. },
  21254. SassCalculation_round0(strategyOrNumber, numberOrStep, step) {
  21255. var _0_4, t1, _0_20, _0_6, _0_50, _0_6_isSet, _0_5_isSet, _0_2_isSet, number, _0_4_isSet, t2, _0_8, _0_8_isSet, _0_12, _0_14, _0_16, _0_16_isSet, _0_14_isSet, _0_12_isSet, t3, strategy, _0_10_isSet, rest, _null = null, _s5_ = "round",
  21256. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  21257. _0_2 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  21258. _0_5 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  21259. _0_10 = _0_1;
  21260. if (_0_1 instanceof A.SassNumber0) {
  21261. type$.SassNumber_2._as(_0_10);
  21262. _0_4 = _0_2 == null;
  21263. t1 = _0_4;
  21264. _0_20 = _0_2;
  21265. if (t1) {
  21266. _0_6 = _0_5 == null;
  21267. t1 = _0_6;
  21268. _0_50 = _0_5;
  21269. _0_6_isSet = true;
  21270. _0_5_isSet = true;
  21271. } else {
  21272. _0_50 = _null;
  21273. _0_6 = _0_50;
  21274. _0_6_isSet = false;
  21275. _0_5_isSet = false;
  21276. t1 = false;
  21277. }
  21278. _0_2_isSet = true;
  21279. number = _0_10;
  21280. _0_1 = number;
  21281. _0_4_isSet = true;
  21282. } else {
  21283. number = _null;
  21284. _0_50 = number;
  21285. _0_6 = _0_50;
  21286. _0_20 = _0_6;
  21287. _0_4 = _0_20;
  21288. _0_1 = _0_10;
  21289. _0_4_isSet = false;
  21290. _0_2_isSet = false;
  21291. _0_6_isSet = false;
  21292. _0_5_isSet = false;
  21293. t1 = false;
  21294. }
  21295. if (t1) {
  21296. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  21297. t2 = number.get$numeratorUnits(number);
  21298. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  21299. }
  21300. if (_0_1 instanceof A.SassNumber0) {
  21301. t1 = type$.SassNumber_2;
  21302. t1._as(_0_1);
  21303. if (_0_2_isSet)
  21304. t2 = _0_20;
  21305. else {
  21306. t2 = _0_2;
  21307. _0_20 = t2;
  21308. _0_2_isSet = true;
  21309. }
  21310. if (t2 instanceof A.SassNumber0) {
  21311. if (_0_2_isSet)
  21312. t2 = _0_20;
  21313. else {
  21314. t2 = _0_2;
  21315. _0_20 = t2;
  21316. _0_2_isSet = true;
  21317. }
  21318. t1._as(t2);
  21319. if (_0_6_isSet)
  21320. t1 = _0_6;
  21321. else {
  21322. if (_0_5_isSet)
  21323. t1 = _0_50;
  21324. else {
  21325. t1 = _0_5;
  21326. _0_50 = t1;
  21327. _0_5_isSet = true;
  21328. }
  21329. _0_6 = t1 == null;
  21330. t1 = _0_6;
  21331. _0_6_isSet = true;
  21332. }
  21333. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  21334. step = t2;
  21335. } else {
  21336. step = _null;
  21337. t1 = false;
  21338. }
  21339. number = _0_1;
  21340. } else {
  21341. step = _null;
  21342. number = step;
  21343. t1 = false;
  21344. }
  21345. if (t1) {
  21346. t1 = type$.JSArray_Object;
  21347. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21348. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  21349. }
  21350. if (_0_1 instanceof A.SassNumber0) {
  21351. t1 = type$.SassNumber_2;
  21352. t1._as(_0_1);
  21353. if (_0_2_isSet)
  21354. t2 = _0_20;
  21355. else {
  21356. t2 = _0_2;
  21357. _0_20 = t2;
  21358. _0_2_isSet = true;
  21359. }
  21360. if (t2 instanceof A.SassNumber0) {
  21361. if (_0_2_isSet)
  21362. t2 = _0_20;
  21363. else {
  21364. t2 = _0_2;
  21365. _0_20 = t2;
  21366. _0_2_isSet = true;
  21367. }
  21368. t1._as(t2);
  21369. if (_0_6_isSet)
  21370. t1 = _0_6;
  21371. else {
  21372. if (_0_5_isSet)
  21373. t1 = _0_50;
  21374. else {
  21375. t1 = _0_5;
  21376. _0_50 = t1;
  21377. _0_5_isSet = true;
  21378. }
  21379. _0_6 = t1 == null;
  21380. t1 = _0_6;
  21381. _0_6_isSet = true;
  21382. }
  21383. step = t2;
  21384. } else {
  21385. step = _null;
  21386. t1 = false;
  21387. }
  21388. number = _0_1;
  21389. } else {
  21390. step = _null;
  21391. number = step;
  21392. t1 = false;
  21393. }
  21394. if (t1) {
  21395. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21396. return A.SassCalculation__roundWithStep0("nearest", number, step);
  21397. }
  21398. if (_0_1 instanceof A.SassString0) {
  21399. type$.SassString_2._as(_0_1);
  21400. _0_8 = _0_1._string0$_text;
  21401. t1 = _0_8;
  21402. _0_10 = "nearest" === t1;
  21403. t1 = _0_10;
  21404. if (!t1) {
  21405. t1 = _0_8;
  21406. _0_8_isSet = true;
  21407. _0_12 = "up" === t1;
  21408. t1 = _0_12;
  21409. if (!t1) {
  21410. if (_0_8_isSet)
  21411. t1 = _0_8;
  21412. else {
  21413. type$.SassString_2._as(_0_1);
  21414. _0_8 = _0_1._string0$_text;
  21415. t1 = _0_8;
  21416. _0_8_isSet = true;
  21417. }
  21418. _0_14 = "down" === t1;
  21419. t1 = _0_14;
  21420. if (!t1) {
  21421. if (_0_8_isSet)
  21422. t1 = _0_8;
  21423. else {
  21424. type$.SassString_2._as(_0_1);
  21425. _0_8 = _0_1._string0$_text;
  21426. t1 = _0_8;
  21427. _0_8_isSet = true;
  21428. }
  21429. _0_16 = "to-zero" === t1;
  21430. t1 = _0_16;
  21431. _0_16_isSet = true;
  21432. } else {
  21433. _0_16 = _null;
  21434. _0_16_isSet = false;
  21435. t1 = true;
  21436. }
  21437. _0_14_isSet = true;
  21438. } else {
  21439. _0_16 = _null;
  21440. _0_14 = _0_16;
  21441. _0_14_isSet = false;
  21442. _0_16_isSet = false;
  21443. t1 = true;
  21444. }
  21445. _0_12_isSet = true;
  21446. } else {
  21447. _0_16 = _null;
  21448. _0_14 = _0_16;
  21449. _0_12 = _0_14;
  21450. _0_8_isSet = true;
  21451. _0_12_isSet = false;
  21452. _0_14_isSet = false;
  21453. _0_16_isSet = false;
  21454. t1 = true;
  21455. }
  21456. if (t1) {
  21457. type$.SassString_2._as(_0_1);
  21458. if (_0_2_isSet)
  21459. t1 = _0_20;
  21460. else {
  21461. t1 = _0_2;
  21462. _0_20 = t1;
  21463. _0_2_isSet = true;
  21464. }
  21465. if (t1 instanceof A.SassNumber0) {
  21466. if (_0_2_isSet)
  21467. t1 = _0_20;
  21468. else {
  21469. t1 = _0_2;
  21470. _0_20 = t1;
  21471. _0_2_isSet = true;
  21472. }
  21473. t2 = type$.SassNumber_2;
  21474. t2._as(t1);
  21475. if (_0_5_isSet)
  21476. t3 = _0_50;
  21477. else {
  21478. t3 = _0_5;
  21479. _0_50 = t3;
  21480. _0_5_isSet = true;
  21481. }
  21482. if (t3 instanceof A.SassNumber0) {
  21483. if (_0_5_isSet)
  21484. t3 = _0_50;
  21485. else {
  21486. t3 = _0_5;
  21487. _0_50 = t3;
  21488. _0_5_isSet = true;
  21489. }
  21490. t2._as(t3);
  21491. t2 = !t1.hasCompatibleUnits$1(t3);
  21492. step = t3;
  21493. } else {
  21494. step = _null;
  21495. t2 = false;
  21496. }
  21497. number = t1;
  21498. t1 = t2;
  21499. } else {
  21500. step = _null;
  21501. number = step;
  21502. t1 = false;
  21503. }
  21504. strategy = _0_1;
  21505. } else {
  21506. step = _null;
  21507. number = step;
  21508. strategy = number;
  21509. t1 = false;
  21510. }
  21511. _0_10_isSet = true;
  21512. } else {
  21513. step = _null;
  21514. number = step;
  21515. strategy = number;
  21516. _0_16 = strategy;
  21517. _0_14 = _0_16;
  21518. _0_12 = _0_14;
  21519. _0_8 = _0_12;
  21520. _0_10 = _0_8;
  21521. _0_10_isSet = false;
  21522. _0_8_isSet = false;
  21523. _0_12_isSet = false;
  21524. _0_14_isSet = false;
  21525. _0_16_isSet = false;
  21526. t1 = false;
  21527. }
  21528. if (t1) {
  21529. t1 = type$.JSArray_Object;
  21530. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21531. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  21532. }
  21533. if (_0_1 instanceof A.SassString0) {
  21534. if (_0_10_isSet)
  21535. t1 = _0_10;
  21536. else {
  21537. if (_0_8_isSet)
  21538. t1 = _0_8;
  21539. else {
  21540. type$.SassString_2._as(_0_1);
  21541. _0_8 = _0_1._string0$_text;
  21542. t1 = _0_8;
  21543. _0_8_isSet = true;
  21544. }
  21545. _0_10 = "nearest" === t1;
  21546. t1 = _0_10;
  21547. _0_10_isSet = true;
  21548. }
  21549. if (!t1) {
  21550. if (_0_12_isSet)
  21551. t1 = _0_12;
  21552. else {
  21553. if (_0_8_isSet)
  21554. t1 = _0_8;
  21555. else {
  21556. type$.SassString_2._as(_0_1);
  21557. _0_8 = _0_1._string0$_text;
  21558. t1 = _0_8;
  21559. _0_8_isSet = true;
  21560. }
  21561. _0_12 = "up" === t1;
  21562. t1 = _0_12;
  21563. _0_12_isSet = true;
  21564. }
  21565. if (!t1) {
  21566. if (_0_14_isSet)
  21567. t1 = _0_14;
  21568. else {
  21569. if (_0_8_isSet)
  21570. t1 = _0_8;
  21571. else {
  21572. type$.SassString_2._as(_0_1);
  21573. _0_8 = _0_1._string0$_text;
  21574. t1 = _0_8;
  21575. _0_8_isSet = true;
  21576. }
  21577. _0_14 = "down" === t1;
  21578. t1 = _0_14;
  21579. _0_14_isSet = true;
  21580. }
  21581. if (!t1)
  21582. if (_0_16_isSet)
  21583. t1 = _0_16;
  21584. else {
  21585. if (_0_8_isSet)
  21586. t1 = _0_8;
  21587. else {
  21588. type$.SassString_2._as(_0_1);
  21589. _0_8 = _0_1._string0$_text;
  21590. t1 = _0_8;
  21591. _0_8_isSet = true;
  21592. }
  21593. _0_16 = "to-zero" === t1;
  21594. t1 = _0_16;
  21595. _0_16_isSet = true;
  21596. }
  21597. else
  21598. t1 = true;
  21599. } else
  21600. t1 = true;
  21601. } else
  21602. t1 = true;
  21603. if (t1) {
  21604. type$.SassString_2._as(_0_1);
  21605. if (_0_2_isSet)
  21606. t1 = _0_20;
  21607. else {
  21608. t1 = _0_2;
  21609. _0_20 = t1;
  21610. _0_2_isSet = true;
  21611. }
  21612. if (t1 instanceof A.SassNumber0) {
  21613. if (_0_2_isSet)
  21614. t1 = _0_20;
  21615. else {
  21616. t1 = _0_2;
  21617. _0_20 = t1;
  21618. _0_2_isSet = true;
  21619. }
  21620. t2 = type$.SassNumber_2;
  21621. t2._as(t1);
  21622. if (_0_5_isSet)
  21623. t3 = _0_50;
  21624. else {
  21625. t3 = _0_5;
  21626. _0_50 = t3;
  21627. _0_5_isSet = true;
  21628. }
  21629. if (t3 instanceof A.SassNumber0) {
  21630. if (_0_5_isSet)
  21631. t3 = _0_50;
  21632. else {
  21633. t3 = _0_5;
  21634. _0_50 = t3;
  21635. _0_5_isSet = true;
  21636. }
  21637. t2._as(t3);
  21638. step = t3;
  21639. t2 = true;
  21640. } else {
  21641. step = _null;
  21642. t2 = false;
  21643. }
  21644. number = t1;
  21645. t1 = t2;
  21646. } else {
  21647. step = _null;
  21648. number = step;
  21649. t1 = false;
  21650. }
  21651. strategy = _0_1;
  21652. } else {
  21653. step = _null;
  21654. number = step;
  21655. strategy = number;
  21656. t1 = false;
  21657. }
  21658. } else {
  21659. step = _null;
  21660. number = step;
  21661. strategy = number;
  21662. t1 = false;
  21663. }
  21664. if (t1) {
  21665. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21666. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  21667. }
  21668. if (_0_1 instanceof A.SassString0) {
  21669. if (_0_10_isSet)
  21670. t1 = _0_10;
  21671. else {
  21672. if (_0_8_isSet)
  21673. t1 = _0_8;
  21674. else {
  21675. type$.SassString_2._as(_0_1);
  21676. _0_8 = _0_1._string0$_text;
  21677. t1 = _0_8;
  21678. _0_8_isSet = true;
  21679. }
  21680. _0_10 = "nearest" === t1;
  21681. t1 = _0_10;
  21682. _0_10_isSet = true;
  21683. }
  21684. if (!t1) {
  21685. if (_0_12_isSet)
  21686. t1 = _0_12;
  21687. else {
  21688. if (_0_8_isSet)
  21689. t1 = _0_8;
  21690. else {
  21691. type$.SassString_2._as(_0_1);
  21692. _0_8 = _0_1._string0$_text;
  21693. t1 = _0_8;
  21694. _0_8_isSet = true;
  21695. }
  21696. _0_12 = "up" === t1;
  21697. t1 = _0_12;
  21698. _0_12_isSet = true;
  21699. }
  21700. if (!t1) {
  21701. if (_0_14_isSet)
  21702. t1 = _0_14;
  21703. else {
  21704. if (_0_8_isSet)
  21705. t1 = _0_8;
  21706. else {
  21707. type$.SassString_2._as(_0_1);
  21708. _0_8 = _0_1._string0$_text;
  21709. t1 = _0_8;
  21710. _0_8_isSet = true;
  21711. }
  21712. _0_14 = "down" === t1;
  21713. t1 = _0_14;
  21714. _0_14_isSet = true;
  21715. }
  21716. if (!t1)
  21717. if (_0_16_isSet)
  21718. t1 = _0_16;
  21719. else {
  21720. if (_0_8_isSet)
  21721. t1 = _0_8;
  21722. else {
  21723. type$.SassString_2._as(_0_1);
  21724. _0_8 = _0_1._string0$_text;
  21725. t1 = _0_8;
  21726. _0_8_isSet = true;
  21727. }
  21728. _0_16 = "to-zero" === t1;
  21729. t1 = _0_16;
  21730. _0_16_isSet = true;
  21731. }
  21732. else
  21733. t1 = true;
  21734. } else
  21735. t1 = true;
  21736. } else
  21737. t1 = true;
  21738. if (t1) {
  21739. t1 = type$.SassString_2;
  21740. t1._as(_0_1);
  21741. if (_0_2_isSet)
  21742. t2 = _0_20;
  21743. else {
  21744. t2 = _0_2;
  21745. _0_20 = t2;
  21746. _0_2_isSet = true;
  21747. }
  21748. if (t2 instanceof A.SassString0) {
  21749. if (_0_2_isSet)
  21750. t2 = _0_20;
  21751. else {
  21752. t2 = _0_2;
  21753. _0_20 = t2;
  21754. _0_2_isSet = true;
  21755. }
  21756. t1._as(t2);
  21757. if (_0_6_isSet)
  21758. t1 = _0_6;
  21759. else {
  21760. if (_0_5_isSet)
  21761. t1 = _0_50;
  21762. else {
  21763. t1 = _0_5;
  21764. _0_50 = t1;
  21765. _0_5_isSet = true;
  21766. }
  21767. _0_6 = t1 == null;
  21768. t1 = _0_6;
  21769. _0_6_isSet = true;
  21770. }
  21771. rest = t2;
  21772. } else {
  21773. rest = _null;
  21774. t1 = false;
  21775. }
  21776. strategy = _0_1;
  21777. } else {
  21778. rest = _null;
  21779. strategy = rest;
  21780. t1 = false;
  21781. }
  21782. } else {
  21783. rest = _null;
  21784. strategy = rest;
  21785. t1 = false;
  21786. }
  21787. if (t1)
  21788. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  21789. if (_0_1 instanceof A.SassString0) {
  21790. if (_0_10_isSet)
  21791. t1 = _0_10;
  21792. else {
  21793. if (_0_8_isSet)
  21794. t1 = _0_8;
  21795. else {
  21796. type$.SassString_2._as(_0_1);
  21797. _0_8 = _0_1._string0$_text;
  21798. t1 = _0_8;
  21799. _0_8_isSet = true;
  21800. }
  21801. _0_10 = "nearest" === t1;
  21802. t1 = _0_10;
  21803. _0_10_isSet = true;
  21804. }
  21805. if (!t1) {
  21806. if (_0_12_isSet)
  21807. t1 = _0_12;
  21808. else {
  21809. if (_0_8_isSet)
  21810. t1 = _0_8;
  21811. else {
  21812. type$.SassString_2._as(_0_1);
  21813. _0_8 = _0_1._string0$_text;
  21814. t1 = _0_8;
  21815. _0_8_isSet = true;
  21816. }
  21817. _0_12 = "up" === t1;
  21818. t1 = _0_12;
  21819. _0_12_isSet = true;
  21820. }
  21821. if (!t1) {
  21822. if (_0_14_isSet)
  21823. t1 = _0_14;
  21824. else {
  21825. if (_0_8_isSet)
  21826. t1 = _0_8;
  21827. else {
  21828. type$.SassString_2._as(_0_1);
  21829. _0_8 = _0_1._string0$_text;
  21830. t1 = _0_8;
  21831. _0_8_isSet = true;
  21832. }
  21833. _0_14 = "down" === t1;
  21834. t1 = _0_14;
  21835. _0_14_isSet = true;
  21836. }
  21837. if (!t1)
  21838. if (_0_16_isSet)
  21839. t1 = _0_16;
  21840. else {
  21841. if (_0_8_isSet)
  21842. t1 = _0_8;
  21843. else {
  21844. type$.SassString_2._as(_0_1);
  21845. _0_8 = _0_1._string0$_text;
  21846. t1 = _0_8;
  21847. _0_8_isSet = true;
  21848. }
  21849. _0_16 = "to-zero" === t1;
  21850. t1 = _0_16;
  21851. _0_16_isSet = true;
  21852. }
  21853. else
  21854. t1 = true;
  21855. } else
  21856. t1 = true;
  21857. } else
  21858. t1 = true;
  21859. if (t1) {
  21860. if (_0_2_isSet)
  21861. t1 = _0_20;
  21862. else {
  21863. t1 = _0_2;
  21864. _0_20 = t1;
  21865. _0_2_isSet = true;
  21866. }
  21867. if (t1 != null)
  21868. if (_0_6_isSet)
  21869. t1 = _0_6;
  21870. else {
  21871. if (_0_5_isSet)
  21872. t1 = _0_50;
  21873. else {
  21874. t1 = _0_5;
  21875. _0_50 = t1;
  21876. _0_5_isSet = true;
  21877. }
  21878. _0_6 = t1 == null;
  21879. t1 = _0_6;
  21880. _0_6_isSet = true;
  21881. }
  21882. else
  21883. t1 = false;
  21884. } else
  21885. t1 = false;
  21886. } else
  21887. t1 = false;
  21888. if (t1)
  21889. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  21890. if (_0_1 instanceof A.SassString0) {
  21891. if (_0_10_isSet)
  21892. t1 = _0_10;
  21893. else {
  21894. if (_0_8_isSet)
  21895. t1 = _0_8;
  21896. else {
  21897. type$.SassString_2._as(_0_1);
  21898. _0_8 = _0_1._string0$_text;
  21899. t1 = _0_8;
  21900. _0_8_isSet = true;
  21901. }
  21902. _0_10 = "nearest" === t1;
  21903. t1 = _0_10;
  21904. _0_10_isSet = true;
  21905. }
  21906. if (!t1) {
  21907. if (_0_12_isSet)
  21908. t1 = _0_12;
  21909. else {
  21910. if (_0_8_isSet)
  21911. t1 = _0_8;
  21912. else {
  21913. type$.SassString_2._as(_0_1);
  21914. _0_8 = _0_1._string0$_text;
  21915. t1 = _0_8;
  21916. _0_8_isSet = true;
  21917. }
  21918. _0_12 = "up" === t1;
  21919. t1 = _0_12;
  21920. _0_12_isSet = true;
  21921. }
  21922. if (!t1) {
  21923. if (_0_14_isSet)
  21924. t1 = _0_14;
  21925. else {
  21926. if (_0_8_isSet)
  21927. t1 = _0_8;
  21928. else {
  21929. type$.SassString_2._as(_0_1);
  21930. _0_8 = _0_1._string0$_text;
  21931. t1 = _0_8;
  21932. _0_8_isSet = true;
  21933. }
  21934. _0_14 = "down" === t1;
  21935. t1 = _0_14;
  21936. _0_14_isSet = true;
  21937. }
  21938. if (!t1)
  21939. if (_0_16_isSet)
  21940. t1 = _0_16;
  21941. else {
  21942. if (_0_8_isSet)
  21943. t1 = _0_8;
  21944. else {
  21945. type$.SassString_2._as(_0_1);
  21946. _0_8 = _0_1._string0$_text;
  21947. t1 = _0_8;
  21948. _0_8_isSet = true;
  21949. }
  21950. _0_16 = "to-zero" === t1;
  21951. t1 = _0_16;
  21952. _0_16_isSet = true;
  21953. }
  21954. else
  21955. t1 = true;
  21956. } else
  21957. t1 = true;
  21958. } else
  21959. t1 = true;
  21960. if (t1) {
  21961. if (_0_4_isSet)
  21962. t1 = _0_4;
  21963. else {
  21964. if (_0_2_isSet)
  21965. t1 = _0_20;
  21966. else {
  21967. t1 = _0_2;
  21968. _0_20 = t1;
  21969. _0_2_isSet = true;
  21970. }
  21971. _0_4 = t1 == null;
  21972. t1 = _0_4;
  21973. _0_4_isSet = true;
  21974. }
  21975. if (t1)
  21976. if (_0_6_isSet)
  21977. t1 = _0_6;
  21978. else {
  21979. if (_0_5_isSet)
  21980. t1 = _0_50;
  21981. else {
  21982. t1 = _0_5;
  21983. _0_50 = t1;
  21984. _0_5_isSet = true;
  21985. }
  21986. _0_6 = t1 == null;
  21987. t1 = _0_6;
  21988. _0_6_isSet = true;
  21989. }
  21990. else
  21991. t1 = false;
  21992. } else
  21993. t1 = false;
  21994. } else
  21995. t1 = false;
  21996. if (t1)
  21997. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  21998. if (_0_1 instanceof A.SassString0) {
  21999. type$.SassString_2._as(_0_1);
  22000. if (_0_4_isSet)
  22001. t1 = _0_4;
  22002. else {
  22003. if (_0_2_isSet)
  22004. t1 = _0_20;
  22005. else {
  22006. t1 = _0_2;
  22007. _0_20 = t1;
  22008. _0_2_isSet = true;
  22009. }
  22010. _0_4 = t1 == null;
  22011. t1 = _0_4;
  22012. _0_4_isSet = true;
  22013. }
  22014. if (t1)
  22015. if (_0_6_isSet)
  22016. t1 = _0_6;
  22017. else {
  22018. if (_0_5_isSet)
  22019. t1 = _0_50;
  22020. else {
  22021. t1 = _0_5;
  22022. _0_50 = t1;
  22023. _0_5_isSet = true;
  22024. }
  22025. _0_6 = t1 == null;
  22026. t1 = _0_6;
  22027. _0_6_isSet = true;
  22028. }
  22029. else
  22030. t1 = false;
  22031. rest = _0_1;
  22032. } else {
  22033. rest = _null;
  22034. t1 = false;
  22035. }
  22036. if (t1)
  22037. return new A.SassCalculation0(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  22038. if (_0_4_isSet)
  22039. t1 = _0_4;
  22040. else {
  22041. if (_0_2_isSet)
  22042. t1 = _0_20;
  22043. else {
  22044. t1 = _0_2;
  22045. _0_20 = t1;
  22046. _0_2_isSet = true;
  22047. }
  22048. _0_4 = t1 == null;
  22049. t1 = _0_4;
  22050. }
  22051. if (t1)
  22052. if (_0_6_isSet)
  22053. t1 = _0_6;
  22054. else {
  22055. if (_0_5_isSet)
  22056. t1 = _0_50;
  22057. else {
  22058. t1 = _0_5;
  22059. _0_50 = t1;
  22060. _0_5_isSet = true;
  22061. }
  22062. _0_6 = t1 == null;
  22063. t1 = _0_6;
  22064. _0_6_isSet = true;
  22065. }
  22066. else
  22067. t1 = false;
  22068. if (t1)
  22069. throw A.wrapException(A.SassScriptException$0("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  22070. if (_0_2_isSet)
  22071. t1 = _0_20;
  22072. else {
  22073. t1 = _0_2;
  22074. _0_20 = t1;
  22075. _0_2_isSet = true;
  22076. }
  22077. if (t1 != null) {
  22078. if (_0_2_isSet)
  22079. step = _0_20;
  22080. else {
  22081. step = _0_2;
  22082. _0_20 = step;
  22083. _0_2_isSet = true;
  22084. }
  22085. if (step == null)
  22086. step = type$.Object._as(step);
  22087. if (_0_6_isSet)
  22088. t1 = _0_6;
  22089. else {
  22090. if (_0_5_isSet)
  22091. t1 = _0_50;
  22092. else {
  22093. t1 = _0_5;
  22094. _0_50 = t1;
  22095. _0_5_isSet = true;
  22096. }
  22097. _0_6 = t1 == null;
  22098. t1 = _0_6;
  22099. }
  22100. } else {
  22101. step = _null;
  22102. t1 = false;
  22103. }
  22104. if (t1)
  22105. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  22106. if (_0_1 instanceof A.SassString0) {
  22107. if (_0_10_isSet)
  22108. t1 = _0_10;
  22109. else {
  22110. if (_0_8_isSet)
  22111. t1 = _0_8;
  22112. else {
  22113. type$.SassString_2._as(_0_1);
  22114. _0_8 = _0_1._string0$_text;
  22115. t1 = _0_8;
  22116. _0_8_isSet = true;
  22117. }
  22118. _0_10 = "nearest" === t1;
  22119. t1 = _0_10;
  22120. }
  22121. if (!t1) {
  22122. if (_0_12_isSet)
  22123. t1 = _0_12;
  22124. else {
  22125. if (_0_8_isSet)
  22126. t1 = _0_8;
  22127. else {
  22128. type$.SassString_2._as(_0_1);
  22129. _0_8 = _0_1._string0$_text;
  22130. t1 = _0_8;
  22131. _0_8_isSet = true;
  22132. }
  22133. _0_12 = "up" === t1;
  22134. t1 = _0_12;
  22135. }
  22136. if (!t1) {
  22137. if (_0_14_isSet)
  22138. t1 = _0_14;
  22139. else {
  22140. if (_0_8_isSet)
  22141. t1 = _0_8;
  22142. else {
  22143. type$.SassString_2._as(_0_1);
  22144. _0_8 = _0_1._string0$_text;
  22145. t1 = _0_8;
  22146. _0_8_isSet = true;
  22147. }
  22148. _0_14 = "down" === t1;
  22149. t1 = _0_14;
  22150. }
  22151. if (!t1)
  22152. if (_0_16_isSet)
  22153. t1 = _0_16;
  22154. else {
  22155. if (_0_8_isSet)
  22156. t1 = _0_8;
  22157. else {
  22158. type$.SassString_2._as(_0_1);
  22159. _0_8 = _0_1._string0$_text;
  22160. t1 = _0_8;
  22161. }
  22162. _0_16 = "to-zero" === t1;
  22163. t1 = _0_16;
  22164. }
  22165. else
  22166. t1 = true;
  22167. } else
  22168. t1 = true;
  22169. } else
  22170. t1 = true;
  22171. } else
  22172. t1 = false;
  22173. if (!t1)
  22174. if (_0_1 instanceof A.SassString0) {
  22175. type$.SassString_2._as(_0_1);
  22176. t1 = _0_1.get$isVar();
  22177. } else
  22178. t1 = false;
  22179. else
  22180. t1 = true;
  22181. if (t1) {
  22182. type$.SassString_2._as(_0_1);
  22183. if (_0_2_isSet)
  22184. t1 = _0_20;
  22185. else {
  22186. t1 = _0_2;
  22187. _0_20 = t1;
  22188. _0_2_isSet = true;
  22189. }
  22190. if (t1 != null) {
  22191. if (_0_2_isSet)
  22192. number = _0_20;
  22193. else {
  22194. number = _0_2;
  22195. _0_20 = number;
  22196. _0_2_isSet = true;
  22197. }
  22198. if (number == null)
  22199. number = type$.Object._as(number);
  22200. if (_0_5_isSet)
  22201. t1 = _0_50;
  22202. else {
  22203. t1 = _0_5;
  22204. _0_50 = t1;
  22205. _0_5_isSet = true;
  22206. }
  22207. if (t1 != null) {
  22208. if (_0_5_isSet)
  22209. step = _0_50;
  22210. else {
  22211. step = _0_5;
  22212. _0_50 = step;
  22213. _0_5_isSet = true;
  22214. }
  22215. if (step == null)
  22216. step = type$.Object._as(step);
  22217. t1 = true;
  22218. } else {
  22219. step = _null;
  22220. t1 = false;
  22221. }
  22222. } else {
  22223. step = _null;
  22224. number = step;
  22225. t1 = false;
  22226. }
  22227. strategy = _0_1;
  22228. } else {
  22229. step = _null;
  22230. number = step;
  22231. strategy = number;
  22232. t1 = false;
  22233. }
  22234. if (t1)
  22235. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  22236. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  22237. t1 = (_0_5_isSet ? _0_50 : _0_5) != null && true;
  22238. else
  22239. t1 = false;
  22240. if (t1)
  22241. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  22242. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  22243. throw A.wrapException(t1);
  22244. },
  22245. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify) {
  22246. var t1;
  22247. if (!simplify)
  22248. return new A.CalculationOperation0(operator, left, right);
  22249. left = A.SassCalculation__simplify0(left);
  22250. right = A.SassCalculation__simplify0(right);
  22251. if (B.CalculationOperator_IyK0 === operator || B.CalculationOperator_2bx0 === operator) {
  22252. if (left instanceof A.SassNumber0)
  22253. if (right instanceof A.SassNumber0)
  22254. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  22255. else
  22256. t1 = false;
  22257. else
  22258. t1 = false;
  22259. if (t1)
  22260. return operator === B.CalculationOperator_IyK0 ? left.plus$1(right) : left.minus$1(right);
  22261. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  22262. if (right instanceof A.SassNumber0) {
  22263. t1 = right._number1$_value;
  22264. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  22265. } else
  22266. t1 = false;
  22267. if (t1) {
  22268. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  22269. operator = operator === B.CalculationOperator_IyK0 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  22270. }
  22271. return new A.CalculationOperation0(operator, left, right);
  22272. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  22273. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  22274. else
  22275. return new A.CalculationOperation0(operator, left, right);
  22276. },
  22277. SassCalculation__roundWithStep0(strategy, number, step) {
  22278. var _0_2, t1, _0_6, _0_8, _0_1, _0_1_isSet, _0_8_isSet, _0_9, _0_9_isSet, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  22279. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  22280. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  22281. _0_2 = number._number1$_value;
  22282. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  22283. t1 = step._number1$_value;
  22284. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  22285. } else
  22286. t1 = false;
  22287. if (!t1) {
  22288. t1 = step._number1$_value;
  22289. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  22290. } else
  22291. t1 = true;
  22292. if (t1) {
  22293. t1 = number.get$numeratorUnits(number);
  22294. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  22295. }
  22296. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  22297. return number;
  22298. t1 = step._number1$_value;
  22299. if (t1 == 1 / 0 || t1 == -1 / 0) {
  22300. $label0$0: {
  22301. if (0 === _0_2) {
  22302. t1 = number;
  22303. break $label0$0;
  22304. }
  22305. _0_6 = "nearest" === strategy;
  22306. t1 = _0_6;
  22307. if (!t1) {
  22308. _0_8 = "to-zero" === strategy;
  22309. t1 = _0_8;
  22310. _0_1 = strategy;
  22311. _0_1_isSet = true;
  22312. _0_8_isSet = true;
  22313. } else {
  22314. _0_8 = _null;
  22315. _0_1 = strategy;
  22316. _0_1_isSet = true;
  22317. _0_8_isSet = false;
  22318. t1 = true;
  22319. }
  22320. if (t1) {
  22321. _0_9 = _0_2 > 0;
  22322. t1 = _0_9;
  22323. _0_9_isSet = true;
  22324. } else {
  22325. _0_9 = _null;
  22326. _0_9_isSet = false;
  22327. t1 = false;
  22328. }
  22329. if (t1) {
  22330. t1 = number.get$numeratorUnits(number);
  22331. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  22332. break $label0$0;
  22333. }
  22334. if (!_0_6)
  22335. if (_0_8_isSet)
  22336. t1 = _0_8;
  22337. else {
  22338. if (_0_1_isSet)
  22339. t1 = _0_1;
  22340. else {
  22341. t1 = strategy;
  22342. _0_1 = t1;
  22343. _0_1_isSet = true;
  22344. }
  22345. _0_8 = "to-zero" === t1;
  22346. t1 = _0_8;
  22347. }
  22348. else
  22349. t1 = true;
  22350. if (t1) {
  22351. t1 = number.get$numeratorUnits(number);
  22352. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  22353. break $label0$0;
  22354. }
  22355. if (_0_1_isSet)
  22356. t1 = _0_1;
  22357. else {
  22358. t1 = strategy;
  22359. _0_1 = t1;
  22360. _0_1_isSet = true;
  22361. }
  22362. _0_11 = "up" === t1;
  22363. t1 = _0_11;
  22364. if (t1)
  22365. if (_0_9_isSet)
  22366. t1 = _0_9;
  22367. else {
  22368. _0_9 = _0_2 > 0;
  22369. t1 = _0_9;
  22370. }
  22371. else
  22372. t1 = false;
  22373. if (t1) {
  22374. t1 = number.get$numeratorUnits(number);
  22375. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  22376. break $label0$0;
  22377. }
  22378. if (_0_11) {
  22379. t1 = number.get$numeratorUnits(number);
  22380. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  22381. break $label0$0;
  22382. }
  22383. _0_13 = "down" === (_0_1_isSet ? _0_1 : strategy);
  22384. t1 = _0_13;
  22385. if (t1)
  22386. t1 = _0_2 < 0;
  22387. else
  22388. t1 = false;
  22389. if (t1) {
  22390. t1 = number.get$numeratorUnits(number);
  22391. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  22392. break $label0$0;
  22393. }
  22394. if (_0_13) {
  22395. t1 = number.get$numeratorUnits(number);
  22396. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  22397. break $label0$0;
  22398. }
  22399. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  22400. }
  22401. return t1;
  22402. }
  22403. stepWithNumberUnit = step.convertValueToMatch$1(number);
  22404. $label1$1: {
  22405. if ("nearest" === strategy) {
  22406. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  22407. t2 = number.get$numeratorUnits(number);
  22408. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22409. t1 = t2;
  22410. break $label1$1;
  22411. }
  22412. if ("up" === strategy) {
  22413. t2 = _0_2 / stepWithNumberUnit;
  22414. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  22415. t2 = number.get$numeratorUnits(number);
  22416. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22417. t1 = t2;
  22418. break $label1$1;
  22419. }
  22420. if ("down" === strategy) {
  22421. t2 = _0_2 / stepWithNumberUnit;
  22422. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  22423. t2 = number.get$numeratorUnits(number);
  22424. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22425. t1 = t2;
  22426. break $label1$1;
  22427. }
  22428. if ("to-zero" === strategy) {
  22429. t1 = _0_2 / stepWithNumberUnit;
  22430. if (_0_2 < 0) {
  22431. t1 = B.JSNumber_methods.ceil$0(t1);
  22432. t2 = number.get$numeratorUnits(number);
  22433. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22434. t1 = t2;
  22435. } else {
  22436. t1 = B.JSNumber_methods.floor$0(t1);
  22437. t2 = number.get$numeratorUnits(number);
  22438. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22439. t1 = t2;
  22440. }
  22441. break $label1$1;
  22442. }
  22443. t1 = number.get$numeratorUnits(number);
  22444. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  22445. break $label1$1;
  22446. }
  22447. return t1;
  22448. },
  22449. SassCalculation__simplify0(arg) {
  22450. var t1, _0_11, _0_12, _0_15, t2, _0_12_isSet, _0_16, text, _0_16_isSet, _0_15_isSet, _0_11_isSet, value, _null = null,
  22451. _s32_ = " can't be used in a calculation.";
  22452. $label0$0: {
  22453. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  22454. t1 = arg;
  22455. break $label0$0;
  22456. }
  22457. if (arg instanceof A.CalculationInterpolation) {
  22458. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  22459. break $label0$0;
  22460. }
  22461. t1 = arg instanceof A.SassString0;
  22462. if (t1 && !arg._string0$_hasQuotes) {
  22463. t1 = arg;
  22464. break $label0$0;
  22465. }
  22466. if (t1)
  22467. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  22468. t1 = arg instanceof A.SassCalculation0;
  22469. if (t1) {
  22470. _0_11 = "calc" === arg.name;
  22471. if (_0_11) {
  22472. _0_12 = arg.$arguments;
  22473. _0_15 = _0_12.length === 1;
  22474. t2 = _0_15;
  22475. if (t2) {
  22476. t2 = _0_12;
  22477. _0_12_isSet = true;
  22478. _0_16 = t2[0];
  22479. t2 = _0_16;
  22480. if (t2 instanceof A.SassString0) {
  22481. type$.SassString_2._as(_0_16);
  22482. if (!_0_16._string0$_hasQuotes) {
  22483. text = _0_16._string0$_text;
  22484. t2 = A.SassCalculation__needsParentheses0(text);
  22485. } else {
  22486. text = _null;
  22487. t2 = false;
  22488. }
  22489. } else {
  22490. text = _null;
  22491. t2 = false;
  22492. }
  22493. _0_16_isSet = true;
  22494. } else {
  22495. text = _null;
  22496. _0_16 = text;
  22497. _0_12_isSet = true;
  22498. _0_16_isSet = false;
  22499. t2 = false;
  22500. }
  22501. _0_15_isSet = true;
  22502. } else {
  22503. text = _null;
  22504. _0_16 = text;
  22505. _0_12 = _0_16;
  22506. _0_15 = _0_12;
  22507. _0_15_isSet = false;
  22508. _0_12_isSet = false;
  22509. _0_16_isSet = false;
  22510. t2 = false;
  22511. }
  22512. _0_11_isSet = true;
  22513. } else {
  22514. text = _null;
  22515. _0_16 = text;
  22516. _0_12 = _0_16;
  22517. _0_15 = _0_12;
  22518. _0_11 = _0_15;
  22519. _0_11_isSet = false;
  22520. _0_15_isSet = false;
  22521. _0_12_isSet = false;
  22522. _0_16_isSet = false;
  22523. t2 = false;
  22524. }
  22525. if (t2) {
  22526. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  22527. break $label0$0;
  22528. }
  22529. if (t1)
  22530. if (_0_11_isSet ? _0_11 : "calc" === arg.name)
  22531. if (_0_15_isSet)
  22532. t2 = _0_15;
  22533. else {
  22534. if (_0_12_isSet)
  22535. t2 = _0_12;
  22536. else {
  22537. _0_12 = arg.$arguments;
  22538. t2 = _0_12;
  22539. _0_12_isSet = true;
  22540. }
  22541. _0_15 = t2.length === 1;
  22542. t2 = _0_15;
  22543. }
  22544. else
  22545. t2 = false;
  22546. else
  22547. t2 = false;
  22548. if (t2) {
  22549. if (_0_16_isSet)
  22550. value = _0_16;
  22551. else {
  22552. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  22553. value = _0_16;
  22554. }
  22555. t1 = value;
  22556. break $label0$0;
  22557. }
  22558. if (t1) {
  22559. t1 = arg;
  22560. break $label0$0;
  22561. }
  22562. if (arg instanceof A.Value0)
  22563. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  22564. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  22565. }
  22566. return t1;
  22567. },
  22568. SassCalculation__needsParentheses0(text) {
  22569. var t1, couldBeVar, second, third, fourth, i, t2,
  22570. first = text.charCodeAt(0);
  22571. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  22572. return true;
  22573. t1 = text.length;
  22574. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  22575. if (t1 < 2)
  22576. return false;
  22577. second = text.charCodeAt(1);
  22578. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  22579. return true;
  22580. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  22581. if (t1 < 3)
  22582. return false;
  22583. third = text.charCodeAt(2);
  22584. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  22585. return true;
  22586. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  22587. if (t1 < 4)
  22588. return false;
  22589. fourth = text.charCodeAt(3);
  22590. if (couldBeVar && fourth === 40)
  22591. return true;
  22592. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  22593. return true;
  22594. for (i = 4; i < t1; ++i) {
  22595. t2 = text.charCodeAt(i);
  22596. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  22597. return true;
  22598. }
  22599. return false;
  22600. },
  22601. SassCalculation__verifyCompatibleNumbers0(args) {
  22602. var t1, _i, t2, arg, i, number1, j, number2;
  22603. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  22604. arg = args[_i];
  22605. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  22606. throw A.wrapException(A.SassScriptException$0("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  22607. }
  22608. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  22609. number1 = args[i];
  22610. if (!(number1 instanceof A.SassNumber0))
  22611. continue;
  22612. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  22613. number2 = args[j];
  22614. if (!(number2 instanceof A.SassNumber0))
  22615. continue;
  22616. if (number1.hasPossiblyCompatibleUnits$1(number2))
  22617. continue;
  22618. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  22619. }
  22620. }
  22621. },
  22622. SassCalculation__verifyLength0(args, expectedLength) {
  22623. var t1;
  22624. if (args.length === expectedLength)
  22625. return;
  22626. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  22627. return;
  22628. t1 = args.length;
  22629. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  22630. },
  22631. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  22632. argument = A.SassCalculation__simplify0(argument);
  22633. if (!(argument instanceof A.SassNumber0))
  22634. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  22635. if (forbidUnits)
  22636. argument.assertNoUnits$0();
  22637. return mathFunc.call$1(argument);
  22638. },
  22639. SassCalculation0: function SassCalculation0(t0, t1) {
  22640. this.name = t0;
  22641. this.$arguments = t1;
  22642. },
  22643. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  22644. },
  22645. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  22646. this._calculation0$_operator = t0;
  22647. this._calculation0$_left = t1;
  22648. this._calculation0$_right = t2;
  22649. },
  22650. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  22651. var _ = this;
  22652. _.name = t0;
  22653. _.operator = t1;
  22654. _.precedence = t2;
  22655. _._name = t3;
  22656. },
  22657. CalculationInterpolation: function CalculationInterpolation(t0) {
  22658. this._calculation0$_value = t0;
  22659. },
  22660. CallableDeclaration0: function CallableDeclaration0() {
  22661. },
  22662. Chokidar0: function Chokidar0() {
  22663. },
  22664. ChokidarOptions0: function ChokidarOptions0() {
  22665. },
  22666. ChokidarWatcher0: function ChokidarWatcher0() {
  22667. },
  22668. ClassSelector0: function ClassSelector0(t0, t1) {
  22669. this.name = t0;
  22670. this.span = t1;
  22671. },
  22672. cloneCssStylesheet0(stylesheet, extensionStore) {
  22673. var _0_0 = extensionStore.clone$0();
  22674. 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);
  22675. },
  22676. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  22677. this._clone_css$_oldToNewSelectors = t0;
  22678. },
  22679. ColorExpression0: function ColorExpression0(t0, t1) {
  22680. this.value = t0;
  22681. this.span = t1;
  22682. },
  22683. _updateComponents0($arguments, adjust, change, scale) {
  22684. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  22685. t1 = J.getInterceptor$asx($arguments),
  22686. color = t1.$index($arguments, 0).assertColor$1("color"),
  22687. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  22688. if (argumentList._list1$_contents.length !== 0)
  22689. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  22690. argumentList._argument_list$_wereKeywordsAccessed = true;
  22691. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  22692. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  22693. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  22694. red = t1.call$2("red", 255);
  22695. green = t1.call$2("green", 255);
  22696. blue = t1.call$2("blue", 255);
  22697. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  22698. saturation = t1.call$3$checkPercent("saturation", 100, true);
  22699. lightness = t1.call$3$checkPercent("lightness", 100, true);
  22700. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  22701. blackness = t1.call$3$assertPercent("blackness", 100, true);
  22702. t1 = keywords.__js_helper$_length;
  22703. if (t1 !== 0)
  22704. throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.toSentence0(keywords.get$keys(0).map$1$1(0, new A._updateComponents_closure2(), type$.Object), "or") + ".", _null));
  22705. hasRgb = red != null || green != null || blue != null;
  22706. hasSL = saturation != null || lightness != null;
  22707. hasWB = whiteness != null || blackness != null;
  22708. if (hasRgb)
  22709. t1 = hasSL || hasWB || hue != null;
  22710. else
  22711. t1 = false;
  22712. if (t1)
  22713. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  22714. if (hasSL && hasWB)
  22715. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  22716. t1 = new A._updateComponents_updateValue0(change, adjust);
  22717. t2 = new A._updateComponents_updateRgb0(t1);
  22718. if (hasRgb) {
  22719. t3 = t2.call$2(color.get$red(0), red);
  22720. t4 = t2.call$2(color.get$green(0), green);
  22721. t2 = t2.call$2(color.get$blue(0), blue);
  22722. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22723. } else if (hasWB) {
  22724. if (change)
  22725. t2 = hue;
  22726. else {
  22727. t2 = color.get$hue(0);
  22728. t2 += hue == null ? 0 : hue;
  22729. }
  22730. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  22731. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  22732. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  22733. } else {
  22734. t2 = hue == null;
  22735. if (!t2 || hasSL) {
  22736. if (change)
  22737. t2 = hue;
  22738. else {
  22739. t3 = color.get$hue(0);
  22740. t3 += t2 ? 0 : hue;
  22741. t2 = t3;
  22742. }
  22743. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  22744. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  22745. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22746. } else if (alpha != null)
  22747. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  22748. else
  22749. return color;
  22750. }
  22751. },
  22752. _functionString0($name, $arguments) {
  22753. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  22754. },
  22755. _removedColorFunction0($name, argument, negative) {
  22756. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  22757. },
  22758. _rgb0($name, $arguments) {
  22759. var t2, red, green, blue, t3, t4,
  22760. t1 = J.getInterceptor$asx($arguments),
  22761. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  22762. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22763. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22764. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22765. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22766. t2 = t2 === true;
  22767. } else
  22768. t2 = true;
  22769. else
  22770. t2 = true;
  22771. else
  22772. t2 = true;
  22773. if (t2)
  22774. return A._functionString0($name, $arguments);
  22775. red = t1.$index($arguments, 0).assertNumber$1("red");
  22776. green = t1.$index($arguments, 1).assertNumber$1("green");
  22777. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  22778. t1 = A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red"));
  22779. t2 = A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green"));
  22780. t3 = A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue"));
  22781. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  22782. return A.SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction0);
  22783. },
  22784. _rgbTwoArg0($name, $arguments) {
  22785. var t2, color,
  22786. t1 = J.getInterceptor$asx($arguments);
  22787. if (!t1.$index($arguments, 0).get$isVar())
  22788. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor0) && t1.$index($arguments, 1).get$isVar();
  22789. else
  22790. t2 = true;
  22791. if (t2)
  22792. return A._functionString0($name, $arguments);
  22793. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  22794. color = t1.$index($arguments, 0).assertColor$1("color");
  22795. return new A.SassString0($name + "(" + color.get$red(0) + ", " + color.get$green(0) + ", " + color.get$blue(0) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  22796. }
  22797. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  22798. },
  22799. _hsl0($name, $arguments) {
  22800. var t2, hue, saturation, lightness, t3,
  22801. _s10_ = "saturation",
  22802. _s9_ = "lightness",
  22803. t1 = J.getInterceptor$asx($arguments),
  22804. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  22805. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22806. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22807. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22808. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22809. t2 = t2 === true;
  22810. } else
  22811. t2 = true;
  22812. else
  22813. t2 = true;
  22814. else
  22815. t2 = true;
  22816. if (t2)
  22817. return A._functionString0($name, $arguments);
  22818. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  22819. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  22820. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  22821. A._checkPercent0(saturation, _s10_);
  22822. A._checkPercent0(lightness, _s9_);
  22823. t1 = B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100);
  22824. t2 = B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100);
  22825. t3 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  22826. return A.SassColor$hslInternal0(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction0);
  22827. },
  22828. _angleValue0(angleValue, $name) {
  22829. var t1, t2,
  22830. angle = angleValue.assertNumber$1($name);
  22831. if (angle.compatibleWithUnit$1("deg"))
  22832. return angle.coerceValueToUnit$1("deg");
  22833. t1 = angle.toString$0(0);
  22834. t2 = angle.unitSuggestion$1($name);
  22835. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_0bn);
  22836. return angle._number1$_value;
  22837. },
  22838. _checkPercent0(number, $name) {
  22839. var t1, t2;
  22840. if (number.hasUnit$1("%"))
  22841. return;
  22842. t1 = number.toString$0(0);
  22843. t2 = number.unitSuggestion$2($name, "%");
  22844. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  22845. },
  22846. _hwb0($arguments) {
  22847. var t2, t3,
  22848. _s9_ = "whiteness",
  22849. _s9_0 = "blackness",
  22850. t1 = J.getInterceptor$asx($arguments),
  22851. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  22852. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  22853. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  22854. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  22855. whiteness.assertUnit$2("%", _s9_);
  22856. blackness.assertUnit$2("%", _s9_0);
  22857. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  22858. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  22859. t3 = A.NullableExtension_andThen0(alpha, new A._hwb_closure0());
  22860. return A.SassColor_SassColor$hwb0(hue, t1, t2, t3 == null ? 1 : t3);
  22861. },
  22862. _parseChannels0($name, argumentNames, channels) {
  22863. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, _1_0, _1_2, _1_2_isSet, t2, _null = null,
  22864. _s17_ = "$channels must be";
  22865. if (channels.get$isVar())
  22866. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22867. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  22868. list = channels.get$asList();
  22869. t1 = list.length;
  22870. if (t1 !== 2)
  22871. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  22872. channels0 = list[0];
  22873. alphaFromSlashList = list[1];
  22874. if (!alphaFromSlashList.get$isSpecialNumber())
  22875. alphaFromSlashList.assertNumber$1("alpha");
  22876. if (list[0].get$isVar())
  22877. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22878. } else {
  22879. alphaFromSlashList = _null;
  22880. channels0 = channels;
  22881. }
  22882. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  22883. isBracketed = channels0.get$hasBrackets();
  22884. if (isCommaSeparated || isBracketed) {
  22885. buffer = new A.StringBuffer(_s17_);
  22886. if (isBracketed) {
  22887. t1 = _s17_ + " an unbracketed";
  22888. buffer._contents = t1;
  22889. } else
  22890. t1 = _s17_;
  22891. if (isCommaSeparated) {
  22892. t1 += isBracketed ? "," : " a";
  22893. buffer._contents = t1;
  22894. t1 = buffer._contents = t1 + " space-separated";
  22895. }
  22896. buffer._contents = t1 + " list.";
  22897. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  22898. }
  22899. list = channels0.get$asList();
  22900. if (list.length >= 2) {
  22901. _0_4 = list[0];
  22902. t1 = _0_4;
  22903. if (t1 instanceof A.SassString0) {
  22904. type$.SassString_2._as(_0_4);
  22905. t1 = !_0_4._string0$_hasQuotes && A.equalsIgnoreCase0(_0_4._string0$_text, "from");
  22906. } else
  22907. t1 = false;
  22908. } else
  22909. t1 = false;
  22910. if (t1)
  22911. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22912. t1 = list.length;
  22913. if (t1 > 3)
  22914. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  22915. else if (t1 < 3) {
  22916. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  22917. if (list.length !== 0) {
  22918. t1 = B.JSArray_methods.get$last(list);
  22919. if (t1 instanceof A.SassString0)
  22920. if (t1._string0$_hasQuotes) {
  22921. t1 = t1._string0$_text;
  22922. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  22923. } else
  22924. t1 = false;
  22925. else
  22926. t1 = false;
  22927. } else
  22928. t1 = false;
  22929. else
  22930. t1 = true;
  22931. if (t1)
  22932. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22933. else
  22934. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  22935. }
  22936. if (alphaFromSlashList != null) {
  22937. t1 = A.List_List$of(list, true, type$.Value_2);
  22938. t1.push(alphaFromSlashList);
  22939. return t1;
  22940. }
  22941. _1_0 = list[2];
  22942. $label0$0: {
  22943. if (_1_0 instanceof A.SassNumber0) {
  22944. _1_2 = _1_0.asSlash;
  22945. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  22946. _1_2_isSet = true;
  22947. } else {
  22948. _1_2 = _null;
  22949. _1_2_isSet = false;
  22950. t1 = false;
  22951. }
  22952. if (t1) {
  22953. if (_1_2_isSet)
  22954. t1 = _1_2;
  22955. else {
  22956. _1_2 = _1_0.asSlash;
  22957. t1 = _1_2;
  22958. _1_2_isSet = true;
  22959. }
  22960. if (t1 == null)
  22961. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  22962. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  22963. if (t2 == null)
  22964. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  22965. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value_2);
  22966. t1 = t2;
  22967. break $label0$0;
  22968. }
  22969. if (_1_0 instanceof A.SassString0)
  22970. if (!_1_0._string0$_hasQuotes)
  22971. t1 = B.JSString_methods.contains$1(_1_0._string0$_text, "/");
  22972. else
  22973. t1 = false;
  22974. else
  22975. t1 = false;
  22976. if (t1) {
  22977. t1 = A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  22978. break $label0$0;
  22979. }
  22980. t1 = list;
  22981. break $label0$0;
  22982. }
  22983. return t1;
  22984. },
  22985. _percentageOrUnitless0(number, max, $name) {
  22986. var value;
  22987. if (!number.get$hasUnits())
  22988. value = number._number1$_value;
  22989. else if (number.hasUnit$1("%"))
  22990. value = max * number._number1$_value / 100;
  22991. else
  22992. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  22993. return B.JSNumber_methods.clamp$2(value, 0, max);
  22994. },
  22995. _mixColors0(color1, color2, weight) {
  22996. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  22997. A._checkPercent0(weight, "weight");
  22998. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  22999. normalizedWeight = weightScale * 2 - 1;
  23000. t1 = color1._color1$_alpha;
  23001. t2 = color2._color1$_alpha;
  23002. alphaDistance = t1 - t2;
  23003. t3 = normalizedWeight * alphaDistance;
  23004. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  23005. weight2 = 1 - weight1;
  23006. return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(0) * weight1 + color2.get$red(0) * weight2), A.fuzzyRound0(color1.get$green(0) * weight1 + color2.get$green(0) * weight2), A.fuzzyRound0(color1.get$blue(0) * weight1 + color2.get$blue(0) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  23007. },
  23008. _opacify0($arguments) {
  23009. var t1 = J.getInterceptor$asx($arguments),
  23010. color = t1.$index($arguments, 0).assertColor$1("color");
  23011. 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));
  23012. },
  23013. _transparentize0($arguments) {
  23014. var t1 = J.getInterceptor$asx($arguments),
  23015. color = t1.$index($arguments, 0).assertColor$1("color");
  23016. 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));
  23017. },
  23018. _function11($name, $arguments, callback) {
  23019. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  23020. },
  23021. global_closure32: function global_closure32() {
  23022. },
  23023. global_closure33: function global_closure33() {
  23024. },
  23025. global_closure34: function global_closure34() {
  23026. },
  23027. global_closure35: function global_closure35() {
  23028. },
  23029. global_closure36: function global_closure36() {
  23030. },
  23031. global_closure37: function global_closure37() {
  23032. },
  23033. global_closure38: function global_closure38() {
  23034. },
  23035. global_closure39: function global_closure39() {
  23036. },
  23037. global_closure40: function global_closure40() {
  23038. },
  23039. global_closure41: function global_closure41() {
  23040. },
  23041. global_closure42: function global_closure42() {
  23042. },
  23043. global_closure43: function global_closure43() {
  23044. },
  23045. global_closure44: function global_closure44() {
  23046. },
  23047. global_closure45: function global_closure45() {
  23048. },
  23049. global_closure46: function global_closure46() {
  23050. },
  23051. global_closure47: function global_closure47() {
  23052. },
  23053. global_closure48: function global_closure48() {
  23054. },
  23055. global_closure49: function global_closure49() {
  23056. },
  23057. global_closure50: function global_closure50() {
  23058. },
  23059. global_closure51: function global_closure51() {
  23060. },
  23061. global_closure52: function global_closure52() {
  23062. },
  23063. global_closure53: function global_closure53() {
  23064. },
  23065. global_closure54: function global_closure54() {
  23066. },
  23067. global_closure55: function global_closure55() {
  23068. },
  23069. global_closure56: function global_closure56() {
  23070. },
  23071. global_closure57: function global_closure57() {
  23072. },
  23073. global__closure0: function global__closure0() {
  23074. },
  23075. global_closure58: function global_closure58() {
  23076. },
  23077. module_closure12: function module_closure12() {
  23078. },
  23079. module_closure13: function module_closure13() {
  23080. },
  23081. module_closure14: function module_closure14() {
  23082. },
  23083. module_closure15: function module_closure15() {
  23084. },
  23085. module_closure16: function module_closure16() {
  23086. },
  23087. module_closure17: function module_closure17() {
  23088. },
  23089. module_closure18: function module_closure18() {
  23090. },
  23091. module_closure19: function module_closure19() {
  23092. },
  23093. module__closure4: function module__closure4() {
  23094. },
  23095. module_closure20: function module_closure20() {
  23096. },
  23097. _red_closure0: function _red_closure0() {
  23098. },
  23099. _green_closure0: function _green_closure0() {
  23100. },
  23101. _blue_closure0: function _blue_closure0() {
  23102. },
  23103. _mix_closure0: function _mix_closure0() {
  23104. },
  23105. _hue_closure0: function _hue_closure0() {
  23106. },
  23107. _saturation_closure0: function _saturation_closure0() {
  23108. },
  23109. _lightness_closure0: function _lightness_closure0() {
  23110. },
  23111. _complement_closure0: function _complement_closure0() {
  23112. },
  23113. _adjust_closure0: function _adjust_closure0() {
  23114. },
  23115. _scale_closure0: function _scale_closure0() {
  23116. },
  23117. _change_closure0: function _change_closure0() {
  23118. },
  23119. _ieHexStr_closure0: function _ieHexStr_closure0() {
  23120. },
  23121. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  23122. },
  23123. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  23124. this.keywords = t0;
  23125. this.scale = t1;
  23126. this.change = t2;
  23127. },
  23128. _updateComponents_closure1: function _updateComponents_closure1() {
  23129. },
  23130. _updateComponents_closure2: function _updateComponents_closure2() {
  23131. },
  23132. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  23133. this.change = t0;
  23134. this.adjust = t1;
  23135. },
  23136. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  23137. this.updateValue = t0;
  23138. },
  23139. _functionString_closure0: function _functionString_closure0() {
  23140. },
  23141. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  23142. this.name = t0;
  23143. this.argument = t1;
  23144. this.negative = t2;
  23145. },
  23146. _rgb_closure0: function _rgb_closure0() {
  23147. },
  23148. _hsl_closure0: function _hsl_closure0() {
  23149. },
  23150. _hwb_closure0: function _hwb_closure0() {
  23151. },
  23152. _parseChannels_closure0: function _parseChannels_closure0() {
  23153. },
  23154. colorClass_closure: function colorClass_closure() {
  23155. },
  23156. colorClass__closure: function colorClass__closure() {
  23157. },
  23158. colorClass__closure0: function colorClass__closure0() {
  23159. },
  23160. colorClass__closure1: function colorClass__closure1() {
  23161. },
  23162. colorClass__closure2: function colorClass__closure2() {
  23163. },
  23164. colorClass__closure3: function colorClass__closure3() {
  23165. },
  23166. colorClass__closure4: function colorClass__closure4() {
  23167. },
  23168. colorClass__closure5: function colorClass__closure5() {
  23169. },
  23170. colorClass__closure6: function colorClass__closure6() {
  23171. },
  23172. colorClass__closure7: function colorClass__closure7() {
  23173. },
  23174. colorClass__closure8: function colorClass__closure8() {
  23175. },
  23176. colorClass__closure9: function colorClass__closure9() {
  23177. },
  23178. _Channels: function _Channels() {
  23179. },
  23180. _NodeSassColor: function _NodeSassColor() {
  23181. },
  23182. legacyColorClass_closure: function legacyColorClass_closure() {
  23183. },
  23184. legacyColorClass_closure0: function legacyColorClass_closure0() {
  23185. },
  23186. legacyColorClass_closure1: function legacyColorClass_closure1() {
  23187. },
  23188. legacyColorClass_closure2: function legacyColorClass_closure2() {
  23189. },
  23190. legacyColorClass_closure3: function legacyColorClass_closure3() {
  23191. },
  23192. legacyColorClass_closure4: function legacyColorClass_closure4() {
  23193. },
  23194. legacyColorClass_closure5: function legacyColorClass_closure5() {
  23195. },
  23196. legacyColorClass_closure6: function legacyColorClass_closure6() {
  23197. },
  23198. legacyColorClass_closure7: function legacyColorClass_closure7() {
  23199. },
  23200. SassColor$rgb0(red, green, blue, alpha) {
  23201. var _null = null,
  23202. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, A.fuzzyAssertRange0(A.SassColor__handleNullAlpha0(alpha), 0, 1, "alpha"), _null);
  23203. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  23204. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  23205. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  23206. return t1;
  23207. },
  23208. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  23209. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  23210. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  23211. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  23212. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  23213. return t1;
  23214. },
  23215. SassColor$hsl(hue, saturation, lightness, alpha) {
  23216. var _null = null,
  23217. t1 = A.SassColor__handleNullAlpha0(alpha);
  23218. 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);
  23219. },
  23220. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  23221. 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);
  23222. },
  23223. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  23224. var t2, t1 = {},
  23225. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  23226. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  23227. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  23228. sum = scaledWhiteness + scaledBlackness;
  23229. if (sum > 1) {
  23230. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  23231. scaledBlackness /= sum;
  23232. } else
  23233. t2 = scaledWhiteness;
  23234. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  23235. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  23236. },
  23237. SassColor__handleNullAlpha0(alpha) {
  23238. if (alpha != null)
  23239. return alpha;
  23240. 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);
  23241. return 1;
  23242. },
  23243. SassColor__hueToRgb0(m1, m2, hue) {
  23244. var t1;
  23245. if (hue < 0)
  23246. ++hue;
  23247. if (hue > 1)
  23248. --hue;
  23249. $label0$0: {
  23250. if (hue < 0.16666666666666666) {
  23251. t1 = m1 + (m2 - m1) * hue * 6;
  23252. break $label0$0;
  23253. }
  23254. if (hue < 0.5) {
  23255. t1 = m2;
  23256. break $label0$0;
  23257. }
  23258. if (hue < 0.6666666666666666) {
  23259. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  23260. break $label0$0;
  23261. }
  23262. t1 = m1;
  23263. break $label0$0;
  23264. }
  23265. return t1;
  23266. },
  23267. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23268. var _ = this;
  23269. _._color1$_red = t0;
  23270. _._color1$_green = t1;
  23271. _._color1$_blue = t2;
  23272. _._color1$_hue = t3;
  23273. _._color1$_saturation = t4;
  23274. _._color1$_lightness = t5;
  23275. _._color1$_alpha = t6;
  23276. _.format = t7;
  23277. },
  23278. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  23279. this._box_0 = t0;
  23280. this.factor = t1;
  23281. },
  23282. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  23283. this._color1$_name = t0;
  23284. },
  23285. SpanColorFormat0: function SpanColorFormat0(t0) {
  23286. this._color1$_span = t0;
  23287. },
  23288. Combinator0: function Combinator0(t0, t1) {
  23289. this._combinator0$_text = t0;
  23290. this._name = t1;
  23291. },
  23292. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  23293. var _ = this;
  23294. _.text = t0;
  23295. _.span = t1;
  23296. _._node$_indexInParent = _._node$_parent = null;
  23297. _.isGroupEnd = false;
  23298. },
  23299. compile0(path, options) {
  23300. var color, ascii, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null;
  23301. if (!A.isNodeJs())
  23302. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  23303. t1 = options == null;
  23304. color0 = t1 ? _null : J.get$alertColor$x(options);
  23305. color = color0 == null ? A.hasTerminal0() : color0;
  23306. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  23307. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  23308. try {
  23309. t2 = t1 ? _null : J.get$loadPaths$x(options);
  23310. t3 = t1 ? _null : J.get$quietDeps$x(options);
  23311. if (t3 == null)
  23312. t3 = false;
  23313. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  23314. t5 = t1 ? _null : J.get$verbose$x(options);
  23315. if (t5 == null)
  23316. t5 = false;
  23317. t6 = t1 ? _null : J.get$charset$x(options);
  23318. if (t6 == null)
  23319. t6 = true;
  23320. t7 = t1 ? _null : J.get$sourceMap$x(options);
  23321. if (t7 == null)
  23322. t7 = false;
  23323. t8 = t1 ? _null : J.get$logger$x(options);
  23324. t9 = ascii;
  23325. if (t9 == null)
  23326. t9 = $._glyphs === B.C_AsciiGlyphSet;
  23327. t9 = new A.JSToDartLogger(t8, new A.StderrLogger0(color), t9);
  23328. if (t1)
  23329. t8 = _null;
  23330. else {
  23331. t8 = J.get$importers$x(options);
  23332. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  23333. }
  23334. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  23335. 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);
  23336. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  23337. if (t1 == null)
  23338. t1 = false;
  23339. t1 = A._convertResult(result, t1);
  23340. return t1;
  23341. } catch (exception) {
  23342. t1 = A.unwrapException(exception);
  23343. if (t1 instanceof A.SassException0) {
  23344. error = t1;
  23345. stackTrace = A.getTraceFromException(exception);
  23346. A.throwNodeException(error, ascii, color, stackTrace);
  23347. } else
  23348. throw exception;
  23349. }
  23350. },
  23351. compileString0(text, options) {
  23352. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  23353. t1 = options == null,
  23354. color0 = t1 ? _null : J.get$alertColor$x(options),
  23355. color = color0 == null ? A.hasTerminal0() : color0,
  23356. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  23357. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  23358. try {
  23359. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  23360. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  23361. t4 = t1 ? _null : J.get$loadPaths$x(options);
  23362. t5 = t1 ? _null : J.get$quietDeps$x(options);
  23363. if (t5 == null)
  23364. t5 = false;
  23365. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  23366. t7 = t1 ? _null : J.get$verbose$x(options);
  23367. if (t7 == null)
  23368. t7 = false;
  23369. t8 = t1 ? _null : J.get$charset$x(options);
  23370. if (t8 == null)
  23371. t8 = true;
  23372. t9 = t1 ? _null : J.get$sourceMap$x(options);
  23373. if (t9 == null)
  23374. t9 = false;
  23375. t10 = t1 ? _null : J.get$logger$x(options);
  23376. t11 = ascii;
  23377. if (t11 == null)
  23378. t11 = $._glyphs === B.C_AsciiGlyphSet;
  23379. t11 = new A.JSToDartLogger(t10, new A.StderrLogger0(color), t11);
  23380. if (t1)
  23381. t10 = _null;
  23382. else {
  23383. t10 = J.get$importers$x(options);
  23384. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  23385. }
  23386. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  23387. if (t12 == null)
  23388. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  23389. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  23390. 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);
  23391. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  23392. if (t1 == null)
  23393. t1 = false;
  23394. t1 = A._convertResult(result, t1);
  23395. return t1;
  23396. } catch (exception) {
  23397. t1 = A.unwrapException(exception);
  23398. if (t1 instanceof A.SassException0) {
  23399. error = t1;
  23400. stackTrace = A.getTraceFromException(exception);
  23401. A.throwNodeException(error, ascii, color, stackTrace);
  23402. } else
  23403. throw exception;
  23404. }
  23405. },
  23406. compileAsync1(path, options) {
  23407. var t1, color, ascii;
  23408. if (!A.isNodeJs())
  23409. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  23410. t1 = options == null;
  23411. color = t1 ? null : J.get$alertColor$x(options);
  23412. if (color == null)
  23413. color = A.hasTerminal0();
  23414. ascii = t1 ? null : J.get$alertAscii$x(options);
  23415. if (ascii == null)
  23416. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23417. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  23418. },
  23419. compileStringAsync1(text, options) {
  23420. var ascii,
  23421. t1 = options == null,
  23422. color = t1 ? null : J.get$alertColor$x(options);
  23423. if (color == null)
  23424. color = A.hasTerminal0();
  23425. ascii = t1 ? null : J.get$alertAscii$x(options);
  23426. if (ascii == null)
  23427. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23428. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  23429. },
  23430. _convertResult(result, includeSourceContents) {
  23431. var loadedUrls,
  23432. t1 = result._compile_result$_serialize,
  23433. t2 = t1._1,
  23434. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  23435. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  23436. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  23437. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils1__dartToJSUrl$closure(), type$.nullable_Object));
  23438. t1 = t1._0;
  23439. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  23440. },
  23441. _wrapAsyncSassExceptions(promise, ascii, color) {
  23442. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  23443. },
  23444. _parseOutputStyle0(style) {
  23445. var t1;
  23446. $label0$0: {
  23447. if (style == null || "expanded" === style) {
  23448. t1 = B.OutputStyle_00;
  23449. break $label0$0;
  23450. }
  23451. if ("compressed" === style) {
  23452. t1 = B.OutputStyle_10;
  23453. break $label0$0;
  23454. }
  23455. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  23456. }
  23457. return t1;
  23458. },
  23459. _parseAsyncImporter(importer) {
  23460. var t1, canonicalize, load, _0_0;
  23461. if (importer instanceof A.NodePackageImporter0)
  23462. return importer;
  23463. if (importer == null)
  23464. A.jsThrow(new self.Error("Importers may not be null."));
  23465. type$.JSImporter._as(importer);
  23466. t1 = J.getInterceptor$x(importer);
  23467. canonicalize = t1.get$canonicalize(importer);
  23468. load = t1.get$load(importer);
  23469. _0_0 = t1.get$findFileUrl(importer);
  23470. if (_0_0 != null)
  23471. if (canonicalize != null || load != null)
  23472. A.jsThrow(new self.Error(string$.An_impa));
  23473. else
  23474. return new A.JSToDartAsyncFileImporter(_0_0);
  23475. else if (canonicalize == null || load == null)
  23476. A.jsThrow(new self.Error(string$.An_impu));
  23477. else {
  23478. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23479. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23480. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23481. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  23482. }
  23483. },
  23484. _parseImporter0(importer) {
  23485. var t1, canonicalize, load, _0_0;
  23486. if (importer instanceof A.NodePackageImporter0)
  23487. return importer;
  23488. if (importer == null)
  23489. A.jsThrow(new self.Error("Importers may not be null."));
  23490. type$.JSImporter._as(importer);
  23491. t1 = J.getInterceptor$x(importer);
  23492. canonicalize = t1.get$canonicalize(importer);
  23493. load = t1.get$load(importer);
  23494. _0_0 = t1.get$findFileUrl(importer);
  23495. if (_0_0 != null)
  23496. if (canonicalize != null || load != null)
  23497. A.jsThrow(new self.Error(string$.An_impa));
  23498. else
  23499. return new A.JSToDartFileImporter(_0_0);
  23500. else if (canonicalize == null || load == null)
  23501. A.jsThrow(new self.Error(string$.An_impu));
  23502. else {
  23503. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23504. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23505. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23506. return new A.JSToDartImporter(canonicalize, load, t1);
  23507. }
  23508. },
  23509. _normalizeNonCanonicalSchemes(schemes) {
  23510. var t1;
  23511. $label0$0: {
  23512. if (typeof schemes == "string") {
  23513. t1 = A._setArrayType([schemes], type$.JSArray_String);
  23514. break $label0$0;
  23515. }
  23516. if (type$.List_dynamic._is(schemes)) {
  23517. t1 = J.cast$1$0$ax(schemes, type$.String);
  23518. break $label0$0;
  23519. }
  23520. if (schemes == null) {
  23521. t1 = null;
  23522. break $label0$0;
  23523. }
  23524. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  23525. }
  23526. return t1;
  23527. },
  23528. _simplifyValue(value) {
  23529. var _0_1, t1, t2, _0_4, _0_3, _0_10, _0_5, _0_40, _0_5_isSet, _0_4_isSet, _0_8, first, _0_1_isSet, _0_100, min, _null = null;
  23530. $label1$1: {
  23531. if (value instanceof A.SassCalculation0) {
  23532. _0_1 = value.name;
  23533. t1 = value.$arguments;
  23534. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  23535. _0_4 = A.List_List$of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), true, t2._eval$1("ListIterable.E"));
  23536. $label0$0: {
  23537. _0_3 = "calc" === _0_1;
  23538. t1 = _0_3;
  23539. _0_10 = _0_1;
  23540. if (t1) {
  23541. _0_5 = _0_4.length;
  23542. t1 = _0_5;
  23543. _0_40 = _0_4;
  23544. t1 = t1 === 1;
  23545. _0_5_isSet = true;
  23546. _0_4_isSet = true;
  23547. } else {
  23548. _0_40 = _null;
  23549. _0_5 = _0_40;
  23550. _0_5_isSet = false;
  23551. _0_4_isSet = false;
  23552. t1 = false;
  23553. }
  23554. if (t1) {
  23555. _0_8 = (_0_4_isSet ? _0_40 : _0_4)[0];
  23556. first = _0_8;
  23557. type$.Value_2._as(first);
  23558. t1 = first;
  23559. break $label0$0;
  23560. }
  23561. if (_0_3)
  23562. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  23563. t1 = _0_10;
  23564. _0_1_isSet = true;
  23565. _0_100 = "clamp" === t1;
  23566. t1 = _0_100;
  23567. if (t1) {
  23568. if (_0_5_isSet)
  23569. t1 = _0_5;
  23570. else {
  23571. if (_0_4_isSet)
  23572. t1 = _0_40;
  23573. else {
  23574. t1 = _0_4;
  23575. _0_40 = t1;
  23576. _0_4_isSet = true;
  23577. }
  23578. _0_5 = t1.length;
  23579. t1 = _0_5;
  23580. }
  23581. t1 = t1 === 3;
  23582. } else
  23583. t1 = false;
  23584. if (t1) {
  23585. if (_0_4_isSet)
  23586. t1 = _0_40;
  23587. else {
  23588. t1 = _0_4;
  23589. _0_40 = t1;
  23590. _0_4_isSet = true;
  23591. }
  23592. _0_8 = t1[0];
  23593. min = _0_8;
  23594. if (_0_4_isSet)
  23595. t1 = _0_40;
  23596. else {
  23597. t1 = _0_4;
  23598. _0_40 = t1;
  23599. _0_4_isSet = true;
  23600. }
  23601. value = t1[1];
  23602. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  23603. break $label0$0;
  23604. }
  23605. if (_0_100)
  23606. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  23607. if (_0_1_isSet)
  23608. t1 = _0_10;
  23609. else {
  23610. t1 = _0_1;
  23611. _0_10 = t1;
  23612. _0_1_isSet = true;
  23613. }
  23614. if ("min" === t1) {
  23615. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  23616. break $label0$0;
  23617. }
  23618. if (_0_1_isSet)
  23619. t1 = _0_10;
  23620. else {
  23621. t1 = _0_1;
  23622. _0_10 = t1;
  23623. _0_1_isSet = true;
  23624. }
  23625. if ("max" === t1) {
  23626. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  23627. break $label0$0;
  23628. }
  23629. t1 = A.throwExpression(A.ArgumentError$('"' + (_0_1_isSet ? _0_10 : _0_1) + '" is not a recognized calculation type.', _null));
  23630. }
  23631. break $label1$1;
  23632. }
  23633. t1 = value;
  23634. break $label1$1;
  23635. }
  23636. return t1;
  23637. },
  23638. _simplifyCalcArg(value) {
  23639. var t1;
  23640. $label0$0: {
  23641. if (value instanceof A.SassCalculation0) {
  23642. t1 = A._simplifyValue(value);
  23643. break $label0$0;
  23644. }
  23645. if (value instanceof A.CalculationOperation0) {
  23646. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), false, true);
  23647. break $label0$0;
  23648. }
  23649. t1 = value;
  23650. break $label0$0;
  23651. }
  23652. return t1;
  23653. },
  23654. _parseFunctions0(functions, asynch) {
  23655. var result;
  23656. if (functions == null)
  23657. return B.List_empty24;
  23658. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  23659. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  23660. return result;
  23661. },
  23662. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  23663. var _ = this;
  23664. _.path = t0;
  23665. _.color = t1;
  23666. _.options = t2;
  23667. _.ascii = t3;
  23668. },
  23669. compileAsync__closure: function compileAsync__closure() {
  23670. },
  23671. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  23672. var _ = this;
  23673. _.text = t0;
  23674. _.options = t1;
  23675. _.color = t2;
  23676. _.ascii = t3;
  23677. },
  23678. compileStringAsync__closure: function compileStringAsync__closure() {
  23679. },
  23680. compileStringAsync__closure0: function compileStringAsync__closure0() {
  23681. },
  23682. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  23683. this.color = t0;
  23684. this.ascii = t1;
  23685. },
  23686. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  23687. this.asynch = t0;
  23688. this.result = t1;
  23689. },
  23690. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  23691. this.callback = t0;
  23692. this.callable = t1;
  23693. },
  23694. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  23695. this.callback = t0;
  23696. this.$arguments = t1;
  23697. },
  23698. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  23699. this.callback = t0;
  23700. this.callable = t1;
  23701. },
  23702. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  23703. this.callback = t0;
  23704. this.$arguments = t1;
  23705. },
  23706. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  23707. },
  23708. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  23709. },
  23710. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  23711. var t2, t3, t4, t0, stylesheet, result, _null = null,
  23712. t1 = type$.Deprecation_2;
  23713. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  23714. t1 = nodeImporter == null;
  23715. if (t1)
  23716. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  23717. else
  23718. t2 = false;
  23719. if (t2) {
  23720. if (importCache == null)
  23721. importCache = A.ImportCache$none(logger);
  23722. t2 = $.$get$FilesystemImporter_cwd0();
  23723. t3 = A.isNodeJs() ? self.process : _null;
  23724. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  23725. t3 = A.isNodeJs() ? self.process : _null;
  23726. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  23727. } else
  23728. t3 = true;
  23729. if (t3) {
  23730. t3 = $.$get$context();
  23731. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  23732. t0 = t4;
  23733. t4 = t3;
  23734. t3 = t0;
  23735. } else {
  23736. t3 = $.$get$context();
  23737. t4 = t3.canonicalize$1(0, path);
  23738. t0 = t4;
  23739. t4 = t3;
  23740. t3 = t0;
  23741. }
  23742. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  23743. t4.toString;
  23744. stylesheet = t4;
  23745. } else {
  23746. t2 = A.readFile0(path);
  23747. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  23748. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  23749. }
  23750. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23751. logger.summarize$1$js(!t1);
  23752. return result;
  23753. },
  23754. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  23755. var stylesheet, result,
  23756. t1 = type$.Deprecation_2;
  23757. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  23758. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  23759. if (importer == null)
  23760. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  23761. else
  23762. t1 = importer;
  23763. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23764. logger.summarize$1$js(nodeImporter != null);
  23765. return result;
  23766. },
  23767. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  23768. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  23769. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  23770. resultSourceMap = serializeResult._1;
  23771. if (resultSourceMap != null && importCache != null)
  23772. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  23773. return new A.CompileResult0(evaluateResult, serializeResult);
  23774. },
  23775. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  23776. this.stylesheet = t0;
  23777. this.importCache = t1;
  23778. },
  23779. CompileOptions: function CompileOptions() {
  23780. },
  23781. CompileStringOptions: function CompileStringOptions() {
  23782. },
  23783. NodeCompileResult: function NodeCompileResult() {
  23784. },
  23785. CompileResult0: function CompileResult0(t0, t1) {
  23786. this._evaluate = t0;
  23787. this._compile_result$_serialize = t1;
  23788. },
  23789. initCompiler() {
  23790. return new A.Compiler();
  23791. },
  23792. initAsyncCompiler() {
  23793. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  23794. },
  23795. Compiler: function Compiler() {
  23796. this._disposed = false;
  23797. },
  23798. AsyncCompiler: function AsyncCompiler(t0) {
  23799. this.compilations = t0;
  23800. this._disposed = false;
  23801. },
  23802. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  23803. },
  23804. compilerClass_closure: function compilerClass_closure() {
  23805. },
  23806. compilerClass__closure: function compilerClass__closure() {
  23807. },
  23808. compilerClass__closure0: function compilerClass__closure0() {
  23809. },
  23810. compilerClass__closure1: function compilerClass__closure1() {
  23811. },
  23812. compilerClass__closure2: function compilerClass__closure2() {
  23813. },
  23814. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  23815. },
  23816. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  23817. },
  23818. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  23819. },
  23820. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  23821. },
  23822. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  23823. },
  23824. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  23825. this.self = t0;
  23826. },
  23827. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  23828. },
  23829. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  23830. var _ = this;
  23831. _._complex0$_numeratorUnits = t0;
  23832. _._complex0$_denominatorUnits = t1;
  23833. _._number1$_value = t2;
  23834. _.hashCache = null;
  23835. _.asSlash = t3;
  23836. },
  23837. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  23838. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  23839. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  23840. if (t1.length === 0 && t2.length === 0)
  23841. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  23842. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  23843. },
  23844. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  23845. var _ = this;
  23846. _.leadingCombinators = t0;
  23847. _.components = t1;
  23848. _.lineBreak = t2;
  23849. _._complex$__ComplexSelector_specificity_FI = $;
  23850. _.span = t3;
  23851. },
  23852. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  23853. },
  23854. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  23855. this.selector = t0;
  23856. this.combinators = t1;
  23857. this.span = t2;
  23858. },
  23859. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  23860. },
  23861. CompoundSelector$0(components, span) {
  23862. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  23863. if (t1.length === 0)
  23864. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  23865. return new A.CompoundSelector0(t1, span);
  23866. },
  23867. CompoundSelector0: function CompoundSelector0(t0, t1) {
  23868. this.components = t0;
  23869. this._compound$__CompoundSelector_specificity_FI = $;
  23870. this.span = t1;
  23871. },
  23872. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  23873. },
  23874. Configuration0: function Configuration0(t0, t1) {
  23875. this._configuration0$_values = t0;
  23876. this._configuration0$__originalConfiguration = t1;
  23877. },
  23878. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  23879. this.nodeWithSpan = t0;
  23880. this._configuration0$_values = t1;
  23881. this._configuration0$__originalConfiguration = t2;
  23882. },
  23883. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  23884. this.value = t0;
  23885. this.configurationSpan = t1;
  23886. this.assignmentNode = t2;
  23887. },
  23888. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  23889. var _ = this;
  23890. _.name = t0;
  23891. _.expression = t1;
  23892. _.isGuarded = t2;
  23893. _.span = t3;
  23894. },
  23895. ContentBlock$0($arguments, children, span) {
  23896. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23897. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23898. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  23899. },
  23900. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  23901. var _ = this;
  23902. _.name = t0;
  23903. _.$arguments = t1;
  23904. _.span = t2;
  23905. _.children = t3;
  23906. _.hasDeclarations = t4;
  23907. },
  23908. ContentRule0: function ContentRule0(t0, t1) {
  23909. this.$arguments = t0;
  23910. this.span = t1;
  23911. },
  23912. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  23913. },
  23914. CssParser0: function CssParser0(t0, t1, t2, t3) {
  23915. var _ = this;
  23916. _._stylesheet0$_isUseAllowed = true;
  23917. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  23918. _._stylesheet0$_globalVariables = t0;
  23919. _.lastSilentComment = null;
  23920. _.scanner = t1;
  23921. _.logger = t2;
  23922. _._parser0$_interpolationMap = t3;
  23923. },
  23924. DebugRule0: function DebugRule0(t0, t1) {
  23925. this.expression = t0;
  23926. this.span = t1;
  23927. },
  23928. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  23929. var t2,
  23930. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  23931. if (parsedAsCustomProperty)
  23932. if (!J.startsWith$1$s($name.value, "--"))
  23933. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  23934. else {
  23935. t2 = value.value;
  23936. if (!(t2 instanceof A.SassString0))
  23937. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  23938. }
  23939. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  23940. },
  23941. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  23942. var _ = this;
  23943. _.name = t0;
  23944. _.value = t1;
  23945. _.parsedAsCustomProperty = t2;
  23946. _.valueSpanForMap = t3;
  23947. _.span = t4;
  23948. _._node$_indexInParent = _._node$_parent = null;
  23949. _.isGroupEnd = false;
  23950. },
  23951. Declaration$0($name, value, span) {
  23952. return new A.Declaration0($name, value, span, null, false);
  23953. },
  23954. Declaration$nested0($name, children, span, value) {
  23955. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23956. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23957. return new A.Declaration0($name, value, span, t1, t2);
  23958. },
  23959. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  23960. var _ = this;
  23961. _.name = t0;
  23962. _.value = t1;
  23963. _.span = t2;
  23964. _.children = t3;
  23965. _.hasDeclarations = t4;
  23966. },
  23967. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  23968. this.name = t0;
  23969. this.value = t1;
  23970. this.span = t2;
  23971. },
  23972. Deprecation0: function Deprecation0(t0, t1, t2) {
  23973. this.id = t0;
  23974. this.isFuture = t1;
  23975. this._name = t2;
  23976. },
  23977. DeprecationHandlingLogger0: function DeprecationHandlingLogger0(t0, t1, t2, t3, t4) {
  23978. var _ = this;
  23979. _._deprecation_handling$_warningCounts = t0;
  23980. _._deprecation_handling$_inner = t1;
  23981. _.fatalDeprecations = t2;
  23982. _.futureDeprecations = t3;
  23983. _.limitRepetition = t4;
  23984. },
  23985. DeprecationHandlingLogger_summarize_closure1: function DeprecationHandlingLogger_summarize_closure1() {
  23986. },
  23987. DeprecationHandlingLogger_summarize_closure2: function DeprecationHandlingLogger_summarize_closure2() {
  23988. },
  23989. DynamicImport0: function DynamicImport0(t0, t1) {
  23990. this.urlString = t0;
  23991. this.span = t1;
  23992. },
  23993. EachRule$0(variables, list, children, span) {
  23994. var t1 = A.List_List$unmodifiable(variables, type$.String),
  23995. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  23996. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  23997. return new A.EachRule0(t1, list, span, t2, t3);
  23998. },
  23999. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  24000. var _ = this;
  24001. _.variables = t0;
  24002. _.list = t1;
  24003. _.span = t2;
  24004. _.children = t3;
  24005. _.hasDeclarations = t4;
  24006. },
  24007. EachRule_toString_closure0: function EachRule_toString_closure0() {
  24008. },
  24009. EmptyExtensionStore0: function EmptyExtensionStore0() {
  24010. },
  24011. Environment$0() {
  24012. var t1 = type$.String,
  24013. t2 = type$.Module_Callable_2,
  24014. t3 = type$.AstNode_2,
  24015. t4 = type$.int,
  24016. t5 = type$.Callable_2,
  24017. t6 = type$.JSArray_Map_String_Callable_2;
  24018. 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);
  24019. },
  24020. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  24021. var t1 = type$.String,
  24022. t2 = type$.int;
  24023. 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);
  24024. },
  24025. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  24026. var t1, t2, t3, t4, t5, t6, module, result, t7;
  24027. if (forwarded == null)
  24028. forwarded = B.Set_empty4;
  24029. t1 = type$.dynamic;
  24030. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  24031. 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();) {
  24032. t6 = t4.get$current(t4);
  24033. module = t6._0;
  24034. result = A.List_List$from(t6._1, false, t5);
  24035. result.fixed$length = Array;
  24036. result.immutable$list = Array;
  24037. t1.$indexSet(0, module, result);
  24038. }
  24039. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  24040. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  24041. 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);
  24042. 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);
  24043. t5 = type$.Map_String_Callable_2;
  24044. t6 = type$.Callable_2;
  24045. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  24046. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  24047. 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());
  24048. 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()));
  24049. },
  24050. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  24051. var modulesByVariable, t1, t2, t3, t4, t5;
  24052. if (forwarded.get$isEmpty(forwarded))
  24053. return B.Map_empty10;
  24054. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  24055. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  24056. t2 = t1.get$current(t1);
  24057. if (t2 instanceof A._EnvironmentModule1) {
  24058. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  24059. t4 = t3.get$current(t3);
  24060. t5 = t4.get$variables();
  24061. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  24062. }
  24063. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  24064. } else {
  24065. t3 = t2.get$variables();
  24066. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  24067. }
  24068. }
  24069. return modulesByVariable;
  24070. },
  24071. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  24072. var t1, t2, t3;
  24073. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  24074. if (otherMaps.get$isEmpty(otherMaps))
  24075. return localMap;
  24076. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  24077. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  24078. t3 = t2.get$current(t2);
  24079. if (t3.get$isNotEmpty(t3))
  24080. t1.push(t3);
  24081. }
  24082. t1.push(localMap);
  24083. if (t1.length === 1)
  24084. return localMap;
  24085. return A.MergedMapView$0(t1, type$.String, $V);
  24086. },
  24087. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  24088. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  24089. },
  24090. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  24091. var _ = this;
  24092. _._environment0$_modules = t0;
  24093. _._environment0$_namespaceNodes = t1;
  24094. _._environment0$_globalModules = t2;
  24095. _._environment0$_importedModules = t3;
  24096. _._environment0$_forwardedModules = t4;
  24097. _._environment0$_nestedForwardedModules = t5;
  24098. _._environment0$_allModules = t6;
  24099. _._environment0$_variables = t7;
  24100. _._environment0$_variableNodes = t8;
  24101. _._environment0$_variableIndices = t9;
  24102. _._environment0$_functions = t10;
  24103. _._environment0$_functionIndices = t11;
  24104. _._environment0$_mixins = t12;
  24105. _._environment0$_mixinIndices = t13;
  24106. _._environment0$_content = t14;
  24107. _._environment0$_inMixin = false;
  24108. _._environment0$_inSemiGlobalScope = true;
  24109. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  24110. },
  24111. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  24112. this.name = t0;
  24113. },
  24114. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  24115. this.$this = t0;
  24116. this.name = t1;
  24117. },
  24118. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  24119. this.name = t0;
  24120. },
  24121. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  24122. this.$this = t0;
  24123. this.name = t1;
  24124. },
  24125. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  24126. this.name = t0;
  24127. },
  24128. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  24129. this.name = t0;
  24130. },
  24131. Environment_toModule_closure0: function Environment_toModule_closure0() {
  24132. },
  24133. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  24134. },
  24135. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  24136. var _ = this;
  24137. _.upstream = t0;
  24138. _.variables = t1;
  24139. _.variableNodes = t2;
  24140. _.functions = t3;
  24141. _.mixins = t4;
  24142. _.extensionStore = t5;
  24143. _.css = t6;
  24144. _.preModuleComments = t7;
  24145. _.transitivelyContainsCss = t8;
  24146. _.transitivelyContainsExtensions = t9;
  24147. _._environment0$_environment = t10;
  24148. _._environment0$_modulesByVariable = t11;
  24149. },
  24150. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  24151. },
  24152. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  24153. },
  24154. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  24155. },
  24156. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  24157. },
  24158. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  24159. },
  24160. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  24161. },
  24162. ErrorRule0: function ErrorRule0(t0, t1) {
  24163. this.expression = t0;
  24164. this.span = t1;
  24165. },
  24166. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  24167. var t4,
  24168. t1 = type$.Uri,
  24169. t2 = type$.Module_Callable_2,
  24170. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  24171. if (importCache == null)
  24172. t4 = nodeImporter == null ? A.ImportCache$none(logger) : null;
  24173. else
  24174. t4 = importCache;
  24175. 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);
  24176. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  24177. return t1;
  24178. },
  24179. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  24180. var _ = this;
  24181. _._evaluate0$_importCache = t0;
  24182. _._nodeImporter = t1;
  24183. _._evaluate0$_builtInFunctions = t2;
  24184. _._evaluate0$_builtInModules = t3;
  24185. _._evaluate0$_modules = t4;
  24186. _._evaluate0$_moduleConfigurations = t5;
  24187. _._evaluate0$_moduleNodes = t6;
  24188. _._evaluate0$_logger = t7;
  24189. _._evaluate0$_warningsEmitted = t8;
  24190. _._evaluate0$_quietDeps = t9;
  24191. _._evaluate0$_sourceMap = t10;
  24192. _._evaluate0$_environment = t11;
  24193. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  24194. _._evaluate0$_member = "root stylesheet";
  24195. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  24196. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  24197. _._evaluate0$_loadedUrls = t12;
  24198. _._evaluate0$_activeModules = t13;
  24199. _._evaluate0$_stack = t14;
  24200. _._evaluate0$_importer = null;
  24201. _._evaluate0$_inDependency = false;
  24202. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  24203. _._evaluate0$_configuration = t15;
  24204. },
  24205. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  24206. this.$this = t0;
  24207. },
  24208. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  24209. this.$this = t0;
  24210. },
  24211. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  24212. this.$this = t0;
  24213. },
  24214. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  24215. this.$this = t0;
  24216. },
  24217. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  24218. this.$this = t0;
  24219. },
  24220. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  24221. this.$this = t0;
  24222. },
  24223. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  24224. this.$this = t0;
  24225. },
  24226. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  24227. this.$this = t0;
  24228. },
  24229. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  24230. this.$this = t0;
  24231. },
  24232. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  24233. this.$this = t0;
  24234. this.name = t1;
  24235. this.module = t2;
  24236. },
  24237. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  24238. this.$this = t0;
  24239. },
  24240. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  24241. this.$this = t0;
  24242. this.name = t1;
  24243. this.module = t2;
  24244. },
  24245. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  24246. this.$this = t0;
  24247. },
  24248. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  24249. this.$this = t0;
  24250. },
  24251. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  24252. this.values = t0;
  24253. this.span = t1;
  24254. this.callableNode = t2;
  24255. },
  24256. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  24257. this.$this = t0;
  24258. },
  24259. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  24260. this.$this = t0;
  24261. },
  24262. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  24263. this.$this = t0;
  24264. this.node = t1;
  24265. this.importer = t2;
  24266. },
  24267. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  24268. this.$this = t0;
  24269. this.importer = t1;
  24270. this.node = t2;
  24271. },
  24272. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  24273. this._box_1 = t0;
  24274. this.callback = t1;
  24275. },
  24276. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  24277. var _ = this;
  24278. _.$this = t0;
  24279. _.url = t1;
  24280. _.nodeWithSpan = t2;
  24281. _.baseUrl = t3;
  24282. _.namesInErrors = t4;
  24283. _.configuration = t5;
  24284. _.callback = t6;
  24285. },
  24286. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  24287. this.$this = t0;
  24288. this.message = t1;
  24289. },
  24290. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  24291. this._box_0 = t0;
  24292. this.callback = t1;
  24293. this.firstLoad = t2;
  24294. },
  24295. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  24296. var _ = this;
  24297. _.$this = t0;
  24298. _.importer = t1;
  24299. _.stylesheet = t2;
  24300. _.extensionStore = t3;
  24301. _.configuration = t4;
  24302. _.css = t5;
  24303. _.preModuleComments = t6;
  24304. },
  24305. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  24306. },
  24307. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  24308. this.selectors = t0;
  24309. },
  24310. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  24311. var _ = this;
  24312. _.$this = t0;
  24313. _.seen = t1;
  24314. _.clone = t2;
  24315. _.css = t3;
  24316. _.imports = t4;
  24317. _.sorted = t5;
  24318. },
  24319. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  24320. this.originalSelectors = t0;
  24321. },
  24322. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  24323. },
  24324. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  24325. this.$this = t0;
  24326. this.node = t1;
  24327. },
  24328. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  24329. this.$this = t0;
  24330. this.node = t1;
  24331. },
  24332. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  24333. this.$this = t0;
  24334. this.newParent = t1;
  24335. this.node = t2;
  24336. },
  24337. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  24338. this.$this = t0;
  24339. this.innerScope = t1;
  24340. },
  24341. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  24342. this.$this = t0;
  24343. this.innerScope = t1;
  24344. },
  24345. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  24346. this.innerScope = t0;
  24347. this.callback = t1;
  24348. },
  24349. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  24350. this.$this = t0;
  24351. this.innerScope = t1;
  24352. },
  24353. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  24354. },
  24355. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  24356. this.$this = t0;
  24357. this.innerScope = t1;
  24358. },
  24359. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  24360. this.$this = t0;
  24361. this.content = t1;
  24362. },
  24363. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  24364. this._box_0 = t0;
  24365. this.$this = t1;
  24366. },
  24367. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  24368. this._box_0 = t0;
  24369. this.$this = t1;
  24370. this.nodeWithSpan = t2;
  24371. },
  24372. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  24373. this._box_0 = t0;
  24374. this.$this = t1;
  24375. this.nodeWithSpan = t2;
  24376. },
  24377. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  24378. var _ = this;
  24379. _.$this = t0;
  24380. _.list = t1;
  24381. _.setVariables = t2;
  24382. _.node = t3;
  24383. },
  24384. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  24385. this.$this = t0;
  24386. this.setVariables = t1;
  24387. this.node = t2;
  24388. },
  24389. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  24390. this.$this = t0;
  24391. },
  24392. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  24393. this.$this = t0;
  24394. },
  24395. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  24396. this.$this = t0;
  24397. this.name = t1;
  24398. this.children = t2;
  24399. },
  24400. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  24401. this.$this = t0;
  24402. this.children = t1;
  24403. },
  24404. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  24405. },
  24406. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  24407. this.$this = t0;
  24408. this.node = t1;
  24409. },
  24410. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  24411. this.$this = t0;
  24412. this.node = t1;
  24413. },
  24414. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  24415. this.fromNumber = t0;
  24416. },
  24417. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  24418. this.toNumber = t0;
  24419. this.fromNumber = t1;
  24420. },
  24421. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  24422. var _ = this;
  24423. _._box_0 = t0;
  24424. _.$this = t1;
  24425. _.node = t2;
  24426. _.from = t3;
  24427. _.direction = t4;
  24428. _.fromNumber = t5;
  24429. },
  24430. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  24431. this.$this = t0;
  24432. },
  24433. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  24434. this.$this = t0;
  24435. this.node = t1;
  24436. },
  24437. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  24438. this.$this = t0;
  24439. this.node = t1;
  24440. },
  24441. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  24442. },
  24443. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  24444. this.$this = t0;
  24445. },
  24446. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  24447. this.$this = t0;
  24448. this.clause = t1;
  24449. },
  24450. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  24451. this.$this = t0;
  24452. },
  24453. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  24454. this.$this = t0;
  24455. this.$import = t1;
  24456. },
  24457. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  24458. this.$this = t0;
  24459. },
  24460. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  24461. },
  24462. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  24463. },
  24464. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  24465. var _ = this;
  24466. _._box_0 = t0;
  24467. _.$this = t1;
  24468. _.loadsUserDefinedModules = t2;
  24469. _.environment = t3;
  24470. _.children = t4;
  24471. },
  24472. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  24473. var _ = this;
  24474. _.$this = t0;
  24475. _.$arguments = t1;
  24476. _.mixin = t2;
  24477. _.nodeWithSpanWithoutContent = t3;
  24478. },
  24479. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  24480. var _ = this;
  24481. _.$this = t0;
  24482. _.$arguments = t1;
  24483. _.mixin = t2;
  24484. _.nodeWithSpanWithoutContent = t3;
  24485. },
  24486. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  24487. var _ = this;
  24488. _.$this = t0;
  24489. _.contentCallable = t1;
  24490. _.mixin = t2;
  24491. _.nodeWithSpanWithoutContent = t3;
  24492. },
  24493. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  24494. this.$this = t0;
  24495. this.mixin = t1;
  24496. this.nodeWithSpanWithoutContent = t2;
  24497. },
  24498. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  24499. this.$this = t0;
  24500. this.mixin = t1;
  24501. this.nodeWithSpanWithoutContent = t2;
  24502. },
  24503. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  24504. this.$this = t0;
  24505. this.statement = t1;
  24506. },
  24507. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  24508. this.$this = t0;
  24509. this.node = t1;
  24510. },
  24511. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  24512. this.$this = t0;
  24513. },
  24514. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  24515. this.node = t0;
  24516. },
  24517. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  24518. this.$this = t0;
  24519. this.queries = t1;
  24520. },
  24521. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  24522. var _ = this;
  24523. _.$this = t0;
  24524. _.mergedQueries = t1;
  24525. _.queries = t2;
  24526. _.mergedSources = t3;
  24527. _.node = t4;
  24528. },
  24529. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  24530. this.$this = t0;
  24531. this.node = t1;
  24532. },
  24533. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  24534. this.$this = t0;
  24535. this.node = t1;
  24536. },
  24537. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  24538. this.mergedSources = t0;
  24539. },
  24540. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
  24541. this.$this = t0;
  24542. this.node = t1;
  24543. },
  24544. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10() {
  24545. },
  24546. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
  24547. this.$this = t0;
  24548. this.rule = t1;
  24549. this.node = t2;
  24550. },
  24551. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  24552. this.$this = t0;
  24553. this.node = t1;
  24554. },
  24555. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  24556. },
  24557. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  24558. },
  24559. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  24560. this.$this = t0;
  24561. this.node = t1;
  24562. },
  24563. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  24564. this.$this = t0;
  24565. this.node = t1;
  24566. },
  24567. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  24568. },
  24569. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  24570. this._box_0 = t0;
  24571. this.$this = t1;
  24572. },
  24573. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  24574. this._box_0 = t0;
  24575. this.$this = t1;
  24576. this.node = t2;
  24577. },
  24578. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  24579. this.$this = t0;
  24580. this.node = t1;
  24581. },
  24582. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  24583. this.$this = t0;
  24584. this.node = t1;
  24585. this.value = t2;
  24586. },
  24587. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  24588. this.$this = t0;
  24589. this.node = t1;
  24590. },
  24591. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  24592. this.$this = t0;
  24593. this.node = t1;
  24594. },
  24595. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  24596. this.$this = t0;
  24597. this.node = t1;
  24598. },
  24599. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  24600. this.$this = t0;
  24601. },
  24602. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  24603. this.$this = t0;
  24604. this.node = t1;
  24605. },
  24606. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  24607. },
  24608. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  24609. this.$this = t0;
  24610. this.node = t1;
  24611. },
  24612. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  24613. this.node = t0;
  24614. this.operand = t1;
  24615. },
  24616. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  24617. this.$this = t0;
  24618. },
  24619. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  24620. this.$this = t0;
  24621. this.node = t1;
  24622. },
  24623. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  24624. },
  24625. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  24626. this._box_0 = t0;
  24627. this.$this = t1;
  24628. this.node = t2;
  24629. },
  24630. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  24631. this.$this = t0;
  24632. this.node = t1;
  24633. },
  24634. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  24635. var _ = this;
  24636. _._box_0 = t0;
  24637. _.$this = t1;
  24638. _.node = t2;
  24639. _.inLegacySassFunction = t3;
  24640. },
  24641. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  24642. this.$this = t0;
  24643. this.node = t1;
  24644. this.$function = t2;
  24645. },
  24646. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  24647. var _ = this;
  24648. _.$this = t0;
  24649. _.callable = t1;
  24650. _.evaluated = t2;
  24651. _.nodeWithSpan = t3;
  24652. _.run = t4;
  24653. _.V = t5;
  24654. },
  24655. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  24656. var _ = this;
  24657. _.$this = t0;
  24658. _.evaluated = t1;
  24659. _.callable = t2;
  24660. _.nodeWithSpan = t3;
  24661. _.run = t4;
  24662. _.V = t5;
  24663. },
  24664. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  24665. var _ = this;
  24666. _.$this = t0;
  24667. _.evaluated = t1;
  24668. _.callable = t2;
  24669. _.nodeWithSpan = t3;
  24670. _.run = t4;
  24671. _.V = t5;
  24672. },
  24673. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  24674. },
  24675. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  24676. this.$this = t0;
  24677. this.callable = t1;
  24678. },
  24679. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  24680. this._box_0 = t0;
  24681. this.evaluated = t1;
  24682. this.namedSet = t2;
  24683. },
  24684. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  24685. this._box_0 = t0;
  24686. this.evaluated = t1;
  24687. },
  24688. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  24689. },
  24690. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  24691. },
  24692. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  24693. this.$this = t0;
  24694. this.restNodeForSpan = t1;
  24695. },
  24696. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  24697. var _ = this;
  24698. _.$this = t0;
  24699. _.named = t1;
  24700. _.restNodeForSpan = t2;
  24701. _.namedNodes = t3;
  24702. },
  24703. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  24704. },
  24705. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  24706. this.restArgs = t0;
  24707. },
  24708. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  24709. this.$this = t0;
  24710. this.restNodeForSpan = t1;
  24711. this.restArgs = t2;
  24712. },
  24713. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  24714. var _ = this;
  24715. _.$this = t0;
  24716. _.named = t1;
  24717. _.restNodeForSpan = t2;
  24718. _.restArgs = t3;
  24719. },
  24720. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  24721. this.$this = t0;
  24722. this.keywordRestNodeForSpan = t1;
  24723. this.keywordRestArgs = t2;
  24724. },
  24725. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  24726. var _ = this;
  24727. _.$this = t0;
  24728. _.values = t1;
  24729. _.convert = t2;
  24730. _.expressionNode = t3;
  24731. _.map = t4;
  24732. _.nodeWithSpan = t5;
  24733. },
  24734. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  24735. this.$arguments = t0;
  24736. this.positional = t1;
  24737. this.named = t2;
  24738. },
  24739. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  24740. this.$this = t0;
  24741. this.node = t1;
  24742. },
  24743. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  24744. },
  24745. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  24746. this.$this = t0;
  24747. this.node = t1;
  24748. },
  24749. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  24750. },
  24751. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  24752. this.$this = t0;
  24753. this.node = t1;
  24754. },
  24755. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  24756. var _ = this;
  24757. _.$this = t0;
  24758. _.mergedQueries = t1;
  24759. _.node = t2;
  24760. _.mergedSources = t3;
  24761. },
  24762. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  24763. this.$this = t0;
  24764. this.node = t1;
  24765. },
  24766. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  24767. this.$this = t0;
  24768. this.node = t1;
  24769. },
  24770. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  24771. this.mergedSources = t0;
  24772. },
  24773. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
  24774. this.$this = t0;
  24775. this.rule = t1;
  24776. this.node = t2;
  24777. },
  24778. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  24779. this.$this = t0;
  24780. this.node = t1;
  24781. },
  24782. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
  24783. },
  24784. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  24785. this.$this = t0;
  24786. this.node = t1;
  24787. },
  24788. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  24789. this.$this = t0;
  24790. this.node = t1;
  24791. },
  24792. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  24793. },
  24794. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  24795. this.interpolation = t0;
  24796. },
  24797. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  24798. this.value = t0;
  24799. this.quote = t1;
  24800. },
  24801. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  24802. this.$this = t0;
  24803. this.expression = t1;
  24804. },
  24805. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  24806. },
  24807. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  24808. this.$this = t0;
  24809. },
  24810. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  24811. this._evaluate0$_visitor = t0;
  24812. },
  24813. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  24814. },
  24815. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  24816. this.hasBeenMerged = t0;
  24817. },
  24818. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  24819. },
  24820. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  24821. },
  24822. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  24823. this._evaluate0$_visitor = t0;
  24824. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  24825. },
  24826. EveryCssVisitor0: function EveryCssVisitor0() {
  24827. },
  24828. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  24829. this.$this = t0;
  24830. },
  24831. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  24832. this.$this = t0;
  24833. },
  24834. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  24835. this.$this = t0;
  24836. },
  24837. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  24838. this.$this = t0;
  24839. },
  24840. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  24841. this.$this = t0;
  24842. },
  24843. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  24844. this.$this = t0;
  24845. },
  24846. throwNodeException(exception, ascii, color, trace) {
  24847. var wasAscii, jsException, t1, trace0;
  24848. trace = trace;
  24849. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  24850. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24851. try {
  24852. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  24853. jsException = type$._NodeException._as(t1);
  24854. trace0 = A.getTrace0(exception);
  24855. trace = trace0 == null ? trace : trace0;
  24856. if (trace != null)
  24857. A.attachJsStack(jsException, trace);
  24858. A.jsThrow(jsException);
  24859. } finally {
  24860. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24861. }
  24862. },
  24863. _NodeException: function _NodeException() {
  24864. },
  24865. exceptionClass_closure: function exceptionClass_closure() {
  24866. },
  24867. exceptionClass__closure: function exceptionClass__closure() {
  24868. },
  24869. exceptionClass__closure0: function exceptionClass__closure0() {
  24870. },
  24871. exceptionClass__closure1: function exceptionClass__closure1() {
  24872. },
  24873. SassException$0(message, span, loadedUrls) {
  24874. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24875. },
  24876. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24877. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24878. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24879. },
  24880. SassRuntimeException$0(message, span, trace, loadedUrls) {
  24881. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24882. },
  24883. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  24884. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24885. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24886. },
  24887. SassFormatException$0(message, span, loadedUrls) {
  24888. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24889. },
  24890. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24891. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24892. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24893. },
  24894. SassScriptException$0(message, argumentName) {
  24895. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  24896. },
  24897. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  24898. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24899. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  24900. },
  24901. SassException0: function SassException0(t0, t1, t2) {
  24902. this.loadedUrls = t0;
  24903. this._span_exception$_message = t1;
  24904. this._span = t2;
  24905. },
  24906. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  24907. var _ = this;
  24908. _.primaryLabel = t0;
  24909. _.secondarySpans = t1;
  24910. _.loadedUrls = t2;
  24911. _._span_exception$_message = t3;
  24912. _._span = t4;
  24913. },
  24914. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  24915. var _ = this;
  24916. _.trace = t0;
  24917. _.loadedUrls = t1;
  24918. _._span_exception$_message = t2;
  24919. _._span = t3;
  24920. },
  24921. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  24922. var _ = this;
  24923. _.trace = t0;
  24924. _.primaryLabel = t1;
  24925. _.secondarySpans = t2;
  24926. _.loadedUrls = t3;
  24927. _._span_exception$_message = t4;
  24928. _._span = t5;
  24929. },
  24930. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  24931. this.loadedUrls = t0;
  24932. this._span_exception$_message = t1;
  24933. this._span = t2;
  24934. },
  24935. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  24936. var _ = this;
  24937. _.primaryLabel = t0;
  24938. _.secondarySpans = t1;
  24939. _.loadedUrls = t2;
  24940. _._span_exception$_message = t3;
  24941. _._span = t4;
  24942. },
  24943. SassScriptException0: function SassScriptException0(t0) {
  24944. this.message = t0;
  24945. },
  24946. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  24947. this.primaryLabel = t0;
  24948. this.secondarySpans = t1;
  24949. this.message = t2;
  24950. },
  24951. Exports: function Exports() {
  24952. },
  24953. LoggerNamespace: function LoggerNamespace() {
  24954. },
  24955. _IsCalculationSafeVisitor0: function _IsCalculationSafeVisitor0() {
  24956. },
  24957. _IsCalculationSafeVisitor_visitListExpression_closure0: function _IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  24958. this.$this = t0;
  24959. },
  24960. expressionToCalc0(expression) {
  24961. var t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression_2),
  24962. t2 = expression.get$span(0),
  24963. t3 = type$.Expression_2;
  24964. 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(0));
  24965. },
  24966. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  24967. },
  24968. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  24969. },
  24970. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  24971. this.selector = t0;
  24972. this.isOptional = t1;
  24973. this.span = t2;
  24974. },
  24975. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  24976. var _ = this;
  24977. _.extender = t0;
  24978. _.target = t1;
  24979. _.mediaContext = t2;
  24980. _.isOptional = t3;
  24981. _.span = t4;
  24982. },
  24983. Extender0: function Extender0(t0, t1) {
  24984. this.selector = t0;
  24985. this.isOriginal = t1;
  24986. this._extension$_extension = null;
  24987. },
  24988. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  24989. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  24990. extender = A.ExtensionStore$_mode0(mode);
  24991. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  24992. extender._extension_store$_originals.addAll$1(0, selector.components);
  24993. 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) {
  24994. complex = t1[_i];
  24995. compound = complex.get$singleCompound();
  24996. if (compound == null)
  24997. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  24998. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  24999. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  25000. simple = t10[_i0];
  25001. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  25002. for (_i1 = 0; _i1 < t4; ++_i1) {
  25003. complex = t3[_i1];
  25004. complex.get$specificity();
  25005. t13 = new A.Extender0(complex, false);
  25006. t14 = new A.Extension0(t13, simple, null, true, span);
  25007. t13._extension$_extension = t14;
  25008. t12.$indexSet(0, complex, t14);
  25009. }
  25010. t9.$indexSet(0, simple, t12);
  25011. }
  25012. selector = extender._extension_store$_extendList$2(selector, t9);
  25013. }
  25014. return selector;
  25015. },
  25016. ExtensionStore$0() {
  25017. var t1 = type$.SimpleSelector_2;
  25018. 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);
  25019. },
  25020. ExtensionStore$_mode0(_mode) {
  25021. var t1 = type$.SimpleSelector_2;
  25022. 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);
  25023. },
  25024. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  25025. var _ = this;
  25026. _._extension_store$_selectors = t0;
  25027. _._extension_store$_extensions = t1;
  25028. _._extension_store$_extensionsByExtender = t2;
  25029. _._extension_store$_mediaContexts = t3;
  25030. _._extension_store$_sourceSpecificity = t4;
  25031. _._extension_store$_originals = t5;
  25032. _._extension_store$_mode = t6;
  25033. },
  25034. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  25035. },
  25036. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  25037. },
  25038. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  25039. },
  25040. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  25041. },
  25042. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  25043. this.complex = t0;
  25044. },
  25045. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  25046. },
  25047. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  25048. },
  25049. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  25050. },
  25051. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  25052. this._box_0 = t0;
  25053. this.$this = t1;
  25054. this.complex = t2;
  25055. },
  25056. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  25057. this._box_0 = t0;
  25058. this.$this = t1;
  25059. this.complex = t2;
  25060. },
  25061. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  25062. },
  25063. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  25064. },
  25065. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  25066. this.original = t0;
  25067. },
  25068. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  25069. this.$this = t0;
  25070. this.extensions = t1;
  25071. this.targetsUsed = t2;
  25072. },
  25073. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  25074. this.$this = t0;
  25075. this.withoutPseudo = t1;
  25076. },
  25077. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  25078. },
  25079. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  25080. },
  25081. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  25082. },
  25083. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  25084. },
  25085. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  25086. this.pseudo = t0;
  25087. },
  25088. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  25089. this.pseudo = t0;
  25090. this.selector = t1;
  25091. },
  25092. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  25093. this._box_0 = t0;
  25094. this.complex1 = t1;
  25095. },
  25096. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  25097. this._box_0 = t0;
  25098. this.complex1 = t1;
  25099. },
  25100. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  25101. var _ = this;
  25102. _.$this = t0;
  25103. _.newSelectors = t1;
  25104. _.oldToNewSelectors = t2;
  25105. _.newMediaContexts = t3;
  25106. },
  25107. FiberClass: function FiberClass() {
  25108. },
  25109. Fiber: function Fiber() {
  25110. },
  25111. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  25112. this._file0$_findFileUrl = t0;
  25113. },
  25114. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  25115. this.$this = t0;
  25116. this.url = t1;
  25117. },
  25118. FilesystemImporter$0(loadPath) {
  25119. var _null = null;
  25120. return new A.FilesystemImporter0(A.absolute(loadPath, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  25121. },
  25122. FilesystemImporter0: function FilesystemImporter0(t0) {
  25123. this._filesystem$_loadPath = t0;
  25124. },
  25125. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  25126. },
  25127. ForRule$0(variable, from, to, children, span, exclusive) {
  25128. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25129. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25130. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  25131. },
  25132. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  25133. var _ = this;
  25134. _.variable = t0;
  25135. _.from = t1;
  25136. _.to = t2;
  25137. _.isExclusive = t3;
  25138. _.span = t4;
  25139. _.children = t5;
  25140. _.hasDeclarations = t6;
  25141. },
  25142. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  25143. var _ = this;
  25144. _.url = t0;
  25145. _.shownMixinsAndFunctions = t1;
  25146. _.shownVariables = t2;
  25147. _.hiddenMixinsAndFunctions = t3;
  25148. _.hiddenVariables = t4;
  25149. _.prefix = t5;
  25150. _.configuration = t6;
  25151. _.span = t7;
  25152. },
  25153. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  25154. var t1;
  25155. if (rule.prefix == null)
  25156. if (rule.shownMixinsAndFunctions == null)
  25157. if (rule.shownVariables == null) {
  25158. t1 = rule.hiddenMixinsAndFunctions;
  25159. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  25160. if (t1 === true) {
  25161. t1 = rule.hiddenVariables;
  25162. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  25163. t1 = t1 === true;
  25164. } else
  25165. t1 = false;
  25166. } else
  25167. t1 = false;
  25168. else
  25169. t1 = false;
  25170. else
  25171. t1 = false;
  25172. if (t1)
  25173. return inner;
  25174. else
  25175. return A.ForwardedModuleView$0(inner, rule, $T);
  25176. },
  25177. ForwardedModuleView$0(_inner, _rule, $T) {
  25178. var t1 = _rule.prefix,
  25179. t2 = _rule.shownVariables,
  25180. t3 = _rule.hiddenVariables,
  25181. t4 = _rule.shownMixinsAndFunctions,
  25182. t5 = _rule.hiddenMixinsAndFunctions;
  25183. 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>"));
  25184. },
  25185. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  25186. var t2,
  25187. t1 = prefix == null;
  25188. if (t1)
  25189. if (safelist == null)
  25190. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  25191. else
  25192. t2 = false;
  25193. else
  25194. t2 = false;
  25195. if (t2)
  25196. return map;
  25197. if (!t1)
  25198. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  25199. if (safelist != null)
  25200. 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>"));
  25201. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  25202. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  25203. return map;
  25204. },
  25205. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  25206. var _ = this;
  25207. _._forwarded_view0$_inner = t0;
  25208. _._forwarded_view0$_rule = t1;
  25209. _.variables = t2;
  25210. _.variableNodes = t3;
  25211. _.functions = t4;
  25212. _.mixins = t5;
  25213. _.$ti = t6;
  25214. },
  25215. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  25216. var _ = this;
  25217. _.namespace = t0;
  25218. _.originalName = t1;
  25219. _.$arguments = t2;
  25220. _.span = t3;
  25221. },
  25222. JSFunction0: function JSFunction0() {
  25223. },
  25224. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  25225. this.name = t0;
  25226. this.$arguments = t1;
  25227. this.span = t2;
  25228. },
  25229. functionClass_closure: function functionClass_closure() {
  25230. },
  25231. functionClass__closure: function functionClass__closure() {
  25232. },
  25233. functionClass__closure0: function functionClass__closure0() {
  25234. },
  25235. SassFunction0: function SassFunction0(t0) {
  25236. this.callable = t0;
  25237. },
  25238. FunctionRule$0($name, $arguments, children, span, comment) {
  25239. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25240. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25241. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  25242. },
  25243. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  25244. var _ = this;
  25245. _.name = t0;
  25246. _.$arguments = t1;
  25247. _.span = t2;
  25248. _.children = t3;
  25249. _.hasDeclarations = t4;
  25250. },
  25251. unifyComplex0(complexes, span) {
  25252. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6, t5, _0_6_isSet, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  25253. t1 = J.getInterceptor$asx(complexes);
  25254. if (t1.get$length(complexes) === 1)
  25255. return complexes;
  25256. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  25257. t3 = t2.get$current(t2);
  25258. if (t3.accept$1(B.C__IsUselessVisitor0))
  25259. return _null;
  25260. t4 = t3.components;
  25261. if (t4.length === 1) {
  25262. _0_6 = t3.leadingCombinators;
  25263. t5 = _0_6.length === 1;
  25264. _0_6_isSet = true;
  25265. } else {
  25266. _0_6 = _null;
  25267. _0_6_isSet = false;
  25268. t5 = false;
  25269. }
  25270. if (t5) {
  25271. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  25272. if (leadingCombinator == null)
  25273. leadingCombinator = newLeadingCombinator;
  25274. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  25275. return _null;
  25276. }
  25277. base = B.JSArray_methods.get$last(t4);
  25278. _1_1 = base.combinators;
  25279. if (_1_1.length === 1) {
  25280. newTrailingCombinator = _1_1[0];
  25281. if (trailingCombinator != null)
  25282. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  25283. else
  25284. t3 = false;
  25285. if (t3)
  25286. return _null;
  25287. trailingCombinator = newTrailingCombinator;
  25288. }
  25289. if (unifiedBase == null)
  25290. unifiedBase = base.selector.components;
  25291. else
  25292. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  25293. unifiedBase = t3[_i].unify$1(unifiedBase);
  25294. if (unifiedBase == null)
  25295. return _null;
  25296. }
  25297. }
  25298. t2 = type$.JSArray_ComplexSelector_2;
  25299. t3 = A._setArrayType([], t2);
  25300. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  25301. t5 = t4.get$current(t4);
  25302. t6 = t5.components;
  25303. t7 = t6.length;
  25304. if (t7 > 1) {
  25305. t8 = t5.leadingCombinators;
  25306. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  25307. }
  25308. }
  25309. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  25310. unifiedBase.toString;
  25311. t5 = A.CompoundSelector$0(unifiedBase, span);
  25312. t6 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  25313. 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_closure0()));
  25314. if (t3.length === 0)
  25315. t1 = A._setArrayType([base], t2);
  25316. else {
  25317. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  25318. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  25319. }
  25320. return A.weave0(t1, span, false);
  25321. },
  25322. unifyCompound0(compound1, compound2) {
  25323. var t1, t2, _i, unified,
  25324. result = compound2.components;
  25325. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  25326. unified = t1[_i].unify$1(result);
  25327. if (unified == null)
  25328. return null;
  25329. }
  25330. return A.CompoundSelector$0(result, compound1.span);
  25331. },
  25332. unifyUniversalAndElement0(selector1, selector2) {
  25333. var namespace, $name, t1,
  25334. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  25335. namespace1 = _0_0._0,
  25336. name1 = _0_0._1,
  25337. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  25338. namespace2 = _1_0._0,
  25339. name2 = _1_0._1;
  25340. if (namespace1 == namespace2 || namespace2 === "*")
  25341. namespace = namespace1;
  25342. else {
  25343. if (namespace1 !== "*")
  25344. return null;
  25345. namespace = namespace2;
  25346. }
  25347. if (name1 == name2 || name2 == null)
  25348. $name = name1;
  25349. else {
  25350. if (!(name1 == null || name1 === "*"))
  25351. return null;
  25352. $name = name2;
  25353. }
  25354. t1 = selector1.span;
  25355. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  25356. },
  25357. _namespaceAndName0(selector, $name) {
  25358. var t1, _0_4;
  25359. $label0$0: {
  25360. if (selector instanceof A.UniversalSelector0) {
  25361. t1 = new A._Record_2(selector.namespace, null);
  25362. break $label0$0;
  25363. }
  25364. if (selector instanceof A.TypeSelector0) {
  25365. _0_4 = selector.name;
  25366. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  25367. break $label0$0;
  25368. }
  25369. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  25370. }
  25371. return t1;
  25372. },
  25373. weave0(complexes, span, forceLineBreak) {
  25374. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  25375. t1 = J.getInterceptor$asx(complexes);
  25376. if (t1.get$length(complexes) === 1) {
  25377. complex = t1.$index(complexes, 0);
  25378. if (!forceLineBreak || complex.lineBreak)
  25379. return complexes;
  25380. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  25381. }
  25382. t2 = type$.JSArray_ComplexSelector_2;
  25383. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  25384. for (t1 = t1.skip$1(complexes, 1), t3 = A._instanceType(t1), t1 = new A.ListIterator(t1, t1.get$length(t1), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent_2, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  25385. t5 = t1.__internal$_current;
  25386. if (t5 == null)
  25387. t5 = t3._as(t5);
  25388. t6 = t5.components;
  25389. if (t6.length === 1) {
  25390. for (i = 0; i < prefixes.length; ++i)
  25391. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  25392. continue;
  25393. }
  25394. t7 = A._setArrayType([], t2);
  25395. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  25396. t9 = A._weaveParents0(prefixes[_i], t5, span);
  25397. if (t9 == null)
  25398. t9 = B.List_empty15;
  25399. t10 = t9.length;
  25400. _i0 = 0;
  25401. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  25402. parentPrefix = t9[_i0];
  25403. t11 = B.JSArray_methods.get$last(t6);
  25404. t12 = A.List_List$of(parentPrefix.components, true, t4);
  25405. t12.push(t11);
  25406. t11 = parentPrefix.lineBreak || forceLineBreak;
  25407. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  25408. }
  25409. }
  25410. prefixes = t7;
  25411. }
  25412. return prefixes;
  25413. },
  25414. _weaveParents0(prefix, base, span) {
  25415. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, rootish1, rootish2, _0_30, t2, _0_3_isSet, rootish, t3, rootish_case_0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  25416. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  25417. if (leadingCombinators == null)
  25418. return _null;
  25419. t1 = type$.ComplexSelectorComponent_2;
  25420. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  25421. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  25422. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  25423. if (trailingCombinators == null)
  25424. return _null;
  25425. $label0$0: {
  25426. _0_1 = A._firstIfRootish0(queue1);
  25427. _0_3 = A._firstIfRootish0(queue2);
  25428. if (_0_1 != null) {
  25429. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  25430. if (_0_3 != null) {
  25431. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  25432. _0_30 = _0_3;
  25433. t2 = true;
  25434. } else {
  25435. rootish2 = _null;
  25436. _0_30 = _0_3;
  25437. t2 = false;
  25438. }
  25439. _0_3_isSet = true;
  25440. } else {
  25441. rootish2 = _null;
  25442. rootish1 = rootish2;
  25443. _0_30 = rootish1;
  25444. _0_3_isSet = false;
  25445. t2 = false;
  25446. }
  25447. if (t2) {
  25448. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  25449. if (rootish == null)
  25450. return _null;
  25451. t1 = rootish1.combinators;
  25452. t2 = rootish1.span;
  25453. t3 = type$.CssValue_Combinator_2;
  25454. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  25455. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  25456. break $label0$0;
  25457. }
  25458. if (_0_1 != null) {
  25459. rootish_case_0 = _0_1 == null ? t1._as(_0_1) : _0_1;
  25460. if (_0_3_isSet)
  25461. t2 = _0_30;
  25462. else {
  25463. t2 = _0_3;
  25464. _0_30 = t2;
  25465. _0_3_isSet = true;
  25466. }
  25467. if (t2 == null) {
  25468. t2 = rootish_case_0;
  25469. t3 = true;
  25470. } else {
  25471. t2 = _null;
  25472. t3 = false;
  25473. }
  25474. } else {
  25475. t2 = _null;
  25476. t3 = false;
  25477. }
  25478. if (!t3)
  25479. if (_0_1 == null) {
  25480. if (_0_3_isSet)
  25481. t3 = _0_30;
  25482. else {
  25483. t3 = _0_3;
  25484. _0_30 = t3;
  25485. _0_3_isSet = true;
  25486. }
  25487. if (t3 != null) {
  25488. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  25489. if (rootish_case_1 == null)
  25490. rootish_case_1 = t1._as(rootish_case_1);
  25491. t1 = rootish_case_1;
  25492. t2 = true;
  25493. } else {
  25494. t1 = t2;
  25495. t2 = false;
  25496. }
  25497. } else {
  25498. t1 = t2;
  25499. t2 = false;
  25500. }
  25501. else {
  25502. t1 = t2;
  25503. t2 = true;
  25504. }
  25505. if (t2) {
  25506. queue1.addFirst$1(t1);
  25507. queue2.addFirst$1(t1);
  25508. }
  25509. }
  25510. groups1 = A._groupSelectors0(queue1);
  25511. groups2 = A._groupSelectors0(queue2);
  25512. t1 = type$.List_ComplexSelectorComponent_2;
  25513. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  25514. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  25515. 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) {
  25516. group = lcs[_i];
  25517. t5 = A._setArrayType([], t3);
  25518. for (t6 = A._chunks0(groups1, groups2, new A._weaveParents_closure4(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  25519. chunk = t6[_i0];
  25520. t8 = A._setArrayType([], t4);
  25521. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  25522. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  25523. t5.push(t8);
  25524. }
  25525. choices.push(t5);
  25526. choices.push(A._setArrayType([group], t3));
  25527. groups1.removeFirst$0();
  25528. groups2.removeFirst$0();
  25529. }
  25530. t2 = A._setArrayType([], t3);
  25531. for (t1 = A._chunks0(groups1, groups2, new A._weaveParents_closure5(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  25532. chunk = t1[_i];
  25533. t5 = A._setArrayType([], t4);
  25534. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  25535. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  25536. t2.push(t5);
  25537. }
  25538. choices.push(t2);
  25539. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  25540. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  25541. for (t2 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure6(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  25542. t6 = t2.get$current(t2);
  25543. t7 = A._setArrayType([], t4);
  25544. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  25545. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  25546. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  25547. }
  25548. return t1;
  25549. },
  25550. _firstIfRootish0(queue) {
  25551. var first, t1, t2, _i, simple, t3;
  25552. if (queue.get$length(0) >= 1) {
  25553. first = queue.$index(0, 0);
  25554. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  25555. simple = t1[_i];
  25556. if (simple instanceof A.PseudoSelector0)
  25557. if (simple.isClass)
  25558. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  25559. else
  25560. t3 = false;
  25561. else
  25562. t3 = false;
  25563. if (t3) {
  25564. queue.removeFirst$0();
  25565. return first;
  25566. }
  25567. }
  25568. }
  25569. return null;
  25570. },
  25571. _mergeLeadingCombinators0(combinators1, combinators2) {
  25572. var _0_4, _0_4_isSet, t1, _0_7, t2, _0_1, _0_7_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  25573. $label0$0: {
  25574. _0_4 = combinators2;
  25575. _0_4_isSet = true;
  25576. t1 = false;
  25577. if (t1) {
  25578. t1 = _null;
  25579. break $label0$0;
  25580. }
  25581. t1 = type$.List_CssValue_Combinator_2;
  25582. if (t1._is(combinators1)) {
  25583. _0_7 = combinators1.length;
  25584. t2 = _0_7;
  25585. _0_1 = combinators1;
  25586. t2 = t2 > 1;
  25587. _0_7_isSet = true;
  25588. } else {
  25589. _0_7 = _null;
  25590. _0_1 = combinators1;
  25591. _0_7_isSet = false;
  25592. t2 = false;
  25593. }
  25594. if (!t2) {
  25595. if (_0_4_isSet)
  25596. t2 = _0_4;
  25597. else {
  25598. t2 = combinators2;
  25599. _0_4 = t2;
  25600. _0_4_isSet = true;
  25601. }
  25602. if (t1._is(t2)) {
  25603. if (_0_4_isSet)
  25604. t2 = _0_4;
  25605. else {
  25606. t2 = combinators2;
  25607. _0_4 = t2;
  25608. _0_4_isSet = true;
  25609. }
  25610. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  25611. t2 = _0_11;
  25612. t2 = t2 > 1;
  25613. _0_11_isSet = true;
  25614. } else {
  25615. _0_11 = _null;
  25616. _0_11_isSet = false;
  25617. t2 = false;
  25618. }
  25619. } else {
  25620. _0_11 = _null;
  25621. _0_11_isSet = false;
  25622. t2 = true;
  25623. }
  25624. if (t2) {
  25625. t1 = _null;
  25626. break $label0$0;
  25627. }
  25628. if (t1._is(_0_1)) {
  25629. if (_0_7_isSet)
  25630. t2 = _0_7;
  25631. else {
  25632. _0_7 = _0_1.length;
  25633. t2 = _0_7;
  25634. }
  25635. if (t2 <= 0) {
  25636. if (_0_4_isSet)
  25637. combinators = _0_4;
  25638. else {
  25639. combinators = combinators2;
  25640. _0_4 = combinators;
  25641. _0_4_isSet = true;
  25642. }
  25643. t2 = true;
  25644. } else {
  25645. combinators = _null;
  25646. t2 = false;
  25647. }
  25648. } else {
  25649. combinators = _null;
  25650. t2 = false;
  25651. }
  25652. if (!t2) {
  25653. if (_0_4_isSet)
  25654. t2 = _0_4;
  25655. else {
  25656. t2 = combinators2;
  25657. _0_4 = t2;
  25658. _0_4_isSet = true;
  25659. }
  25660. if (t1._is(t2)) {
  25661. if (_0_11_isSet)
  25662. t1 = _0_11;
  25663. else {
  25664. t2 = _0_4_isSet ? _0_4 : combinators2;
  25665. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  25666. t1 = _0_11;
  25667. }
  25668. t1 = t1 <= 0;
  25669. } else
  25670. t1 = false;
  25671. combinators = _0_1;
  25672. } else
  25673. t1 = true;
  25674. if (t1) {
  25675. t1 = combinators;
  25676. break $label0$0;
  25677. }
  25678. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  25679. break $label0$0;
  25680. }
  25681. return t1;
  25682. },
  25683. _mergeTrailingCombinators0(components1, components2, span, result) {
  25684. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4, _4_5, _4_5_isSet, _4_4_isSet, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, nextComponents, followingComponents, _4_6_isSet, _4_7_isSet, _4_9_isSet, _4_10, _4_1_isSet, _4_10_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, combinator2, unified, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  25685. if (result == null)
  25686. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  25687. $label0$0: {
  25688. _0_1 = components1.get$length(0);
  25689. if (_0_1 >= 1) {
  25690. t1 = components1.$index(0, _0_1 - 1).combinators;
  25691. break $label0$0;
  25692. }
  25693. t1 = B.List_empty14;
  25694. break $label0$0;
  25695. }
  25696. $label1$1: {
  25697. _1_1 = components2.get$length(0);
  25698. if (_1_1 >= 1) {
  25699. t2 = components2.$index(0, _1_1 - 1).combinators;
  25700. break $label1$1;
  25701. }
  25702. t2 = B.List_empty14;
  25703. break $label1$1;
  25704. }
  25705. t3 = t1.length;
  25706. if (t3 === 0 && t2.length === 0)
  25707. return result;
  25708. if (t3 > 1 || t2.length > 1)
  25709. return _null;
  25710. $label2$2: {
  25711. t3 = A.IterableExtension_get_firstOrNull(t1);
  25712. t3 = t3 == null ? _null : t3.value;
  25713. t2 = A.IterableExtension_get_firstOrNull(t2);
  25714. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  25715. _4_1 = t2[0];
  25716. _4_3 = B.Combinator_Htt0 === _4_1;
  25717. t3 = _4_3;
  25718. if (t3) {
  25719. _4_4 = t2[1];
  25720. _4_5 = B.Combinator_Htt0 === _4_4;
  25721. t3 = _4_5;
  25722. _4_5_isSet = true;
  25723. _4_4_isSet = true;
  25724. } else {
  25725. _4_4 = _null;
  25726. _4_5 = _4_4;
  25727. _4_5_isSet = false;
  25728. _4_4_isSet = false;
  25729. t3 = false;
  25730. }
  25731. if (t3) {
  25732. component1 = components1.removeLast$0(0);
  25733. component2 = components2.removeLast$0(0);
  25734. t2 = component1.selector;
  25735. t3 = component2.selector;
  25736. if (A.compoundIsSuperselector0(t2, t3, _null))
  25737. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25738. else {
  25739. t4 = type$.JSArray_ComplexSelectorComponent_2;
  25740. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  25741. if (A.compoundIsSuperselector0(t3, t2, _null))
  25742. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  25743. else {
  25744. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  25745. _2_0 = A.unifyCompound0(t2, t3);
  25746. if (_2_0 != null)
  25747. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(_2_0, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], t4));
  25748. result.addFirst$1(choices);
  25749. }
  25750. }
  25751. break $label2$2;
  25752. }
  25753. if (_4_3) {
  25754. if (_4_4_isSet)
  25755. t3 = _4_4;
  25756. else {
  25757. _4_4 = t2[1];
  25758. t3 = _4_4;
  25759. _4_4_isSet = true;
  25760. }
  25761. _4_9 = B.Combinator_4QF0 === t3;
  25762. t3 = _4_9;
  25763. if (t3) {
  25764. _4_6 = t2[2];
  25765. _4_7 = t2[3];
  25766. nextComponents = _4_7;
  25767. followingComponents = _4_6;
  25768. _4_6_isSet = true;
  25769. _4_7_isSet = true;
  25770. t3 = true;
  25771. } else {
  25772. nextComponents = _null;
  25773. followingComponents = nextComponents;
  25774. _4_7 = followingComponents;
  25775. _4_6 = _4_7;
  25776. _4_6_isSet = false;
  25777. _4_7_isSet = false;
  25778. t3 = false;
  25779. }
  25780. _4_9_isSet = true;
  25781. } else {
  25782. nextComponents = _null;
  25783. followingComponents = nextComponents;
  25784. _4_7 = followingComponents;
  25785. _4_6 = _4_7;
  25786. _4_9 = _4_6;
  25787. _4_9_isSet = false;
  25788. _4_6_isSet = false;
  25789. _4_7_isSet = false;
  25790. t3 = false;
  25791. }
  25792. if (!t3) {
  25793. _4_10 = B.Combinator_4QF0 === _4_1;
  25794. t3 = _4_10;
  25795. _4_1_isSet = true;
  25796. if (t3) {
  25797. if (_4_5_isSet)
  25798. t3 = _4_5;
  25799. else {
  25800. if (_4_4_isSet)
  25801. t3 = _4_4;
  25802. else {
  25803. _4_4 = t2[1];
  25804. t3 = _4_4;
  25805. _4_4_isSet = true;
  25806. }
  25807. _4_5 = B.Combinator_Htt0 === t3;
  25808. t3 = _4_5;
  25809. _4_5_isSet = true;
  25810. }
  25811. if (t3) {
  25812. if (_4_6_isSet)
  25813. nextComponents = _4_6;
  25814. else {
  25815. _4_6 = t2[2];
  25816. nextComponents = _4_6;
  25817. _4_6_isSet = true;
  25818. }
  25819. if (_4_7_isSet)
  25820. followingComponents = _4_7;
  25821. else {
  25822. _4_7 = t2[3];
  25823. followingComponents = _4_7;
  25824. _4_7_isSet = true;
  25825. }
  25826. t3 = true;
  25827. } else
  25828. t3 = false;
  25829. } else
  25830. t3 = false;
  25831. _4_10_isSet = true;
  25832. } else {
  25833. _4_10 = _null;
  25834. _4_1_isSet = true;
  25835. _4_10_isSet = false;
  25836. t3 = true;
  25837. }
  25838. if (t3) {
  25839. next = nextComponents.removeLast$0(0);
  25840. following = followingComponents.removeLast$0(0);
  25841. t1 = following.selector;
  25842. t2 = next.selector;
  25843. t3 = type$.JSArray_ComplexSelectorComponent_2;
  25844. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  25845. if (A.compoundIsSuperselector0(t1, t2, _null))
  25846. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  25847. else {
  25848. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  25849. _3_0 = A.unifyCompound0(t1, t2);
  25850. if (_3_0 != null)
  25851. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  25852. result.addFirst$1(t4);
  25853. }
  25854. break $label2$2;
  25855. }
  25856. if (_4_1_isSet)
  25857. t3 = _4_1;
  25858. else {
  25859. _4_1 = t2[0];
  25860. t3 = _4_1;
  25861. _4_1_isSet = true;
  25862. }
  25863. if (B.Combinator_Cht0 === t3) {
  25864. if (_4_9_isSet)
  25865. t3 = _4_9;
  25866. else {
  25867. if (_4_4_isSet)
  25868. t3 = _4_4;
  25869. else {
  25870. _4_4 = t2[1];
  25871. t3 = _4_4;
  25872. _4_4_isSet = true;
  25873. }
  25874. _4_9 = B.Combinator_4QF0 === t3;
  25875. t3 = _4_9;
  25876. }
  25877. if (!t3)
  25878. if (_4_5_isSet)
  25879. t3 = _4_5;
  25880. else {
  25881. if (_4_4_isSet)
  25882. t3 = _4_4;
  25883. else {
  25884. _4_4 = t2[1];
  25885. t3 = _4_4;
  25886. _4_4_isSet = true;
  25887. }
  25888. _4_5 = B.Combinator_Htt0 === t3;
  25889. t3 = _4_5;
  25890. }
  25891. else
  25892. t3 = true;
  25893. if (t3) {
  25894. if (_4_7_isSet)
  25895. siblingComponents_case_0 = _4_7;
  25896. else {
  25897. _4_7 = t2[3];
  25898. siblingComponents_case_0 = _4_7;
  25899. _4_7_isSet = true;
  25900. }
  25901. t3 = siblingComponents_case_0;
  25902. t4 = true;
  25903. } else {
  25904. t3 = _null;
  25905. t4 = false;
  25906. }
  25907. } else {
  25908. t3 = _null;
  25909. t4 = false;
  25910. }
  25911. if (!t4) {
  25912. if (_4_10_isSet)
  25913. t4 = _4_10;
  25914. else {
  25915. if (_4_1_isSet)
  25916. t4 = _4_1;
  25917. else {
  25918. _4_1 = t2[0];
  25919. t4 = _4_1;
  25920. _4_1_isSet = true;
  25921. }
  25922. _4_10 = B.Combinator_4QF0 === t4;
  25923. t4 = _4_10;
  25924. }
  25925. if (!t4)
  25926. t4 = _4_3;
  25927. else
  25928. t4 = true;
  25929. if (t4) {
  25930. if (_4_4_isSet)
  25931. t4 = _4_4;
  25932. else {
  25933. _4_4 = t2[1];
  25934. t4 = _4_4;
  25935. _4_4_isSet = true;
  25936. }
  25937. if (B.Combinator_Cht0 === t4) {
  25938. if (_4_6_isSet)
  25939. siblingComponents_case_1 = _4_6;
  25940. else {
  25941. _4_6 = t2[2];
  25942. siblingComponents_case_1 = _4_6;
  25943. _4_6_isSet = true;
  25944. }
  25945. t3 = siblingComponents_case_1;
  25946. t4 = true;
  25947. } else
  25948. t4 = false;
  25949. } else
  25950. t4 = false;
  25951. } else
  25952. t4 = true;
  25953. if (t4) {
  25954. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25955. break $label2$2;
  25956. }
  25957. if (_4_1_isSet)
  25958. t3 = _4_1;
  25959. else {
  25960. _4_1 = t2[0];
  25961. t3 = _4_1;
  25962. _4_1_isSet = true;
  25963. }
  25964. if (t3 != null) {
  25965. if (_4_1_isSet)
  25966. combinator1 = _4_1;
  25967. else {
  25968. _4_1 = t2[0];
  25969. combinator1 = _4_1;
  25970. _4_1_isSet = true;
  25971. }
  25972. if (combinator1 == null)
  25973. combinator1 = type$.Combinator_2._as(combinator1);
  25974. if (_4_4_isSet)
  25975. t3 = _4_4;
  25976. else {
  25977. _4_4 = t2[1];
  25978. t3 = _4_4;
  25979. _4_4_isSet = true;
  25980. }
  25981. if (t3 != null) {
  25982. if (_4_4_isSet)
  25983. combinator2 = _4_4;
  25984. else {
  25985. _4_4 = t2[1];
  25986. combinator2 = _4_4;
  25987. _4_4_isSet = true;
  25988. }
  25989. t3 = combinator1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  25990. } else
  25991. t3 = false;
  25992. } else
  25993. t3 = false;
  25994. if (t3) {
  25995. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  25996. if (unified == null)
  25997. return _null;
  25998. 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));
  25999. break $label2$2;
  26000. }
  26001. if (_4_1_isSet)
  26002. t1 = _4_1;
  26003. else {
  26004. _4_1 = t2[0];
  26005. t1 = _4_1;
  26006. _4_1_isSet = true;
  26007. }
  26008. if (t1 != null) {
  26009. if (_4_1_isSet)
  26010. combinator_case_0 = _4_1;
  26011. else {
  26012. _4_1 = t2[0];
  26013. combinator_case_0 = _4_1;
  26014. _4_1_isSet = true;
  26015. }
  26016. if (combinator_case_0 == null)
  26017. combinator_case_0 = type$.Combinator_2._as(combinator_case_0);
  26018. if (_4_4_isSet)
  26019. t1 = _4_4;
  26020. else {
  26021. _4_4 = t2[1];
  26022. t1 = _4_4;
  26023. _4_4_isSet = true;
  26024. }
  26025. if (t1 == null) {
  26026. if (_4_6_isSet)
  26027. combinatorComponents_case_0 = _4_6;
  26028. else {
  26029. _4_6 = t2[2];
  26030. combinatorComponents_case_0 = _4_6;
  26031. _4_6_isSet = true;
  26032. }
  26033. if (_4_7_isSet)
  26034. descendantComponents_case_0 = _4_7;
  26035. else {
  26036. _4_7 = t2[3];
  26037. descendantComponents_case_0 = _4_7;
  26038. _4_7_isSet = true;
  26039. }
  26040. t1 = descendantComponents_case_0;
  26041. t3 = true;
  26042. t5 = t3;
  26043. t3 = combinatorComponents_case_0;
  26044. t4 = t1;
  26045. t1 = combinator_case_0;
  26046. } else {
  26047. t4 = _null;
  26048. t3 = t4;
  26049. t1 = t3;
  26050. t5 = false;
  26051. }
  26052. } else {
  26053. t4 = _null;
  26054. t3 = t4;
  26055. t1 = t3;
  26056. t5 = false;
  26057. }
  26058. if (!t5)
  26059. if ((_4_1_isSet ? _4_1 : t2[0]) == null) {
  26060. if (_4_4_isSet)
  26061. t5 = _4_4;
  26062. else {
  26063. _4_4 = t2[1];
  26064. t5 = _4_4;
  26065. _4_4_isSet = true;
  26066. }
  26067. if (t5 != null) {
  26068. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  26069. if (combinator_case_1 == null)
  26070. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  26071. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  26072. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  26073. t1 = combinatorComponents_case_1;
  26074. t2 = true;
  26075. t3 = t2;
  26076. t2 = descendantComponents_case_1;
  26077. t4 = t3;
  26078. t3 = t2;
  26079. t2 = t1;
  26080. t1 = combinator_case_1;
  26081. } else {
  26082. t2 = t3;
  26083. t3 = t4;
  26084. t4 = false;
  26085. }
  26086. } else {
  26087. t2 = t3;
  26088. t3 = t4;
  26089. t4 = false;
  26090. }
  26091. else {
  26092. t2 = t3;
  26093. t3 = t4;
  26094. t4 = true;
  26095. }
  26096. if (t4) {
  26097. if (t1 === B.Combinator_Cht0) {
  26098. t1 = A.IterableExtension_get_lastOrNull(t3);
  26099. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  26100. t1 = t1 === true;
  26101. } else
  26102. t1 = false;
  26103. if (t1)
  26104. t3.removeLast$0(0);
  26105. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  26106. break $label2$2;
  26107. }
  26108. return _null;
  26109. }
  26110. return A._mergeTrailingCombinators0(components1, components2, span, result);
  26111. },
  26112. _mustUnify0(complex1, complex2) {
  26113. var t2, t3, t4,
  26114. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  26115. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  26116. 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();)
  26117. t1.add$1(0, t3.get$current(0));
  26118. if (t1._collection$_length === 0)
  26119. return false;
  26120. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  26121. },
  26122. _isUnique0(simple) {
  26123. var t1;
  26124. if (!(simple instanceof A.IDSelector0))
  26125. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  26126. else
  26127. t1 = true;
  26128. return t1;
  26129. },
  26130. _chunks0(queue1, queue2, done, $T) {
  26131. var chunk2, _0_4, _0_1, _0_7, _0_5, _0_7_isSet, _0_5_isSet, chunk, t2, _null = null,
  26132. t1 = $T._eval$1("JSArray<0>"),
  26133. chunk1 = A._setArrayType([], t1);
  26134. for (; !done.call$1(queue1);)
  26135. chunk1.push(queue1.removeFirst$0());
  26136. chunk2 = A._setArrayType([], t1);
  26137. for (; !done.call$1(queue2);)
  26138. chunk2.push(queue2.removeFirst$0());
  26139. $label0$0: {
  26140. _0_4 = chunk1.length <= 0;
  26141. t1 = _0_4;
  26142. _0_1 = chunk1;
  26143. if (t1) {
  26144. _0_7 = chunk2.length <= 0;
  26145. t1 = _0_7;
  26146. _0_5 = chunk2;
  26147. _0_7_isSet = true;
  26148. _0_5_isSet = true;
  26149. } else {
  26150. _0_5 = _null;
  26151. _0_7 = _0_5;
  26152. _0_7_isSet = false;
  26153. _0_5_isSet = false;
  26154. t1 = false;
  26155. }
  26156. if (t1) {
  26157. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  26158. break $label0$0;
  26159. }
  26160. if (_0_4) {
  26161. if (_0_5_isSet)
  26162. chunk = _0_5;
  26163. else {
  26164. chunk = chunk2;
  26165. _0_5 = chunk;
  26166. _0_5_isSet = true;
  26167. }
  26168. t1 = true;
  26169. } else {
  26170. chunk = _null;
  26171. t1 = false;
  26172. }
  26173. if (!t1) {
  26174. chunk = _0_1;
  26175. if (_0_7_isSet)
  26176. t1 = _0_7;
  26177. else {
  26178. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  26179. t1 = _0_7;
  26180. }
  26181. } else
  26182. t1 = true;
  26183. if (t1) {
  26184. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  26185. break $label0$0;
  26186. }
  26187. t1 = A.List_List$of(chunk1, true, $T);
  26188. B.JSArray_methods.addAll$1(t1, chunk2);
  26189. t2 = A.List_List$of(chunk2, true, $T);
  26190. B.JSArray_methods.addAll$1(t2, chunk1);
  26191. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  26192. t1 = t2;
  26193. break $label0$0;
  26194. }
  26195. return t1;
  26196. },
  26197. paths0(choices, $T) {
  26198. 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));
  26199. },
  26200. _groupSelectors0(complex) {
  26201. var t2, t3, t4,
  26202. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  26203. t1 = type$.JSArray_ComplexSelectorComponent_2,
  26204. group = A._setArrayType([], t1);
  26205. for (t2 = complex.$ti, t3 = new A.ListIterator(complex, complex.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t3.moveNext$0();) {
  26206. t4 = t3.__internal$_current;
  26207. if (t4 == null)
  26208. t4 = t2._as(t4);
  26209. group.push(t4);
  26210. if (t4.combinators.length === 0) {
  26211. groups._queue_list$_add$1(group);
  26212. group = A._setArrayType([], t1);
  26213. }
  26214. }
  26215. if (group.length !== 0)
  26216. groups._queue_list$_add$1(group);
  26217. return groups;
  26218. },
  26219. listIsSuperselector0(list1, list2) {
  26220. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  26221. },
  26222. _complexIsParentSuperselector0(complex1, complex2) {
  26223. var t1, base, t2;
  26224. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  26225. return false;
  26226. t1 = $.$get$bogusSpan0();
  26227. 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);
  26228. t1 = type$.ComplexSelectorComponent_2;
  26229. t2 = A.List_List$of(complex1, true, t1);
  26230. t2.push(base);
  26231. t1 = A.List_List$of(complex2, true, t1);
  26232. t1.push(base);
  26233. return A.complexIsSuperselector0(t2, t1);
  26234. },
  26235. complexIsSuperselector0(complex1, complex2) {
  26236. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  26237. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  26238. return false;
  26239. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  26240. return false;
  26241. 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) {
  26242. remaining1 = complex1.length - i1;
  26243. t4 = complex2.length;
  26244. remaining2 = t4 - i2;
  26245. if (remaining1 === 0 || remaining2 === 0)
  26246. return false;
  26247. if (remaining1 > remaining2)
  26248. return false;
  26249. component1 = complex1[i1];
  26250. t5 = component1.combinators;
  26251. if (t5.length > 1)
  26252. return false;
  26253. if (remaining1 === 1) {
  26254. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  26255. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  26256. return false;
  26257. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  26258. }
  26259. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  26260. component2 = complex2[endOfSubselector];
  26261. if (component2.combinators.length > 1)
  26262. return false;
  26263. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  26264. break;
  26265. ++endOfSubselector;
  26266. if (endOfSubselector === complex2.length - 1)
  26267. return false;
  26268. if (parents == null)
  26269. parents = A._setArrayType([], t1);
  26270. parents.push(component2);
  26271. }
  26272. if (!A._compatibleWithPreviousCombinator0(previousCombinator, parents == null ? B.List_empty13 : parents))
  26273. return false;
  26274. component2 = complex2[endOfSubselector];
  26275. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  26276. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  26277. return false;
  26278. ++i1;
  26279. i2 = endOfSubselector + 1;
  26280. if (complex1.length - i1 === 1) {
  26281. t4 = combinator1 == null;
  26282. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt0)) {
  26283. t4 = complex2.length - 1;
  26284. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  26285. t5.SubListIterable$3(complex2, 0, t4, t3);
  26286. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  26287. return false;
  26288. } else if (!t4)
  26289. if (complex2.length - i2 > 1)
  26290. return false;
  26291. }
  26292. }
  26293. },
  26294. _compatibleWithPreviousCombinator0(previous, parents) {
  26295. if (parents.length === 0)
  26296. return true;
  26297. if (previous == null)
  26298. return true;
  26299. if (previous.value !== B.Combinator_Htt0)
  26300. return false;
  26301. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure0());
  26302. },
  26303. _isSupercombinator0(combinator1, combinator2) {
  26304. var t1, t2;
  26305. if (!J.$eq$(combinator1, combinator2)) {
  26306. t1 = combinator1 == null;
  26307. if (t1)
  26308. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht0);
  26309. else
  26310. t2 = false;
  26311. if (!t2)
  26312. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt0))
  26313. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF0);
  26314. else
  26315. t1 = false;
  26316. else
  26317. t1 = true;
  26318. } else
  26319. t1 = true;
  26320. return t1;
  26321. },
  26322. compoundIsSuperselector0(compound1, compound2, parents) {
  26323. var pseudo1, index1, pseudo2, index2, _0_50, _0_5_isSet, t2, t3, t4, t5, _i, simple1, _null = null,
  26324. _0_1 = A._findPseudoElementIndexed0(compound1),
  26325. _0_5 = A._findPseudoElementIndexed0(compound2),
  26326. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  26327. if (t1._is(_0_1)) {
  26328. pseudo1 = (_0_1 == null ? t1._as(_0_1) : _0_1)._0;
  26329. index1 = (_0_1 == null ? t1._as(_0_1) : _0_1)._1;
  26330. if (t1._is(_0_5)) {
  26331. pseudo2 = (_0_5 == null ? t1._as(_0_5) : _0_5)._0;
  26332. index2 = (_0_5 == null ? t1._as(_0_5) : _0_5)._1;
  26333. _0_50 = _0_5;
  26334. t1 = true;
  26335. } else {
  26336. index2 = _null;
  26337. pseudo2 = index2;
  26338. _0_50 = _0_5;
  26339. t1 = false;
  26340. }
  26341. _0_5_isSet = true;
  26342. } else {
  26343. index2 = _null;
  26344. pseudo2 = index2;
  26345. index1 = pseudo2;
  26346. pseudo1 = index1;
  26347. _0_50 = pseudo1;
  26348. _0_5_isSet = false;
  26349. t1 = false;
  26350. }
  26351. if (t1) {
  26352. if (pseudo1.isSuperselector$1(pseudo2)) {
  26353. t1 = compound1.components;
  26354. t2 = type$.int;
  26355. t3 = A._arrayInstanceType(t1)._precomputed1;
  26356. t4 = compound2.components;
  26357. t5 = A._arrayInstanceType(t4)._precomputed1;
  26358. 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);
  26359. } else
  26360. t1 = false;
  26361. return t1;
  26362. }
  26363. if (!(_0_1 != null && true))
  26364. t1 = (_0_5_isSet ? _0_50 : _0_5) != null && true;
  26365. else
  26366. t1 = true;
  26367. if (t1)
  26368. return false;
  26369. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  26370. simple1 = t1[_i];
  26371. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null && true) {
  26372. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  26373. return false;
  26374. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  26375. return false;
  26376. }
  26377. return true;
  26378. },
  26379. _findPseudoElementIndexed0(compound) {
  26380. var t1, t2, i, simple;
  26381. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  26382. simple = t1[i];
  26383. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  26384. return new A._Record_2(simple, i);
  26385. }
  26386. return null;
  26387. },
  26388. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  26389. var t1;
  26390. if (compound1.get$length(0) === 0)
  26391. return true;
  26392. if (compound2.get$length(0) === 0)
  26393. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  26394. t1 = $.$get$bogusSpan0();
  26395. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  26396. },
  26397. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  26398. var selector1 = pseudo1.selector;
  26399. if (selector1 == null)
  26400. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  26401. switch (pseudo1.normalizedName) {
  26402. case "is":
  26403. case "matches":
  26404. case "any":
  26405. case "where":
  26406. 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));
  26407. case "has":
  26408. case "host":
  26409. case "host-context":
  26410. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  26411. case "slotted":
  26412. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  26413. case "not":
  26414. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  26415. case "current":
  26416. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  26417. case "nth-child":
  26418. case "nth-last-child":
  26419. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  26420. default:
  26421. throw A.wrapException("unreachable");
  26422. }
  26423. },
  26424. _selectorPseudoArgs0(compound, $name, isClass) {
  26425. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  26426. 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);
  26427. },
  26428. unifyComplex_closure0: function unifyComplex_closure0() {
  26429. },
  26430. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  26431. this.span = t0;
  26432. },
  26433. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  26434. this.group = t0;
  26435. },
  26436. _weaveParents_closure5: function _weaveParents_closure5() {
  26437. },
  26438. _weaveParents_closure6: function _weaveParents_closure6() {
  26439. },
  26440. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  26441. this.uniqueSelectors = t0;
  26442. },
  26443. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  26444. this.uniqueSelectors = t0;
  26445. },
  26446. paths_closure0: function paths_closure0(t0) {
  26447. this.T = t0;
  26448. },
  26449. paths__closure0: function paths__closure0(t0, t1) {
  26450. this.paths = t0;
  26451. this.T = t1;
  26452. },
  26453. paths___closure0: function paths___closure0(t0, t1) {
  26454. this.option = t0;
  26455. this.T = t1;
  26456. },
  26457. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  26458. this.list1 = t0;
  26459. },
  26460. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  26461. this.complex1 = t0;
  26462. },
  26463. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  26464. },
  26465. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  26466. this.combinator1 = t0;
  26467. },
  26468. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  26469. },
  26470. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  26471. this.selector1 = t0;
  26472. },
  26473. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  26474. this.parents = t0;
  26475. this.compound2 = t1;
  26476. },
  26477. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  26478. this.selector1 = t0;
  26479. },
  26480. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  26481. this.selector1 = t0;
  26482. },
  26483. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  26484. this.compound2 = t0;
  26485. this.pseudo1 = t1;
  26486. },
  26487. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  26488. this.complex = t0;
  26489. this.pseudo1 = t1;
  26490. },
  26491. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  26492. this.simple2 = t0;
  26493. },
  26494. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  26495. this.simple2 = t0;
  26496. },
  26497. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  26498. this.selector1 = t0;
  26499. },
  26500. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  26501. this.pseudo1 = t0;
  26502. this.selector1 = t1;
  26503. },
  26504. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  26505. this.isClass = t0;
  26506. this.name = t1;
  26507. },
  26508. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  26509. },
  26510. globalFunctions_closure0: function globalFunctions_closure0() {
  26511. },
  26512. IDSelector0: function IDSelector0(t0, t1) {
  26513. this.name = t0;
  26514. this.span = t1;
  26515. },
  26516. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  26517. this.$this = t0;
  26518. },
  26519. IfExpression0: function IfExpression0(t0, t1) {
  26520. this.$arguments = t0;
  26521. this.span = t1;
  26522. },
  26523. IfClause$0(expression, children) {
  26524. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26525. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26526. },
  26527. ElseClause$0(children) {
  26528. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26529. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26530. },
  26531. IfRule0: function IfRule0(t0, t1, t2) {
  26532. this.clauses = t0;
  26533. this.lastClause = t1;
  26534. this.span = t2;
  26535. },
  26536. IfRule_toString_closure0: function IfRule_toString_closure0() {
  26537. },
  26538. IfRuleClause0: function IfRuleClause0() {
  26539. },
  26540. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  26541. },
  26542. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  26543. },
  26544. IfClause0: function IfClause0(t0, t1, t2) {
  26545. this.expression = t0;
  26546. this.children = t1;
  26547. this.hasDeclarations = t2;
  26548. },
  26549. ElseClause0: function ElseClause0(t0, t1) {
  26550. this.children = t0;
  26551. this.hasDeclarations = t1;
  26552. },
  26553. jsToDartList(list) {
  26554. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  26555. },
  26556. dartMapToImmutableMap(dartMap) {
  26557. var t1, t2,
  26558. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  26559. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  26560. t2 = t1.get$current(t1);
  26561. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  26562. }
  26563. return J.asImmutable$0$x(immutableMap);
  26564. },
  26565. immutableMapToDartMap(immutableMap) {
  26566. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  26567. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  26568. return dartMap;
  26569. },
  26570. ImmutableList0: function ImmutableList0() {
  26571. },
  26572. ImmutableMap0: function ImmutableMap0() {
  26573. },
  26574. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  26575. this.dartMap = t0;
  26576. },
  26577. NodeImporter__addSassPath(includePaths) {
  26578. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  26579. },
  26580. NodeImporter__addSassPath$body($async$includePaths) {
  26581. return function() {
  26582. var includePaths = $async$includePaths;
  26583. var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath, t1;
  26584. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  26585. if ($async$errorCode === 1) {
  26586. $async$currentError = $async$result;
  26587. $async$goto = $async$handler;
  26588. }
  26589. while (true)
  26590. switch ($async$goto) {
  26591. case 0:
  26592. // Function start
  26593. $async$goto = 3;
  26594. return $async$iterator._yieldStar$1(includePaths);
  26595. case 3:
  26596. // after yield
  26597. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26598. if (sassPath == null) {
  26599. // goto return
  26600. $async$goto = 1;
  26601. break;
  26602. }
  26603. t1 = A.isNodeJs() ? self.process : null;
  26604. $async$goto = 4;
  26605. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  26606. case 4:
  26607. // after yield
  26608. case 1:
  26609. // return
  26610. return 0;
  26611. case 2:
  26612. // rethrow
  26613. return $async$iterator._datum = $async$currentError, 3;
  26614. }
  26615. };
  26616. };
  26617. },
  26618. NodeImporter: function NodeImporter(t0, t1, t2) {
  26619. this._implementation$_options = t0;
  26620. this._includePaths = t1;
  26621. this._implementation$_importers = t2;
  26622. },
  26623. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  26624. var _ = this;
  26625. _.$this = t0;
  26626. _.importer = t1;
  26627. _.forImport = t2;
  26628. _.url = t3;
  26629. _.previousString = t4;
  26630. },
  26631. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  26632. this.path = t0;
  26633. },
  26634. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  26635. },
  26636. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  26637. var _ = this;
  26638. _.$this = t0;
  26639. _.importer = t1;
  26640. _.forImport = t2;
  26641. _.url = t3;
  26642. _.previousString = t4;
  26643. _.completer = t5;
  26644. },
  26645. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  26646. var _ = this;
  26647. _.url = t0;
  26648. _.modifiers = t1;
  26649. _.span = t2;
  26650. _._node$_indexInParent = _._node$_parent = null;
  26651. _.isGroupEnd = false;
  26652. },
  26653. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  26654. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26655. t2 = type$.Uri,
  26656. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  26657. 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));
  26658. },
  26659. ImportCache$none(logger) {
  26660. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26661. t2 = type$.Uri;
  26662. 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));
  26663. },
  26664. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  26665. var t1, t2, t3, t4, _i, path, _null = null,
  26666. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26667. if (A.isBrowser()) {
  26668. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26669. if (importers != null)
  26670. B.JSArray_methods.addAll$1(t1, importers);
  26671. return t1;
  26672. }
  26673. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26674. if (importers != null)
  26675. B.JSArray_methods.addAll$1(t1, importers);
  26676. if (loadPaths != null)
  26677. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  26678. t3 = t2.get$current(t2);
  26679. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  26680. }
  26681. if (sassPath != null) {
  26682. t2 = A.isNodeJs() ? self.process : _null;
  26683. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  26684. t4 = t3.length;
  26685. _i = 0;
  26686. for (; _i < t4; ++_i) {
  26687. path = t3[_i];
  26688. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  26689. }
  26690. }
  26691. return t1;
  26692. },
  26693. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  26694. var _ = this;
  26695. _._import_cache$_importers = t0;
  26696. _._import_cache$_logger = t1;
  26697. _._import_cache$_canonicalizeCache = t2;
  26698. _._import_cache$_relativeCanonicalizeCache = t3;
  26699. _._import_cache$_importCache = t4;
  26700. _._import_cache$_resultsCache = t5;
  26701. },
  26702. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  26703. var _ = this;
  26704. _.$this = t0;
  26705. _.baseImporter = t1;
  26706. _.baseUrl = t2;
  26707. _.url = t3;
  26708. _.forImport = t4;
  26709. },
  26710. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2, t3) {
  26711. var _ = this;
  26712. _.$this = t0;
  26713. _.url = t1;
  26714. _.baseUrl = t2;
  26715. _.forImport = t3;
  26716. },
  26717. ImportCache__canonicalize_closure1: function ImportCache__canonicalize_closure1(t0, t1) {
  26718. this.importer = t0;
  26719. this.resolved = t1;
  26720. },
  26721. ImportCache__canonicalize__closure0: function ImportCache__canonicalize__closure0(t0, t1) {
  26722. this.importer = t0;
  26723. this.resolved = t1;
  26724. },
  26725. ImportCache__canonicalize_closure2: function ImportCache__canonicalize_closure2(t0, t1) {
  26726. this.importer = t0;
  26727. this.resolved = t1;
  26728. },
  26729. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  26730. var _ = this;
  26731. _.$this = t0;
  26732. _.importer = t1;
  26733. _.canonicalUrl = t2;
  26734. _.originalUrl = t3;
  26735. _.quiet = t4;
  26736. },
  26737. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  26738. this.canonicalUrl = t0;
  26739. },
  26740. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  26741. },
  26742. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  26743. },
  26744. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  26745. this.canonicalUrl = t0;
  26746. },
  26747. ImportRule0: function ImportRule0(t0, t1) {
  26748. this.imports = t0;
  26749. this.span = t1;
  26750. },
  26751. JSImporter: function JSImporter() {
  26752. },
  26753. CanonicalizeContext: function CanonicalizeContext() {
  26754. },
  26755. JSImporterResult: function JSImporterResult() {
  26756. },
  26757. Importer0: function Importer0() {
  26758. },
  26759. NodeImporterResult0: function NodeImporterResult0() {
  26760. },
  26761. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  26762. var _ = this;
  26763. _.namespace = t0;
  26764. _.name = t1;
  26765. _.$arguments = t2;
  26766. _.content = t3;
  26767. _.span = t4;
  26768. },
  26769. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  26770. this.name = t0;
  26771. this.$arguments = t1;
  26772. this.span = t2;
  26773. },
  26774. Interpolation$0(contents, span) {
  26775. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  26776. t1.Interpolation$20(contents, span);
  26777. return t1;
  26778. },
  26779. Interpolation0: function Interpolation0(t0, t1) {
  26780. this.contents = t0;
  26781. this.span = t1;
  26782. },
  26783. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  26784. },
  26785. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  26786. this.expression = t0;
  26787. this.span = t1;
  26788. },
  26789. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  26790. this._interpolation_buffer0$_text = t0;
  26791. this._interpolation_buffer0$_contents = t1;
  26792. },
  26793. InterpolationMap$0(_interpolation, targetLocations) {
  26794. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  26795. t2 = _interpolation.contents.length,
  26796. expectedLocations = Math.max(0, t2 - 1);
  26797. if (t1.length !== expectedLocations)
  26798. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  26799. return new A.InterpolationMap0(_interpolation, t1);
  26800. },
  26801. InterpolationMap0: function InterpolationMap0(t0, t1) {
  26802. this._interpolation_map$_interpolation = t0;
  26803. this._interpolation_map$_targetLocations = t1;
  26804. },
  26805. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  26806. },
  26807. _realCasePath0(path) {
  26808. var prefix, _null = null,
  26809. t1 = A.isNodeJs() ? self.process : _null;
  26810. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26811. t1 = A.isNodeJs() ? self.process : _null;
  26812. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  26813. } else
  26814. t1 = true;
  26815. if (!t1)
  26816. return path;
  26817. t1 = A.isNodeJs() ? self.process : _null;
  26818. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26819. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  26820. t1 = prefix.length;
  26821. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  26822. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  26823. }
  26824. return new A._realCasePath_helper0().call$1(path);
  26825. },
  26826. _realCasePath_helper0: function _realCasePath_helper0() {
  26827. },
  26828. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  26829. this.helper = t0;
  26830. this.dirname = t1;
  26831. this.path = t2;
  26832. },
  26833. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  26834. this.basename = t0;
  26835. },
  26836. printError0(message) {
  26837. var t1 = A.isNodeJs() ? self.process : null;
  26838. if (t1 != null) {
  26839. t1 = J.get$stderr$x(t1);
  26840. J.write$1$x(t1, A.S(message) + "\n");
  26841. } else {
  26842. t1 = self.console;
  26843. J.error$1$x(t1, message);
  26844. }
  26845. },
  26846. readFile0(path) {
  26847. var contents, sourceFile, t1, i;
  26848. if (!A.isNodeJs())
  26849. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  26850. contents = A._asString(A._readFile0(path, "utf8"));
  26851. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  26852. return contents;
  26853. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  26854. for (t1 = contents.length, i = 0; i < t1; ++i) {
  26855. if (contents.charCodeAt(i) !== 65533)
  26856. continue;
  26857. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  26858. }
  26859. return contents;
  26860. },
  26861. _readFile0(path, encoding) {
  26862. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  26863. },
  26864. fileExists0(path) {
  26865. if (!A.isNodeJs())
  26866. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  26867. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  26868. },
  26869. dirExists0(path) {
  26870. if (!A.isNodeJs())
  26871. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  26872. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  26873. },
  26874. listDir0(path) {
  26875. if (!A.isNodeJs())
  26876. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  26877. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  26878. },
  26879. getEnvironmentVariable0($name) {
  26880. var t1 = A.isNodeJs() ? self.process : null,
  26881. env = t1 == null ? null : J.get$env$x(t1);
  26882. if (env == null)
  26883. t1 = null;
  26884. else
  26885. t1 = A._asStringQ(env[$name]);
  26886. return t1;
  26887. },
  26888. _systemErrorToFileSystemException0(callback) {
  26889. var error, t1, exception, t2;
  26890. try {
  26891. t1 = callback.call$0();
  26892. return t1;
  26893. } catch (exception) {
  26894. error = A.unwrapException(exception);
  26895. if (!type$.JsSystemError._is(error))
  26896. throw exception;
  26897. t1 = error;
  26898. t2 = J.getInterceptor$x(t1);
  26899. 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)));
  26900. }
  26901. },
  26902. hasTerminal0() {
  26903. var t1 = A.isNodeJs() ? self.process : null;
  26904. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  26905. },
  26906. FileSystemException0: function FileSystemException0(t0, t1) {
  26907. this.message = t0;
  26908. this.path = t1;
  26909. },
  26910. _readFile_closure0: function _readFile_closure0(t0, t1) {
  26911. this.path = t0;
  26912. this.encoding = t1;
  26913. },
  26914. fileExists_closure0: function fileExists_closure0(t0) {
  26915. this.path = t0;
  26916. },
  26917. dirExists_closure0: function dirExists_closure0(t0) {
  26918. this.path = t0;
  26919. },
  26920. listDir_closure0: function listDir_closure0(t0, t1) {
  26921. this.recursive = t0;
  26922. this.path = t1;
  26923. },
  26924. listDir__closure1: function listDir__closure1(t0) {
  26925. this.path = t0;
  26926. },
  26927. listDir__closure2: function listDir__closure2() {
  26928. },
  26929. listDir_closure_list0: function listDir_closure_list0() {
  26930. },
  26931. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  26932. this.parent = t0;
  26933. this.list = t1;
  26934. },
  26935. main() {
  26936. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  26937. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  26938. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  26939. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  26940. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  26941. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  26942. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  26943. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  26944. J.set$Value$x(self.exports, $.$get$valueClass());
  26945. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  26946. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  26947. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  26948. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  26949. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  26950. J.set$SassColor$x(self.exports, $.$get$colorClass());
  26951. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  26952. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  26953. J.set$SassList$x(self.exports, $.$get$listClass());
  26954. J.set$SassMap$x(self.exports, $.$get$mapClass());
  26955. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  26956. J.set$SassString$x(self.exports, $.$get$stringClass());
  26957. J.set$sassNull$x(self.exports, B.C__SassNull0);
  26958. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  26959. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  26960. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  26961. 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())}});
  26962. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  26963. J.set$info$x(self.exports, "dart-sass\t1.71.1\t(Sass Compiler)\t[Dart]\ndart2js\t3.3.0\t(Dart Compiler)\t[Dart]");
  26964. A.updateSourceSpanPrototype();
  26965. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  26966. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  26967. 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});
  26968. J.set$NULL$x(self.exports, B.C__SassNull0);
  26969. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  26970. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  26971. },
  26972. main_closure: function main_closure() {
  26973. },
  26974. main_closure0: function main_closure0() {
  26975. },
  26976. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  26977. this._node = t0;
  26978. this._fallback = t1;
  26979. this._ascii = t2;
  26980. },
  26981. JSToDartLogger_warn_closure: function JSToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  26982. var _ = this;
  26983. _.$this = t0;
  26984. _.message = t1;
  26985. _.span = t2;
  26986. _.trace = t3;
  26987. _.deprecation = t4;
  26988. },
  26989. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  26990. this.$this = t0;
  26991. this.message = t1;
  26992. this.span = t2;
  26993. },
  26994. ModifiableCssKeyframeBlock$0(selector, span) {
  26995. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  26996. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  26997. },
  26998. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  26999. var _ = this;
  27000. _.selector = t0;
  27001. _.span = t1;
  27002. _.children = t2;
  27003. _._node$_children = t3;
  27004. _._node$_indexInParent = _._node$_parent = null;
  27005. _.isGroupEnd = false;
  27006. },
  27007. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  27008. var t1 = A.SpanScanner$(contents, null);
  27009. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  27010. },
  27011. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  27012. this.scanner = t0;
  27013. this.logger = t1;
  27014. this._parser0$_interpolationMap = t2;
  27015. },
  27016. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  27017. this.$this = t0;
  27018. },
  27019. LazyFileSpan0: function LazyFileSpan0(t0) {
  27020. this._lazy_file_span0$_builder = t0;
  27021. this._lazy_file_span0$_span = null;
  27022. },
  27023. render(options, callback) {
  27024. var _0_0;
  27025. if (!A.isNodeJs())
  27026. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  27027. _0_0 = J.get$fiber$x(options);
  27028. if (_0_0 != null)
  27029. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  27030. else
  27031. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  27032. },
  27033. _renderAsync(options) {
  27034. var $async$goto = 0,
  27035. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  27036. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, start, t1, file, _0_0;
  27037. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  27038. if ($async$errorCode === 1)
  27039. return A._asyncRethrow($async$result, $async$completer);
  27040. while (true)
  27041. switch ($async$goto) {
  27042. case 0:
  27043. // Function start
  27044. start = new A.DateTime(Date.now(), false);
  27045. t1 = J.getInterceptor$x(options);
  27046. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  27047. _0_0 = t1.get$data(options);
  27048. $async$goto = _0_0 != null ? 3 : 5;
  27049. break;
  27050. case 3:
  27051. // then
  27052. t2 = A._parseImporter(options, start);
  27053. t3 = A._parsePackageImportersAsync(options, start);
  27054. t4 = A._parseFunctions(options, start, true);
  27055. t5 = t1.get$indentedSyntax(options);
  27056. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  27057. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  27058. t7 = J.$eq$(t1.get$indentType(options), "tab");
  27059. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  27060. t9 = A._parseLineFeed(t1.get$linefeed(options));
  27061. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  27062. t11 = t1.get$quietDeps(options);
  27063. if (t11 == null)
  27064. t11 = false;
  27065. t12 = t1.get$verbose(options);
  27066. if (t12 == null)
  27067. t12 = false;
  27068. t13 = t1.get$charset(options);
  27069. if (t13 == null)
  27070. t13 = true;
  27071. t14 = A._enableSourceMaps(options);
  27072. t1 = t1.get$logger(options);
  27073. t15 = A.hasTerminal0();
  27074. t16 = $._glyphs;
  27075. $async$goto = 6;
  27076. return A._asyncAwait(A.compileStringAsync0(_0_0, t13, t4, t3, null, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t15), t16 === B.C_AsciiGlyphSet), t2, t11, t14, t6, t5, t10, !t7, t12), $async$_renderAsync);
  27077. case 6:
  27078. // returning from await.
  27079. result = $async$result;
  27080. // goto join
  27081. $async$goto = 4;
  27082. break;
  27083. case 5:
  27084. // else
  27085. $async$goto = file != null ? 7 : 9;
  27086. break;
  27087. case 7:
  27088. // then
  27089. t2 = A._parseImporter(options, start);
  27090. t3 = A._parsePackageImportersAsync(options, start);
  27091. t4 = A._parseFunctions(options, start, true);
  27092. t5 = t1.get$indentedSyntax(options);
  27093. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  27094. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  27095. t7 = J.$eq$(t1.get$indentType(options), "tab");
  27096. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  27097. t9 = A._parseLineFeed(t1.get$linefeed(options));
  27098. t10 = t1.get$quietDeps(options);
  27099. if (t10 == null)
  27100. t10 = false;
  27101. t11 = t1.get$verbose(options);
  27102. if (t11 == null)
  27103. t11 = false;
  27104. t12 = t1.get$charset(options);
  27105. if (t12 == null)
  27106. t12 = true;
  27107. t13 = A._enableSourceMaps(options);
  27108. t1 = t1.get$logger(options);
  27109. t14 = A.hasTerminal0();
  27110. t15 = $._glyphs;
  27111. $async$goto = 10;
  27112. return A._asyncAwait(A.compileAsync0(file, t12, null, t4, null, t3, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t6, t5, !t7, t11), $async$_renderAsync);
  27113. case 10:
  27114. // returning from await.
  27115. result = $async$result;
  27116. // goto join
  27117. $async$goto = 8;
  27118. break;
  27119. case 9:
  27120. // else
  27121. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  27122. case 8:
  27123. // join
  27124. case 4:
  27125. // join
  27126. $async$returnValue = A._newRenderResult(options, result, start);
  27127. // goto return
  27128. $async$goto = 1;
  27129. break;
  27130. case 1:
  27131. // return
  27132. return A._asyncReturn($async$returnValue, $async$completer);
  27133. }
  27134. });
  27135. return A._asyncStartSync($async$_renderAsync, $async$completer);
  27136. },
  27137. renderSync(options) {
  27138. 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, t17, exception, _null = null;
  27139. if (!A.isNodeJs())
  27140. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  27141. try {
  27142. start = new A.DateTime(Date.now(), false);
  27143. result = null;
  27144. t1 = J.getInterceptor$x(options);
  27145. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  27146. data = null;
  27147. _0_0 = t1.get$data(options);
  27148. if (_0_0 != null) {
  27149. data = _0_0;
  27150. t2 = data;
  27151. t3 = A._parseImporter(options, start);
  27152. t4 = A._parsePackageImporters(options, start);
  27153. t5 = A._parseFunctions(options, start, false);
  27154. t6 = t1.get$indentedSyntax(options);
  27155. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  27156. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  27157. t8 = J.$eq$(t1.get$indentType(options), "tab");
  27158. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  27159. t10 = A._parseLineFeed(t1.get$linefeed(options));
  27160. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  27161. t12 = t1.get$quietDeps(options);
  27162. if (t12 == null)
  27163. t12 = false;
  27164. t13 = t1.get$verbose(options);
  27165. if (t13 == null)
  27166. t13 = false;
  27167. t14 = t1.get$charset(options);
  27168. if (t14 == null)
  27169. t14 = true;
  27170. t15 = A._enableSourceMaps(options);
  27171. t1 = t1.get$logger(options);
  27172. t16 = A.hasTerminal0();
  27173. t17 = $._glyphs;
  27174. result = A.compileString(t2, t14, _null, new A.CastList(t5, A._arrayInstanceType(t5)._eval$1("CastList<1,Callable>")), _null, t4, _null, t9, t10, new A.JSToDartLogger(t1, new A.StderrLogger0(t16), t17 === B.C_AsciiGlyphSet), t3, t12, t15, t7, t6, t11, !t8, t13);
  27175. } else if (file != null) {
  27176. t2 = A._parseImporter(options, start);
  27177. t3 = A._parsePackageImporters(options, start);
  27178. t4 = A._parseFunctions(options, start, false);
  27179. t5 = t1.get$indentedSyntax(options);
  27180. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  27181. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  27182. t7 = J.$eq$(t1.get$indentType(options), "tab");
  27183. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  27184. t9 = A._parseLineFeed(t1.get$linefeed(options));
  27185. t10 = t1.get$quietDeps(options);
  27186. if (t10 == null)
  27187. t10 = false;
  27188. t11 = t1.get$verbose(options);
  27189. if (t11 == null)
  27190. t11 = false;
  27191. t12 = t1.get$charset(options);
  27192. if (t12 == null)
  27193. t12 = true;
  27194. t13 = A._enableSourceMaps(options);
  27195. t1 = t1.get$logger(options);
  27196. t14 = A.hasTerminal0();
  27197. t15 = $._glyphs;
  27198. result = A.compile(file, t12, _null, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), _null, t3, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t6, t5, !t7, t11);
  27199. } else {
  27200. t1 = A.ArgumentError$(string$.Either, _null);
  27201. throw A.wrapException(t1);
  27202. }
  27203. t1 = A._newRenderResult(options, result, start);
  27204. return t1;
  27205. } catch (exception) {
  27206. t1 = A.unwrapException(exception);
  27207. if (t1 instanceof A.SassException0) {
  27208. error = t1;
  27209. stackTrace = A.getTraceFromException(exception);
  27210. A.jsThrow(A._wrapException(error, stackTrace));
  27211. } else {
  27212. error0 = t1;
  27213. stackTrace0 = A.getTraceFromException(exception);
  27214. t1 = J.toString$0$(error0);
  27215. t2 = A.getTrace0(error0);
  27216. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  27217. }
  27218. }
  27219. },
  27220. _wrapException(exception, stackTrace) {
  27221. var t2, t3, t4, t5,
  27222. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  27223. _0_0 = t1.get$sourceUrl(t1);
  27224. $label0$0: {
  27225. if (_0_0 == null) {
  27226. t1 = "stdin";
  27227. break $label0$0;
  27228. }
  27229. if ("file" === _0_0.get$scheme()) {
  27230. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  27231. break $label0$0;
  27232. }
  27233. t1 = _0_0.toString$0(0);
  27234. break $label0$0;
  27235. }
  27236. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  27237. t3 = A.getTrace0(exception);
  27238. if (t3 == null)
  27239. t3 = stackTrace;
  27240. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  27241. t4 = t4.get$start(t4);
  27242. t4 = t4.file.getLine$1(t4.offset);
  27243. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  27244. t5 = t5.get$start(t5);
  27245. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  27246. },
  27247. _parseFunctions(options, start, asynch) {
  27248. var result,
  27249. functions = J.get$functions$x(options);
  27250. if (functions == null)
  27251. return B.List_empty24;
  27252. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  27253. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  27254. return result;
  27255. },
  27256. _parseImporter(options, start) {
  27257. var t2, t3, contextOptions, _1_0, importers, _box_0 = {},
  27258. t1 = J.getInterceptor$x(options),
  27259. _0_0 = t1.get$importer(options);
  27260. $label0$0: {
  27261. if (_0_0 == null) {
  27262. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  27263. break $label0$0;
  27264. }
  27265. if (type$.List_nullable_Object._is(_0_0)) {
  27266. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  27267. break $label0$0;
  27268. }
  27269. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  27270. break $label0$0;
  27271. }
  27272. t3 = J.getInterceptor$asx(t2);
  27273. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  27274. _box_0.fiber = null;
  27275. _1_0 = t1.get$fiber(options);
  27276. if (_1_0 != null) {
  27277. _box_0.fiber = _1_0;
  27278. t2 = t3.map$1$1(t2, new A._parseImporter_closure(_box_0), type$.JSFunction);
  27279. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  27280. } else
  27281. importers = t2;
  27282. t1 = t1.get$includePaths(options);
  27283. if (t1 == null)
  27284. t1 = [];
  27285. t2 = type$.String;
  27286. 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));
  27287. },
  27288. _parsePackageImportersAsync(options, start) {
  27289. var t2, t3,
  27290. t1 = J.getInterceptor$x(options);
  27291. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  27292. t1 = t1.get$pkgImporter(options);
  27293. t1.toString;
  27294. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  27295. t3 = type$.Uri;
  27296. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_AsyncImporter), type$.AsyncImporter);
  27297. return new A.AsyncImportCache0(t1, B.StderrLogger_false0, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  27298. }
  27299. return null;
  27300. },
  27301. _parsePackageImporters(options, start) {
  27302. var t2, t3,
  27303. t1 = J.getInterceptor$x(options);
  27304. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  27305. t1 = t1.get$pkgImporter(options);
  27306. t1.toString;
  27307. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  27308. t3 = type$.Uri;
  27309. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_Importer_2), type$.Importer);
  27310. return new A.ImportCache0(t1, B.StderrLogger_false0, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  27311. }
  27312. return null;
  27313. },
  27314. _contextOptions(options, start) {
  27315. var includePaths, t3, t4, t5, t6, t7,
  27316. t1 = J.getInterceptor$x(options),
  27317. t2 = t1.get$includePaths(options);
  27318. if (t2 == null)
  27319. t2 = [];
  27320. includePaths = A.List_List$from(t2, true, type$.String);
  27321. t2 = t1.get$file(options);
  27322. t3 = t1.get$data(options);
  27323. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  27324. B.JSArray_methods.addAll$1(t4, includePaths);
  27325. t5 = A.isNodeJs() ? self.process : null;
  27326. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  27327. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  27328. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  27329. if (t6 == null)
  27330. t6 = 2;
  27331. t7 = A._parseLineFeed(t1.get$linefeed(options));
  27332. t1 = t1.get$file(options);
  27333. if (t1 == null)
  27334. t1 = "data";
  27335. 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}}};
  27336. },
  27337. _parseOutputStyle(style) {
  27338. var t1;
  27339. $label0$0: {
  27340. if (style == null || "expanded" === style) {
  27341. t1 = B.OutputStyle_00;
  27342. break $label0$0;
  27343. }
  27344. if ("compressed" === style) {
  27345. t1 = B.OutputStyle_10;
  27346. break $label0$0;
  27347. }
  27348. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  27349. }
  27350. return t1;
  27351. },
  27352. _parseIndentWidth(width) {
  27353. var t1;
  27354. $label0$0: {
  27355. if (width == null) {
  27356. t1 = null;
  27357. break $label0$0;
  27358. }
  27359. if (A._isInt(width)) {
  27360. t1 = width;
  27361. break $label0$0;
  27362. }
  27363. t1 = A.int_parse(J.toString$0$(width), null);
  27364. break $label0$0;
  27365. }
  27366. return t1;
  27367. },
  27368. _parseLineFeed(str) {
  27369. var t1;
  27370. $label0$0: {
  27371. if ("cr" === str) {
  27372. t1 = B.LineFeed_oyU;
  27373. break $label0$0;
  27374. }
  27375. if ("crlf" === str) {
  27376. t1 = B.LineFeed_gg4;
  27377. break $label0$0;
  27378. }
  27379. if ("lfcr" === str) {
  27380. t1 = B.LineFeed_t2a;
  27381. break $label0$0;
  27382. }
  27383. t1 = B.LineFeed_SsD;
  27384. break $label0$0;
  27385. }
  27386. return t1;
  27387. },
  27388. _newRenderResult(options, result, start) {
  27389. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, _0_0, t5, sourceMapDirUrl, i, source, t6, buffer, indices, url, t7, t8, _null = null,
  27390. t1 = Date.now(),
  27391. t2 = result._compile_result$_serialize,
  27392. css = t2._0,
  27393. sourceMapBytes = type$.Null._as(self.undefined);
  27394. if (A._enableSourceMaps(options)) {
  27395. t3 = J.getInterceptor$x(options);
  27396. sourceMapOption = t3.get$sourceMap(options);
  27397. if (typeof sourceMapOption == "string")
  27398. sourceMapPath = sourceMapOption;
  27399. else {
  27400. t4 = t3.get$outFile(options);
  27401. t4.toString;
  27402. sourceMapPath = J.$add$ansx(t4, ".map");
  27403. }
  27404. t4 = $.$get$context();
  27405. sourceMapDir = t4.dirname$1(sourceMapPath);
  27406. t2 = t2._1;
  27407. t2.toString;
  27408. t2.sourceRoot = t3.get$sourceMapRoot(options);
  27409. outFile = t3.get$outFile(options);
  27410. if (outFile == null) {
  27411. _0_0 = t3.get$file(options);
  27412. $label0$0: {
  27413. if (_0_0 != null) {
  27414. t5 = t4.toUri$1(t4.withoutExtension$1(_0_0) + ".css").toString$0(0);
  27415. break $label0$0;
  27416. }
  27417. t5 = t2.targetUrl = "stdin.css";
  27418. break $label0$0;
  27419. }
  27420. t2.targetUrl = t5;
  27421. } else
  27422. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  27423. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  27424. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  27425. source = t4[i];
  27426. if (source === "stdin")
  27427. continue;
  27428. t5 = $.$get$url();
  27429. t6 = t5.style;
  27430. if (t6.rootLength$1(source) <= 0 || t6.isRootRelative$1(source))
  27431. continue;
  27432. t4[i] = t5.relative$2$from(source, sourceMapDirUrl);
  27433. }
  27434. t4 = t3.get$sourceMapContents(options);
  27435. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  27436. t2 = t3.get$omitSourceMapUrl(options);
  27437. if (!(!J.$eq$(t2, false) && t2 != null)) {
  27438. t2 = t3.get$sourceMapEmbed(options);
  27439. if (!J.$eq$(t2, false) && t2 != null) {
  27440. buffer = new A.StringBuffer("");
  27441. indices = A._setArrayType([-1], type$.JSArray_int);
  27442. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  27443. indices.push(buffer._contents.length);
  27444. t2 = buffer._contents += ";base64,";
  27445. indices.push(t2.length - 1);
  27446. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  27447. t3 = sourceMapBytes.length;
  27448. A.RangeError_checkValidRange(0, t3, t3);
  27449. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  27450. t2 = buffer._contents;
  27451. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  27452. } else {
  27453. if (outFile == null)
  27454. t2 = sourceMapPath;
  27455. else {
  27456. t2 = $.$get$context();
  27457. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  27458. }
  27459. url = $.$get$context().toUri$1(t2);
  27460. }
  27461. t2 = url.toString$0(0);
  27462. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  27463. }
  27464. }
  27465. t2 = self.Buffer.from(css, "utf8");
  27466. t3 = J.get$file$x(options);
  27467. if (t3 == null)
  27468. t3 = "data";
  27469. t4 = start._core$_value;
  27470. t1 = new A.DateTime(t1, false)._core$_value;
  27471. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  27472. t6 = A._setArrayType([], type$.JSArray_String);
  27473. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  27474. t8 = t7.get$current(t7);
  27475. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  27476. }
  27477. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  27478. },
  27479. _enableSourceMaps(options) {
  27480. var t2,
  27481. t1 = J.getInterceptor$x(options);
  27482. if (typeof t1.get$sourceMap(options) != "string") {
  27483. t2 = t1.get$sourceMap(options);
  27484. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  27485. } else
  27486. t1 = true;
  27487. return t1;
  27488. },
  27489. _newRenderError(message, stackTrace, column, file, line, $status) {
  27490. var error = new self.Error(message);
  27491. error.formatted = "Error: " + message;
  27492. if (line != null)
  27493. error.line = line;
  27494. if (column != null)
  27495. error.column = column;
  27496. if (file != null)
  27497. error.file = file;
  27498. error.status = $status;
  27499. A.attachJsStack(error, stackTrace);
  27500. return error;
  27501. },
  27502. render_closure: function render_closure(t0, t1) {
  27503. this.callback = t0;
  27504. this.options = t1;
  27505. },
  27506. render_closure0: function render_closure0(t0) {
  27507. this.callback = t0;
  27508. },
  27509. render_closure1: function render_closure1(t0) {
  27510. this.callback = t0;
  27511. },
  27512. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  27513. var _ = this;
  27514. _.options = t0;
  27515. _.start = t1;
  27516. _.result = t2;
  27517. _.asynch = t3;
  27518. },
  27519. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  27520. this._box_0 = t0;
  27521. this.callback = t1;
  27522. this.context = t2;
  27523. },
  27524. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  27525. this.currentFiber = t0;
  27526. },
  27527. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  27528. this.currentFiber = t0;
  27529. this.result = t1;
  27530. },
  27531. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  27532. this.callback = t0;
  27533. this.context = t1;
  27534. this.jsArguments = t2;
  27535. },
  27536. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  27537. this._box_0 = t0;
  27538. },
  27539. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  27540. this.callback = t0;
  27541. this.context = t1;
  27542. },
  27543. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  27544. this.callback = t0;
  27545. this.context = t1;
  27546. this.$arguments = t2;
  27547. },
  27548. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  27549. this.callback = t0;
  27550. this.context = t1;
  27551. },
  27552. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  27553. this.completer = t0;
  27554. },
  27555. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  27556. this.callback = t0;
  27557. this.context = t1;
  27558. this.jsArguments = t2;
  27559. },
  27560. _parseImporter_closure: function _parseImporter_closure(t0) {
  27561. this._box_0 = t0;
  27562. },
  27563. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  27564. this._box_0 = t0;
  27565. this.importer = t1;
  27566. },
  27567. _parseImporter___closure: function _parseImporter___closure(t0) {
  27568. this.currentFiber = t0;
  27569. },
  27570. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  27571. this.currentFiber = t0;
  27572. this.result = t1;
  27573. },
  27574. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  27575. this._box_0 = t0;
  27576. },
  27577. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  27578. var t2, key,
  27579. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  27580. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  27581. key = t2.get$current(t2);
  27582. if (!blocklist.contains$1(0, key))
  27583. t1.add$1(0, key);
  27584. }
  27585. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  27586. },
  27587. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  27588. this._limited_map_view0$_map = t0;
  27589. this._limited_map_view0$_keys = t1;
  27590. this.$ti = t2;
  27591. },
  27592. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  27593. var _ = this;
  27594. _.contents = t0;
  27595. _.separator = t1;
  27596. _.hasBrackets = t2;
  27597. _.span = t3;
  27598. },
  27599. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  27600. this.$this = t0;
  27601. },
  27602. _function10($name, $arguments, callback) {
  27603. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  27604. },
  27605. _length_closure2: function _length_closure2() {
  27606. },
  27607. _nth_closure0: function _nth_closure0() {
  27608. },
  27609. _setNth_closure0: function _setNth_closure0() {
  27610. },
  27611. _join_closure0: function _join_closure0() {
  27612. },
  27613. _append_closure2: function _append_closure2() {
  27614. },
  27615. _zip_closure0: function _zip_closure0() {
  27616. },
  27617. _zip__closure2: function _zip__closure2() {
  27618. },
  27619. _zip__closure3: function _zip__closure3(t0) {
  27620. this._box_0 = t0;
  27621. },
  27622. _zip__closure4: function _zip__closure4(t0) {
  27623. this._box_0 = t0;
  27624. },
  27625. _index_closure2: function _index_closure2() {
  27626. },
  27627. _separator_closure0: function _separator_closure0() {
  27628. },
  27629. _isBracketed_closure0: function _isBracketed_closure0() {
  27630. },
  27631. _slash_closure0: function _slash_closure0() {
  27632. },
  27633. SelectorList$0(components, span) {
  27634. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  27635. if (t1.length === 0)
  27636. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  27637. return new A.SelectorList0(t1, span);
  27638. },
  27639. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  27640. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  27641. },
  27642. SelectorList0: function SelectorList0(t0, t1) {
  27643. this.components = t0;
  27644. this.span = t1;
  27645. },
  27646. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  27647. },
  27648. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  27649. this.$this = t0;
  27650. this.implicitParent = t1;
  27651. this.parent = t2;
  27652. },
  27653. SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
  27654. this.complex = t0;
  27655. },
  27656. SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
  27657. this.complex = t0;
  27658. },
  27659. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  27660. },
  27661. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  27662. this.parent = t0;
  27663. },
  27664. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  27665. this.parentSelector = t0;
  27666. this.resolvedSimples = t1;
  27667. this.component = t2;
  27668. },
  27669. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  27670. this.combinators = t0;
  27671. },
  27672. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  27673. },
  27674. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  27675. },
  27676. listClass_closure: function listClass_closure() {
  27677. },
  27678. listClass__closure: function listClass__closure() {
  27679. },
  27680. listClass__closure0: function listClass__closure0() {
  27681. },
  27682. _ConstructorOptions: function _ConstructorOptions() {
  27683. },
  27684. _NodeSassList: function _NodeSassList() {
  27685. },
  27686. legacyListClass_closure: function legacyListClass_closure() {
  27687. },
  27688. legacyListClass__closure: function legacyListClass__closure() {
  27689. },
  27690. legacyListClass_closure0: function legacyListClass_closure0() {
  27691. },
  27692. legacyListClass_closure1: function legacyListClass_closure1() {
  27693. },
  27694. legacyListClass_closure2: function legacyListClass_closure2() {
  27695. },
  27696. legacyListClass_closure3: function legacyListClass_closure3() {
  27697. },
  27698. legacyListClass_closure4: function legacyListClass_closure4() {
  27699. },
  27700. SassList$0(contents, _separator, brackets) {
  27701. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  27702. t1.SassList$3$brackets0(contents, _separator, brackets);
  27703. return t1;
  27704. },
  27705. SassList0: function SassList0(t0, t1, t2) {
  27706. this._list1$_contents = t0;
  27707. this._list1$_separator = t1;
  27708. this._list1$_hasBrackets = t2;
  27709. },
  27710. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  27711. },
  27712. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  27713. this._list1$_name = t0;
  27714. this.separator = t1;
  27715. this._name = t2;
  27716. },
  27717. JSLogger: function JSLogger() {
  27718. },
  27719. WarnOptions: function WarnOptions() {
  27720. },
  27721. DebugOptions: function DebugOptions() {
  27722. },
  27723. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  27724. if (_this instanceof A.DeprecationHandlingLogger0)
  27725. _this.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  27726. else if (!deprecation.isFuture)
  27727. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  27728. },
  27729. _QuietLogger0: function _QuietLogger0() {
  27730. },
  27731. LoudComment0: function LoudComment0(t0) {
  27732. this.text = t0;
  27733. },
  27734. MapExpression0: function MapExpression0(t0, t1) {
  27735. this.pairs = t0;
  27736. this.span = t1;
  27737. },
  27738. _modify0(map, keys, modify, addNesting) {
  27739. var keyIterator = J.get$iterator$ax(keys);
  27740. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  27741. },
  27742. _deepMergeImpl0(map1, map2) {
  27743. var t2, t3, result, t4, key, value, _1_1, _1_3, resultMap, _1_30, _1_3_isSet, valueMap, merged, _null = null,
  27744. t1 = map1._map0$_contents;
  27745. if (t1.get$isEmpty(t1))
  27746. return map2;
  27747. t2 = map2._map0$_contents;
  27748. if (t2.get$isEmpty(t2))
  27749. return map1;
  27750. t3 = type$.Value_2;
  27751. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  27752. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  27753. t4 = t1.get$current(t1);
  27754. key = t4._0;
  27755. value = t4._1;
  27756. t4 = result.$index(0, key);
  27757. _1_1 = t4 == null ? _null : t4.tryMap$0();
  27758. _1_3 = value.tryMap$0();
  27759. if (_1_1 != null) {
  27760. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  27761. t4 = _1_3 != null;
  27762. _1_30 = _1_3;
  27763. _1_3_isSet = true;
  27764. } else {
  27765. _1_30 = _null;
  27766. resultMap = _1_30;
  27767. _1_3_isSet = false;
  27768. t4 = false;
  27769. }
  27770. if (t4) {
  27771. valueMap = _1_3_isSet ? _1_30 : _1_3;
  27772. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  27773. if (merged === resultMap)
  27774. continue;
  27775. result.$indexSet(0, key, merged);
  27776. } else
  27777. result.$indexSet(0, key, value);
  27778. }
  27779. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  27780. },
  27781. _function9($name, $arguments, callback) {
  27782. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  27783. },
  27784. _get_closure0: function _get_closure0() {
  27785. },
  27786. _set_closure1: function _set_closure1() {
  27787. },
  27788. _set__closure2: function _set__closure2(t0) {
  27789. this.$arguments = t0;
  27790. },
  27791. _set_closure2: function _set_closure2() {
  27792. },
  27793. _set__closure1: function _set__closure1(t0) {
  27794. this._box_0 = t0;
  27795. },
  27796. _merge_closure1: function _merge_closure1() {
  27797. },
  27798. _merge_closure2: function _merge_closure2() {
  27799. },
  27800. _merge__closure0: function _merge__closure0(t0) {
  27801. this.map2 = t0;
  27802. },
  27803. _deepMerge_closure0: function _deepMerge_closure0() {
  27804. },
  27805. _deepRemove_closure0: function _deepRemove_closure0() {
  27806. },
  27807. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  27808. this.keys = t0;
  27809. },
  27810. _remove_closure1: function _remove_closure1() {
  27811. },
  27812. _remove_closure2: function _remove_closure2() {
  27813. },
  27814. _keys_closure0: function _keys_closure0() {
  27815. },
  27816. _values_closure0: function _values_closure0() {
  27817. },
  27818. _hasKey_closure0: function _hasKey_closure0() {
  27819. },
  27820. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  27821. this.keyIterator = t0;
  27822. this.modify = t1;
  27823. this.addNesting = t2;
  27824. },
  27825. MapExtensions_get_pairs0(_this, $K, $V) {
  27826. 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)"));
  27827. },
  27828. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  27829. this.K = t0;
  27830. this.V = t1;
  27831. },
  27832. mapClass_closure: function mapClass_closure() {
  27833. },
  27834. mapClass__closure: function mapClass__closure() {
  27835. },
  27836. mapClass__closure0: function mapClass__closure0() {
  27837. },
  27838. mapClass__closure1: function mapClass__closure1() {
  27839. },
  27840. _NodeSassMap: function _NodeSassMap() {
  27841. },
  27842. legacyMapClass_closure: function legacyMapClass_closure() {
  27843. },
  27844. legacyMapClass__closure: function legacyMapClass__closure() {
  27845. },
  27846. legacyMapClass__closure0: function legacyMapClass__closure0() {
  27847. },
  27848. legacyMapClass_closure0: function legacyMapClass_closure0() {
  27849. },
  27850. legacyMapClass_closure1: function legacyMapClass_closure1() {
  27851. },
  27852. legacyMapClass_closure2: function legacyMapClass_closure2() {
  27853. },
  27854. legacyMapClass_closure3: function legacyMapClass_closure3() {
  27855. },
  27856. legacyMapClass_closure4: function legacyMapClass_closure4() {
  27857. },
  27858. SassMap0: function SassMap0(t0) {
  27859. this._map0$_contents = t0;
  27860. },
  27861. _singleArgumentMathFunc0($name, mathFunc) {
  27862. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  27863. },
  27864. _numberFunction0($name, transform) {
  27865. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  27866. },
  27867. _function8($name, $arguments, callback) {
  27868. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  27869. },
  27870. global_closure31: function global_closure31() {
  27871. },
  27872. module_closure11: function module_closure11() {
  27873. },
  27874. _ceil_closure0: function _ceil_closure0() {
  27875. },
  27876. _clamp_closure0: function _clamp_closure0() {
  27877. },
  27878. _floor_closure0: function _floor_closure0() {
  27879. },
  27880. _max_closure0: function _max_closure0() {
  27881. },
  27882. _min_closure0: function _min_closure0() {
  27883. },
  27884. _round_closure0: function _round_closure0() {
  27885. },
  27886. _hypot_closure0: function _hypot_closure0() {
  27887. },
  27888. _hypot__closure0: function _hypot__closure0() {
  27889. },
  27890. _log_closure0: function _log_closure0() {
  27891. },
  27892. _pow_closure0: function _pow_closure0() {
  27893. },
  27894. _atan2_closure0: function _atan2_closure0() {
  27895. },
  27896. _compatible_closure0: function _compatible_closure0() {
  27897. },
  27898. _isUnitless_closure0: function _isUnitless_closure0() {
  27899. },
  27900. _unit_closure0: function _unit_closure0() {
  27901. },
  27902. _percentage_closure0: function _percentage_closure0() {
  27903. },
  27904. _randomFunction_closure0: function _randomFunction_closure0() {
  27905. },
  27906. _div_closure0: function _div_closure0() {
  27907. },
  27908. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  27909. this.mathFunc = t0;
  27910. },
  27911. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  27912. this.transform = t0;
  27913. },
  27914. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  27915. var t1 = A.SpanScanner$(contents, null);
  27916. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0();
  27917. },
  27918. CssMediaQuery$type0(type, conditions, modifier) {
  27919. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  27920. },
  27921. CssMediaQuery$condition0(conditions, conjunction) {
  27922. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  27923. if (t1.length > 1 && conjunction == null)
  27924. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  27925. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  27926. },
  27927. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  27928. var _ = this;
  27929. _.modifier = t0;
  27930. _.type = t1;
  27931. _.conjunction = t2;
  27932. _.conditions = t3;
  27933. },
  27934. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  27935. this._name = t0;
  27936. },
  27937. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  27938. this.query = t0;
  27939. },
  27940. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  27941. this.scanner = t0;
  27942. this.logger = t1;
  27943. this._parser0$_interpolationMap = t2;
  27944. },
  27945. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  27946. this.$this = t0;
  27947. },
  27948. ModifiableCssMediaRule$0(queries, span) {
  27949. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  27950. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27951. if (J.get$isEmpty$asx(queries))
  27952. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  27953. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  27954. },
  27955. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  27956. var _ = this;
  27957. _.queries = t0;
  27958. _.span = t1;
  27959. _.children = t2;
  27960. _._node$_children = t3;
  27961. _._node$_indexInParent = _._node$_parent = null;
  27962. _.isGroupEnd = false;
  27963. },
  27964. MediaRule$0(query, children, span) {
  27965. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  27966. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  27967. return new A.MediaRule0(query, span, t1, t2);
  27968. },
  27969. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  27970. var _ = this;
  27971. _.query = t0;
  27972. _.span = t1;
  27973. _.children = t2;
  27974. _.hasDeclarations = t3;
  27975. },
  27976. MergedExtension_merge0(left, right) {
  27977. var t2, t3, t4,
  27978. t1 = left.extender.selector;
  27979. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  27980. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  27981. t2 = left.mediaContext;
  27982. t3 = t2 == null;
  27983. if (!t3) {
  27984. t4 = right.mediaContext;
  27985. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  27986. } else
  27987. t4 = false;
  27988. if (t4)
  27989. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  27990. if (right.isOptional && right.mediaContext == null)
  27991. return left;
  27992. if (left.isOptional && t3)
  27993. return right;
  27994. if (t3)
  27995. t2 = right.mediaContext;
  27996. t1.get$specificity();
  27997. t1 = new A.Extender0(t1, false);
  27998. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  27999. },
  28000. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  28001. var _ = this;
  28002. _.left = t0;
  28003. _.right = t1;
  28004. _.extender = t2;
  28005. _.target = t3;
  28006. _.mediaContext = t4;
  28007. _.isOptional = t5;
  28008. _.span = t6;
  28009. },
  28010. MergedMapView$0(maps, $K, $V) {
  28011. var t1 = $K._eval$1("@<0>")._bind$1($V);
  28012. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  28013. t1.MergedMapView$10(maps, $K, $V);
  28014. return t1;
  28015. },
  28016. MergedMapView0: function MergedMapView0(t0, t1) {
  28017. this._merged_map_view$_mapsByKey = t0;
  28018. this.$ti = t1;
  28019. },
  28020. _function12($name, $arguments, callback) {
  28021. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  28022. },
  28023. global_closure59: function global_closure59() {
  28024. },
  28025. global_closure60: function global_closure60() {
  28026. },
  28027. global_closure61: function global_closure61() {
  28028. },
  28029. global_closure62: function global_closure62() {
  28030. },
  28031. local_closure2: function local_closure2() {
  28032. },
  28033. local_closure3: function local_closure3() {
  28034. },
  28035. local__closure0: function local__closure0() {
  28036. },
  28037. local_closure4: function local_closure4() {
  28038. },
  28039. mixinClass_closure: function mixinClass_closure() {
  28040. },
  28041. mixinClass__closure: function mixinClass__closure() {
  28042. },
  28043. mixinClass__closure0: function mixinClass__closure0() {
  28044. },
  28045. SassMixin0: function SassMixin0(t0) {
  28046. this.callable = t0;
  28047. },
  28048. MixinRule$0($name, $arguments, children, span, comment) {
  28049. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  28050. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  28051. return new A.MixinRule0($name, $arguments, span, t1, t2);
  28052. },
  28053. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  28054. var _ = this;
  28055. _._mixin_rule$__MixinRule_hasContent_FI = $;
  28056. _.name = t0;
  28057. _.$arguments = t1;
  28058. _.span = t2;
  28059. _.children = t3;
  28060. _.hasDeclarations = t4;
  28061. },
  28062. _HasContentVisitor0: function _HasContentVisitor0() {
  28063. },
  28064. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  28065. },
  28066. ExtendMode0: function ExtendMode0(t0, t1) {
  28067. this.name = t0;
  28068. this._name = t1;
  28069. },
  28070. JSModule0: function JSModule0() {
  28071. },
  28072. JSModuleRequire0: function JSModuleRequire0() {
  28073. },
  28074. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  28075. this._multi_span0$_primary = t0;
  28076. this.primaryLabel = t1;
  28077. this.secondarySpans = t2;
  28078. },
  28079. SupportsNegation0: function SupportsNegation0(t0, t1) {
  28080. this.condition = t0;
  28081. this.span = t1;
  28082. },
  28083. NoOpImporter0: function NoOpImporter0() {
  28084. },
  28085. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  28086. this._no_source_map_buffer0$_buffer = t0;
  28087. },
  28088. _FakeAstNode0: function _FakeAstNode0(t0) {
  28089. this._node0$_callback = t0;
  28090. },
  28091. CssNode0: function CssNode0() {
  28092. },
  28093. CssParentNode0: function CssParentNode0() {
  28094. },
  28095. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  28096. this.includeBogus = t0;
  28097. this.includeComments = t1;
  28098. },
  28099. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  28100. },
  28101. ModifiableCssNode0: function ModifiableCssNode0() {
  28102. },
  28103. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  28104. },
  28105. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  28106. },
  28107. NodePackageImporter0: function NodePackageImporter0() {
  28108. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  28109. },
  28110. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  28111. },
  28112. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  28113. },
  28114. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  28115. },
  28116. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  28117. this.$this = t0;
  28118. this.exports = t1;
  28119. this.packageRoot = t2;
  28120. },
  28121. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  28122. this.$this = t0;
  28123. this.variant = t1;
  28124. this.packageRoot = t2;
  28125. },
  28126. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  28127. },
  28128. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  28129. },
  28130. NullExpression0: function NullExpression0(t0) {
  28131. this.span = t0;
  28132. },
  28133. legacyNullClass_closure: function legacyNullClass_closure() {
  28134. },
  28135. legacyNullClass__closure: function legacyNullClass__closure() {
  28136. },
  28137. _SassNull0: function _SassNull0() {
  28138. },
  28139. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  28140. this.value = t0;
  28141. this.unit = t1;
  28142. this.span = t2;
  28143. },
  28144. numberClass_closure: function numberClass_closure() {
  28145. },
  28146. numberClass__closure: function numberClass__closure() {
  28147. },
  28148. numberClass__closure0: function numberClass__closure0() {
  28149. },
  28150. numberClass__closure1: function numberClass__closure1() {
  28151. },
  28152. numberClass__closure2: function numberClass__closure2() {
  28153. },
  28154. numberClass__closure3: function numberClass__closure3() {
  28155. },
  28156. numberClass__closure4: function numberClass__closure4() {
  28157. },
  28158. numberClass__closure5: function numberClass__closure5() {
  28159. },
  28160. numberClass__closure6: function numberClass__closure6() {
  28161. },
  28162. numberClass__closure7: function numberClass__closure7() {
  28163. },
  28164. numberClass__closure8: function numberClass__closure8() {
  28165. },
  28166. numberClass__closure9: function numberClass__closure9() {
  28167. },
  28168. numberClass__closure10: function numberClass__closure10() {
  28169. },
  28170. numberClass__closure11: function numberClass__closure11() {
  28171. },
  28172. numberClass__closure12: function numberClass__closure12() {
  28173. },
  28174. numberClass__closure13: function numberClass__closure13() {
  28175. },
  28176. numberClass__closure14: function numberClass__closure14() {
  28177. },
  28178. numberClass__closure15: function numberClass__closure15() {
  28179. },
  28180. numberClass__closure16: function numberClass__closure16() {
  28181. },
  28182. numberClass__closure17: function numberClass__closure17() {
  28183. },
  28184. numberClass__closure18: function numberClass__closure18() {
  28185. },
  28186. numberClass__closure19: function numberClass__closure19() {
  28187. },
  28188. _ConstructorOptions0: function _ConstructorOptions0() {
  28189. },
  28190. _parseNumber(value, unit) {
  28191. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  28192. if (unit == null || unit.length === 0)
  28193. return A.SassNumber_SassNumber0(value, null);
  28194. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  28195. return A.SassNumber_SassNumber0(value, unit);
  28196. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  28197. operands = unit.split("/");
  28198. t1 = operands.length;
  28199. if (t1 > 2)
  28200. throw A.wrapException(invalidUnit);
  28201. numerator = operands[0];
  28202. denominator = t1 === 1 ? null : operands[1];
  28203. t1 = type$.JSArray_String;
  28204. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  28205. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  28206. throw A.wrapException(invalidUnit);
  28207. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  28208. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  28209. throw A.wrapException(invalidUnit);
  28210. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  28211. },
  28212. _NodeSassNumber: function _NodeSassNumber() {
  28213. },
  28214. legacyNumberClass_closure: function legacyNumberClass_closure() {
  28215. },
  28216. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  28217. },
  28218. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  28219. },
  28220. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  28221. },
  28222. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  28223. },
  28224. _parseNumber_closure: function _parseNumber_closure() {
  28225. },
  28226. _parseNumber_closure0: function _parseNumber_closure0() {
  28227. },
  28228. conversionFactor0(unit1, unit2) {
  28229. var _0_0;
  28230. if (unit1 === unit2)
  28231. return 1;
  28232. _0_0 = B.Map_nfuzN.$index(0, unit1);
  28233. if (_0_0 != null)
  28234. return _0_0.$index(0, unit2);
  28235. return null;
  28236. },
  28237. SassNumber_SassNumber0(value, unit) {
  28238. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  28239. },
  28240. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  28241. var _0_4, _0_1, _0_1_isSet, _0_6, _0_6_isSet, _0_4_isSet, _0_8, _0_10, _0_7, _0_7_isSet, _0_10_isSet, _0_8_isSet, t2, unit, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7, _1_7_isSet, _null = null,
  28242. _0_3 = numeratorUnits == null,
  28243. t1 = _0_3;
  28244. if (!t1) {
  28245. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  28246. t1 = _0_4;
  28247. _0_1 = numeratorUnits;
  28248. _0_1_isSet = true;
  28249. _0_6 = t1 <= 0;
  28250. t1 = _0_6;
  28251. _0_6_isSet = true;
  28252. _0_4_isSet = true;
  28253. } else {
  28254. _0_4 = _null;
  28255. _0_6 = _0_4;
  28256. _0_1 = numeratorUnits;
  28257. _0_1_isSet = true;
  28258. _0_6_isSet = false;
  28259. _0_4_isSet = false;
  28260. t1 = true;
  28261. }
  28262. if (t1) {
  28263. _0_8 = denominatorUnits == null;
  28264. t1 = _0_8;
  28265. if (!t1) {
  28266. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  28267. t1 = _0_10;
  28268. _0_7 = denominatorUnits;
  28269. _0_7_isSet = true;
  28270. _0_10_isSet = true;
  28271. } else {
  28272. _0_10 = _null;
  28273. _0_7 = denominatorUnits;
  28274. _0_7_isSet = true;
  28275. _0_10_isSet = false;
  28276. t1 = true;
  28277. }
  28278. _0_8_isSet = true;
  28279. } else {
  28280. _0_10 = _null;
  28281. _0_7 = _0_10;
  28282. _0_8 = _0_7;
  28283. _0_8_isSet = false;
  28284. _0_7_isSet = false;
  28285. _0_10_isSet = false;
  28286. t1 = false;
  28287. }
  28288. if (t1)
  28289. return new A.UnitlessSassNumber0(value, _null);
  28290. if (_0_1_isSet)
  28291. t1 = _0_1;
  28292. else {
  28293. t1 = numeratorUnits;
  28294. _0_1 = t1;
  28295. _0_1_isSet = true;
  28296. }
  28297. t2 = type$.List_String;
  28298. if (t2._is(t1)) {
  28299. if (_0_4_isSet)
  28300. t1 = _0_4;
  28301. else {
  28302. if (_0_1_isSet)
  28303. t1 = _0_1;
  28304. else {
  28305. t1 = numeratorUnits;
  28306. _0_1 = t1;
  28307. _0_1_isSet = true;
  28308. }
  28309. _0_4 = J.get$length$asx(t1 == null ? t2._as(t1) : t1);
  28310. t1 = _0_4;
  28311. _0_4_isSet = true;
  28312. }
  28313. if (t1 === 1) {
  28314. if (_0_1_isSet)
  28315. t1 = _0_1;
  28316. else {
  28317. t1 = numeratorUnits;
  28318. _0_1 = t1;
  28319. _0_1_isSet = true;
  28320. }
  28321. unit = J.$index$asx(t1 == null ? t2._as(t1) : t1, 0);
  28322. if (_0_8_isSet)
  28323. t1 = _0_8;
  28324. else {
  28325. if (_0_7_isSet)
  28326. t1 = _0_7;
  28327. else {
  28328. t1 = denominatorUnits;
  28329. _0_7 = t1;
  28330. _0_7_isSet = true;
  28331. }
  28332. _0_8 = t1 == null;
  28333. t1 = _0_8;
  28334. _0_8_isSet = true;
  28335. }
  28336. if (!t1)
  28337. if (_0_10_isSet)
  28338. t1 = _0_10;
  28339. else {
  28340. if (_0_7_isSet)
  28341. t1 = _0_7;
  28342. else {
  28343. t1 = denominatorUnits;
  28344. _0_7 = t1;
  28345. _0_7_isSet = true;
  28346. }
  28347. _0_10 = J.get$length$asx(t1 == null ? t2._as(t1) : t1) <= 0;
  28348. t1 = _0_10;
  28349. _0_10_isSet = true;
  28350. }
  28351. else
  28352. t1 = true;
  28353. } else {
  28354. unit = _null;
  28355. t1 = false;
  28356. }
  28357. } else {
  28358. unit = _null;
  28359. t1 = false;
  28360. }
  28361. if (t1)
  28362. return new A.SingleUnitSassNumber0(unit, value, _null);
  28363. if (_0_1_isSet)
  28364. t1 = _0_1;
  28365. else {
  28366. t1 = numeratorUnits;
  28367. _0_1 = t1;
  28368. _0_1_isSet = true;
  28369. }
  28370. if (t1 != null) {
  28371. if (_0_1_isSet)
  28372. numerators = _0_1;
  28373. else {
  28374. numerators = numeratorUnits;
  28375. _0_1 = numerators;
  28376. _0_1_isSet = true;
  28377. }
  28378. if (numerators == null)
  28379. numerators = t2._as(numerators);
  28380. if (_0_8_isSet)
  28381. t1 = _0_8;
  28382. else {
  28383. if (_0_7_isSet)
  28384. t1 = _0_7;
  28385. else {
  28386. t1 = denominatorUnits;
  28387. _0_7 = t1;
  28388. _0_7_isSet = true;
  28389. }
  28390. _0_8 = t1 == null;
  28391. t1 = _0_8;
  28392. }
  28393. if (!t1)
  28394. if (_0_10_isSet)
  28395. t1 = _0_10;
  28396. else {
  28397. if (_0_7_isSet)
  28398. t1 = _0_7;
  28399. else {
  28400. t1 = denominatorUnits;
  28401. _0_7 = t1;
  28402. _0_7_isSet = true;
  28403. }
  28404. _0_10 = J.get$length$asx(t1 == null ? t2._as(t1) : t1) <= 0;
  28405. t1 = _0_10;
  28406. }
  28407. else
  28408. t1 = true;
  28409. } else {
  28410. numerators = _null;
  28411. t1 = false;
  28412. }
  28413. if (t1)
  28414. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  28415. if (!_0_3)
  28416. if (_0_6_isSet)
  28417. t1 = _0_6;
  28418. else {
  28419. if (_0_4_isSet)
  28420. t1 = _0_4;
  28421. else {
  28422. t1 = _0_1_isSet ? _0_1 : numeratorUnits;
  28423. _0_4 = J.get$length$asx(t1 == null ? t2._as(t1) : t1);
  28424. t1 = _0_4;
  28425. }
  28426. _0_6 = t1 <= 0;
  28427. t1 = _0_6;
  28428. }
  28429. else
  28430. t1 = true;
  28431. if (t1) {
  28432. if (_0_7_isSet)
  28433. t1 = _0_7;
  28434. else {
  28435. t1 = denominatorUnits;
  28436. _0_7 = t1;
  28437. _0_7_isSet = true;
  28438. }
  28439. if (t1 != null) {
  28440. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  28441. if (denominators == null)
  28442. denominators = t2._as(denominators);
  28443. t1 = true;
  28444. } else {
  28445. denominators = _null;
  28446. t1 = false;
  28447. }
  28448. } else {
  28449. denominators = _null;
  28450. t1 = false;
  28451. }
  28452. if (t1)
  28453. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  28454. numeratorUnits.toString;
  28455. numerators = J.toList$0$ax(numeratorUnits);
  28456. denominatorUnits.toString;
  28457. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  28458. denominators = A._setArrayType([], type$.JSArray_String);
  28459. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  28460. denominator = unsimplifiedDenominators[_i];
  28461. i = 0;
  28462. while (true) {
  28463. if (!(i < numerators.length)) {
  28464. simplifiedAway = false;
  28465. break;
  28466. }
  28467. c$0: {
  28468. factor = A.conversionFactor0(denominator, numerators[i]);
  28469. if (factor == null)
  28470. break c$0;
  28471. valueDouble *= factor;
  28472. B.JSArray_methods.removeAt$1(numerators, i);
  28473. simplifiedAway = true;
  28474. break;
  28475. }
  28476. ++i;
  28477. }
  28478. if (!simplifiedAway)
  28479. denominators.push(denominator);
  28480. }
  28481. $label0$1: {
  28482. _1_2 = numerators.length;
  28483. t1 = _1_2;
  28484. if (t1 <= 0) {
  28485. _1_7 = denominators.length <= 0;
  28486. t1 = _1_7;
  28487. _1_7_isSet = true;
  28488. } else {
  28489. _1_7 = _null;
  28490. _1_7_isSet = false;
  28491. t1 = false;
  28492. }
  28493. if (t1) {
  28494. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  28495. break $label0$1;
  28496. }
  28497. if (_1_2 === 1) {
  28498. unit = numerators[0];
  28499. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  28500. } else {
  28501. unit = _null;
  28502. t1 = false;
  28503. }
  28504. if (t1) {
  28505. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  28506. break $label0$1;
  28507. }
  28508. t1 = type$.String;
  28509. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  28510. break $label0$1;
  28511. }
  28512. return t1;
  28513. },
  28514. SassNumber0: function SassNumber0() {
  28515. },
  28516. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  28517. var _ = this;
  28518. _.$this = t0;
  28519. _.other = t1;
  28520. _.otherName = t2;
  28521. _.otherHasUnits = t3;
  28522. _.name = t4;
  28523. _.newNumerators = t5;
  28524. _.newDenominators = t6;
  28525. },
  28526. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  28527. this._box_0 = t0;
  28528. this.newNumerator = t1;
  28529. },
  28530. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  28531. this.compatibilityException = t0;
  28532. },
  28533. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  28534. this._box_0 = t0;
  28535. this.newDenominator = t1;
  28536. },
  28537. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  28538. this.compatibilityException = t0;
  28539. },
  28540. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  28541. },
  28542. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  28543. },
  28544. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  28545. this._box_0 = t0;
  28546. this.numerator = t1;
  28547. },
  28548. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  28549. this.newNumerators = t0;
  28550. this.numerator = t1;
  28551. },
  28552. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  28553. this._box_0 = t0;
  28554. this.numerator = t1;
  28555. },
  28556. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  28557. this.newNumerators = t0;
  28558. this.numerator = t1;
  28559. },
  28560. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  28561. this.units2 = t0;
  28562. },
  28563. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  28564. },
  28565. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  28566. this.$this = t0;
  28567. },
  28568. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  28569. },
  28570. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  28571. },
  28572. SupportsOperation$0(left, right, operator, span) {
  28573. var lowerOperator = operator.toLowerCase();
  28574. if (lowerOperator !== "and" && lowerOperator !== "or")
  28575. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  28576. return new A.SupportsOperation0(left, right, operator, span);
  28577. },
  28578. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  28579. var _ = this;
  28580. _.left = t0;
  28581. _.right = t1;
  28582. _.operator = t2;
  28583. _.span = t3;
  28584. },
  28585. ParentSelector0: function ParentSelector0(t0, t1) {
  28586. this.suffix = t0;
  28587. this.span = t1;
  28588. },
  28589. ParentStatement0: function ParentStatement0() {
  28590. },
  28591. ParentStatement_closure0: function ParentStatement_closure0() {
  28592. },
  28593. ParentStatement__closure0: function ParentStatement__closure0() {
  28594. },
  28595. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  28596. this.expression = t0;
  28597. this.span = t1;
  28598. },
  28599. Parser_isIdentifier0(text) {
  28600. var t1, t2, exception, logger = null;
  28601. try {
  28602. t1 = logger;
  28603. t2 = A.SpanScanner$(text, null);
  28604. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser0$_parseIdentifier$0();
  28605. return true;
  28606. } catch (exception) {
  28607. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  28608. return false;
  28609. else
  28610. throw exception;
  28611. }
  28612. },
  28613. Parser1: function Parser1(t0, t1, t2) {
  28614. this.scanner = t0;
  28615. this.logger = t1;
  28616. this._parser0$_interpolationMap = t2;
  28617. },
  28618. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  28619. this.$this = t0;
  28620. },
  28621. Parser_escape_closure0: function Parser_escape_closure0() {
  28622. },
  28623. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  28624. this.caseSensitive = t0;
  28625. this.char = t1;
  28626. },
  28627. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  28628. this.$this = t0;
  28629. this.span = t1;
  28630. },
  28631. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  28632. this.name = t0;
  28633. this.span = t1;
  28634. },
  28635. PlainCssCallable0: function PlainCssCallable0(t0) {
  28636. this.name = t0;
  28637. },
  28638. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  28639. this._prefixed_map_view0$_map = t0;
  28640. this._prefixed_map_view0$_prefix = t1;
  28641. this.$ti = t2;
  28642. },
  28643. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  28644. this._prefixed_map_view0$_view = t0;
  28645. },
  28646. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  28647. this.$this = t0;
  28648. },
  28649. PseudoSelector$0($name, span, argument, element, selector) {
  28650. var t1 = !element,
  28651. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  28652. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  28653. },
  28654. PseudoSelector__isFakePseudoElement0($name) {
  28655. switch ($name.charCodeAt(0)) {
  28656. case 97:
  28657. case 65:
  28658. return A.equalsIgnoreCase0($name, "after");
  28659. case 98:
  28660. case 66:
  28661. return A.equalsIgnoreCase0($name, "before");
  28662. case 102:
  28663. case 70:
  28664. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  28665. default:
  28666. return false;
  28667. }
  28668. },
  28669. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  28670. var _ = this;
  28671. _.name = t0;
  28672. _.normalizedName = t1;
  28673. _.isClass = t2;
  28674. _.isSyntacticClass = t3;
  28675. _.argument = t4;
  28676. _.selector = t5;
  28677. _._pseudo$__PseudoSelector_specificity_FI = $;
  28678. _.span = t6;
  28679. },
  28680. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  28681. this.$this = t0;
  28682. },
  28683. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  28684. },
  28685. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  28686. },
  28687. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  28688. },
  28689. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  28690. this._public_member_map_view0$_inner = t0;
  28691. this.$ti = t1;
  28692. },
  28693. QualifiedName0: function QualifiedName0(t0, t1) {
  28694. this.name = t0;
  28695. this.namespace = t1;
  28696. },
  28697. createJSClass($name, $constructor) {
  28698. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  28699. },
  28700. JSClassExtension_injectSuperclass(_this, superclass) {
  28701. var t1 = J.getInterceptor$x(superclass),
  28702. t2 = J.getInterceptor$x(_this);
  28703. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  28704. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  28705. },
  28706. JSClassExtension_setCustomInspect(_this, inspect) {
  28707. if (self.util == null)
  28708. return;
  28709. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  28710. },
  28711. JSClassExtension_get_defineStaticMethod(_this) {
  28712. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  28713. },
  28714. JSClassExtension_get_defineMethod(_this) {
  28715. return new A.JSClassExtension_get_defineMethod_closure(_this);
  28716. },
  28717. JSClassExtension_defineMethods(_this, methods) {
  28718. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  28719. },
  28720. JSClassExtension_get_defineGetter(_this) {
  28721. return new A.JSClassExtension_get_defineGetter_closure(_this);
  28722. },
  28723. JSClass0: function JSClass0() {
  28724. },
  28725. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  28726. this.inspect = t0;
  28727. },
  28728. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  28729. this._this = t0;
  28730. },
  28731. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  28732. this._this = t0;
  28733. },
  28734. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  28735. this._this = t0;
  28736. },
  28737. RenderContext0: function RenderContext0() {
  28738. },
  28739. RenderContextOptions0: function RenderContextOptions0() {
  28740. },
  28741. RenderContextResult0: function RenderContextResult0() {
  28742. },
  28743. RenderContextResultStats0: function RenderContextResultStats0() {
  28744. },
  28745. RenderOptions: function RenderOptions() {
  28746. },
  28747. RenderResult: function RenderResult() {
  28748. },
  28749. RenderResultStats: function RenderResultStats() {
  28750. },
  28751. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  28752. },
  28753. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  28754. this.$this = t0;
  28755. },
  28756. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  28757. this.$this = t0;
  28758. },
  28759. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  28760. this.$this = t0;
  28761. },
  28762. ImporterResult$(contents, sourceMapUrl, syntax) {
  28763. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  28764. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  28765. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  28766. },
  28767. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  28768. this.contents = t0;
  28769. this._result$_sourceMapUrl = t1;
  28770. this.syntax = t2;
  28771. },
  28772. ReturnRule0: function ReturnRule0(t0, t1) {
  28773. this.expression = t0;
  28774. this.span = t1;
  28775. },
  28776. SassParser0: function SassParser0(t0, t1, t2, t3) {
  28777. var _ = this;
  28778. _._sass0$_currentIndentation = 0;
  28779. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  28780. _._stylesheet0$_isUseAllowed = true;
  28781. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28782. _._stylesheet0$_globalVariables = t0;
  28783. _.lastSilentComment = null;
  28784. _.scanner = t1;
  28785. _.logger = t2;
  28786. _._parser0$_interpolationMap = t3;
  28787. },
  28788. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  28789. },
  28790. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  28791. this.$this = t0;
  28792. this.child = t1;
  28793. this.children = t2;
  28794. },
  28795. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  28796. },
  28797. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  28798. },
  28799. _translateReturnValue(val) {
  28800. if (val instanceof A._Future)
  28801. return A.futureToPromise(val, type$.dynamic);
  28802. else
  28803. return val;
  28804. },
  28805. main2() {
  28806. new Uint8Array(0);
  28807. A.main();
  28808. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  28809. },
  28810. _wrapMain(main) {
  28811. if (type$.dynamic_Function._is(main))
  28812. return A.allowInterop(new A._wrapMain_closure(main));
  28813. else
  28814. return A.allowInterop(new A._wrapMain_closure0(main));
  28815. },
  28816. _Exports: function _Exports() {
  28817. },
  28818. _wrapMain_closure: function _wrapMain_closure(t0) {
  28819. this.main = t0;
  28820. },
  28821. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  28822. this.main = t0;
  28823. },
  28824. ScssParser$0(contents, logger, url) {
  28825. var t1 = A.SpanScanner$(contents, url),
  28826. t2 = logger == null ? B.StderrLogger_false0 : logger;
  28827. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  28828. },
  28829. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  28830. var _ = this;
  28831. _._stylesheet0$_isUseAllowed = true;
  28832. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28833. _._stylesheet0$_globalVariables = t0;
  28834. _.lastSilentComment = null;
  28835. _.scanner = t1;
  28836. _.logger = t2;
  28837. _._parser0$_interpolationMap = t3;
  28838. },
  28839. Selector0: function Selector0() {
  28840. },
  28841. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  28842. this.includeBogus = t0;
  28843. },
  28844. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  28845. this.includeLeadingCombinator = t0;
  28846. },
  28847. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  28848. this.$this = t0;
  28849. },
  28850. _IsUselessVisitor0: function _IsUselessVisitor0() {
  28851. },
  28852. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  28853. this.$this = t0;
  28854. },
  28855. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  28856. },
  28857. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  28858. },
  28859. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  28860. },
  28861. SelectorExpression0: function SelectorExpression0(t0) {
  28862. this.span = t0;
  28863. },
  28864. _prependParent0(compound) {
  28865. var _0_3, _0_4, t1, _0_4_isSet, rest, _null = null,
  28866. span = A.EvaluationContext_current0().get$currentCallableSpan(),
  28867. _0_0 = compound.components;
  28868. $label0$0: {
  28869. _0_3 = _0_0.length >= 1;
  28870. if (_0_3) {
  28871. _0_4 = _0_0[0];
  28872. t1 = _0_4;
  28873. t1 = t1 instanceof A.UniversalSelector0;
  28874. _0_4_isSet = true;
  28875. } else {
  28876. _0_4 = _null;
  28877. _0_4_isSet = false;
  28878. t1 = false;
  28879. }
  28880. if (t1) {
  28881. t1 = _null;
  28882. break $label0$0;
  28883. }
  28884. if (_0_3) {
  28885. if (_0_4_isSet)
  28886. t1 = _0_4;
  28887. else {
  28888. _0_4 = _0_0[0];
  28889. t1 = _0_4;
  28890. _0_4_isSet = true;
  28891. }
  28892. if (t1 instanceof A.TypeSelector0) {
  28893. if (_0_4_isSet)
  28894. t1 = _0_4;
  28895. else {
  28896. _0_4 = _0_0[0];
  28897. t1 = _0_4;
  28898. _0_4_isSet = true;
  28899. }
  28900. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  28901. } else
  28902. t1 = false;
  28903. } else
  28904. t1 = false;
  28905. if (t1) {
  28906. t1 = _null;
  28907. break $label0$0;
  28908. }
  28909. if (_0_3) {
  28910. if (_0_4_isSet)
  28911. t1 = _0_4;
  28912. else {
  28913. _0_4 = _0_0[0];
  28914. t1 = _0_4;
  28915. _0_4_isSet = true;
  28916. }
  28917. t1 = t1 instanceof A.TypeSelector0;
  28918. } else
  28919. t1 = false;
  28920. if (t1) {
  28921. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  28922. type$.TypeSelector_2._as(t1);
  28923. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  28924. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  28925. B.JSArray_methods.addAll$1(t1, rest);
  28926. t1 = A.CompoundSelector$0(t1, span);
  28927. break $label0$0;
  28928. }
  28929. t1 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  28930. B.JSArray_methods.addAll$1(t1, _0_0);
  28931. t1 = A.CompoundSelector$0(t1, span);
  28932. break $label0$0;
  28933. }
  28934. return t1;
  28935. },
  28936. _function7($name, $arguments, callback) {
  28937. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  28938. },
  28939. _nest_closure0: function _nest_closure0() {
  28940. },
  28941. _nest__closure1: function _nest__closure1(t0) {
  28942. this._box_0 = t0;
  28943. },
  28944. _nest__closure2: function _nest__closure2() {
  28945. },
  28946. _append_closure1: function _append_closure1() {
  28947. },
  28948. _append__closure1: function _append__closure1() {
  28949. },
  28950. _append__closure2: function _append__closure2(t0) {
  28951. this.span = t0;
  28952. },
  28953. _append___closure0: function _append___closure0(t0, t1) {
  28954. this.parent = t0;
  28955. this.span = t1;
  28956. },
  28957. _extend_closure0: function _extend_closure0() {
  28958. },
  28959. _replace_closure0: function _replace_closure0() {
  28960. },
  28961. _unify_closure0: function _unify_closure0() {
  28962. },
  28963. _isSuperselector_closure0: function _isSuperselector_closure0() {
  28964. },
  28965. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  28966. },
  28967. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  28968. },
  28969. _parse_closure0: function _parse_closure0() {
  28970. },
  28971. SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  28972. var t1 = A.SpanScanner$(contents, url);
  28973. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  28974. },
  28975. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  28976. var _ = this;
  28977. _._selector$_allowParent = t0;
  28978. _._selector$_allowPlaceholder = t1;
  28979. _.scanner = t2;
  28980. _.logger = t3;
  28981. _._parser0$_interpolationMap = t4;
  28982. },
  28983. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  28984. this.$this = t0;
  28985. },
  28986. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  28987. this.$this = t0;
  28988. },
  28989. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  28990. },
  28991. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  28992. this.$this = t0;
  28993. },
  28994. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  28995. this.$this = t0;
  28996. },
  28997. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  28998. var t1, css, t2, prefix,
  28999. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  29000. node.accept$1(visitor);
  29001. t1 = visitor._serialize0$_buffer;
  29002. css = t1.toString$0(0);
  29003. if (charset) {
  29004. t2 = new A.CodeUnits(css);
  29005. t2 = t2.any$1(t2, new A.serialize_closure0());
  29006. } else
  29007. t2 = false;
  29008. if (t2)
  29009. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  29010. else
  29011. prefix = "";
  29012. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  29013. return new A._Record_2_sourceMap(prefix + css, t1);
  29014. },
  29015. serializeValue0(value, inspect, quote) {
  29016. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  29017. value.accept$1(visitor);
  29018. return visitor._serialize0$_buffer.toString$0(0);
  29019. },
  29020. serializeSelector0(selector, inspect) {
  29021. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  29022. selector.accept$1(visitor);
  29023. return visitor._serialize0$_buffer.toString$0(0);
  29024. },
  29025. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  29026. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  29027. t2 = style == null ? B.OutputStyle_00 : style,
  29028. t3 = useSpaces ? 32 : 9,
  29029. t4 = indentWidth == null ? 2 : indentWidth,
  29030. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  29031. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  29032. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  29033. },
  29034. serialize_closure0: function serialize_closure0() {
  29035. },
  29036. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  29037. var _ = this;
  29038. _._serialize0$_buffer = t0;
  29039. _._serialize0$_indentation = 0;
  29040. _._serialize0$_style = t1;
  29041. _._serialize0$_inspect = t2;
  29042. _._serialize0$_quote = t3;
  29043. _._serialize0$_indentCharacter = t4;
  29044. _._serialize0$_indentWidth = t5;
  29045. _._lineFeed = t6;
  29046. },
  29047. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  29048. this.$this = t0;
  29049. this.node = t1;
  29050. },
  29051. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  29052. this.$this = t0;
  29053. this.node = t1;
  29054. },
  29055. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  29056. this.$this = t0;
  29057. this.node = t1;
  29058. },
  29059. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  29060. this.$this = t0;
  29061. this.node = t1;
  29062. },
  29063. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  29064. this.$this = t0;
  29065. this.node = t1;
  29066. },
  29067. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  29068. this.$this = t0;
  29069. this.node = t1;
  29070. },
  29071. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  29072. this.$this = t0;
  29073. this.node = t1;
  29074. },
  29075. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  29076. this.$this = t0;
  29077. this.node = t1;
  29078. },
  29079. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  29080. this.$this = t0;
  29081. this.node = t1;
  29082. },
  29083. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  29084. this.$this = t0;
  29085. this.node = t1;
  29086. },
  29087. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  29088. },
  29089. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  29090. this.$this = t0;
  29091. this.value = t1;
  29092. },
  29093. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  29094. this.$this = t0;
  29095. },
  29096. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  29097. this.$this = t0;
  29098. },
  29099. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  29100. },
  29101. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  29102. this.$this = t0;
  29103. this.value = t1;
  29104. },
  29105. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  29106. this.$this = t0;
  29107. this.child = t1;
  29108. },
  29109. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  29110. this.$this = t0;
  29111. this.child = t1;
  29112. },
  29113. OutputStyle0: function OutputStyle0(t0) {
  29114. this._name = t0;
  29115. },
  29116. LineFeed0: function LineFeed0(t0, t1, t2) {
  29117. this.name = t0;
  29118. this.text = t1;
  29119. this._name = t2;
  29120. },
  29121. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  29122. 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;
  29123. },
  29124. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  29125. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  29126. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  29127. },
  29128. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  29129. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  29130. },
  29131. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  29132. var _ = this;
  29133. _._shadowed_view0$_inner = t0;
  29134. _.variables = t1;
  29135. _.variableNodes = t2;
  29136. _.functions = t3;
  29137. _.mixins = t4;
  29138. _.$ti = t5;
  29139. },
  29140. SilentComment0: function SilentComment0(t0, t1) {
  29141. this.text = t0;
  29142. this.span = t1;
  29143. },
  29144. SimpleSelector0: function SimpleSelector0() {
  29145. },
  29146. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  29147. this.$this = t0;
  29148. },
  29149. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  29150. this.$this = t0;
  29151. },
  29152. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  29153. var _ = this;
  29154. _._single_unit$_unit = t0;
  29155. _._number1$_value = t1;
  29156. _.hashCache = null;
  29157. _.asSlash = t2;
  29158. },
  29159. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  29160. this.$this = t0;
  29161. this.unit = t1;
  29162. },
  29163. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  29164. this.$this = t0;
  29165. },
  29166. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  29167. this._box_0 = t0;
  29168. this.$this = t1;
  29169. },
  29170. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  29171. this._box_0 = t0;
  29172. this.$this = t1;
  29173. },
  29174. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  29175. var _ = this;
  29176. _._source_map_buffer0$_buffer = t0;
  29177. _._source_map_buffer0$_entries = t1;
  29178. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  29179. _._source_map_buffer0$_inSpan = false;
  29180. },
  29181. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  29182. this._box_0 = t0;
  29183. this.prefixLength = t1;
  29184. },
  29185. updateSourceSpanPrototype() {
  29186. var t3, t4, _i, t5,
  29187. span = A.SourceFile$fromString("", null).span$1(0, 0),
  29188. t1 = type$.SourceSpan,
  29189. t2 = type$.String;
  29190. 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) {
  29191. t5 = t3._as(t1[_i].constructor);
  29192. 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));
  29193. }
  29194. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  29195. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  29196. },
  29197. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  29198. this.span = t0;
  29199. },
  29200. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  29201. },
  29202. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  29203. },
  29204. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  29205. },
  29206. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  29207. },
  29208. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  29209. },
  29210. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  29211. },
  29212. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  29213. },
  29214. StatementSearchVisitor0: function StatementSearchVisitor0() {
  29215. },
  29216. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  29217. this.$this = t0;
  29218. },
  29219. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  29220. this.$this = t0;
  29221. },
  29222. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  29223. this.$this = t0;
  29224. },
  29225. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  29226. this.$this = t0;
  29227. },
  29228. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  29229. this.$this = t0;
  29230. },
  29231. StaticImport0: function StaticImport0(t0, t1, t2) {
  29232. this.url = t0;
  29233. this.modifiers = t1;
  29234. this.span = t2;
  29235. },
  29236. StderrLogger0: function StderrLogger0(t0) {
  29237. this.color = t0;
  29238. },
  29239. StringExpression_quoteText0(text) {
  29240. var t1,
  29241. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  29242. buffer = new A.StringBuffer("");
  29243. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  29244. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  29245. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  29246. return t1.charCodeAt(0) == 0 ? t1 : t1;
  29247. },
  29248. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  29249. var t1, t2, i, _1_0, _0_0, t3, t4;
  29250. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  29251. _1_0 = text.charCodeAt(i);
  29252. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  29253. buffer.writeCharCode$1(92);
  29254. buffer.writeCharCode$1(97);
  29255. if (i !== t2) {
  29256. _0_0 = text.charCodeAt(i + 1);
  29257. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  29258. if (!(_0_0 >= 48 && _0_0 <= 57))
  29259. if (!(_0_0 >= 97 && _0_0 <= 102))
  29260. t3 = _0_0 >= 65 && _0_0 <= 70;
  29261. else
  29262. t3 = true;
  29263. else
  29264. t3 = true;
  29265. else
  29266. t3 = true;
  29267. if (t3)
  29268. buffer.writeCharCode$1(32);
  29269. }
  29270. continue;
  29271. }
  29272. if (92 === _1_0) {
  29273. t3 = _1_0;
  29274. t4 = true;
  29275. } else {
  29276. t3 = null;
  29277. t4 = false;
  29278. }
  29279. if (!t4) {
  29280. if (_1_0 === quote) {
  29281. t3 = _1_0;
  29282. t4 = true;
  29283. } else
  29284. t4 = false;
  29285. if (!t4)
  29286. if (35 === _1_0)
  29287. if ($static)
  29288. if (i < t2)
  29289. if (text.charCodeAt(i + 1) === 123) {
  29290. t3 = _1_0;
  29291. t4 = true;
  29292. } else
  29293. t4 = false;
  29294. else
  29295. t4 = false;
  29296. else
  29297. t4 = false;
  29298. else
  29299. t4 = false;
  29300. else
  29301. t4 = true;
  29302. } else
  29303. t4 = true;
  29304. if (t4) {
  29305. buffer.writeCharCode$1(92);
  29306. buffer.writeCharCode$1(t3);
  29307. continue;
  29308. }
  29309. buffer.writeCharCode$1(_1_0);
  29310. }
  29311. },
  29312. StringExpression__bestQuote0(strings) {
  29313. var t1, t2, t3, containsDoubleQuote, t4, t5;
  29314. for (t1 = J.get$iterator$ax(strings), t2 = type$.CodeUnits, t3 = t2._eval$1("ListIterator<ListBase.E>"), t2 = t2._eval$1("ListBase.E"), containsDoubleQuote = false; t1.moveNext$0();)
  29315. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  29316. t5 = t4.__internal$_current;
  29317. if (t5 == null)
  29318. t5 = t2._as(t5);
  29319. if (t5 === 39)
  29320. return 34;
  29321. if (t5 === 34)
  29322. containsDoubleQuote = true;
  29323. }
  29324. return containsDoubleQuote ? 39 : 34;
  29325. },
  29326. StringExpression0: function StringExpression0(t0, t1) {
  29327. this.text = t0;
  29328. this.hasQuotes = t1;
  29329. },
  29330. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  29331. var result;
  29332. if (index === 0)
  29333. return 0;
  29334. if (index > 0)
  29335. return Math.min(index - 1, lengthInCodepoints);
  29336. result = lengthInCodepoints + index;
  29337. if (result < 0 && !allowNegative)
  29338. return 0;
  29339. return result;
  29340. },
  29341. _function6($name, $arguments, callback) {
  29342. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  29343. },
  29344. module_closure10: function module_closure10() {
  29345. },
  29346. module__closure2: function module__closure2(t0) {
  29347. this.string = t0;
  29348. },
  29349. module__closure3: function module__closure3(t0) {
  29350. this.string = t0;
  29351. },
  29352. _unquote_closure0: function _unquote_closure0() {
  29353. },
  29354. _quote_closure0: function _quote_closure0() {
  29355. },
  29356. _length_closure1: function _length_closure1() {
  29357. },
  29358. _insert_closure0: function _insert_closure0() {
  29359. },
  29360. _index_closure1: function _index_closure1() {
  29361. },
  29362. _slice_closure0: function _slice_closure0() {
  29363. },
  29364. _toUpperCase_closure0: function _toUpperCase_closure0() {
  29365. },
  29366. _toLowerCase_closure0: function _toLowerCase_closure0() {
  29367. },
  29368. _uniqueId_closure0: function _uniqueId_closure0() {
  29369. },
  29370. stringClass_closure: function stringClass_closure() {
  29371. },
  29372. stringClass__closure: function stringClass__closure() {
  29373. },
  29374. stringClass__closure0: function stringClass__closure0() {
  29375. },
  29376. stringClass__closure1: function stringClass__closure1() {
  29377. },
  29378. stringClass__closure2: function stringClass__closure2() {
  29379. },
  29380. stringClass__closure3: function stringClass__closure3() {
  29381. },
  29382. _ConstructorOptions1: function _ConstructorOptions1() {
  29383. },
  29384. _NodeSassString: function _NodeSassString() {
  29385. },
  29386. legacyStringClass_closure: function legacyStringClass_closure() {
  29387. },
  29388. legacyStringClass_closure0: function legacyStringClass_closure0() {
  29389. },
  29390. legacyStringClass_closure1: function legacyStringClass_closure1() {
  29391. },
  29392. SassString$0(_text, quotes) {
  29393. return new A.SassString0(_text, quotes);
  29394. },
  29395. SassString0: function SassString0(t0, t1) {
  29396. var _ = this;
  29397. _._string0$_text = t0;
  29398. _._string0$_hasQuotes = t1;
  29399. _._string0$__SassString__sassLength_FI = $;
  29400. _._string0$_hashCache = null;
  29401. },
  29402. ModifiableCssStyleRule$0(_selector, span, originalSelector) {
  29403. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29404. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29405. },
  29406. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  29407. var _ = this;
  29408. _._style_rule0$_selector = t0;
  29409. _.originalSelector = t1;
  29410. _.span = t2;
  29411. _.children = t3;
  29412. _._node$_children = t4;
  29413. _._node$_indexInParent = _._node$_parent = null;
  29414. _.isGroupEnd = false;
  29415. },
  29416. StyleRule$0(selector, children, span) {
  29417. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29418. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29419. return new A.StyleRule0(selector, span, t1, t2);
  29420. },
  29421. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  29422. var _ = this;
  29423. _.selector = t0;
  29424. _.span = t1;
  29425. _.children = t2;
  29426. _.hasDeclarations = t3;
  29427. },
  29428. CssStylesheet0: function CssStylesheet0(t0, t1) {
  29429. this.children = t0;
  29430. this.span = t1;
  29431. },
  29432. ModifiableCssStylesheet$0(span) {
  29433. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29434. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29435. },
  29436. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  29437. var _ = this;
  29438. _.span = t0;
  29439. _.children = t1;
  29440. _._node$_children = t2;
  29441. _._node$_indexInParent = _._node$_parent = null;
  29442. _.isGroupEnd = false;
  29443. },
  29444. StylesheetParser0: function StylesheetParser0() {
  29445. },
  29446. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  29447. this.$this = t0;
  29448. },
  29449. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  29450. this.$this = t0;
  29451. },
  29452. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  29453. },
  29454. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  29455. this.$this = t0;
  29456. },
  29457. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  29458. this.$this = t0;
  29459. this.production = t1;
  29460. this.T = t2;
  29461. },
  29462. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  29463. this.$this = t0;
  29464. this.requireParens = t1;
  29465. },
  29466. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  29467. this.$this = t0;
  29468. },
  29469. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  29470. this.$this = t0;
  29471. this.start = t1;
  29472. },
  29473. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  29474. this.declaration = t0;
  29475. },
  29476. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  29477. this.name = t0;
  29478. },
  29479. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  29480. this._box_0 = t0;
  29481. this.name = t1;
  29482. },
  29483. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  29484. var _ = this;
  29485. _._box_0 = t0;
  29486. _.$this = t1;
  29487. _.wasInStyleRule = t2;
  29488. _.start = t3;
  29489. },
  29490. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  29491. this._box_0 = t0;
  29492. },
  29493. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  29494. this._box_0 = t0;
  29495. this.value = t1;
  29496. },
  29497. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  29498. this.query = t0;
  29499. },
  29500. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  29501. },
  29502. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  29503. var _ = this;
  29504. _.$this = t0;
  29505. _.wasInControlDirective = t1;
  29506. _.variables = t2;
  29507. _.list = t3;
  29508. },
  29509. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  29510. this.name = t0;
  29511. this.$arguments = t1;
  29512. this.precedingComment = t2;
  29513. },
  29514. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  29515. this._box_0 = t0;
  29516. this.$this = t1;
  29517. },
  29518. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  29519. var _ = this;
  29520. _._box_0 = t0;
  29521. _.$this = t1;
  29522. _.wasInControlDirective = t2;
  29523. _.variable = t3;
  29524. _.from = t4;
  29525. _.to = t5;
  29526. },
  29527. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  29528. this.$this = t0;
  29529. this.variables = t1;
  29530. this.identifiers = t2;
  29531. },
  29532. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  29533. this.contentArguments_ = t0;
  29534. },
  29535. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  29536. this.query = t0;
  29537. },
  29538. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  29539. var _ = this;
  29540. _.$this = t0;
  29541. _.name = t1;
  29542. _.$arguments = t2;
  29543. _.precedingComment = t3;
  29544. },
  29545. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  29546. var _ = this;
  29547. _._box_0 = t0;
  29548. _.$this = t1;
  29549. _.name = t2;
  29550. _.value = t3;
  29551. },
  29552. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  29553. this.condition = t0;
  29554. },
  29555. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  29556. this.$this = t0;
  29557. this.wasInControlDirective = t1;
  29558. this.condition = t2;
  29559. },
  29560. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  29561. this._box_0 = t0;
  29562. this.name = t1;
  29563. },
  29564. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  29565. this._box_0 = t0;
  29566. this.$this = t1;
  29567. this.start = t2;
  29568. },
  29569. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  29570. this._box_0 = t0;
  29571. this.$this = t1;
  29572. },
  29573. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  29574. this._box_0 = t0;
  29575. this.resolveOneOperation = t1;
  29576. },
  29577. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  29578. var _ = this;
  29579. _._box_0 = t0;
  29580. _.$this = t1;
  29581. _.resetState = t2;
  29582. _.resolveOperations = t3;
  29583. },
  29584. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  29585. this._box_0 = t0;
  29586. this.$this = t1;
  29587. this.resolveOneOperation = t2;
  29588. },
  29589. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  29590. this._box_0 = t0;
  29591. this.$this = t1;
  29592. this.resolveOperations = t2;
  29593. },
  29594. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  29595. this.$this = t0;
  29596. },
  29597. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  29598. },
  29599. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  29600. },
  29601. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  29602. },
  29603. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  29604. this.$this = t0;
  29605. this.start = t1;
  29606. },
  29607. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  29608. },
  29609. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  29610. this.$this = t0;
  29611. },
  29612. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  29613. this.$this = t0;
  29614. this.start = t1;
  29615. },
  29616. Stylesheet$internal0(children, span, plainCss) {
  29617. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  29618. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  29619. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  29620. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  29621. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  29622. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  29623. return t1;
  29624. },
  29625. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  29626. var error, stackTrace, url0, t1, exception, t2;
  29627. try {
  29628. switch (syntax) {
  29629. case B.Syntax_Sass_sass0:
  29630. t1 = A.SpanScanner$(contents, url);
  29631. t1 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  29632. return t1;
  29633. case B.Syntax_SCSS_scss0:
  29634. t1 = A.ScssParser$0(contents, logger, url).parse$0();
  29635. return t1;
  29636. case B.Syntax_CSS_css0:
  29637. t1 = A.SpanScanner$(contents, url);
  29638. t1 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  29639. return t1;
  29640. default:
  29641. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  29642. throw A.wrapException(t1);
  29643. }
  29644. } catch (exception) {
  29645. t1 = A.unwrapException(exception);
  29646. if (t1 instanceof A.SassException0) {
  29647. error = t1;
  29648. stackTrace = A.getTraceFromException(exception);
  29649. t1 = error;
  29650. t2 = J.getInterceptor$z(t1);
  29651. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  29652. url0 = t1.get$sourceUrl(t1);
  29653. if (url0 == null || J.toString$0$(url0) === "stdin")
  29654. throw exception;
  29655. t1 = type$.Uri;
  29656. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  29657. } else
  29658. throw exception;
  29659. }
  29660. },
  29661. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  29662. var _ = this;
  29663. _.span = t0;
  29664. _.plainCss = t1;
  29665. _._stylesheet1$_uses = t2;
  29666. _._stylesheet1$_forwards = t3;
  29667. _.children = t4;
  29668. _.hasDeclarations = t5;
  29669. },
  29670. SupportsExpression0: function SupportsExpression0(t0) {
  29671. this.condition = t0;
  29672. },
  29673. ModifiableCssSupportsRule$0(condition, span) {
  29674. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29675. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29676. },
  29677. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  29678. var _ = this;
  29679. _.condition = t0;
  29680. _.span = t1;
  29681. _.children = t2;
  29682. _._node$_children = t3;
  29683. _._node$_indexInParent = _._node$_parent = null;
  29684. _.isGroupEnd = false;
  29685. },
  29686. SupportsRule$0(condition, children, span) {
  29687. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29688. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29689. return new A.SupportsRule0(condition, span, t1, t2);
  29690. },
  29691. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  29692. var _ = this;
  29693. _.condition = t0;
  29694. _.span = t1;
  29695. _.children = t2;
  29696. _.hasDeclarations = t3;
  29697. },
  29698. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  29699. this._sync$_canonicalize = t0;
  29700. this._sync$_load = t1;
  29701. this._sync$_nonCanonicalSchemes = t2;
  29702. },
  29703. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  29704. this.$this = t0;
  29705. this.url = t1;
  29706. },
  29707. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  29708. this.$this = t0;
  29709. this.url = t1;
  29710. },
  29711. Syntax_forPath0(path) {
  29712. var t1,
  29713. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29714. $label0$0: {
  29715. if (".sass" === _0_0) {
  29716. t1 = B.Syntax_Sass_sass0;
  29717. break $label0$0;
  29718. }
  29719. if (".css" === _0_0) {
  29720. t1 = B.Syntax_CSS_css0;
  29721. break $label0$0;
  29722. }
  29723. t1 = B.Syntax_SCSS_scss0;
  29724. break $label0$0;
  29725. }
  29726. return t1;
  29727. },
  29728. Syntax0: function Syntax0(t0, t1) {
  29729. this._syntax0$_name = t0;
  29730. this._name = t1;
  29731. },
  29732. TypeSelector0: function TypeSelector0(t0, t1) {
  29733. this.name = t0;
  29734. this.span = t1;
  29735. },
  29736. Types: function Types() {
  29737. },
  29738. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  29739. this.operator = t0;
  29740. this.operand = t1;
  29741. this.span = t2;
  29742. },
  29743. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  29744. this.name = t0;
  29745. this.operator = t1;
  29746. this._name = t2;
  29747. },
  29748. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  29749. this._number1$_value = t0;
  29750. this.hashCache = null;
  29751. this.asSlash = t1;
  29752. },
  29753. UniversalSelector0: function UniversalSelector0(t0, t1) {
  29754. this.namespace = t0;
  29755. this.span = t1;
  29756. },
  29757. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  29758. this._unprefixed_map_view0$_map = t0;
  29759. this._unprefixed_map_view0$_prefix = t1;
  29760. this.$ti = t2;
  29761. },
  29762. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  29763. this._unprefixed_map_view0$_view = t0;
  29764. },
  29765. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  29766. this.$this = t0;
  29767. },
  29768. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  29769. this.$this = t0;
  29770. },
  29771. JSUrl0: function JSUrl0() {
  29772. },
  29773. UseRule0: function UseRule0(t0, t1, t2, t3) {
  29774. var _ = this;
  29775. _.url = t0;
  29776. _.namespace = t1;
  29777. _.configuration = t2;
  29778. _.span = t3;
  29779. },
  29780. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  29781. var _ = this;
  29782. _.declaration = t0;
  29783. _.environment = t1;
  29784. _.inDependency = t2;
  29785. _.$ti = t3;
  29786. },
  29787. fromImport0() {
  29788. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  29789. return t1 === true;
  29790. },
  29791. containingUrl0() {
  29792. var t1,
  29793. _0_0 = $.Zone__current.$index(0, B.Symbol__containingUrl);
  29794. $label0$0: {
  29795. if (_0_0 == null)
  29796. A.throwExpression(A.StateError$(string$.contai));
  29797. if (B.Symbol__none.$eq(0, _0_0)) {
  29798. t1 = null;
  29799. break $label0$0;
  29800. }
  29801. if (type$.Uri._is(_0_0)) {
  29802. t1 = _0_0;
  29803. break $label0$0;
  29804. }
  29805. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  29806. }
  29807. return t1;
  29808. },
  29809. withContainingUrl0(url, callback, $T) {
  29810. var t1 = url == null ? B.Symbol__none : url,
  29811. t2 = type$.nullable_Object;
  29812. return A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__containingUrl, t1], t2, t2), $T);
  29813. },
  29814. resolveImportPath0(path) {
  29815. var t1,
  29816. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29817. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  29818. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  29819. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  29820. }
  29821. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  29822. if (t1 == null)
  29823. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  29824. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  29825. },
  29826. _tryPathWithExtensions0(path) {
  29827. var result = A._tryPath0(path + ".sass");
  29828. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  29829. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  29830. },
  29831. _tryPath0(path) {
  29832. var t1 = $.$get$context(),
  29833. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  29834. t1 = A._setArrayType([], type$.JSArray_String);
  29835. if (A.fileExists0(partial))
  29836. t1.push(partial);
  29837. if (A.fileExists0(path))
  29838. t1.push(path);
  29839. return t1;
  29840. },
  29841. _tryPathAsDirectory0(path) {
  29842. var t1;
  29843. if (!A.dirExists0(path))
  29844. return null;
  29845. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  29846. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  29847. },
  29848. _exactlyOne0(paths) {
  29849. var _0_1, t1, path;
  29850. $label0$0: {
  29851. _0_1 = paths.length;
  29852. if (_0_1 <= 0) {
  29853. t1 = null;
  29854. break $label0$0;
  29855. }
  29856. if (_0_1 === 1) {
  29857. path = paths[0];
  29858. t1 = path;
  29859. break $label0$0;
  29860. }
  29861. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  29862. }
  29863. return t1;
  29864. },
  29865. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  29866. this.path = t0;
  29867. this.extension = t1;
  29868. },
  29869. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  29870. this.path = t0;
  29871. },
  29872. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  29873. this.path = t0;
  29874. },
  29875. _exactlyOne_closure0: function _exactlyOne_closure0() {
  29876. },
  29877. jsThrow(error) {
  29878. return type$.Never._as($.$get$_jsThrow().call$1(error));
  29879. },
  29880. attachJsStack(error, trace) {
  29881. var traceString = trace.toString$0(0),
  29882. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  29883. if (firstRealLine !== -1)
  29884. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  29885. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  29886. },
  29887. jsForEach(object, callback) {
  29888. var t1, t2;
  29889. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  29890. t2 = t1.get$current(t1);
  29891. callback.call$2(t2, object[t2]);
  29892. }
  29893. },
  29894. jsType(value) {
  29895. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  29896. 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));
  29897. },
  29898. defineGetter(object, $name, get, value) {
  29899. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  29900. },
  29901. allowInteropNamed($name, $function) {
  29902. $function = A.allowInterop($function);
  29903. A.defineGetter($function, "name", null, $name);
  29904. A._hideDartProperties($function);
  29905. return $function;
  29906. },
  29907. allowInteropCaptureThisNamed($name, $function) {
  29908. $function = A.allowInteropCaptureThis($function);
  29909. A.defineGetter($function, "name", null, $name);
  29910. A._hideDartProperties($function);
  29911. return $function;
  29912. },
  29913. _hideDartProperties(object) {
  29914. var t1, t2, t3, t4;
  29915. for (t1 = J.cast$1$0$ax(self.Object.getOwnPropertyNames(object), type$.String), t2 = A._instanceType(t1), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  29916. t3 = t1.__internal$_current;
  29917. if (t3 == null)
  29918. t3 = t2._as(t3);
  29919. if (B.JSString_methods.startsWith$1(t3, "_")) {
  29920. t4 = {value: object[t3], enumerable: false};
  29921. self.Object.defineProperty(object, t3, t4);
  29922. }
  29923. }
  29924. },
  29925. futureToPromise0(future) {
  29926. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  29927. },
  29928. jsToDartUrl(url) {
  29929. return A.Uri_parse(J.toString$0$(url));
  29930. },
  29931. dartToJSUrl(url) {
  29932. return new self.URL(url.toString$0(0));
  29933. },
  29934. toJSArray(iterable) {
  29935. var t1, t2,
  29936. array = new self.Array();
  29937. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  29938. t2.push$1(array, t1.get$current(t1));
  29939. return array;
  29940. },
  29941. objectToMap(object) {
  29942. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  29943. A.jsForEach(object, new A.objectToMap_closure(map));
  29944. return map;
  29945. },
  29946. jsToDartSeparator(separator) {
  29947. var t1;
  29948. $label0$0: {
  29949. if (" " === separator) {
  29950. t1 = B.ListSeparator_EVt0;
  29951. break $label0$0;
  29952. }
  29953. if ("," === separator) {
  29954. t1 = B.ListSeparator_rXA0;
  29955. break $label0$0;
  29956. }
  29957. if ("/" === separator) {
  29958. t1 = B.ListSeparator_zg90;
  29959. break $label0$0;
  29960. }
  29961. if (separator == null) {
  29962. t1 = B.ListSeparator_undecided_null_undecided0;
  29963. break $label0$0;
  29964. }
  29965. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  29966. }
  29967. return t1;
  29968. },
  29969. parseSyntax(syntax) {
  29970. var t1;
  29971. $label0$0: {
  29972. if (syntax == null || "scss" === syntax) {
  29973. t1 = B.Syntax_SCSS_scss0;
  29974. break $label0$0;
  29975. }
  29976. if ("indented" === syntax) {
  29977. t1 = B.Syntax_Sass_sass0;
  29978. break $label0$0;
  29979. }
  29980. if ("css" === syntax) {
  29981. t1 = B.Syntax_CSS_css0;
  29982. break $label0$0;
  29983. }
  29984. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  29985. }
  29986. return t1;
  29987. },
  29988. entrypointFilename() {
  29989. var _1_0, _1_5, t2, _1_5_isSet, path,
  29990. t1 = self.require.main,
  29991. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  29992. if (_0_0 != null)
  29993. return _0_0;
  29994. else {
  29995. _1_0 = J.get$argv$x(self.process);
  29996. t1 = J.getInterceptor$asx(_1_0);
  29997. if (t1.get$length(_1_0) === 2) {
  29998. _1_5 = t1.$index(_1_0, 1);
  29999. t2 = typeof _1_5 == "string";
  30000. _1_5_isSet = true;
  30001. } else {
  30002. _1_5 = null;
  30003. _1_5_isSet = false;
  30004. t2 = false;
  30005. }
  30006. if (t2) {
  30007. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  30008. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  30009. } else
  30010. return null;
  30011. }
  30012. },
  30013. _PropertyDescriptor0: function _PropertyDescriptor0() {
  30014. },
  30015. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  30016. this.future = t0;
  30017. },
  30018. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  30019. this.resolve = t0;
  30020. },
  30021. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  30022. this.reject = t0;
  30023. },
  30024. objectToMap_closure: function objectToMap_closure(t0) {
  30025. this.map = t0;
  30026. },
  30027. _RequireMain0: function _RequireMain0() {
  30028. },
  30029. toSentence0(iter, conjunction) {
  30030. if (iter.get$length(iter) === 1)
  30031. return J.toString$0$(iter.get$first(iter));
  30032. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  30033. },
  30034. indent0(string, indentation) {
  30035. 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");
  30036. },
  30037. pluralize0($name, number, plural) {
  30038. if (number === 1)
  30039. return $name;
  30040. if (plural != null)
  30041. return plural;
  30042. return $name + "s";
  30043. },
  30044. trimAscii0(string, excludeEscape) {
  30045. var t1,
  30046. start = A._firstNonWhitespace0(string);
  30047. if (start == null)
  30048. t1 = "";
  30049. else {
  30050. t1 = A._lastNonWhitespace0(string, true);
  30051. t1.toString;
  30052. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  30053. }
  30054. return t1;
  30055. },
  30056. trimAsciiRight0(string, excludeEscape) {
  30057. var end = A._lastNonWhitespace0(string, excludeEscape);
  30058. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  30059. },
  30060. _firstNonWhitespace0(string) {
  30061. var t1, i, t2;
  30062. for (t1 = string.length, i = 0; i < t1; ++i) {
  30063. t2 = string.charCodeAt(i);
  30064. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  30065. return i;
  30066. }
  30067. return null;
  30068. },
  30069. _lastNonWhitespace0(string, excludeEscape) {
  30070. var i, i0, codeUnit;
  30071. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  30072. codeUnit = string.charCodeAt(i0);
  30073. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  30074. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  30075. return i0 + 1;
  30076. else
  30077. return i0;
  30078. }
  30079. return null;
  30080. },
  30081. isPublic0(member) {
  30082. var start = member.charCodeAt(0);
  30083. return start !== 45 && start !== 95;
  30084. },
  30085. flattenVertically0(iterable, $T) {
  30086. var result,
  30087. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  30088. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  30089. if (queues.length === 1)
  30090. return B.JSArray_methods.get$first(queues);
  30091. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  30092. for (; queues.length !== 0;) {
  30093. if (!!queues.fixed$length)
  30094. A.throwExpression(A.UnsupportedError$("removeWhere"));
  30095. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  30096. }
  30097. return result;
  30098. },
  30099. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  30100. var codeUnitIndex, i, codeUnitIndex0;
  30101. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  30102. codeUnitIndex0 = codeUnitIndex + 1;
  30103. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  30104. }
  30105. return codeUnitIndex;
  30106. },
  30107. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  30108. var codepointIndex, i;
  30109. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  30110. ++codepointIndex;
  30111. return codepointIndex;
  30112. },
  30113. frameForSpan0(span, member, url) {
  30114. var t2, t3,
  30115. t1 = url == null ? span.get$sourceUrl(span) : url;
  30116. if (t1 == null)
  30117. t1 = $.$get$_noSourceUrl0();
  30118. t2 = span.get$start(span);
  30119. t2 = t2.file.getLine$1(t2.offset);
  30120. t3 = span.get$start(span);
  30121. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  30122. },
  30123. declarationName0(span) {
  30124. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  30125. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  30126. },
  30127. unvendor0($name) {
  30128. var i,
  30129. t1 = $name.length;
  30130. if (t1 < 2)
  30131. return $name;
  30132. if ($name.charCodeAt(0) !== 45)
  30133. return $name;
  30134. if ($name.charCodeAt(1) === 45)
  30135. return $name;
  30136. for (i = 2; i < t1; ++i)
  30137. if ($name.charCodeAt(i) === 45)
  30138. return B.JSString_methods.substring$1($name, i + 1);
  30139. return $name;
  30140. },
  30141. equalsIgnoreCase0(string1, string2) {
  30142. var t1, i;
  30143. if (string1 === string2)
  30144. return true;
  30145. if (string1 == null || false)
  30146. return false;
  30147. t1 = string1.length;
  30148. if (t1 !== string2.length)
  30149. return false;
  30150. for (i = 0; i < t1; ++i)
  30151. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  30152. return false;
  30153. return true;
  30154. },
  30155. startsWithIgnoreCase0(string, prefix) {
  30156. var i,
  30157. t1 = prefix.length;
  30158. if (string.length < t1)
  30159. return false;
  30160. for (i = 0; i < t1; ++i)
  30161. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  30162. return false;
  30163. return true;
  30164. },
  30165. mapInPlace0(list, $function) {
  30166. var i;
  30167. for (i = 0; i < list.length; ++i)
  30168. list[i] = $function.call$1(list[i]);
  30169. },
  30170. longestCommonSubsequence0(list1, list2, select, $T) {
  30171. var t1, _i, selections, i, i0, j, selection, j0,
  30172. _length = list1.get$length(0) + 1,
  30173. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  30174. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  30175. 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);
  30176. _length = list1.get$length(0);
  30177. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  30178. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  30179. 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);
  30180. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  30181. 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) {
  30182. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  30183. selections[i][j] = selection;
  30184. t1 = lengths[i0];
  30185. j0 = j + 1;
  30186. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  30187. }
  30188. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  30189. },
  30190. removeFirstWhere0(list, test, orElse) {
  30191. var i;
  30192. for (i = 0; i < list.length; ++i) {
  30193. if (!test.call$1(list[i]))
  30194. continue;
  30195. B.JSArray_methods.removeAt$1(list, i);
  30196. return;
  30197. }
  30198. orElse.call$0();
  30199. },
  30200. mapAddAll20(destination, source, K1, K2, $V) {
  30201. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  30202. },
  30203. setAll0(map, keys, value) {
  30204. var t1;
  30205. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  30206. map.$indexSet(0, t1.get$current(t1), value);
  30207. },
  30208. rotateSlice0(list, start, end) {
  30209. var i, next,
  30210. element = list.$index(0, end - 1);
  30211. for (i = start; i < end; ++i, element = next) {
  30212. next = list.$index(0, i);
  30213. list.$indexSet(0, i, element);
  30214. }
  30215. },
  30216. mapAsync0(iterable, callback, $E, $F) {
  30217. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  30218. },
  30219. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  30220. var $async$goto = 0,
  30221. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  30222. $async$returnValue, t2, _i, t1, $async$temp1;
  30223. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30224. if ($async$errorCode === 1)
  30225. return A._asyncRethrow($async$result, $async$completer);
  30226. while (true)
  30227. switch ($async$goto) {
  30228. case 0:
  30229. // Function start
  30230. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  30231. t2 = iterable.length, _i = 0;
  30232. case 3:
  30233. // for condition
  30234. if (!(_i < t2)) {
  30235. // goto after for
  30236. $async$goto = 5;
  30237. break;
  30238. }
  30239. $async$temp1 = t1;
  30240. $async$goto = 6;
  30241. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  30242. case 6:
  30243. // returning from await.
  30244. $async$temp1.push($async$result);
  30245. case 4:
  30246. // for update
  30247. ++_i;
  30248. // goto for condition
  30249. $async$goto = 3;
  30250. break;
  30251. case 5:
  30252. // after for
  30253. $async$returnValue = t1;
  30254. // goto return
  30255. $async$goto = 1;
  30256. break;
  30257. case 1:
  30258. // return
  30259. return A._asyncReturn($async$returnValue, $async$completer);
  30260. }
  30261. });
  30262. return A._asyncStartSync($async$mapAsync0, $async$completer);
  30263. },
  30264. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  30265. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  30266. },
  30267. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  30268. var $async$goto = 0,
  30269. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  30270. $async$returnValue, t1, value;
  30271. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30272. if ($async$errorCode === 1)
  30273. return A._asyncRethrow($async$result, $async$completer);
  30274. while (true)
  30275. switch ($async$goto) {
  30276. case 0:
  30277. // Function start
  30278. if (map.containsKey$1(key)) {
  30279. t1 = map.$index(0, key);
  30280. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  30281. // goto return
  30282. $async$goto = 1;
  30283. break;
  30284. }
  30285. $async$goto = 3;
  30286. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  30287. case 3:
  30288. // returning from await.
  30289. value = $async$result;
  30290. map.$indexSet(0, key, value);
  30291. $async$returnValue = value;
  30292. // goto return
  30293. $async$goto = 1;
  30294. break;
  30295. case 1:
  30296. // return
  30297. return A._asyncReturn($async$returnValue, $async$completer);
  30298. }
  30299. });
  30300. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  30301. },
  30302. copyMapOfMap0(map, K1, K2, $V) {
  30303. var t3, key, child,
  30304. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  30305. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  30306. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  30307. t3 = t1.get$current(t1);
  30308. key = t3._0;
  30309. child = t3._1;
  30310. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  30311. t3.addAll$1(0, child);
  30312. t2.$indexSet(0, key, t3);
  30313. }
  30314. return t2;
  30315. },
  30316. copyMapOfList0(map, $K, $E) {
  30317. var t3,
  30318. t1 = $E._eval$1("List<0>"),
  30319. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  30320. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  30321. t3 = t1.get$current(t1);
  30322. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  30323. }
  30324. return t2;
  30325. },
  30326. consumeEscapedCharacter0(scanner) {
  30327. var _1_0, value, i, next, t1;
  30328. scanner.expectChar$1(92);
  30329. _1_0 = scanner.peekChar$0();
  30330. if (_1_0 == null)
  30331. return 65533;
  30332. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  30333. scanner.error$1(0, "Expected escape sequence.");
  30334. if (A.CharacterExtension_get_isHex0(_1_0)) {
  30335. for (value = 0, i = 0; i < 6; ++i) {
  30336. next = scanner.peekChar$0();
  30337. if (next != null) {
  30338. if (!(next >= 48 && next <= 57))
  30339. if (!(next >= 97 && next <= 102))
  30340. t1 = next >= 65 && next <= 70;
  30341. else
  30342. t1 = true;
  30343. else
  30344. t1 = true;
  30345. t1 = !t1;
  30346. } else
  30347. t1 = true;
  30348. if (t1)
  30349. break;
  30350. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  30351. }
  30352. t1 = scanner.peekChar$0();
  30353. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  30354. scanner.readChar$0();
  30355. $label0$1: {
  30356. if (0 !== value)
  30357. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  30358. else
  30359. t1 = true;
  30360. if (t1) {
  30361. t1 = 65533;
  30362. break $label0$1;
  30363. }
  30364. t1 = value;
  30365. break $label0$1;
  30366. }
  30367. return t1;
  30368. }
  30369. return scanner.readChar$0();
  30370. },
  30371. throwWithTrace0(error, originalError, trace) {
  30372. var t1 = A.getTrace0(originalError);
  30373. A.attachTrace0(error, t1 == null ? trace : t1);
  30374. throw A.wrapException(error);
  30375. },
  30376. attachTrace0(error, trace) {
  30377. var t1;
  30378. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  30379. return;
  30380. if (trace.toString$0(0).length === 0)
  30381. return;
  30382. t1 = $.$get$_traces0();
  30383. A.Expando__checkType(error);
  30384. if (t1._jsWeakMap.get(error) == null)
  30385. t1.$indexSet(0, error, trace);
  30386. },
  30387. getTrace0(error) {
  30388. var t1;
  30389. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  30390. t1 = null;
  30391. else {
  30392. t1 = $.$get$_traces0();
  30393. A.Expando__checkType(error);
  30394. t1 = t1._jsWeakMap.get(error);
  30395. }
  30396. return t1;
  30397. },
  30398. parseSignature(signature, requireParens) {
  30399. var error, stackTrace, t1, exception, t2;
  30400. try {
  30401. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  30402. return t1;
  30403. } catch (exception) {
  30404. t1 = A.unwrapException(exception);
  30405. if (type$.SassFormatException_2._is(t1)) {
  30406. error = t1;
  30407. stackTrace = A.getTraceFromException(exception);
  30408. t1 = error._span_exception$_message;
  30409. t2 = J.get$span$z(error);
  30410. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  30411. } else
  30412. throw exception;
  30413. }
  30414. },
  30415. indent_closure0: function indent_closure0(t0) {
  30416. this.indentation = t0;
  30417. },
  30418. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  30419. this.T = t0;
  30420. },
  30421. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  30422. this.result = t0;
  30423. this.T = t1;
  30424. },
  30425. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  30426. this.selections = t0;
  30427. this.lengths = t1;
  30428. this.T = t2;
  30429. },
  30430. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  30431. var _ = this;
  30432. _.destination = t0;
  30433. _.K1 = t1;
  30434. _.K2 = t2;
  30435. _.V = t3;
  30436. },
  30437. CssValue0: function CssValue0(t0, t1, t2) {
  30438. this.value = t0;
  30439. this.span = t1;
  30440. this.$ti = t2;
  30441. },
  30442. ValueExpression0: function ValueExpression0(t0, t1) {
  30443. this.value = t0;
  30444. this.span = t1;
  30445. },
  30446. valueClass_closure: function valueClass_closure() {
  30447. },
  30448. valueClass__closure: function valueClass__closure() {
  30449. },
  30450. valueClass__closure0: function valueClass__closure0() {
  30451. },
  30452. valueClass__closure1: function valueClass__closure1() {
  30453. },
  30454. valueClass__closure2: function valueClass__closure2() {
  30455. },
  30456. valueClass__closure3: function valueClass__closure3() {
  30457. },
  30458. valueClass__closure4: function valueClass__closure4() {
  30459. },
  30460. valueClass__closure5: function valueClass__closure5() {
  30461. },
  30462. valueClass__closure6: function valueClass__closure6() {
  30463. },
  30464. valueClass__closure7: function valueClass__closure7() {
  30465. },
  30466. valueClass__closure8: function valueClass__closure8() {
  30467. },
  30468. valueClass__closure9: function valueClass__closure9() {
  30469. },
  30470. valueClass__closure10: function valueClass__closure10() {
  30471. },
  30472. valueClass__closure11: function valueClass__closure11() {
  30473. },
  30474. valueClass__closure12: function valueClass__closure12() {
  30475. },
  30476. valueClass__closure13: function valueClass__closure13() {
  30477. },
  30478. valueClass__closure14: function valueClass__closure14() {
  30479. },
  30480. valueClass__closure15: function valueClass__closure15() {
  30481. },
  30482. valueClass__closure16: function valueClass__closure16() {
  30483. },
  30484. valueClass__closure17: function valueClass__closure17() {
  30485. },
  30486. valueClass__closure18: function valueClass__closure18() {
  30487. },
  30488. SassApiValue_assertSelector0(_this, allowParent, $name) {
  30489. var error, stackTrace, t1, exception,
  30490. string = _this._value$_selectorString$1($name);
  30491. try {
  30492. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null, null);
  30493. return t1;
  30494. } catch (exception) {
  30495. t1 = A.unwrapException(exception);
  30496. if (type$.SassFormatException_2._is(t1)) {
  30497. error = t1;
  30498. stackTrace = A.getTraceFromException(exception);
  30499. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30500. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  30501. } else
  30502. throw exception;
  30503. }
  30504. },
  30505. SassApiValue_assertCompoundSelector0(_this, $name) {
  30506. var error, stackTrace, t1, exception,
  30507. allowParent = false,
  30508. string = _this._value$_selectorString$1($name);
  30509. try {
  30510. t1 = A.SelectorParser$0(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  30511. return t1;
  30512. } catch (exception) {
  30513. t1 = A.unwrapException(exception);
  30514. if (type$.SassFormatException_2._is(t1)) {
  30515. error = t1;
  30516. stackTrace = A.getTraceFromException(exception);
  30517. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30518. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  30519. } else
  30520. throw exception;
  30521. }
  30522. },
  30523. Value0: function Value0() {
  30524. },
  30525. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  30526. this.namespace = t0;
  30527. this.name = t1;
  30528. this.span = t2;
  30529. },
  30530. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  30531. if (namespace != null && global)
  30532. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  30533. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  30534. },
  30535. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  30536. var _ = this;
  30537. _.namespace = t0;
  30538. _.name = t1;
  30539. _.expression = t2;
  30540. _.isGuarded = t3;
  30541. _.isGlobal = t4;
  30542. _.span = t5;
  30543. },
  30544. WarnRule0: function WarnRule0(t0, t1) {
  30545. this.expression = t0;
  30546. this.span = t1;
  30547. },
  30548. WhileRule$0(condition, children, span) {
  30549. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  30550. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  30551. return new A.WhileRule0(condition, span, t1, t2);
  30552. },
  30553. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  30554. var _ = this;
  30555. _.condition = t0;
  30556. _.span = t1;
  30557. _.children = t2;
  30558. _.hasDeclarations = t3;
  30559. },
  30560. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  30561. var _0_0 = A.parseSignature(signature, requireParens);
  30562. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  30563. },
  30564. Callable_Callable$fromSignature(signature, callback, requireParens) {
  30565. var _0_0 = A.parseSignature(signature, requireParens);
  30566. 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);
  30567. },
  30568. printString(string) {
  30569. if (typeof dartPrint == "function") {
  30570. dartPrint(string);
  30571. return;
  30572. }
  30573. if (typeof console == "object" && typeof console.log != "undefined") {
  30574. console.log(string);
  30575. return;
  30576. }
  30577. if (typeof print == "function") {
  30578. print(string);
  30579. return;
  30580. }
  30581. throw "Unable to print message: " + String(string);
  30582. },
  30583. mergeMaps(map1, map2, $K, $V) {
  30584. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  30585. result.addAll$1(0, map2);
  30586. return result;
  30587. },
  30588. groupBy(values, key, $S, $T) {
  30589. var t1, t2, _i, element, t3, t4,
  30590. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  30591. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  30592. element = values[_i];
  30593. t3 = key.call$1(element);
  30594. t4 = map.$index(0, t3);
  30595. if (t4 == null) {
  30596. t4 = A._setArrayType([], t2);
  30597. map.$indexSet(0, t3, t4);
  30598. t3 = t4;
  30599. } else
  30600. t3 = t4;
  30601. J.add$1$ax(t3, element);
  30602. }
  30603. return map;
  30604. },
  30605. minBy(values, orderBy) {
  30606. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  30607. for (t1 = values.$ti, t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], minValue = null, minOrderBy = null; t2.moveNext$0();) {
  30608. element = t2.__internal$_current;
  30609. if (element == null)
  30610. element = t1._as(element);
  30611. elementOrderBy = orderBy.call$1(element);
  30612. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  30613. minOrderBy = elementOrderBy;
  30614. minValue = element;
  30615. }
  30616. }
  30617. return minValue;
  30618. },
  30619. IterableExtension_firstWhereOrNull(_this, test) {
  30620. var t1, element;
  30621. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  30622. element = t1.get$current(t1);
  30623. if (test.call$1(element))
  30624. return element;
  30625. }
  30626. return null;
  30627. },
  30628. IterableExtension_get_firstOrNull(_this) {
  30629. var iterator = J.get$iterator$ax(_this);
  30630. if (iterator.moveNext$0())
  30631. return iterator.get$current(iterator);
  30632. return null;
  30633. },
  30634. IterableExtension_get_lastOrNull(_this) {
  30635. if (_this.get$length(0) === 0)
  30636. return null;
  30637. return _this.get$last(_this);
  30638. },
  30639. IterableExtension_get_singleOrNull(_this) {
  30640. var result,
  30641. iterator = J.get$iterator$ax(_this);
  30642. if (iterator.moveNext$0()) {
  30643. result = iterator.get$current(iterator);
  30644. if (!iterator.moveNext$0())
  30645. return result;
  30646. }
  30647. return null;
  30648. },
  30649. IterableNullableExtension_whereNotNull(_this, $T) {
  30650. return new A._SyncStarIterable(A.IterableNullableExtension_whereNotNull$body(_this, $T), $T._eval$1("_SyncStarIterable<0>"));
  30651. },
  30652. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T) {
  30653. return function() {
  30654. var _this = $async$_this,
  30655. $T = $async$$T;
  30656. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  30657. return function $async$IterableNullableExtension_whereNotNull($async$iterator, $async$errorCode, $async$result) {
  30658. if ($async$errorCode === 1) {
  30659. $async$currentError = $async$result;
  30660. $async$goto = $async$handler;
  30661. }
  30662. while (true)
  30663. switch ($async$goto) {
  30664. case 0:
  30665. // Function start
  30666. t1 = J.get$iterator$ax(_this);
  30667. case 2:
  30668. // for condition
  30669. if (!t1.moveNext$0()) {
  30670. // goto after for
  30671. $async$goto = 3;
  30672. break;
  30673. }
  30674. element = t1.get$current(t1);
  30675. $async$goto = element != null ? 4 : 5;
  30676. break;
  30677. case 4:
  30678. // then
  30679. $async$goto = 6;
  30680. return $async$iterator._async$_current = element, 1;
  30681. case 6:
  30682. // after yield
  30683. case 5:
  30684. // join
  30685. // goto for condition
  30686. $async$goto = 2;
  30687. break;
  30688. case 3:
  30689. // after for
  30690. // implicit return
  30691. return 0;
  30692. case 1:
  30693. // rethrow
  30694. return $async$iterator._datum = $async$currentError, 3;
  30695. }
  30696. };
  30697. };
  30698. },
  30699. IterableIntegerExtension_get_maxOrNull(_this) {
  30700. var value, newValue,
  30701. t1 = _this.$ti,
  30702. iterator = new A.ListIterator(_this, _this.get$length(0), t1._eval$1("ListIterator<ListIterable.E>"));
  30703. if (iterator.moveNext$0()) {
  30704. value = iterator.__internal$_current;
  30705. if (value == null)
  30706. value = t1._eval$1("ListIterable.E")._as(value);
  30707. for (t1 = t1._eval$1("ListIterable.E"); iterator.moveNext$0();) {
  30708. newValue = iterator.__internal$_current;
  30709. if (newValue == null)
  30710. newValue = t1._as(newValue);
  30711. if (newValue > value)
  30712. value = newValue;
  30713. }
  30714. return value;
  30715. }
  30716. return null;
  30717. },
  30718. IterableIntegerExtension_get_max(_this) {
  30719. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  30720. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  30721. },
  30722. IterableIntegerExtension_get_sum(_this) {
  30723. var t1, t2, result, t3;
  30724. for (t1 = _this.$ti, t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1], result = 0; t2.moveNext$0();) {
  30725. t3 = t2.__internal$_current;
  30726. result += t3 == null ? t1._as(t3) : t3;
  30727. }
  30728. return result;
  30729. },
  30730. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  30731. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  30732. },
  30733. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  30734. return function() {
  30735. var _this = $async$_this,
  30736. convert = $async$convert,
  30737. $E = $async$$E,
  30738. $R = $async$$R;
  30739. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  30740. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  30741. if ($async$errorCode === 1) {
  30742. $async$currentError = $async$result;
  30743. $async$goto = $async$handler;
  30744. }
  30745. while (true)
  30746. switch ($async$goto) {
  30747. case 0:
  30748. // Function start
  30749. t1 = _this.length, index = 0;
  30750. case 2:
  30751. // for condition
  30752. if (!(index < t1)) {
  30753. // goto after for
  30754. $async$goto = 4;
  30755. break;
  30756. }
  30757. $async$goto = 5;
  30758. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  30759. case 5:
  30760. // after yield
  30761. case 3:
  30762. // for update
  30763. ++index;
  30764. // goto for condition
  30765. $async$goto = 2;
  30766. break;
  30767. case 4:
  30768. // after for
  30769. // implicit return
  30770. return 0;
  30771. case 1:
  30772. // rethrow
  30773. return $async$iterator._datum = $async$currentError, 3;
  30774. }
  30775. };
  30776. };
  30777. },
  30778. ListExtensions_elementAtOrNull(_this, index) {
  30779. var t1 = J.getInterceptor$asx(_this);
  30780. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  30781. },
  30782. defaultCompare(value1, value2) {
  30783. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  30784. },
  30785. current() {
  30786. var exception, t1, path, lastIndex, uri = null;
  30787. try {
  30788. uri = A.Uri_base();
  30789. } catch (exception) {
  30790. if (type$.Exception._is(A.unwrapException(exception))) {
  30791. t1 = $._current;
  30792. if (t1 != null)
  30793. return t1;
  30794. throw exception;
  30795. } else
  30796. throw exception;
  30797. }
  30798. if (J.$eq$(uri, $._currentUriBase)) {
  30799. t1 = $._current;
  30800. t1.toString;
  30801. return t1;
  30802. }
  30803. $._currentUriBase = uri;
  30804. if ($.$get$Style_platform() === $.$get$Style_url())
  30805. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  30806. else {
  30807. path = uri.toFilePath$0();
  30808. lastIndex = path.length - 1;
  30809. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  30810. }
  30811. return t1;
  30812. },
  30813. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  30814. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  30815. },
  30816. join(part1, part2, part3) {
  30817. var _null = null;
  30818. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  30819. },
  30820. prettyUri(uri) {
  30821. var t1 = $.$get$context();
  30822. uri.toString;
  30823. return t1.prettyUri$1(uri);
  30824. },
  30825. isAlphabetic(char) {
  30826. var t1;
  30827. if (!(char >= 65 && char <= 90))
  30828. t1 = char >= 97 && char <= 122;
  30829. else
  30830. t1 = true;
  30831. return t1;
  30832. },
  30833. driveLetterEnd(path, index) {
  30834. var t2, t3, _null = null,
  30835. t1 = path.length,
  30836. index0 = index + 2;
  30837. if (t1 < index0)
  30838. return _null;
  30839. if (!A.isAlphabetic(path.charCodeAt(index)))
  30840. return _null;
  30841. t2 = index + 1;
  30842. if (path.charCodeAt(t2) !== 58) {
  30843. t3 = index + 4;
  30844. if (t1 < t3)
  30845. return _null;
  30846. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  30847. return _null;
  30848. index = index0;
  30849. }
  30850. t2 = index + 2;
  30851. if (t1 === t2)
  30852. return t2;
  30853. if (path.charCodeAt(t2) !== 47)
  30854. return _null;
  30855. return index + 3;
  30856. },
  30857. main0(args) {
  30858. var $async$goto = 0,
  30859. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30860. t1;
  30861. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30862. if ($async$errorCode === 1)
  30863. return A._asyncRethrow($async$result, $async$completer);
  30864. while (true)
  30865. switch ($async$goto) {
  30866. case 0:
  30867. // Function start
  30868. A.printError("sass --embedded is unavailable in pure JS mode.");
  30869. t1 = A.isNodeJs() ? self.process : null;
  30870. if (t1 != null)
  30871. J.set$exitCode$x(t1, 1);
  30872. // implicit return
  30873. return A._asyncReturn(null, $async$completer);
  30874. }
  30875. });
  30876. return A._asyncStartSync($async$main0, $async$completer);
  30877. },
  30878. EvaluationContext_current() {
  30879. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  30880. if (type$.EvaluationContext._is(_0_0))
  30881. return _0_0;
  30882. else
  30883. throw A.wrapException(A.StateError$(string$.No_Sass));
  30884. },
  30885. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  30886. var $async$goto = 0,
  30887. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  30888. $async$returnValue, t2, _1_4, source, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  30889. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30890. if ($async$errorCode === 1)
  30891. return A._asyncRethrow($async$result, $async$completer);
  30892. while (true)
  30893. switch ($async$goto) {
  30894. case 0:
  30895. // Function start
  30896. t1 = type$.nullable_String;
  30897. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  30898. t2 = t1.length;
  30899. $async$goto = t2 === 1 ? 4 : 5;
  30900. break;
  30901. case 4:
  30902. // then
  30903. _1_4 = t1[0];
  30904. source = _1_4._0;
  30905. $async$temp1 = A;
  30906. $async$goto = 6;
  30907. return A._asyncAwait(A.compileStylesheet(options, graph, source, _1_4._1, ifModified), $async$compileStylesheets);
  30908. case 6:
  30909. // returning from await.
  30910. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  30911. // goto break $label0$0
  30912. $async$goto = 3;
  30913. break;
  30914. case 5:
  30915. // join
  30916. t3 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  30917. for (_i = 0; _i < t2; ++_i) {
  30918. t4 = t1[_i];
  30919. t3.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  30920. }
  30921. $async$goto = 7;
  30922. return A._asyncAwait(A.Future_wait(t3, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  30923. case 7:
  30924. // returning from await.
  30925. t1 = $async$result;
  30926. // goto break $label0$0
  30927. $async$goto = 3;
  30928. break;
  30929. case 3:
  30930. // break $label0$0
  30931. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  30932. errorWithStackTrace = t1.get$current(t1);
  30933. if (errorWithStackTrace == null)
  30934. continue;
  30935. code = errorWithStackTrace._0;
  30936. error = errorWithStackTrace._1;
  30937. stackTrace = errorWithStackTrace._2;
  30938. t2 = self.process;
  30939. if (t2 == null)
  30940. t2 = null;
  30941. else {
  30942. t2 = J.get$release$x(t2);
  30943. t2 = t2 == null ? null : J.get$name$x(t2);
  30944. }
  30945. t2 = J.$eq$(t2, "node") ? self.process : null;
  30946. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  30947. if (t2 == null)
  30948. t2 = 0;
  30949. t2 = Math.max(t2, code);
  30950. t3 = self.process;
  30951. if (t3 == null)
  30952. t3 = null;
  30953. else {
  30954. t3 = J.get$release$x(t3);
  30955. t3 = t3 == null ? null : J.get$name$x(t3);
  30956. }
  30957. t3 = J.$eq$(t3, "node") ? self.process : null;
  30958. if (t3 != null)
  30959. J.set$exitCode$x(t3, t2);
  30960. buffer = new A.StringBuffer("");
  30961. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  30962. buffer._contents = t2;
  30963. if (stackTrace != null) {
  30964. t2 += "\n";
  30965. buffer._contents = t2;
  30966. t2 += "\n";
  30967. buffer._contents = t2;
  30968. buffer._contents = t2 + stackTrace;
  30969. }
  30970. A.printError(buffer);
  30971. printedError = true;
  30972. }
  30973. $async$returnValue = !printedError;
  30974. // goto return
  30975. $async$goto = 1;
  30976. break;
  30977. case 1:
  30978. // return
  30979. return A._asyncReturn($async$returnValue, $async$completer);
  30980. }
  30981. });
  30982. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  30983. },
  30984. repl(options) {
  30985. return A.repl$body(options);
  30986. },
  30987. repl$body(options) {
  30988. var $async$goto = 0,
  30989. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30990. $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;
  30991. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30992. if ($async$errorCode === 1) {
  30993. $async$currentError = $async$result;
  30994. $async$goto = $async$handler;
  30995. }
  30996. while (true)
  30997. switch ($async$goto) {
  30998. case 0:
  30999. // Function start
  31000. t1 = A._setArrayType([], type$.JSArray_String);
  31001. t2 = B.JSString_methods.$mul(" ", 3);
  31002. t3 = $.$get$alwaysValid();
  31003. repl0 = new A.Repl(">> ", t2, t3, t1);
  31004. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  31005. repl = repl0;
  31006. t1 = options._options;
  31007. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  31008. t2 = $.$get$FilesystemImporter_cwd();
  31009. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), t2);
  31010. t2 = repl.__Repl__adapter_A;
  31011. t2 === $ && A.throwUnnamedLateFieldNI();
  31012. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  31013. $async$handler = 2;
  31014. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  31015. case 5:
  31016. // for condition
  31017. $async$goto = 7;
  31018. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  31019. case 7:
  31020. // returning from await.
  31021. if (!$async$result) {
  31022. // goto after for
  31023. $async$goto = 6;
  31024. break;
  31025. }
  31026. line = t2.get$current(0);
  31027. if (J.trim$0$s(line).length === 0) {
  31028. // goto for condition
  31029. $async$goto = 5;
  31030. break;
  31031. }
  31032. try {
  31033. if (J.startsWith$1$s(line, "@")) {
  31034. t5 = evaluator;
  31035. t6 = logger;
  31036. t7 = A.SpanScanner$(line, null);
  31037. if (t6 == null)
  31038. t6 = B.StderrLogger_false;
  31039. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  31040. t5._visitor.runStatement$2(t5._importer, t6);
  31041. // goto for condition
  31042. $async$goto = 5;
  31043. break;
  31044. }
  31045. t5 = A.SpanScanner$(line, null);
  31046. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  31047. t5 = logger;
  31048. t6 = A.SpanScanner$(line, null);
  31049. if (t5 == null)
  31050. t5 = B.StderrLogger_false;
  31051. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  31052. t5 = evaluator;
  31053. t5._visitor.runStatement$2(t5._importer, declaration);
  31054. t5 = evaluator;
  31055. t6 = declaration.name;
  31056. t7 = declaration.span;
  31057. t8 = declaration.namespace;
  31058. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  31059. toZone = $.printToZone;
  31060. if (toZone == null)
  31061. A.printString(line0);
  31062. else
  31063. toZone.call$1(line0);
  31064. } else {
  31065. t5 = evaluator;
  31066. t6 = logger;
  31067. t7 = A.SpanScanner$(line, null);
  31068. if (t6 == null)
  31069. t6 = B.StderrLogger_false;
  31070. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  31071. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  31072. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  31073. toZone = $.printToZone;
  31074. if (toZone == null)
  31075. A.printString(line0);
  31076. else
  31077. toZone.call$1(line0);
  31078. }
  31079. } catch (exception) {
  31080. t5 = A.unwrapException(exception);
  31081. if (t5 instanceof A.SassException) {
  31082. error = t5;
  31083. stackTrace = A.getTraceFromException(exception);
  31084. t5 = error;
  31085. t6 = typeof t5 != "string";
  31086. if (!t6 || typeof t5 == "number" || A._isBool(t5))
  31087. t5 = null;
  31088. else {
  31089. t7 = $.$get$_traces();
  31090. if (A._isBool(t5) || typeof t5 == "number" || !t6 || t5 instanceof A._Record)
  31091. A.Expando__badExpandoKey(t5);
  31092. t5 = t7._jsWeakMap.get(t5);
  31093. }
  31094. if (t5 == null)
  31095. t5 = stackTrace;
  31096. A._logError(error, t5, line, repl, options, logger);
  31097. } else
  31098. throw exception;
  31099. }
  31100. // goto for condition
  31101. $async$goto = 5;
  31102. break;
  31103. case 6:
  31104. // after for
  31105. $async$next.push(4);
  31106. // goto finally
  31107. $async$goto = 3;
  31108. break;
  31109. case 2:
  31110. // uncaught
  31111. $async$next = [1];
  31112. case 3:
  31113. // finally
  31114. $async$handler = 1;
  31115. $async$goto = 8;
  31116. return A._asyncAwait(t2.cancel$0(), $async$repl);
  31117. case 8:
  31118. // returning from await.
  31119. // goto the next finally handler
  31120. $async$goto = $async$next.pop();
  31121. break;
  31122. case 4:
  31123. // after finally
  31124. // implicit return
  31125. return A._asyncReturn(null, $async$completer);
  31126. case 1:
  31127. // rethrow
  31128. return A._asyncRethrow($async$currentError, $async$completer);
  31129. }
  31130. });
  31131. return A._asyncStartSync($async$repl, $async$completer);
  31132. },
  31133. _logError(error, stackTrace, line, repl, options, logger) {
  31134. var t2, spacesBeforeError, t3,
  31135. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  31136. if (t1.get$sourceUrl(t1) == null)
  31137. if (!A._asBool(options._options.$index(0, "quiet")))
  31138. t1 = logger._emittedDebug || logger._emittedWarning;
  31139. else
  31140. t1 = false;
  31141. else
  31142. t1 = true;
  31143. if (t1) {
  31144. A.print(error.toString$1$color(0, options.get$color()));
  31145. return;
  31146. }
  31147. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  31148. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  31149. t2 = t2.get$start(t2);
  31150. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  31151. if (options.get$color()) {
  31152. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  31153. t2 = t2.get$start(t2);
  31154. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  31155. } else
  31156. t2 = false;
  31157. if (t2)
  31158. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  31159. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  31160. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  31161. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  31162. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  31163. t1 += "Error: " + error._span_exception$_message + "\n";
  31164. if (A._asBool(options._options.$index(0, "trace")))
  31165. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  31166. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  31167. },
  31168. CharacterExtension_get_isAlphabetic(_this) {
  31169. var t1;
  31170. if (!(_this >= 97 && _this <= 122))
  31171. t1 = _this >= 65 && _this <= 90;
  31172. else
  31173. t1 = true;
  31174. return t1;
  31175. },
  31176. CharacterExtension_get_isHex(_this) {
  31177. var t1;
  31178. if (!(_this >= 48 && _this <= 57))
  31179. if (!(_this >= 97 && _this <= 102))
  31180. t1 = _this >= 65 && _this <= 70;
  31181. else
  31182. t1 = true;
  31183. else
  31184. t1 = true;
  31185. return t1;
  31186. },
  31187. asHex(character) {
  31188. var t1;
  31189. $label0$0: {
  31190. if (character <= 57) {
  31191. t1 = character - 48;
  31192. break $label0$0;
  31193. }
  31194. if (character <= 70) {
  31195. t1 = 10 + character - 65;
  31196. break $label0$0;
  31197. }
  31198. t1 = 10 + character - 97;
  31199. break $label0$0;
  31200. }
  31201. return t1;
  31202. },
  31203. hexCharFor(number) {
  31204. return number < 10 ? 48 + number : 87 + number;
  31205. },
  31206. opposite(character) {
  31207. var t1;
  31208. $label0$0: {
  31209. if (40 === character) {
  31210. t1 = 41;
  31211. break $label0$0;
  31212. }
  31213. if (123 === character) {
  31214. t1 = 125;
  31215. break $label0$0;
  31216. }
  31217. if (91 === character) {
  31218. t1 = 93;
  31219. break $label0$0;
  31220. }
  31221. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  31222. }
  31223. return t1;
  31224. },
  31225. characterEqualsIgnoreCase(character1, character2) {
  31226. var upperCase1;
  31227. if (character1 === character2)
  31228. return true;
  31229. if ((character1 ^ character2) >>> 0 !== 32)
  31230. return false;
  31231. upperCase1 = (character1 & 4294967263) >>> 0;
  31232. return upperCase1 >= 65 && upperCase1 <= 90;
  31233. },
  31234. IterableExtension_search(_this, callback) {
  31235. var t1, _0_0;
  31236. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  31237. _0_0 = callback.call$1(t1.get$current(t1));
  31238. if (_0_0 != null)
  31239. return _0_0;
  31240. }
  31241. return null;
  31242. },
  31243. IterableExtension_get_exceptLast(_this) {
  31244. var t1 = J.getInterceptor$asx(_this),
  31245. size = t1.get$length(_this) - 1;
  31246. if (size < 0)
  31247. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  31248. return t1.take$1(_this, size);
  31249. },
  31250. NullableExtension_andThen(_this, fn) {
  31251. return _this == null ? null : fn.call$1(_this);
  31252. },
  31253. SetExtension_removeNull(_this, $T) {
  31254. _this.remove$1(0, null);
  31255. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  31256. },
  31257. fuzzyEquals(number1, number2) {
  31258. var t1;
  31259. if (number1 === number2)
  31260. return true;
  31261. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  31262. t1 = $.$get$_inverseEpsilon();
  31263. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  31264. } else
  31265. t1 = false;
  31266. return t1;
  31267. },
  31268. fuzzyHashCode(number) {
  31269. if (!isFinite(number))
  31270. return B.JSNumber_methods.get$hashCode(number);
  31271. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  31272. },
  31273. fuzzyLessThan(number1, number2) {
  31274. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  31275. },
  31276. fuzzyLessThanOrEquals(number1, number2) {
  31277. return number1 < number2 || A.fuzzyEquals(number1, number2);
  31278. },
  31279. fuzzyGreaterThan(number1, number2) {
  31280. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  31281. },
  31282. fuzzyGreaterThanOrEquals(number1, number2) {
  31283. return number1 > number2 || A.fuzzyEquals(number1, number2);
  31284. },
  31285. fuzzyAsInt(number) {
  31286. var rounded;
  31287. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31288. return null;
  31289. rounded = B.JSNumber_methods.round$0(number);
  31290. return A.fuzzyEquals(number, rounded) ? rounded : null;
  31291. },
  31292. fuzzyRound(number) {
  31293. var t1;
  31294. if (number > 0) {
  31295. t1 = B.JSNumber_methods.$mod(number, 1);
  31296. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31297. } else {
  31298. t1 = B.JSNumber_methods.$mod(number, 1);
  31299. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31300. }
  31301. },
  31302. fuzzyCheckRange(number, min, max) {
  31303. if (A.fuzzyEquals(number, min))
  31304. return min;
  31305. if (A.fuzzyEquals(number, max))
  31306. return max;
  31307. if (number > min && number < max)
  31308. return number;
  31309. return null;
  31310. },
  31311. fuzzyAssertRange(number, min, max, $name) {
  31312. var result = A.fuzzyCheckRange(number, min, max);
  31313. if (result != null)
  31314. return result;
  31315. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  31316. },
  31317. moduloLikeSass(num1, num2) {
  31318. var result;
  31319. if (num1 == 1 / 0 || num1 == -1 / 0)
  31320. return 0 / 0;
  31321. if (num2 == 1 / 0 || num2 == -1 / 0)
  31322. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  31323. if (num2 > 0)
  31324. return B.JSNumber_methods.$mod(num1, num2);
  31325. if (num2 === 0)
  31326. return 0 / 0;
  31327. result = B.JSNumber_methods.$mod(num1, num2);
  31328. return result === 0 ? 0 : result + num2;
  31329. },
  31330. sqrt(number) {
  31331. number.assertNoUnits$1("number");
  31332. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  31333. },
  31334. sin(number) {
  31335. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  31336. },
  31337. cos(number) {
  31338. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  31339. },
  31340. tan(number) {
  31341. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  31342. },
  31343. atan(number) {
  31344. number.assertNoUnits$1("number");
  31345. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31346. },
  31347. asin(number) {
  31348. number.assertNoUnits$1("number");
  31349. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31350. },
  31351. acos(number) {
  31352. number.assertNoUnits$1("number");
  31353. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31354. },
  31355. log(number, base) {
  31356. if (base != null)
  31357. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  31358. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  31359. },
  31360. pow0(base, exponent) {
  31361. base.assertNoUnits$1("base");
  31362. exponent.assertNoUnits$1("exponent");
  31363. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  31364. },
  31365. DoubleWithSignedZero_get_signIncludingZero(_this) {
  31366. if (_this === -0.0)
  31367. return -1;
  31368. if (_this === 0)
  31369. return 1;
  31370. return J.get$sign$in(_this);
  31371. },
  31372. SpanExtensions_trimLeft(_this) {
  31373. var t5,
  31374. t1 = _this._file$_start,
  31375. t2 = _this._end,
  31376. t3 = _this.file._decodedChars,
  31377. t4 = t3.length,
  31378. start = 0;
  31379. while (true) {
  31380. t5 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null).charCodeAt(start);
  31381. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  31382. break;
  31383. ++start;
  31384. }
  31385. return A.FileSpanExtension_subspan(_this, start, null);
  31386. },
  31387. SpanExtensions_trimRight(_this) {
  31388. var t1,
  31389. end = _this.get$text().length - 1;
  31390. while (true) {
  31391. t1 = _this.get$text().charCodeAt(end);
  31392. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31393. break;
  31394. --end;
  31395. }
  31396. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31397. },
  31398. encodeVlq(value) {
  31399. var res, signBit, digit, t1;
  31400. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  31401. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  31402. res = A._setArrayType([], type$.JSArray_String);
  31403. if (value < 0) {
  31404. value = -value;
  31405. signBit = 1;
  31406. } else
  31407. signBit = 0;
  31408. value = value << 1 | signBit;
  31409. do {
  31410. digit = value & 31;
  31411. value = value >>> 5;
  31412. t1 = value > 0;
  31413. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  31414. } while (t1);
  31415. return res;
  31416. },
  31417. isAllTheSame(iter) {
  31418. var firstValue, t1, t2, value;
  31419. if (iter.get$length(0) === 0)
  31420. return true;
  31421. firstValue = iter.get$first(0);
  31422. for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  31423. value = t1.__internal$_current;
  31424. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  31425. return false;
  31426. }
  31427. return true;
  31428. },
  31429. replaceFirstNull(list, element) {
  31430. var index = B.JSArray_methods.indexOf$1(list, null);
  31431. if (index < 0)
  31432. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  31433. list[index] = element;
  31434. },
  31435. replaceWithNull(list, element) {
  31436. var index = B.JSArray_methods.indexOf$1(list, element);
  31437. if (index < 0)
  31438. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  31439. list[index] = null;
  31440. },
  31441. countCodeUnits(string, codeUnit) {
  31442. var t1, t2, count, t3;
  31443. for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  31444. t3 = t1.__internal$_current;
  31445. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  31446. ++count;
  31447. }
  31448. return count;
  31449. },
  31450. findLineStart(context, text, column) {
  31451. var beginningOfLine, index, lineStart;
  31452. if (text.length === 0)
  31453. for (beginningOfLine = 0; true;) {
  31454. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  31455. if (index === -1)
  31456. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  31457. if (index - beginningOfLine >= column)
  31458. return beginningOfLine;
  31459. beginningOfLine = index + 1;
  31460. }
  31461. index = B.JSString_methods.indexOf$1(context, text);
  31462. for (; index !== -1;) {
  31463. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  31464. if (column === index - lineStart)
  31465. return lineStart;
  31466. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  31467. }
  31468. return null;
  31469. },
  31470. validateErrorArgs(string, match, position, $length) {
  31471. var t2,
  31472. t1 = position != null;
  31473. if (t1)
  31474. if (position < 0)
  31475. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  31476. else if (position > string.length)
  31477. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  31478. t2 = $length != null;
  31479. if (t2 && $length < 0)
  31480. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  31481. if (t1 && t2 && position + $length > string.length)
  31482. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  31483. },
  31484. CharacterExtension_get_isAlphabetic0(_this) {
  31485. var t1;
  31486. if (!(_this >= 97 && _this <= 122))
  31487. t1 = _this >= 65 && _this <= 90;
  31488. else
  31489. t1 = true;
  31490. return t1;
  31491. },
  31492. CharacterExtension_get_isHex0(_this) {
  31493. var t1;
  31494. if (!(_this >= 48 && _this <= 57))
  31495. if (!(_this >= 97 && _this <= 102))
  31496. t1 = _this >= 65 && _this <= 70;
  31497. else
  31498. t1 = true;
  31499. else
  31500. t1 = true;
  31501. return t1;
  31502. },
  31503. asHex0(character) {
  31504. var t1;
  31505. $label0$0: {
  31506. if (character <= 57) {
  31507. t1 = character - 48;
  31508. break $label0$0;
  31509. }
  31510. if (character <= 70) {
  31511. t1 = 10 + character - 65;
  31512. break $label0$0;
  31513. }
  31514. t1 = 10 + character - 97;
  31515. break $label0$0;
  31516. }
  31517. return t1;
  31518. },
  31519. hexCharFor0(number) {
  31520. return number < 10 ? 48 + number : 87 + number;
  31521. },
  31522. opposite0(character) {
  31523. var t1;
  31524. $label0$0: {
  31525. if (40 === character) {
  31526. t1 = 41;
  31527. break $label0$0;
  31528. }
  31529. if (123 === character) {
  31530. t1 = 125;
  31531. break $label0$0;
  31532. }
  31533. if (91 === character) {
  31534. t1 = 93;
  31535. break $label0$0;
  31536. }
  31537. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  31538. }
  31539. return t1;
  31540. },
  31541. characterEqualsIgnoreCase0(character1, character2) {
  31542. var upperCase1;
  31543. if (character1 === character2)
  31544. return true;
  31545. if ((character1 ^ character2) >>> 0 !== 32)
  31546. return false;
  31547. upperCase1 = (character1 & 4294967263) >>> 0;
  31548. return upperCase1 >= 65 && upperCase1 <= 90;
  31549. },
  31550. EvaluationContext_current0() {
  31551. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  31552. if (type$.EvaluationContext_2._is(_0_0))
  31553. return _0_0;
  31554. else
  31555. throw A.wrapException(A.StateError$(string$.No_Sass));
  31556. },
  31557. IterableExtension_search0(_this, callback) {
  31558. var t1, _0_0;
  31559. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  31560. _0_0 = callback.call$1(t1.get$current(t1));
  31561. if (_0_0 != null)
  31562. return _0_0;
  31563. }
  31564. return null;
  31565. },
  31566. IterableExtension_get_exceptLast0(_this) {
  31567. var t1 = J.getInterceptor$asx(_this),
  31568. size = t1.get$length(_this) - 1;
  31569. if (size < 0)
  31570. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  31571. return t1.take$1(_this, size);
  31572. },
  31573. NullableExtension_andThen0(_this, fn) {
  31574. return _this == null ? null : fn.call$1(_this);
  31575. },
  31576. fuzzyEquals0(number1, number2) {
  31577. var t1;
  31578. if (number1 === number2)
  31579. return true;
  31580. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  31581. t1 = $.$get$_inverseEpsilon0();
  31582. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  31583. } else
  31584. t1 = false;
  31585. return t1;
  31586. },
  31587. fuzzyHashCode0(number) {
  31588. if (!isFinite(number))
  31589. return B.JSNumber_methods.get$hashCode(number);
  31590. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  31591. },
  31592. fuzzyLessThan0(number1, number2) {
  31593. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  31594. },
  31595. fuzzyLessThanOrEquals0(number1, number2) {
  31596. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  31597. },
  31598. fuzzyGreaterThan0(number1, number2) {
  31599. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  31600. },
  31601. fuzzyGreaterThanOrEquals0(number1, number2) {
  31602. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  31603. },
  31604. fuzzyIsInt(number) {
  31605. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31606. return false;
  31607. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  31608. },
  31609. fuzzyAsInt0(number) {
  31610. var rounded;
  31611. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31612. return null;
  31613. rounded = B.JSNumber_methods.round$0(number);
  31614. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  31615. },
  31616. fuzzyRound0(number) {
  31617. var t1;
  31618. if (number > 0) {
  31619. t1 = B.JSNumber_methods.$mod(number, 1);
  31620. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31621. } else {
  31622. t1 = B.JSNumber_methods.$mod(number, 1);
  31623. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31624. }
  31625. },
  31626. fuzzyCheckRange0(number, min, max) {
  31627. if (A.fuzzyEquals0(number, min))
  31628. return min;
  31629. if (A.fuzzyEquals0(number, max))
  31630. return max;
  31631. if (number > min && number < max)
  31632. return number;
  31633. return null;
  31634. },
  31635. fuzzyAssertRange0(number, min, max, $name) {
  31636. var result = A.fuzzyCheckRange0(number, min, max);
  31637. if (result != null)
  31638. return result;
  31639. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  31640. },
  31641. moduloLikeSass0(num1, num2) {
  31642. var result;
  31643. if (num1 == 1 / 0 || num1 == -1 / 0)
  31644. return 0 / 0;
  31645. if (num2 == 1 / 0 || num2 == -1 / 0)
  31646. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  31647. if (num2 > 0)
  31648. return B.JSNumber_methods.$mod(num1, num2);
  31649. if (num2 === 0)
  31650. return 0 / 0;
  31651. result = B.JSNumber_methods.$mod(num1, num2);
  31652. return result === 0 ? 0 : result + num2;
  31653. },
  31654. sqrt0(number) {
  31655. number.assertNoUnits$1("number");
  31656. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  31657. },
  31658. sin0(number) {
  31659. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  31660. },
  31661. cos0(number) {
  31662. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  31663. },
  31664. tan0(number) {
  31665. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  31666. },
  31667. atan0(number) {
  31668. number.assertNoUnits$1("number");
  31669. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31670. },
  31671. asin0(number) {
  31672. number.assertNoUnits$1("number");
  31673. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31674. },
  31675. acos0(number) {
  31676. number.assertNoUnits$1("number");
  31677. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31678. },
  31679. log0(number, base) {
  31680. if (base != null)
  31681. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  31682. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  31683. },
  31684. pow1(base, exponent) {
  31685. base.assertNoUnits$1("base");
  31686. exponent.assertNoUnits$1("exponent");
  31687. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  31688. },
  31689. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  31690. if (_this === -0.0)
  31691. return -1;
  31692. if (_this === 0)
  31693. return 1;
  31694. return J.get$sign$in(_this);
  31695. },
  31696. main1(args) {
  31697. return A.main$body(args);
  31698. },
  31699. main$body(args) {
  31700. var $async$goto = 0,
  31701. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  31702. $async$returnValue, $async$handler = 2, $async$currentError, options, graph, error, error0, stackTrace, buffer, t1, t2, t3, t4, exception, $async$exception, $async$temp1;
  31703. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31704. if ($async$errorCode === 1) {
  31705. $async$currentError = $async$result;
  31706. $async$goto = $async$handler;
  31707. }
  31708. while (true)
  31709. switch ($async$goto) {
  31710. case 0:
  31711. // Function start
  31712. if (args.length >= 1 && "--embedded" === args[0]) {
  31713. A.main0(B.JSArray_methods.sublist$1(args, 1));
  31714. // goto return
  31715. $async$goto = 1;
  31716. break;
  31717. }
  31718. options = null;
  31719. $async$handler = 4;
  31720. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  31721. t1 = options._options;
  31722. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  31723. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  31724. break;
  31725. case 7:
  31726. // then
  31727. $async$temp1 = A;
  31728. $async$goto = 9;
  31729. return A._asyncAwait(A._loadVersion(), $async$main1);
  31730. case 9:
  31731. // returning from await.
  31732. $async$temp1.print($async$result);
  31733. t1 = A.isNodeJs() ? self.process : null;
  31734. if (t1 != null)
  31735. J.set$exitCode$x(t1, 0);
  31736. // goto return
  31737. $async$goto = 1;
  31738. break;
  31739. case 8:
  31740. // join
  31741. $async$goto = options.get$interactive() ? 10 : 11;
  31742. break;
  31743. case 10:
  31744. // then
  31745. $async$goto = 12;
  31746. return A._asyncAwait(A.repl(options), $async$main1);
  31747. case 12:
  31748. // returning from await.
  31749. // goto return
  31750. $async$goto = 1;
  31751. break;
  31752. case 11:
  31753. // join
  31754. t1 = options.get$pkgImporters();
  31755. t2 = type$.List_String._as(options._options.$index(0, "load-path"));
  31756. t3 = options;
  31757. t3 = A._asBool(t3._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t3.get$color());
  31758. t4 = type$.Uri;
  31759. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.StylesheetNode), A.ImportCache$(t1, t2, new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), t3, options.get$fatalDeprecations(), options.get$futureDeprecations(), false)), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  31760. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  31761. break;
  31762. case 13:
  31763. // then
  31764. $async$goto = 15;
  31765. return A._asyncAwait(A.watch(options, graph), $async$main1);
  31766. case 15:
  31767. // returning from await.
  31768. // goto return
  31769. $async$goto = 1;
  31770. break;
  31771. case 14:
  31772. // join
  31773. t1 = options;
  31774. t2 = options;
  31775. t2._ensureSources$0();
  31776. t2 = t2._sourcesToDestinations;
  31777. t2.toString;
  31778. $async$goto = 16;
  31779. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  31780. case 16:
  31781. // returning from await.
  31782. $async$handler = 2;
  31783. // goto after finally
  31784. $async$goto = 6;
  31785. break;
  31786. case 4:
  31787. // catch
  31788. $async$handler = 3;
  31789. $async$exception = $async$currentError;
  31790. t1 = A.unwrapException($async$exception);
  31791. if (t1 instanceof A.UsageException) {
  31792. error = t1;
  31793. A.print(error.message + "\n");
  31794. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  31795. t1 = $.$get$ExecutableOptions__parser();
  31796. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  31797. t1 = A.isNodeJs() ? self.process : null;
  31798. if (t1 != null)
  31799. J.set$exitCode$x(t1, 64);
  31800. } else {
  31801. error0 = t1;
  31802. stackTrace = A.getTraceFromException($async$exception);
  31803. buffer = new A.StringBuffer("");
  31804. t1 = options;
  31805. t1 = t1 == null ? null : t1.get$color();
  31806. if (t1 === true)
  31807. buffer._contents += "\x1b[31m\x1b[1m";
  31808. buffer._contents += "Unexpected exception:";
  31809. t1 = options;
  31810. t1 = t1 == null ? null : t1.get$color();
  31811. if (t1 === true)
  31812. buffer._contents += "\x1b[0m";
  31813. buffer._contents += "\n";
  31814. buffer._contents += A.S(error0) + "\n";
  31815. buffer._contents += "\n";
  31816. buffer._contents += "\n";
  31817. t1 = A.getTrace(error0);
  31818. buffer._contents += B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  31819. A.printError(buffer);
  31820. t1 = A.isNodeJs() ? self.process : null;
  31821. if (t1 != null)
  31822. J.set$exitCode$x(t1, 255);
  31823. }
  31824. // goto after finally
  31825. $async$goto = 6;
  31826. break;
  31827. case 3:
  31828. // uncaught
  31829. // goto rethrow
  31830. $async$goto = 2;
  31831. break;
  31832. case 6:
  31833. // after finally
  31834. case 1:
  31835. // return
  31836. return A._asyncReturn($async$returnValue, $async$completer);
  31837. case 2:
  31838. // rethrow
  31839. return A._asyncRethrow($async$currentError, $async$completer);
  31840. }
  31841. });
  31842. return A._asyncStartSync($async$main1, $async$completer);
  31843. },
  31844. _loadVersion() {
  31845. var $async$goto = 0,
  31846. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  31847. $async$returnValue;
  31848. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31849. if ($async$errorCode === 1)
  31850. return A._asyncRethrow($async$result, $async$completer);
  31851. while (true)
  31852. switch ($async$goto) {
  31853. case 0:
  31854. // Function start
  31855. $async$returnValue = "1.71.1 compiled with dart2js 3.3.0";
  31856. // goto return
  31857. $async$goto = 1;
  31858. break;
  31859. case 1:
  31860. // return
  31861. return A._asyncReturn($async$returnValue, $async$completer);
  31862. }
  31863. });
  31864. return A._asyncStartSync($async$_loadVersion, $async$completer);
  31865. },
  31866. SpanExtensions_trimLeft0(_this) {
  31867. var t5,
  31868. t1 = _this._file$_start,
  31869. t2 = _this._end,
  31870. t3 = _this.file._decodedChars,
  31871. t4 = t3.length,
  31872. start = 0;
  31873. while (true) {
  31874. t5 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null).charCodeAt(start);
  31875. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  31876. break;
  31877. ++start;
  31878. }
  31879. return A.FileSpanExtension_subspan(_this, start, null);
  31880. },
  31881. SpanExtensions_trimRight0(_this) {
  31882. var t1,
  31883. end = _this.get$text().length - 1;
  31884. while (true) {
  31885. t1 = _this.get$text().charCodeAt(end);
  31886. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31887. break;
  31888. --end;
  31889. }
  31890. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31891. },
  31892. validateUrlScheme(scheme) {
  31893. var t1 = $.$get$_urlSchemeRegExp();
  31894. if (!t1._nativeRegExp.test(scheme))
  31895. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  31896. },
  31897. unwrapValue(object) {
  31898. var value;
  31899. if (object != null) {
  31900. if (object instanceof A.Value0)
  31901. return object;
  31902. value = object.dartValue;
  31903. if (value != null && value instanceof A.Value0)
  31904. return value;
  31905. if (object instanceof self.Error)
  31906. throw A.wrapException(object);
  31907. }
  31908. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  31909. },
  31910. wrapValue(value) {
  31911. var t1;
  31912. $label0$0: {
  31913. if (value instanceof A.SassColor0) {
  31914. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  31915. break $label0$0;
  31916. }
  31917. if (value instanceof A.SassList0) {
  31918. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  31919. break $label0$0;
  31920. }
  31921. if (value instanceof A.SassMap0) {
  31922. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  31923. break $label0$0;
  31924. }
  31925. if (value instanceof A.SassNumber0) {
  31926. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  31927. break $label0$0;
  31928. }
  31929. if (value instanceof A.SassString0) {
  31930. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  31931. break $label0$0;
  31932. }
  31933. t1 = value;
  31934. break $label0$0;
  31935. }
  31936. return t1;
  31937. }
  31938. },
  31939. B = {};
  31940. var holders = [A, J, B];
  31941. var $ = {};
  31942. A.JS_CONST.prototype = {};
  31943. J.Interceptor.prototype = {
  31944. $eq(receiver, other) {
  31945. return receiver === other;
  31946. },
  31947. get$hashCode(receiver) {
  31948. return A.Primitives_objectHashCode(receiver);
  31949. },
  31950. toString$0(receiver) {
  31951. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  31952. },
  31953. noSuchMethod$1(receiver, invocation) {
  31954. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  31955. },
  31956. get$runtimeType(receiver) {
  31957. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  31958. }
  31959. };
  31960. J.JSBool.prototype = {
  31961. toString$0(receiver) {
  31962. return String(receiver);
  31963. },
  31964. get$hashCode(receiver) {
  31965. return receiver ? 519018 : 218159;
  31966. },
  31967. get$runtimeType(receiver) {
  31968. return A.createRuntimeType(type$.bool);
  31969. },
  31970. $isTrustedGetRuntimeType: 1,
  31971. $isbool: 1
  31972. };
  31973. J.JSNull.prototype = {
  31974. $eq(receiver, other) {
  31975. return null == other;
  31976. },
  31977. toString$0(receiver) {
  31978. return "null";
  31979. },
  31980. get$hashCode(receiver) {
  31981. return 0;
  31982. },
  31983. get$runtimeType(receiver) {
  31984. return A.createRuntimeType(type$.Null);
  31985. },
  31986. $isTrustedGetRuntimeType: 1,
  31987. $isNull: 1
  31988. };
  31989. J.JavaScriptObject.prototype = {};
  31990. J.LegacyJavaScriptObject.prototype = {
  31991. get$hashCode(receiver) {
  31992. return 0;
  31993. },
  31994. toString$0(receiver) {
  31995. return String(receiver);
  31996. },
  31997. $isPromise: 1,
  31998. $isJsSystemError: 1,
  31999. $isImmutableList: 1,
  32000. $is_Channels: 1,
  32001. $is_NodeSassColor: 1,
  32002. $isCompileOptions: 1,
  32003. $isCompileStringOptions: 1,
  32004. $isNodeCompileResult: 1,
  32005. $is_NodeException: 1,
  32006. $isFiber: 1,
  32007. $isJSFunction0: 1,
  32008. $isImmutableList0: 1,
  32009. $isImmutableMap0: 1,
  32010. $isJSImporter: 1,
  32011. $isJSImporterResult: 1,
  32012. $isNodeImporterResult0: 1,
  32013. $is_ConstructorOptions: 1,
  32014. $is_NodeSassList: 1,
  32015. $isWarnOptions: 1,
  32016. $isDebugOptions: 1,
  32017. $is_NodeSassMap: 1,
  32018. $is_ConstructorOptions0: 1,
  32019. $is_NodeSassNumber: 1,
  32020. $isJSClass0: 1,
  32021. $isRenderContextOptions0: 1,
  32022. $isRenderOptions: 1,
  32023. $isRenderResult: 1,
  32024. $is_ConstructorOptions1: 1,
  32025. $is_NodeSassString: 1,
  32026. $isJSUrl0: 1,
  32027. get$isTTY(obj) {
  32028. return obj.isTTY;
  32029. },
  32030. get$write(obj) {
  32031. return obj.write;
  32032. },
  32033. write$1(receiver, p0) {
  32034. return receiver.write(p0);
  32035. },
  32036. createInterface$1(receiver, p0) {
  32037. return receiver.createInterface(p0);
  32038. },
  32039. on$2(receiver, p0, p1) {
  32040. return receiver.on(p0, p1);
  32041. },
  32042. get$close(obj) {
  32043. return obj.close;
  32044. },
  32045. close$0(receiver) {
  32046. return receiver.close();
  32047. },
  32048. setPrompt$1(receiver, p0) {
  32049. return receiver.setPrompt(p0);
  32050. },
  32051. get$length(obj) {
  32052. return obj.length;
  32053. },
  32054. toString$0(receiver) {
  32055. return receiver.toString();
  32056. },
  32057. get$debug(obj) {
  32058. return obj.debug;
  32059. },
  32060. debug$2(receiver, p0, p1) {
  32061. return receiver.debug(p0, p1);
  32062. },
  32063. get$error(obj) {
  32064. return obj.error;
  32065. },
  32066. error$1(receiver, p0) {
  32067. return receiver.error(p0);
  32068. },
  32069. error$2(receiver, p0, p1) {
  32070. return receiver.error(p0, p1);
  32071. },
  32072. log$1(receiver, p0) {
  32073. return receiver.log(p0);
  32074. },
  32075. get$warn(obj) {
  32076. return obj.warn;
  32077. },
  32078. warn$1(receiver, p0) {
  32079. return receiver.warn(p0);
  32080. },
  32081. warn$2(receiver, p0, p1) {
  32082. return receiver.warn(p0, p1);
  32083. },
  32084. existsSync$1(receiver, p0) {
  32085. return receiver.existsSync(p0);
  32086. },
  32087. mkdirSync$1(receiver, p0) {
  32088. return receiver.mkdirSync(p0);
  32089. },
  32090. readdirSync$1(receiver, p0) {
  32091. return receiver.readdirSync(p0);
  32092. },
  32093. readFileSync$2(receiver, p0, p1) {
  32094. return receiver.readFileSync(p0, p1);
  32095. },
  32096. statSync$1(receiver, p0) {
  32097. return receiver.statSync(p0);
  32098. },
  32099. unlinkSync$1(receiver, p0) {
  32100. return receiver.unlinkSync(p0);
  32101. },
  32102. watch$2(receiver, p0, p1) {
  32103. return receiver.watch(p0, p1);
  32104. },
  32105. writeFileSync$2(receiver, p0, p1) {
  32106. return receiver.writeFileSync(p0, p1);
  32107. },
  32108. get$path(obj) {
  32109. return obj.path;
  32110. },
  32111. isDirectory$0(receiver) {
  32112. return receiver.isDirectory();
  32113. },
  32114. isFile$0(receiver) {
  32115. return receiver.isFile();
  32116. },
  32117. get$mtime(obj) {
  32118. return obj.mtime;
  32119. },
  32120. then$1$1(receiver, p0) {
  32121. return receiver.then(p0);
  32122. },
  32123. then$2(receiver, p0, p1) {
  32124. return receiver.then(p0, p1);
  32125. },
  32126. getTime$0(receiver) {
  32127. return receiver.getTime();
  32128. },
  32129. get$message(obj) {
  32130. return obj.message;
  32131. },
  32132. message$1(receiver, p0) {
  32133. return receiver.message(p0);
  32134. },
  32135. get$filename(obj) {
  32136. return obj.filename;
  32137. },
  32138. get$code(obj) {
  32139. return obj.code;
  32140. },
  32141. get$syscall(obj) {
  32142. return obj.syscall;
  32143. },
  32144. get$argv(obj) {
  32145. return obj.argv;
  32146. },
  32147. get$env(obj) {
  32148. return obj.env;
  32149. },
  32150. get$exitCode(obj) {
  32151. return obj.exitCode;
  32152. },
  32153. set$exitCode(obj, v) {
  32154. return obj.exitCode = v;
  32155. },
  32156. get$platform(obj) {
  32157. return obj.platform;
  32158. },
  32159. get$release(obj) {
  32160. return obj.release;
  32161. },
  32162. get$stderr(obj) {
  32163. return obj.stderr;
  32164. },
  32165. get$stdin(obj) {
  32166. return obj.stdin;
  32167. },
  32168. get$stdout(obj) {
  32169. return obj.stdout;
  32170. },
  32171. get$name(obj) {
  32172. return obj.name;
  32173. },
  32174. push$1(receiver, p0) {
  32175. return receiver.push(p0);
  32176. },
  32177. call$0(receiver) {
  32178. return receiver.call();
  32179. },
  32180. call$1(receiver, p0) {
  32181. return receiver.call(p0);
  32182. },
  32183. call$2(receiver, p0, p1) {
  32184. return receiver.call(p0, p1);
  32185. },
  32186. call$3$1(receiver, p0) {
  32187. return receiver.call(p0);
  32188. },
  32189. call$2$1(receiver, p0) {
  32190. return receiver.call(p0);
  32191. },
  32192. call$1$1(receiver, p0) {
  32193. return receiver.call(p0);
  32194. },
  32195. call$3(receiver, p0, p1, p2) {
  32196. return receiver.call(p0, p1, p2);
  32197. },
  32198. call$3$3(receiver, p0, p1, p2) {
  32199. return receiver.call(p0, p1, p2);
  32200. },
  32201. call$2$2(receiver, p0, p1) {
  32202. return receiver.call(p0, p1);
  32203. },
  32204. call$2$0(receiver) {
  32205. return receiver.call();
  32206. },
  32207. call$1$0(receiver) {
  32208. return receiver.call();
  32209. },
  32210. call$1$2(receiver, p0, p1) {
  32211. return receiver.call(p0, p1);
  32212. },
  32213. call$2$3(receiver, p0, p1, p2) {
  32214. return receiver.call(p0, p1, p2);
  32215. },
  32216. apply$2(receiver, p0, p1) {
  32217. return receiver.apply(p0, p1);
  32218. },
  32219. toArray$0(receiver) {
  32220. return receiver.toArray();
  32221. },
  32222. asMutable$0(receiver) {
  32223. return receiver.asMutable();
  32224. },
  32225. asImmutable$0(receiver) {
  32226. return receiver.asImmutable();
  32227. },
  32228. $set$2(receiver, p0, p1) {
  32229. return receiver.set(p0, p1);
  32230. },
  32231. forEach$1(receiver, p0) {
  32232. return receiver.forEach(p0);
  32233. },
  32234. get$file(obj) {
  32235. return obj.file;
  32236. },
  32237. get$contents(obj) {
  32238. return obj.contents;
  32239. },
  32240. get$options(obj) {
  32241. return obj.options;
  32242. },
  32243. get$data(obj) {
  32244. return obj.data;
  32245. },
  32246. get$includePaths(obj) {
  32247. return obj.includePaths;
  32248. },
  32249. get$style(obj) {
  32250. return obj.style;
  32251. },
  32252. get$indentType(obj) {
  32253. return obj.indentType;
  32254. },
  32255. get$indentWidth(obj) {
  32256. return obj.indentWidth;
  32257. },
  32258. get$linefeed(obj) {
  32259. return obj.linefeed;
  32260. },
  32261. set$context(obj, v) {
  32262. return obj.context = v;
  32263. },
  32264. createRequire$1(receiver, p0) {
  32265. return receiver.createRequire(p0);
  32266. },
  32267. resolve$1(receiver, p0) {
  32268. return receiver.resolve(p0);
  32269. },
  32270. get$$prototype(obj) {
  32271. return obj.prototype;
  32272. },
  32273. get$red(obj) {
  32274. return obj.red;
  32275. },
  32276. get$green(obj) {
  32277. return obj.green;
  32278. },
  32279. get$blue(obj) {
  32280. return obj.blue;
  32281. },
  32282. get$hue(obj) {
  32283. return obj.hue;
  32284. },
  32285. get$saturation(obj) {
  32286. return obj.saturation;
  32287. },
  32288. get$lightness(obj) {
  32289. return obj.lightness;
  32290. },
  32291. get$whiteness(obj) {
  32292. return obj.whiteness;
  32293. },
  32294. get$blackness(obj) {
  32295. return obj.blackness;
  32296. },
  32297. get$alpha(obj) {
  32298. return obj.alpha;
  32299. },
  32300. get$dartValue(obj) {
  32301. return obj.dartValue;
  32302. },
  32303. set$dartValue(obj, v) {
  32304. return obj.dartValue = v;
  32305. },
  32306. get$alertAscii(obj) {
  32307. return obj.alertAscii;
  32308. },
  32309. get$alertColor(obj) {
  32310. return obj.alertColor;
  32311. },
  32312. get$loadPaths(obj) {
  32313. return obj.loadPaths;
  32314. },
  32315. get$quietDeps(obj) {
  32316. return obj.quietDeps;
  32317. },
  32318. get$verbose(obj) {
  32319. return obj.verbose;
  32320. },
  32321. get$charset(obj) {
  32322. return obj.charset;
  32323. },
  32324. get$sourceMap(obj) {
  32325. return obj.sourceMap;
  32326. },
  32327. get$sourceMapIncludeSources(obj) {
  32328. return obj.sourceMapIncludeSources;
  32329. },
  32330. get$logger(obj) {
  32331. return obj.logger;
  32332. },
  32333. get$importers(obj) {
  32334. return obj.importers;
  32335. },
  32336. get$functions(obj) {
  32337. return obj.functions;
  32338. },
  32339. get$syntax(obj) {
  32340. return obj.syntax;
  32341. },
  32342. get$url(obj) {
  32343. return obj.url;
  32344. },
  32345. get$importer(obj) {
  32346. return obj.importer;
  32347. },
  32348. get$_dartException(obj) {
  32349. return obj._dartException;
  32350. },
  32351. set$renderSync(obj, v) {
  32352. return obj.renderSync = v;
  32353. },
  32354. set$compileString(obj, v) {
  32355. return obj.compileString = v;
  32356. },
  32357. set$compileStringAsync(obj, v) {
  32358. return obj.compileStringAsync = v;
  32359. },
  32360. set$compile(obj, v) {
  32361. return obj.compile = v;
  32362. },
  32363. set$compileAsync(obj, v) {
  32364. return obj.compileAsync = v;
  32365. },
  32366. set$initCompiler(obj, v) {
  32367. return obj.initCompiler = v;
  32368. },
  32369. set$initAsyncCompiler(obj, v) {
  32370. return obj.initAsyncCompiler = v;
  32371. },
  32372. set$Compiler(obj, v) {
  32373. return obj.Compiler = v;
  32374. },
  32375. set$AsyncCompiler(obj, v) {
  32376. return obj.AsyncCompiler = v;
  32377. },
  32378. set$info(obj, v) {
  32379. return obj.info = v;
  32380. },
  32381. set$Exception(obj, v) {
  32382. return obj.Exception = v;
  32383. },
  32384. set$Logger(obj, v) {
  32385. return obj.Logger = v;
  32386. },
  32387. set$NodePackageImporter(obj, v) {
  32388. return obj.NodePackageImporter = v;
  32389. },
  32390. set$Value(obj, v) {
  32391. return obj.Value = v;
  32392. },
  32393. set$SassArgumentList(obj, v) {
  32394. return obj.SassArgumentList = v;
  32395. },
  32396. set$SassCalculation(obj, v) {
  32397. return obj.SassCalculation = v;
  32398. },
  32399. set$CalculationOperation(obj, v) {
  32400. return obj.CalculationOperation = v;
  32401. },
  32402. set$CalculationInterpolation(obj, v) {
  32403. return obj.CalculationInterpolation = v;
  32404. },
  32405. set$SassBoolean(obj, v) {
  32406. return obj.SassBoolean = v;
  32407. },
  32408. set$SassColor(obj, v) {
  32409. return obj.SassColor = v;
  32410. },
  32411. set$SassFunction(obj, v) {
  32412. return obj.SassFunction = v;
  32413. },
  32414. set$SassMixin(obj, v) {
  32415. return obj.SassMixin = v;
  32416. },
  32417. set$SassList(obj, v) {
  32418. return obj.SassList = v;
  32419. },
  32420. set$SassMap(obj, v) {
  32421. return obj.SassMap = v;
  32422. },
  32423. set$SassNumber(obj, v) {
  32424. return obj.SassNumber = v;
  32425. },
  32426. set$SassString(obj, v) {
  32427. return obj.SassString = v;
  32428. },
  32429. set$sassNull(obj, v) {
  32430. return obj.sassNull = v;
  32431. },
  32432. set$sassTrue(obj, v) {
  32433. return obj.sassTrue = v;
  32434. },
  32435. set$sassFalse(obj, v) {
  32436. return obj.sassFalse = v;
  32437. },
  32438. set$render(obj, v) {
  32439. return obj.render = v;
  32440. },
  32441. set$types(obj, v) {
  32442. return obj.types = v;
  32443. },
  32444. set$NULL(obj, v) {
  32445. return obj.NULL = v;
  32446. },
  32447. set$TRUE(obj, v) {
  32448. return obj.TRUE = v;
  32449. },
  32450. set$FALSE(obj, v) {
  32451. return obj.FALSE = v;
  32452. },
  32453. get$current(obj) {
  32454. return obj.current;
  32455. },
  32456. yield$0(receiver) {
  32457. return receiver.yield();
  32458. },
  32459. run$1$1(receiver, p0) {
  32460. return receiver.run(p0);
  32461. },
  32462. run$1(receiver, p0) {
  32463. return receiver.run(p0);
  32464. },
  32465. run$0(receiver) {
  32466. return receiver.run();
  32467. },
  32468. get$canonicalize(obj) {
  32469. return obj.canonicalize;
  32470. },
  32471. canonicalize$1(receiver, p0) {
  32472. return receiver.canonicalize(p0);
  32473. },
  32474. get$load(obj) {
  32475. return obj.load;
  32476. },
  32477. load$1(receiver, p0) {
  32478. return receiver.load(p0);
  32479. },
  32480. get$findFileUrl(obj) {
  32481. return obj.findFileUrl;
  32482. },
  32483. get$nonCanonicalScheme(obj) {
  32484. return obj.nonCanonicalScheme;
  32485. },
  32486. get$sourceMapUrl(obj) {
  32487. return obj.sourceMapUrl;
  32488. },
  32489. get$separator(obj) {
  32490. return obj.separator;
  32491. },
  32492. get$brackets(obj) {
  32493. return obj.brackets;
  32494. },
  32495. get$numeratorUnits(obj) {
  32496. return obj.numeratorUnits;
  32497. },
  32498. get$denominatorUnits(obj) {
  32499. return obj.denominatorUnits;
  32500. },
  32501. get$pkgImporter(obj) {
  32502. return obj.pkgImporter;
  32503. },
  32504. get$indentedSyntax(obj) {
  32505. return obj.indentedSyntax;
  32506. },
  32507. get$omitSourceMapUrl(obj) {
  32508. return obj.omitSourceMapUrl;
  32509. },
  32510. get$outFile(obj) {
  32511. return obj.outFile;
  32512. },
  32513. get$outputStyle(obj) {
  32514. return obj.outputStyle;
  32515. },
  32516. get$fiber(obj) {
  32517. return obj.fiber;
  32518. },
  32519. get$sourceMapContents(obj) {
  32520. return obj.sourceMapContents;
  32521. },
  32522. get$sourceMapEmbed(obj) {
  32523. return obj.sourceMapEmbed;
  32524. },
  32525. get$sourceMapRoot(obj) {
  32526. return obj.sourceMapRoot;
  32527. },
  32528. set$cli_pkg_main_0_(obj, v) {
  32529. return obj.cli_pkg_main_0_ = v;
  32530. },
  32531. get$quotes(obj) {
  32532. return obj.quotes;
  32533. }
  32534. };
  32535. J.PlainJavaScriptObject.prototype = {};
  32536. J.UnknownJavaScriptObject.prototype = {};
  32537. J.JavaScriptFunction.prototype = {
  32538. toString$0(receiver) {
  32539. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  32540. if (dartClosure == null)
  32541. return this.super$LegacyJavaScriptObject$toString(receiver);
  32542. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  32543. },
  32544. $isFunction: 1
  32545. };
  32546. J.JavaScriptBigInt.prototype = {
  32547. get$hashCode(receiver) {
  32548. return 0;
  32549. },
  32550. toString$0(receiver) {
  32551. return String(receiver);
  32552. }
  32553. };
  32554. J.JavaScriptSymbol.prototype = {
  32555. get$hashCode(receiver) {
  32556. return 0;
  32557. },
  32558. toString$0(receiver) {
  32559. return String(receiver);
  32560. }
  32561. };
  32562. J.JSArray.prototype = {
  32563. cast$1$0(receiver, $R) {
  32564. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  32565. },
  32566. add$1(receiver, value) {
  32567. if (!!receiver.fixed$length)
  32568. A.throwExpression(A.UnsupportedError$("add"));
  32569. receiver.push(value);
  32570. },
  32571. removeAt$1(receiver, index) {
  32572. var t1;
  32573. if (!!receiver.fixed$length)
  32574. A.throwExpression(A.UnsupportedError$("removeAt"));
  32575. t1 = receiver.length;
  32576. if (index >= t1)
  32577. throw A.wrapException(A.RangeError$value(index, null, null));
  32578. return receiver.splice(index, 1)[0];
  32579. },
  32580. insert$2(receiver, index, value) {
  32581. var t1;
  32582. if (!!receiver.fixed$length)
  32583. A.throwExpression(A.UnsupportedError$("insert"));
  32584. t1 = receiver.length;
  32585. if (index > t1)
  32586. throw A.wrapException(A.RangeError$value(index, null, null));
  32587. receiver.splice(index, 0, value);
  32588. },
  32589. insertAll$2(receiver, index, iterable) {
  32590. var insertionLength, end;
  32591. if (!!receiver.fixed$length)
  32592. A.throwExpression(A.UnsupportedError$("insertAll"));
  32593. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  32594. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  32595. iterable = J.toList$0$ax(iterable);
  32596. insertionLength = J.get$length$asx(iterable);
  32597. receiver.length = receiver.length + insertionLength;
  32598. end = index + insertionLength;
  32599. this.setRange$4(receiver, end, receiver.length, receiver, index);
  32600. this.setRange$3(receiver, index, end, iterable);
  32601. },
  32602. removeLast$0(receiver) {
  32603. if (!!receiver.fixed$length)
  32604. A.throwExpression(A.UnsupportedError$("removeLast"));
  32605. if (receiver.length === 0)
  32606. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  32607. return receiver.pop();
  32608. },
  32609. _removeWhere$2(receiver, test, removeMatching) {
  32610. var i, element, t1, retained = [],
  32611. end = receiver.length;
  32612. for (i = 0; i < end; ++i) {
  32613. element = receiver[i];
  32614. if (!test.call$1(element))
  32615. retained.push(element);
  32616. if (receiver.length !== end)
  32617. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32618. }
  32619. t1 = retained.length;
  32620. if (t1 === end)
  32621. return;
  32622. this.set$length(receiver, t1);
  32623. for (i = 0; i < retained.length; ++i)
  32624. receiver[i] = retained[i];
  32625. },
  32626. where$1(receiver, f) {
  32627. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  32628. },
  32629. expand$1$1(receiver, f, $T) {
  32630. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32631. },
  32632. addAll$1(receiver, collection) {
  32633. var t1;
  32634. if (!!receiver.fixed$length)
  32635. A.throwExpression(A.UnsupportedError$("addAll"));
  32636. if (Array.isArray(collection)) {
  32637. this._addAllFromArray$1(receiver, collection);
  32638. return;
  32639. }
  32640. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  32641. receiver.push(t1.get$current(t1));
  32642. },
  32643. _addAllFromArray$1(receiver, array) {
  32644. var i,
  32645. len = array.length;
  32646. if (len === 0)
  32647. return;
  32648. if (receiver === array)
  32649. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32650. for (i = 0; i < len; ++i)
  32651. receiver.push(array[i]);
  32652. },
  32653. clear$0(receiver) {
  32654. if (!!receiver.fixed$length)
  32655. A.throwExpression(A.UnsupportedError$("clear"));
  32656. receiver.length = 0;
  32657. },
  32658. map$1$1(receiver, f, $T) {
  32659. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  32660. },
  32661. join$1(receiver, separator) {
  32662. var i,
  32663. list = A.List_List$filled(receiver.length, "", false, type$.String);
  32664. for (i = 0; i < receiver.length; ++i)
  32665. list[i] = A.S(receiver[i]);
  32666. return list.join(separator);
  32667. },
  32668. join$0(receiver) {
  32669. return this.join$1(receiver, "");
  32670. },
  32671. take$1(receiver, n) {
  32672. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  32673. },
  32674. skip$1(receiver, n) {
  32675. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  32676. },
  32677. fold$1$2(receiver, initialValue, combine) {
  32678. var value, i,
  32679. $length = receiver.length;
  32680. for (value = initialValue, i = 0; i < $length; ++i) {
  32681. value = combine.call$2(value, receiver[i]);
  32682. if (receiver.length !== $length)
  32683. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32684. }
  32685. return value;
  32686. },
  32687. fold$2(receiver, initialValue, combine) {
  32688. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  32689. },
  32690. elementAt$1(receiver, index) {
  32691. return receiver[index];
  32692. },
  32693. sublist$2(receiver, start, end) {
  32694. var end0 = receiver.length;
  32695. if (start > end0)
  32696. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  32697. if (end == null)
  32698. end = end0;
  32699. else if (end < start || end > end0)
  32700. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  32701. if (start === end)
  32702. return A._setArrayType([], A._arrayInstanceType(receiver));
  32703. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  32704. },
  32705. sublist$1(receiver, start) {
  32706. return this.sublist$2(receiver, start, null);
  32707. },
  32708. getRange$2(receiver, start, end) {
  32709. A.RangeError_checkValidRange(start, end, receiver.length);
  32710. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  32711. },
  32712. get$first(receiver) {
  32713. if (receiver.length > 0)
  32714. return receiver[0];
  32715. throw A.wrapException(A.IterableElementError_noElement());
  32716. },
  32717. get$last(receiver) {
  32718. var t1 = receiver.length;
  32719. if (t1 > 0)
  32720. return receiver[t1 - 1];
  32721. throw A.wrapException(A.IterableElementError_noElement());
  32722. },
  32723. get$single(receiver) {
  32724. var t1 = receiver.length;
  32725. if (t1 === 1)
  32726. return receiver[0];
  32727. if (t1 === 0)
  32728. throw A.wrapException(A.IterableElementError_noElement());
  32729. throw A.wrapException(A.IterableElementError_tooMany());
  32730. },
  32731. removeRange$2(receiver, start, end) {
  32732. if (!!receiver.fixed$length)
  32733. A.throwExpression(A.UnsupportedError$("removeRange"));
  32734. A.RangeError_checkValidRange(start, end, receiver.length);
  32735. receiver.splice(start, end - start);
  32736. },
  32737. setRange$4(receiver, start, end, iterable, skipCount) {
  32738. var $length, otherList, otherStart, t1, i;
  32739. if (!!receiver.immutable$list)
  32740. A.throwExpression(A.UnsupportedError$("setRange"));
  32741. A.RangeError_checkValidRange(start, end, receiver.length);
  32742. $length = end - start;
  32743. if ($length === 0)
  32744. return;
  32745. A.RangeError_checkNotNegative(skipCount, "skipCount");
  32746. if (type$.List_dynamic._is(iterable)) {
  32747. otherList = iterable;
  32748. otherStart = skipCount;
  32749. } else {
  32750. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  32751. otherStart = 0;
  32752. }
  32753. t1 = J.getInterceptor$asx(otherList);
  32754. if (otherStart + $length > t1.get$length(otherList))
  32755. throw A.wrapException(A.IterableElementError_tooFew());
  32756. if (otherStart < start)
  32757. for (i = $length - 1; i >= 0; --i)
  32758. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32759. else
  32760. for (i = 0; i < $length; ++i)
  32761. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32762. },
  32763. setRange$3(receiver, start, end, iterable) {
  32764. return this.setRange$4(receiver, start, end, iterable, 0);
  32765. },
  32766. fillRange$3(receiver, start, end, fillValue) {
  32767. var i;
  32768. if (!!receiver.immutable$list)
  32769. A.throwExpression(A.UnsupportedError$("fill range"));
  32770. A.RangeError_checkValidRange(start, end, receiver.length);
  32771. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  32772. for (i = start; i < end; ++i)
  32773. receiver[i] = fillValue;
  32774. },
  32775. any$1(receiver, test) {
  32776. var i,
  32777. end = receiver.length;
  32778. for (i = 0; i < end; ++i) {
  32779. if (test.call$1(receiver[i]))
  32780. return true;
  32781. if (receiver.length !== end)
  32782. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32783. }
  32784. return false;
  32785. },
  32786. every$1(receiver, test) {
  32787. var i,
  32788. end = receiver.length;
  32789. for (i = 0; i < end; ++i) {
  32790. if (!test.call$1(receiver[i]))
  32791. return false;
  32792. if (receiver.length !== end)
  32793. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32794. }
  32795. return true;
  32796. },
  32797. get$reversed(receiver) {
  32798. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  32799. },
  32800. sort$1(receiver, compare) {
  32801. var len, a, b, undefineds, i;
  32802. if (!!receiver.immutable$list)
  32803. A.throwExpression(A.UnsupportedError$("sort"));
  32804. len = receiver.length;
  32805. if (len < 2)
  32806. return;
  32807. if (compare == null)
  32808. compare = J._interceptors_JSArray__compareAny$closure();
  32809. if (len === 2) {
  32810. a = receiver[0];
  32811. b = receiver[1];
  32812. if (compare.call$2(a, b) > 0) {
  32813. receiver[0] = b;
  32814. receiver[1] = a;
  32815. }
  32816. return;
  32817. }
  32818. if (A._arrayInstanceType(receiver)._precomputed1._is(null)) {
  32819. for (undefineds = 0, i = 0; i < receiver.length; ++i)
  32820. if (receiver[i] === void 0) {
  32821. receiver[i] = null;
  32822. ++undefineds;
  32823. }
  32824. } else
  32825. undefineds = 0;
  32826. receiver.sort(A.convertDartClosureToJS(compare, 2));
  32827. if (undefineds > 0)
  32828. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  32829. },
  32830. sort$0(receiver) {
  32831. return this.sort$1(receiver, null);
  32832. },
  32833. _replaceSomeNullsWithUndefined$1(receiver, count) {
  32834. var i0,
  32835. i = receiver.length;
  32836. for (; i0 = i - 1, i > 0; i = i0)
  32837. if (receiver[i0] === null) {
  32838. receiver[i0] = void 0;
  32839. --count;
  32840. if (count === 0)
  32841. break;
  32842. }
  32843. },
  32844. indexOf$1(receiver, element) {
  32845. var i,
  32846. $length = receiver.length;
  32847. if (0 >= $length)
  32848. return -1;
  32849. for (i = 0; i < $length; ++i)
  32850. if (J.$eq$(receiver[i], element))
  32851. return i;
  32852. return -1;
  32853. },
  32854. contains$1(receiver, other) {
  32855. var i;
  32856. for (i = 0; i < receiver.length; ++i)
  32857. if (J.$eq$(receiver[i], other))
  32858. return true;
  32859. return false;
  32860. },
  32861. get$isEmpty(receiver) {
  32862. return receiver.length === 0;
  32863. },
  32864. get$isNotEmpty(receiver) {
  32865. return receiver.length !== 0;
  32866. },
  32867. toString$0(receiver) {
  32868. return A.Iterable_iterableToFullString(receiver, "[", "]");
  32869. },
  32870. toList$1$growable(receiver, growable) {
  32871. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  32872. return t1;
  32873. },
  32874. toList$0(receiver) {
  32875. return this.toList$1$growable(receiver, true);
  32876. },
  32877. toSet$0(receiver) {
  32878. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  32879. },
  32880. get$iterator(receiver) {
  32881. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  32882. },
  32883. get$hashCode(receiver) {
  32884. return A.Primitives_objectHashCode(receiver);
  32885. },
  32886. get$length(receiver) {
  32887. return receiver.length;
  32888. },
  32889. set$length(receiver, newLength) {
  32890. if (!!receiver.fixed$length)
  32891. A.throwExpression(A.UnsupportedError$("set length"));
  32892. if (newLength < 0)
  32893. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  32894. if (newLength > receiver.length)
  32895. A._arrayInstanceType(receiver)._precomputed1._as(null);
  32896. receiver.length = newLength;
  32897. },
  32898. $index(receiver, index) {
  32899. if (!(index >= 0 && index < receiver.length))
  32900. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32901. return receiver[index];
  32902. },
  32903. $indexSet(receiver, index, value) {
  32904. if (!!receiver.immutable$list)
  32905. A.throwExpression(A.UnsupportedError$("indexed set"));
  32906. if (!(index >= 0 && index < receiver.length))
  32907. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32908. receiver[index] = value;
  32909. },
  32910. $add(receiver, other) {
  32911. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  32912. this.addAll$1(t1, other);
  32913. return t1;
  32914. },
  32915. indexWhere$1(receiver, test) {
  32916. var i;
  32917. if (0 >= receiver.length)
  32918. return -1;
  32919. for (i = 0; i < receiver.length; ++i)
  32920. if (test.call$1(receiver[i]))
  32921. return i;
  32922. return -1;
  32923. },
  32924. $isEfficientLengthIterable: 1,
  32925. $isIterable: 1,
  32926. $isList: 1
  32927. };
  32928. J.JSUnmodifiableArray.prototype = {};
  32929. J.ArrayIterator.prototype = {
  32930. get$current(_) {
  32931. var t1 = this._current;
  32932. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  32933. },
  32934. moveNext$0() {
  32935. var t2, _this = this,
  32936. t1 = _this._iterable,
  32937. $length = t1.length;
  32938. if (_this._length !== $length)
  32939. throw A.wrapException(A.throwConcurrentModificationError(t1));
  32940. t2 = _this._index;
  32941. if (t2 >= $length) {
  32942. _this._current = null;
  32943. return false;
  32944. }
  32945. _this._current = t1[t2];
  32946. _this._index = t2 + 1;
  32947. return true;
  32948. }
  32949. };
  32950. J.JSNumber.prototype = {
  32951. compareTo$1(receiver, b) {
  32952. var bIsNegative;
  32953. if (receiver < b)
  32954. return -1;
  32955. else if (receiver > b)
  32956. return 1;
  32957. else if (receiver === b) {
  32958. if (receiver === 0) {
  32959. bIsNegative = this.get$isNegative(b);
  32960. if (this.get$isNegative(receiver) === bIsNegative)
  32961. return 0;
  32962. if (this.get$isNegative(receiver))
  32963. return -1;
  32964. return 1;
  32965. }
  32966. return 0;
  32967. } else if (isNaN(receiver)) {
  32968. if (isNaN(b))
  32969. return 0;
  32970. return 1;
  32971. } else
  32972. return -1;
  32973. },
  32974. get$isNegative(receiver) {
  32975. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  32976. },
  32977. get$sign(receiver) {
  32978. var t1;
  32979. if (receiver > 0)
  32980. t1 = 1;
  32981. else
  32982. t1 = receiver < 0 ? -1 : receiver;
  32983. return t1;
  32984. },
  32985. ceil$0(receiver) {
  32986. var truncated, d;
  32987. if (receiver >= 0) {
  32988. if (receiver <= 2147483647) {
  32989. truncated = receiver | 0;
  32990. return receiver === truncated ? truncated : truncated + 1;
  32991. }
  32992. } else if (receiver >= -2147483648)
  32993. return receiver | 0;
  32994. d = Math.ceil(receiver);
  32995. if (isFinite(d))
  32996. return d;
  32997. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  32998. },
  32999. floor$0(receiver) {
  33000. var truncated, d;
  33001. if (receiver >= 0) {
  33002. if (receiver <= 2147483647)
  33003. return receiver | 0;
  33004. } else if (receiver >= -2147483648) {
  33005. truncated = receiver | 0;
  33006. return receiver === truncated ? truncated : truncated - 1;
  33007. }
  33008. d = Math.floor(receiver);
  33009. if (isFinite(d))
  33010. return d;
  33011. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  33012. },
  33013. round$0(receiver) {
  33014. if (receiver > 0) {
  33015. if (receiver !== 1 / 0)
  33016. return Math.round(receiver);
  33017. } else if (receiver > -1 / 0)
  33018. return 0 - Math.round(0 - receiver);
  33019. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  33020. },
  33021. clamp$2(receiver, lowerLimit, upperLimit) {
  33022. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  33023. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  33024. if (this.compareTo$1(receiver, lowerLimit) < 0)
  33025. return lowerLimit;
  33026. if (this.compareTo$1(receiver, upperLimit) > 0)
  33027. return upperLimit;
  33028. return receiver;
  33029. },
  33030. toRadixString$1(receiver, radix) {
  33031. var result, match, exponent, t1;
  33032. if (radix < 2 || radix > 36)
  33033. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  33034. result = receiver.toString(radix);
  33035. if (result.charCodeAt(result.length - 1) !== 41)
  33036. return result;
  33037. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  33038. if (match == null)
  33039. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  33040. result = match[1];
  33041. exponent = +match[3];
  33042. t1 = match[2];
  33043. if (t1 != null) {
  33044. result += t1;
  33045. exponent -= t1.length;
  33046. }
  33047. return result + B.JSString_methods.$mul("0", exponent);
  33048. },
  33049. toString$0(receiver) {
  33050. if (receiver === 0 && 1 / receiver < 0)
  33051. return "-0.0";
  33052. else
  33053. return "" + receiver;
  33054. },
  33055. get$hashCode(receiver) {
  33056. var absolute, floorLog2, factor, scaled,
  33057. intValue = receiver | 0;
  33058. if (receiver === intValue)
  33059. return intValue & 536870911;
  33060. absolute = Math.abs(receiver);
  33061. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  33062. factor = Math.pow(2, floorLog2);
  33063. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  33064. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  33065. },
  33066. $mod(receiver, other) {
  33067. var result = receiver % other;
  33068. if (result === 0)
  33069. return 0;
  33070. if (result > 0)
  33071. return result;
  33072. if (other < 0)
  33073. return result - other;
  33074. else
  33075. return result + other;
  33076. },
  33077. $tdiv(receiver, other) {
  33078. if ((receiver | 0) === receiver)
  33079. if (other >= 1 || other < -1)
  33080. return receiver / other | 0;
  33081. return this._tdivSlow$1(receiver, other);
  33082. },
  33083. _tdivFast$1(receiver, other) {
  33084. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  33085. },
  33086. _tdivSlow$1(receiver, other) {
  33087. var quotient = receiver / other;
  33088. if (quotient >= -2147483648 && quotient <= 2147483647)
  33089. return quotient | 0;
  33090. if (quotient > 0) {
  33091. if (quotient !== 1 / 0)
  33092. return Math.floor(quotient);
  33093. } else if (quotient > -1 / 0)
  33094. return Math.ceil(quotient);
  33095. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  33096. },
  33097. _shrOtherPositive$1(receiver, other) {
  33098. var t1;
  33099. if (receiver > 0)
  33100. t1 = this._shrBothPositive$1(receiver, other);
  33101. else {
  33102. t1 = other > 31 ? 31 : other;
  33103. t1 = receiver >> t1 >>> 0;
  33104. }
  33105. return t1;
  33106. },
  33107. _shrReceiverPositive$1(receiver, other) {
  33108. if (0 > other)
  33109. throw A.wrapException(A.argumentErrorValue(other));
  33110. return this._shrBothPositive$1(receiver, other);
  33111. },
  33112. _shrBothPositive$1(receiver, other) {
  33113. return other > 31 ? 0 : receiver >>> other;
  33114. },
  33115. get$runtimeType(receiver) {
  33116. return A.createRuntimeType(type$.num);
  33117. },
  33118. $isComparable: 1,
  33119. $isdouble: 1,
  33120. $isnum: 1
  33121. };
  33122. J.JSInt.prototype = {
  33123. get$sign(receiver) {
  33124. var t1;
  33125. if (receiver > 0)
  33126. t1 = 1;
  33127. else
  33128. t1 = receiver < 0 ? -1 : receiver;
  33129. return t1;
  33130. },
  33131. get$runtimeType(receiver) {
  33132. return A.createRuntimeType(type$.int);
  33133. },
  33134. $isTrustedGetRuntimeType: 1,
  33135. $isint: 1
  33136. };
  33137. J.JSNumNotInt.prototype = {
  33138. get$runtimeType(receiver) {
  33139. return A.createRuntimeType(type$.double);
  33140. },
  33141. $isTrustedGetRuntimeType: 1
  33142. };
  33143. J.JSString.prototype = {
  33144. codeUnitAt$1(receiver, index) {
  33145. if (index < 0)
  33146. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  33147. if (index >= receiver.length)
  33148. A.throwExpression(A.diagnoseIndexError(receiver, index));
  33149. return receiver.charCodeAt(index);
  33150. },
  33151. allMatches$2(receiver, string, start) {
  33152. var t1 = string.length;
  33153. if (start > t1)
  33154. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  33155. return new A._StringAllMatchesIterable(string, receiver, start);
  33156. },
  33157. allMatches$1(receiver, string) {
  33158. return this.allMatches$2(receiver, string, 0);
  33159. },
  33160. matchAsPrefix$2(receiver, string, start) {
  33161. var t1, i, _null = null;
  33162. if (start < 0 || start > string.length)
  33163. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  33164. t1 = receiver.length;
  33165. if (start + t1 > string.length)
  33166. return _null;
  33167. for (i = 0; i < t1; ++i)
  33168. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  33169. return _null;
  33170. return new A.StringMatch(start, receiver);
  33171. },
  33172. $add(receiver, other) {
  33173. return receiver + other;
  33174. },
  33175. endsWith$1(receiver, other) {
  33176. var otherLength = other.length,
  33177. t1 = receiver.length;
  33178. if (otherLength > t1)
  33179. return false;
  33180. return other === this.substring$1(receiver, t1 - otherLength);
  33181. },
  33182. replaceFirst$2(receiver, from, to) {
  33183. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  33184. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  33185. },
  33186. split$1(receiver, pattern) {
  33187. if (typeof pattern == "string")
  33188. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  33189. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  33190. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  33191. else
  33192. return this._defaultSplit$1(receiver, pattern);
  33193. },
  33194. replaceRange$3(receiver, start, end, replacement) {
  33195. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  33196. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  33197. },
  33198. _defaultSplit$1(receiver, pattern) {
  33199. var t1, start, $length, match, matchStart, matchEnd,
  33200. result = A._setArrayType([], type$.JSArray_String);
  33201. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  33202. match = t1.get$current(t1);
  33203. matchStart = match.get$start(match);
  33204. matchEnd = match.get$end(match);
  33205. $length = matchEnd - matchStart;
  33206. if ($length === 0 && start === matchStart)
  33207. continue;
  33208. result.push(this.substring$2(receiver, start, matchStart));
  33209. start = matchEnd;
  33210. }
  33211. if (start < receiver.length || $length > 0)
  33212. result.push(this.substring$1(receiver, start));
  33213. return result;
  33214. },
  33215. startsWith$2(receiver, pattern, index) {
  33216. var endIndex;
  33217. if (index < 0 || index > receiver.length)
  33218. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  33219. if (typeof pattern == "string") {
  33220. endIndex = index + pattern.length;
  33221. if (endIndex > receiver.length)
  33222. return false;
  33223. return pattern === receiver.substring(index, endIndex);
  33224. }
  33225. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  33226. },
  33227. startsWith$1(receiver, pattern) {
  33228. return this.startsWith$2(receiver, pattern, 0);
  33229. },
  33230. substring$2(receiver, start, end) {
  33231. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  33232. },
  33233. substring$1(receiver, start) {
  33234. return this.substring$2(receiver, start, null);
  33235. },
  33236. trim$0(receiver) {
  33237. var startIndex, t1, endIndex0,
  33238. result = receiver.trim(),
  33239. endIndex = result.length;
  33240. if (endIndex === 0)
  33241. return result;
  33242. if (result.charCodeAt(0) === 133) {
  33243. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  33244. if (startIndex === endIndex)
  33245. return "";
  33246. } else
  33247. startIndex = 0;
  33248. t1 = endIndex - 1;
  33249. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  33250. if (startIndex === 0 && endIndex0 === endIndex)
  33251. return result;
  33252. return result.substring(startIndex, endIndex0);
  33253. },
  33254. trimLeft$0(receiver) {
  33255. var result = receiver.trimStart();
  33256. if (result.length === 0)
  33257. return result;
  33258. if (result.charCodeAt(0) !== 133)
  33259. return result;
  33260. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  33261. },
  33262. trimRight$0(receiver) {
  33263. var t1,
  33264. result = receiver.trimEnd(),
  33265. endIndex = result.length;
  33266. if (endIndex === 0)
  33267. return result;
  33268. t1 = endIndex - 1;
  33269. if (result.charCodeAt(t1) !== 133)
  33270. return result;
  33271. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  33272. },
  33273. $mul(receiver, times) {
  33274. var s, result;
  33275. if (0 >= times)
  33276. return "";
  33277. if (times === 1 || receiver.length === 0)
  33278. return receiver;
  33279. if (times !== times >>> 0)
  33280. throw A.wrapException(B.C_OutOfMemoryError);
  33281. for (s = receiver, result = ""; true;) {
  33282. if ((times & 1) === 1)
  33283. result = s + result;
  33284. times = times >>> 1;
  33285. if (times === 0)
  33286. break;
  33287. s += s;
  33288. }
  33289. return result;
  33290. },
  33291. padLeft$2(receiver, width, padding) {
  33292. var delta = width - receiver.length;
  33293. if (delta <= 0)
  33294. return receiver;
  33295. return this.$mul(padding, delta) + receiver;
  33296. },
  33297. padRight$1(receiver, width) {
  33298. var delta = width - receiver.length;
  33299. if (delta <= 0)
  33300. return receiver;
  33301. return receiver + this.$mul(" ", delta);
  33302. },
  33303. indexOf$2(receiver, pattern, start) {
  33304. var t1;
  33305. if (start < 0 || start > receiver.length)
  33306. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33307. t1 = receiver.indexOf(pattern, start);
  33308. return t1;
  33309. },
  33310. indexOf$1(receiver, pattern) {
  33311. return this.indexOf$2(receiver, pattern, 0);
  33312. },
  33313. lastIndexOf$2(receiver, pattern, start) {
  33314. var t1, t2, i;
  33315. if (start == null)
  33316. start = receiver.length;
  33317. else if (start < 0 || start > receiver.length)
  33318. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33319. if (typeof pattern == "string") {
  33320. t1 = pattern.length;
  33321. t2 = receiver.length;
  33322. if (start + t1 > t2)
  33323. start = t2 - t1;
  33324. return receiver.lastIndexOf(pattern, start);
  33325. }
  33326. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  33327. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  33328. return i;
  33329. return -1;
  33330. },
  33331. lastIndexOf$1(receiver, pattern) {
  33332. return this.lastIndexOf$2(receiver, pattern, null);
  33333. },
  33334. contains$2(receiver, other, startIndex) {
  33335. var t1 = receiver.length;
  33336. if (startIndex > t1)
  33337. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  33338. return A.stringContainsUnchecked(receiver, other, startIndex);
  33339. },
  33340. contains$1(receiver, other) {
  33341. return this.contains$2(receiver, other, 0);
  33342. },
  33343. compareTo$1(receiver, other) {
  33344. var t1;
  33345. if (receiver === other)
  33346. t1 = 0;
  33347. else
  33348. t1 = receiver < other ? -1 : 1;
  33349. return t1;
  33350. },
  33351. toString$0(receiver) {
  33352. return receiver;
  33353. },
  33354. get$hashCode(receiver) {
  33355. var t1, hash, i;
  33356. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  33357. hash = hash + receiver.charCodeAt(i) & 536870911;
  33358. hash = hash + ((hash & 524287) << 10) & 536870911;
  33359. hash ^= hash >> 6;
  33360. }
  33361. hash = hash + ((hash & 67108863) << 3) & 536870911;
  33362. hash ^= hash >> 11;
  33363. return hash + ((hash & 16383) << 15) & 536870911;
  33364. },
  33365. get$runtimeType(receiver) {
  33366. return A.createRuntimeType(type$.String);
  33367. },
  33368. get$length(receiver) {
  33369. return receiver.length;
  33370. },
  33371. $isTrustedGetRuntimeType: 1,
  33372. $isComparable: 1,
  33373. $isString: 1
  33374. };
  33375. A._CastIterableBase.prototype = {
  33376. get$iterator(_) {
  33377. var t1 = A._instanceType(this);
  33378. 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>"));
  33379. },
  33380. get$length(_) {
  33381. return J.get$length$asx(this.get$_source());
  33382. },
  33383. get$isEmpty(_) {
  33384. return J.get$isEmpty$asx(this.get$_source());
  33385. },
  33386. get$isNotEmpty(_) {
  33387. return J.get$isNotEmpty$asx(this.get$_source());
  33388. },
  33389. skip$1(_, count) {
  33390. var t1 = A._instanceType(this);
  33391. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33392. },
  33393. take$1(_, count) {
  33394. var t1 = A._instanceType(this);
  33395. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33396. },
  33397. elementAt$1(_, index) {
  33398. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  33399. },
  33400. get$first(_) {
  33401. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  33402. },
  33403. get$last(_) {
  33404. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  33405. },
  33406. get$single(_) {
  33407. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  33408. },
  33409. contains$1(_, other) {
  33410. return J.contains$1$asx(this.get$_source(), other);
  33411. },
  33412. toString$0(_) {
  33413. return J.toString$0$(this.get$_source());
  33414. }
  33415. };
  33416. A.CastIterator.prototype = {
  33417. moveNext$0() {
  33418. return this._source.moveNext$0();
  33419. },
  33420. get$current(_) {
  33421. var t1 = this._source;
  33422. return this.$ti._rest[1]._as(t1.get$current(t1));
  33423. }
  33424. };
  33425. A.CastIterable.prototype = {
  33426. get$_source() {
  33427. return this._source;
  33428. }
  33429. };
  33430. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  33431. A._CastListBase.prototype = {
  33432. $index(_, index) {
  33433. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  33434. },
  33435. $indexSet(_, index, value) {
  33436. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  33437. },
  33438. set$length(_, $length) {
  33439. J.set$length$asx(this._source, $length);
  33440. },
  33441. add$1(_, value) {
  33442. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  33443. },
  33444. addAll$1(_, values) {
  33445. var t1 = this.$ti;
  33446. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  33447. },
  33448. sort$1(_, compare) {
  33449. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  33450. J.sort$1$ax(this._source, t1);
  33451. },
  33452. getRange$2(_, start, end) {
  33453. var t1 = this.$ti;
  33454. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  33455. },
  33456. setRange$4(_, start, end, iterable, skipCount) {
  33457. var t1 = this.$ti;
  33458. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  33459. },
  33460. removeRange$2(_, start, end) {
  33461. J.removeRange$2$ax(this._source, start, end);
  33462. },
  33463. fillRange$3(_, start, end, fillValue) {
  33464. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  33465. },
  33466. $isEfficientLengthIterable: 1,
  33467. $isList: 1
  33468. };
  33469. A._CastListBase_sort_closure.prototype = {
  33470. call$2(v1, v2) {
  33471. var t1 = this.$this.$ti._rest[1];
  33472. return this.compare.call$2(t1._as(v1), t1._as(v2));
  33473. },
  33474. $signature() {
  33475. return this.$this.$ti._eval$1("int(1,1)");
  33476. }
  33477. };
  33478. A.CastList.prototype = {
  33479. cast$1$0(_, $R) {
  33480. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  33481. },
  33482. get$_source() {
  33483. return this._source;
  33484. }
  33485. };
  33486. A.CastSet.prototype = {
  33487. add$1(_, value) {
  33488. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  33489. },
  33490. addAll$1(_, elements) {
  33491. var t1 = this.$ti;
  33492. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  33493. },
  33494. difference$1(other) {
  33495. var t1, _this = this;
  33496. if (_this._emptySet != null)
  33497. return _this._conditionalAdd$2(other, false);
  33498. t1 = _this.$ti;
  33499. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  33500. },
  33501. _conditionalAdd$2(other, otherContains) {
  33502. var t3, castElement,
  33503. emptySet = this._emptySet,
  33504. t1 = this.$ti,
  33505. t2 = t1._rest[1],
  33506. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  33507. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  33508. castElement = t1._as(t2.get$current(t2));
  33509. if (otherContains === t3.contains$1(0, castElement))
  33510. result.add$1(0, castElement);
  33511. }
  33512. return result;
  33513. },
  33514. toSet$0(_) {
  33515. var emptySet = this._emptySet,
  33516. t1 = this.$ti._rest[1],
  33517. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  33518. result.addAll$1(0, this);
  33519. return result;
  33520. },
  33521. $isEfficientLengthIterable: 1,
  33522. $isSet: 1,
  33523. get$_source() {
  33524. return this._source;
  33525. }
  33526. };
  33527. A.CastMap.prototype = {
  33528. cast$2$0(_, RK, RV) {
  33529. var t1 = this.$ti;
  33530. 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>"));
  33531. },
  33532. containsKey$1(key) {
  33533. return this._source.containsKey$1(key);
  33534. },
  33535. $index(_, key) {
  33536. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  33537. },
  33538. $indexSet(_, key, value) {
  33539. var t1 = this.$ti;
  33540. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  33541. },
  33542. addAll$1(_, other) {
  33543. var t1 = this.$ti;
  33544. 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>")));
  33545. },
  33546. remove$1(_, key) {
  33547. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  33548. },
  33549. forEach$1(_, f) {
  33550. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  33551. },
  33552. get$keys(_) {
  33553. var t1 = this._source,
  33554. t2 = this.$ti;
  33555. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  33556. },
  33557. get$values(_) {
  33558. var t1 = this._source,
  33559. t2 = this.$ti;
  33560. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  33561. },
  33562. get$length(_) {
  33563. var t1 = this._source;
  33564. return t1.get$length(t1);
  33565. },
  33566. get$isEmpty(_) {
  33567. var t1 = this._source;
  33568. return t1.get$isEmpty(t1);
  33569. },
  33570. get$isNotEmpty(_) {
  33571. var t1 = this._source;
  33572. return t1.get$isNotEmpty(t1);
  33573. },
  33574. get$entries(_) {
  33575. var t1 = this._source;
  33576. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  33577. }
  33578. };
  33579. A.CastMap_forEach_closure.prototype = {
  33580. call$2(key, value) {
  33581. var t1 = this.$this.$ti;
  33582. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  33583. },
  33584. $signature() {
  33585. return this.$this.$ti._eval$1("~(1,2)");
  33586. }
  33587. };
  33588. A.CastMap_entries_closure.prototype = {
  33589. call$1(e) {
  33590. var t1 = this.$this.$ti,
  33591. t2 = t1._rest[3];
  33592. 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>"));
  33593. },
  33594. $signature() {
  33595. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  33596. }
  33597. };
  33598. A.LateError.prototype = {
  33599. toString$0(_) {
  33600. return "LateInitializationError: " + this._message;
  33601. }
  33602. };
  33603. A.ReachabilityError.prototype = {
  33604. toString$0(_) {
  33605. return "ReachabilityError: " + this._message;
  33606. }
  33607. };
  33608. A.CodeUnits.prototype = {
  33609. get$length(_) {
  33610. return this._string.length;
  33611. },
  33612. $index(_, i) {
  33613. return this._string.charCodeAt(i);
  33614. }
  33615. };
  33616. A.nullFuture_closure.prototype = {
  33617. call$0() {
  33618. return A.Future_Future$value(null, type$.Null);
  33619. },
  33620. $signature: 2
  33621. };
  33622. A.SentinelValue.prototype = {};
  33623. A.EfficientLengthIterable.prototype = {};
  33624. A.ListIterable.prototype = {
  33625. get$iterator(_) {
  33626. var _this = this;
  33627. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  33628. },
  33629. get$isEmpty(_) {
  33630. return this.get$length(this) === 0;
  33631. },
  33632. get$first(_) {
  33633. if (this.get$length(this) === 0)
  33634. throw A.wrapException(A.IterableElementError_noElement());
  33635. return this.elementAt$1(0, 0);
  33636. },
  33637. get$last(_) {
  33638. var _this = this;
  33639. if (_this.get$length(_this) === 0)
  33640. throw A.wrapException(A.IterableElementError_noElement());
  33641. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  33642. },
  33643. get$single(_) {
  33644. var _this = this;
  33645. if (_this.get$length(_this) === 0)
  33646. throw A.wrapException(A.IterableElementError_noElement());
  33647. if (_this.get$length(_this) > 1)
  33648. throw A.wrapException(A.IterableElementError_tooMany());
  33649. return _this.elementAt$1(0, 0);
  33650. },
  33651. contains$1(_, element) {
  33652. var i, _this = this,
  33653. $length = _this.get$length(_this);
  33654. for (i = 0; i < $length; ++i) {
  33655. if (J.$eq$(_this.elementAt$1(0, i), element))
  33656. return true;
  33657. if ($length !== _this.get$length(_this))
  33658. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33659. }
  33660. return false;
  33661. },
  33662. every$1(_, test) {
  33663. var i, _this = this,
  33664. $length = _this.get$length(_this);
  33665. for (i = 0; i < $length; ++i) {
  33666. if (!test.call$1(_this.elementAt$1(0, i)))
  33667. return false;
  33668. if ($length !== _this.get$length(_this))
  33669. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33670. }
  33671. return true;
  33672. },
  33673. any$1(_, test) {
  33674. var i, _this = this,
  33675. $length = _this.get$length(_this);
  33676. for (i = 0; i < $length; ++i) {
  33677. if (test.call$1(_this.elementAt$1(0, i)))
  33678. return true;
  33679. if ($length !== _this.get$length(_this))
  33680. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33681. }
  33682. return false;
  33683. },
  33684. join$1(_, separator) {
  33685. var first, t1, i, _this = this,
  33686. $length = _this.get$length(_this);
  33687. if (separator.length !== 0) {
  33688. if ($length === 0)
  33689. return "";
  33690. first = A.S(_this.elementAt$1(0, 0));
  33691. if ($length !== _this.get$length(_this))
  33692. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33693. for (t1 = first, i = 1; i < $length; ++i) {
  33694. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  33695. if ($length !== _this.get$length(_this))
  33696. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33697. }
  33698. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33699. } else {
  33700. for (i = 0, t1 = ""; i < $length; ++i) {
  33701. t1 += A.S(_this.elementAt$1(0, i));
  33702. if ($length !== _this.get$length(_this))
  33703. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33704. }
  33705. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33706. }
  33707. },
  33708. join$0(_) {
  33709. return this.join$1(0, "");
  33710. },
  33711. where$1(_, test) {
  33712. return this.super$Iterable$where(0, test);
  33713. },
  33714. map$1$1(_, toElement, $T) {
  33715. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  33716. },
  33717. reduce$1(_, combine) {
  33718. var value, i, _this = this,
  33719. $length = _this.get$length(_this);
  33720. if ($length === 0)
  33721. throw A.wrapException(A.IterableElementError_noElement());
  33722. value = _this.elementAt$1(0, 0);
  33723. for (i = 1; i < $length; ++i) {
  33724. value = combine.call$2(value, _this.elementAt$1(0, i));
  33725. if ($length !== _this.get$length(_this))
  33726. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33727. }
  33728. return value;
  33729. },
  33730. fold$1$2(_, initialValue, combine) {
  33731. var value, i, _this = this,
  33732. $length = _this.get$length(_this);
  33733. for (value = initialValue, i = 0; i < $length; ++i) {
  33734. value = combine.call$2(value, _this.elementAt$1(0, i));
  33735. if ($length !== _this.get$length(_this))
  33736. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33737. }
  33738. return value;
  33739. },
  33740. fold$2(_, initialValue, combine) {
  33741. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  33742. },
  33743. skip$1(_, count) {
  33744. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  33745. },
  33746. take$1(_, count) {
  33747. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  33748. },
  33749. toList$1$growable(_, growable) {
  33750. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  33751. },
  33752. toList$0(_) {
  33753. return this.toList$1$growable(0, true);
  33754. },
  33755. toSet$0(_) {
  33756. var i, _this = this,
  33757. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  33758. for (i = 0; i < _this.get$length(_this); ++i)
  33759. result.add$1(0, _this.elementAt$1(0, i));
  33760. return result;
  33761. }
  33762. };
  33763. A.SubListIterable.prototype = {
  33764. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  33765. var endOrLength,
  33766. t1 = this._start;
  33767. A.RangeError_checkNotNegative(t1, "start");
  33768. endOrLength = this._endOrLength;
  33769. if (endOrLength != null) {
  33770. A.RangeError_checkNotNegative(endOrLength, "end");
  33771. if (t1 > endOrLength)
  33772. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  33773. }
  33774. },
  33775. get$_endIndex() {
  33776. var $length = J.get$length$asx(this.__internal$_iterable),
  33777. endOrLength = this._endOrLength;
  33778. if (endOrLength == null || endOrLength > $length)
  33779. return $length;
  33780. return endOrLength;
  33781. },
  33782. get$_startIndex() {
  33783. var $length = J.get$length$asx(this.__internal$_iterable),
  33784. t1 = this._start;
  33785. if (t1 > $length)
  33786. return $length;
  33787. return t1;
  33788. },
  33789. get$length(_) {
  33790. var endOrLength,
  33791. $length = J.get$length$asx(this.__internal$_iterable),
  33792. t1 = this._start;
  33793. if (t1 >= $length)
  33794. return 0;
  33795. endOrLength = this._endOrLength;
  33796. if (endOrLength == null || endOrLength >= $length)
  33797. return $length - t1;
  33798. return endOrLength - t1;
  33799. },
  33800. elementAt$1(_, index) {
  33801. var _this = this,
  33802. realIndex = _this.get$_startIndex() + index;
  33803. if (index < 0 || realIndex >= _this.get$_endIndex())
  33804. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  33805. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  33806. },
  33807. skip$1(_, count) {
  33808. var newStart, endOrLength, _this = this;
  33809. A.RangeError_checkNotNegative(count, "count");
  33810. newStart = _this._start + count;
  33811. endOrLength = _this._endOrLength;
  33812. if (endOrLength != null && newStart >= endOrLength)
  33813. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  33814. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  33815. },
  33816. take$1(_, count) {
  33817. var endOrLength, t1, newEnd, _this = this;
  33818. A.RangeError_checkNotNegative(count, "count");
  33819. endOrLength = _this._endOrLength;
  33820. t1 = _this._start;
  33821. newEnd = t1 + count;
  33822. if (endOrLength == null)
  33823. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33824. else {
  33825. if (endOrLength < newEnd)
  33826. return _this;
  33827. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33828. }
  33829. },
  33830. toList$1$growable(_, growable) {
  33831. var $length, result, i, _this = this,
  33832. start = _this._start,
  33833. t1 = _this.__internal$_iterable,
  33834. t2 = J.getInterceptor$asx(t1),
  33835. end = t2.get$length(t1),
  33836. endOrLength = _this._endOrLength;
  33837. if (endOrLength != null && endOrLength < end)
  33838. end = endOrLength;
  33839. $length = end - start;
  33840. if ($length <= 0) {
  33841. t1 = _this.$ti._precomputed1;
  33842. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  33843. }
  33844. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  33845. for (i = 1; i < $length; ++i) {
  33846. result[i] = t2.elementAt$1(t1, start + i);
  33847. if (t2.get$length(t1) < end)
  33848. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33849. }
  33850. return result;
  33851. },
  33852. toList$0(_) {
  33853. return this.toList$1$growable(0, true);
  33854. }
  33855. };
  33856. A.ListIterator.prototype = {
  33857. get$current(_) {
  33858. var t1 = this.__internal$_current;
  33859. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  33860. },
  33861. moveNext$0() {
  33862. var t3, _this = this,
  33863. t1 = _this.__internal$_iterable,
  33864. t2 = J.getInterceptor$asx(t1),
  33865. $length = t2.get$length(t1);
  33866. if (_this.__internal$_length !== $length)
  33867. throw A.wrapException(A.ConcurrentModificationError$(t1));
  33868. t3 = _this.__internal$_index;
  33869. if (t3 >= $length) {
  33870. _this.__internal$_current = null;
  33871. return false;
  33872. }
  33873. _this.__internal$_current = t2.elementAt$1(t1, t3);
  33874. ++_this.__internal$_index;
  33875. return true;
  33876. }
  33877. };
  33878. A.MappedIterable.prototype = {
  33879. get$iterator(_) {
  33880. var t1 = A._instanceType(this);
  33881. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>"));
  33882. },
  33883. get$length(_) {
  33884. return J.get$length$asx(this.__internal$_iterable);
  33885. },
  33886. get$isEmpty(_) {
  33887. return J.get$isEmpty$asx(this.__internal$_iterable);
  33888. },
  33889. get$first(_) {
  33890. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  33891. },
  33892. get$last(_) {
  33893. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  33894. },
  33895. get$single(_) {
  33896. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  33897. },
  33898. elementAt$1(_, index) {
  33899. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  33900. }
  33901. };
  33902. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  33903. A.MappedIterator.prototype = {
  33904. moveNext$0() {
  33905. var _this = this,
  33906. t1 = _this._iterator;
  33907. if (t1.moveNext$0()) {
  33908. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  33909. return true;
  33910. }
  33911. _this.__internal$_current = null;
  33912. return false;
  33913. },
  33914. get$current(_) {
  33915. var t1 = this.__internal$_current;
  33916. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33917. }
  33918. };
  33919. A.MappedListIterable.prototype = {
  33920. get$length(_) {
  33921. return J.get$length$asx(this._source);
  33922. },
  33923. elementAt$1(_, index) {
  33924. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  33925. }
  33926. };
  33927. A.WhereIterable.prototype = {
  33928. get$iterator(_) {
  33929. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  33930. },
  33931. map$1$1(_, toElement, $T) {
  33932. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  33933. }
  33934. };
  33935. A.WhereIterator.prototype = {
  33936. moveNext$0() {
  33937. var t1, t2;
  33938. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  33939. if (t2.call$1(t1.get$current(t1)))
  33940. return true;
  33941. return false;
  33942. },
  33943. get$current(_) {
  33944. var t1 = this._iterator;
  33945. return t1.get$current(t1);
  33946. }
  33947. };
  33948. A.ExpandIterable.prototype = {
  33949. get$iterator(_) {
  33950. var t1 = this.$ti;
  33951. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>"));
  33952. }
  33953. };
  33954. A.ExpandIterator.prototype = {
  33955. get$current(_) {
  33956. var t1 = this.__internal$_current;
  33957. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33958. },
  33959. moveNext$0() {
  33960. var t2, t3, _this = this,
  33961. t1 = _this._currentExpansion;
  33962. if (t1 == null)
  33963. return false;
  33964. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  33965. _this.__internal$_current = null;
  33966. if (t2.moveNext$0()) {
  33967. _this._currentExpansion = null;
  33968. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  33969. _this._currentExpansion = t1;
  33970. } else
  33971. return false;
  33972. }
  33973. t1 = _this._currentExpansion;
  33974. _this.__internal$_current = t1.get$current(t1);
  33975. return true;
  33976. }
  33977. };
  33978. A.TakeIterable.prototype = {
  33979. get$iterator(_) {
  33980. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  33981. }
  33982. };
  33983. A.EfficientLengthTakeIterable.prototype = {
  33984. get$length(_) {
  33985. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  33986. t1 = this._takeCount;
  33987. if (iterableLength > t1)
  33988. return t1;
  33989. return iterableLength;
  33990. },
  33991. $isEfficientLengthIterable: 1
  33992. };
  33993. A.TakeIterator.prototype = {
  33994. moveNext$0() {
  33995. if (--this._remaining >= 0)
  33996. return this._iterator.moveNext$0();
  33997. this._remaining = -1;
  33998. return false;
  33999. },
  34000. get$current(_) {
  34001. var t1;
  34002. if (this._remaining < 0) {
  34003. this.$ti._precomputed1._as(null);
  34004. return null;
  34005. }
  34006. t1 = this._iterator;
  34007. return t1.get$current(t1);
  34008. }
  34009. };
  34010. A.SkipIterable.prototype = {
  34011. skip$1(_, count) {
  34012. A.ArgumentError_checkNotNull(count, "count");
  34013. A.RangeError_checkNotNegative(count, "count");
  34014. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  34015. },
  34016. get$iterator(_) {
  34017. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  34018. }
  34019. };
  34020. A.EfficientLengthSkipIterable.prototype = {
  34021. get$length(_) {
  34022. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  34023. if ($length >= 0)
  34024. return $length;
  34025. return 0;
  34026. },
  34027. skip$1(_, count) {
  34028. A.ArgumentError_checkNotNull(count, "count");
  34029. A.RangeError_checkNotNegative(count, "count");
  34030. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  34031. },
  34032. $isEfficientLengthIterable: 1
  34033. };
  34034. A.SkipIterator.prototype = {
  34035. moveNext$0() {
  34036. var t1, i;
  34037. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  34038. t1.moveNext$0();
  34039. this._skipCount = 0;
  34040. return t1.moveNext$0();
  34041. },
  34042. get$current(_) {
  34043. var t1 = this._iterator;
  34044. return t1.get$current(t1);
  34045. }
  34046. };
  34047. A.SkipWhileIterable.prototype = {
  34048. get$iterator(_) {
  34049. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  34050. }
  34051. };
  34052. A.SkipWhileIterator.prototype = {
  34053. moveNext$0() {
  34054. var t1, t2, _this = this;
  34055. if (!_this._hasSkipped) {
  34056. _this._hasSkipped = true;
  34057. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  34058. if (!t2.call$1(t1.get$current(t1)))
  34059. return true;
  34060. }
  34061. return _this._iterator.moveNext$0();
  34062. },
  34063. get$current(_) {
  34064. var t1 = this._iterator;
  34065. return t1.get$current(t1);
  34066. }
  34067. };
  34068. A.EmptyIterable.prototype = {
  34069. get$iterator(_) {
  34070. return B.C_EmptyIterator;
  34071. },
  34072. get$isEmpty(_) {
  34073. return true;
  34074. },
  34075. get$length(_) {
  34076. return 0;
  34077. },
  34078. get$first(_) {
  34079. throw A.wrapException(A.IterableElementError_noElement());
  34080. },
  34081. get$last(_) {
  34082. throw A.wrapException(A.IterableElementError_noElement());
  34083. },
  34084. get$single(_) {
  34085. throw A.wrapException(A.IterableElementError_noElement());
  34086. },
  34087. elementAt$1(_, index) {
  34088. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  34089. },
  34090. contains$1(_, element) {
  34091. return false;
  34092. },
  34093. every$1(_, test) {
  34094. return true;
  34095. },
  34096. any$1(_, test) {
  34097. return false;
  34098. },
  34099. join$1(_, separator) {
  34100. return "";
  34101. },
  34102. where$1(_, test) {
  34103. return this;
  34104. },
  34105. map$1$1(_, toElement, $T) {
  34106. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  34107. },
  34108. skip$1(_, count) {
  34109. A.RangeError_checkNotNegative(count, "count");
  34110. return this;
  34111. },
  34112. take$1(_, count) {
  34113. A.RangeError_checkNotNegative(count, "count");
  34114. return this;
  34115. },
  34116. toList$1$growable(_, growable) {
  34117. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  34118. return t1;
  34119. },
  34120. toList$0(_) {
  34121. return this.toList$1$growable(0, true);
  34122. },
  34123. toSet$0(_) {
  34124. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  34125. }
  34126. };
  34127. A.EmptyIterator.prototype = {
  34128. moveNext$0() {
  34129. return false;
  34130. },
  34131. get$current(_) {
  34132. throw A.wrapException(A.IterableElementError_noElement());
  34133. }
  34134. };
  34135. A.FollowedByIterable.prototype = {
  34136. get$iterator(_) {
  34137. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  34138. },
  34139. get$length(_) {
  34140. var t1 = this._second;
  34141. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  34142. },
  34143. get$isEmpty(_) {
  34144. var t1;
  34145. if (J.get$isEmpty$asx(this.__internal$_first)) {
  34146. t1 = this._second;
  34147. t1 = t1.get$isEmpty(t1);
  34148. } else
  34149. t1 = false;
  34150. return t1;
  34151. },
  34152. get$isNotEmpty(_) {
  34153. var t1;
  34154. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  34155. t1 = this._second;
  34156. t1 = t1.get$isNotEmpty(t1);
  34157. } else
  34158. t1 = true;
  34159. return t1;
  34160. },
  34161. contains$1(_, value) {
  34162. var t1;
  34163. if (!J.contains$1$asx(this.__internal$_first, value)) {
  34164. t1 = this._second;
  34165. t1 = t1.contains$1(t1, value);
  34166. } else
  34167. t1 = true;
  34168. return t1;
  34169. },
  34170. get$first(_) {
  34171. var t1,
  34172. iterator = J.get$iterator$ax(this.__internal$_first);
  34173. if (iterator.moveNext$0())
  34174. return iterator.get$current(iterator);
  34175. t1 = this._second;
  34176. return t1.get$first(t1);
  34177. },
  34178. get$last(_) {
  34179. var last,
  34180. t1 = this._second,
  34181. iterator = t1.get$iterator(t1);
  34182. if (iterator.moveNext$0()) {
  34183. last = iterator.get$current(iterator);
  34184. for (; iterator.moveNext$0();)
  34185. last = iterator.get$current(iterator);
  34186. return last;
  34187. }
  34188. return J.get$last$ax(this.__internal$_first);
  34189. }
  34190. };
  34191. A.EfficientLengthFollowedByIterable.prototype = {
  34192. elementAt$1(_, index) {
  34193. var t1 = this.__internal$_first,
  34194. t2 = J.getInterceptor$asx(t1),
  34195. firstLength = t2.get$length(t1);
  34196. if (index < firstLength)
  34197. return t2.elementAt$1(t1, index);
  34198. t1 = this._second;
  34199. return t1.elementAt$1(t1, index - firstLength);
  34200. },
  34201. get$first(_) {
  34202. var t1 = this.__internal$_first,
  34203. t2 = J.getInterceptor$asx(t1);
  34204. if (t2.get$isNotEmpty(t1))
  34205. return t2.get$first(t1);
  34206. t1 = this._second;
  34207. return t1.get$first(t1);
  34208. },
  34209. get$last(_) {
  34210. var t1 = this._second;
  34211. if (t1.get$isNotEmpty(t1))
  34212. return t1.get$last(t1);
  34213. return J.get$last$ax(this.__internal$_first);
  34214. },
  34215. $isEfficientLengthIterable: 1
  34216. };
  34217. A.FollowedByIterator.prototype = {
  34218. moveNext$0() {
  34219. var t1, _this = this;
  34220. if (_this._currentIterator.moveNext$0())
  34221. return true;
  34222. t1 = _this._nextIterable;
  34223. if (t1 != null) {
  34224. t1 = t1.get$iterator(t1);
  34225. _this._currentIterator = t1;
  34226. _this._nextIterable = null;
  34227. return t1.moveNext$0();
  34228. }
  34229. return false;
  34230. },
  34231. get$current(_) {
  34232. var t1 = this._currentIterator;
  34233. return t1.get$current(t1);
  34234. }
  34235. };
  34236. A.WhereTypeIterable.prototype = {
  34237. get$iterator(_) {
  34238. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  34239. }
  34240. };
  34241. A.WhereTypeIterator.prototype = {
  34242. moveNext$0() {
  34243. var t1, t2;
  34244. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  34245. if (t2._is(t1.get$current(t1)))
  34246. return true;
  34247. return false;
  34248. },
  34249. get$current(_) {
  34250. var t1 = this._source;
  34251. return this.$ti._precomputed1._as(t1.get$current(t1));
  34252. }
  34253. };
  34254. A.FixedLengthListMixin.prototype = {
  34255. set$length(receiver, newLength) {
  34256. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  34257. },
  34258. add$1(receiver, value) {
  34259. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34260. },
  34261. addAll$1(receiver, iterable) {
  34262. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34263. },
  34264. removeRange$2(receiver, start, end) {
  34265. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  34266. }
  34267. };
  34268. A.UnmodifiableListMixin.prototype = {
  34269. $indexSet(_, index, value) {
  34270. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34271. },
  34272. set$length(_, newLength) {
  34273. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  34274. },
  34275. add$1(_, value) {
  34276. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34277. },
  34278. addAll$1(_, iterable) {
  34279. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34280. },
  34281. sort$1(_, compare) {
  34282. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34283. },
  34284. setRange$4(_, start, end, iterable, skipCount) {
  34285. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34286. },
  34287. removeRange$2(_, start, end) {
  34288. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  34289. },
  34290. fillRange$3(_, start, end, fillValue) {
  34291. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34292. }
  34293. };
  34294. A.UnmodifiableListBase.prototype = {};
  34295. A.ReversedListIterable.prototype = {
  34296. get$length(_) {
  34297. return J.get$length$asx(this._source);
  34298. },
  34299. elementAt$1(_, index) {
  34300. var t1 = this._source,
  34301. t2 = J.getInterceptor$asx(t1);
  34302. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  34303. }
  34304. };
  34305. A.Symbol.prototype = {
  34306. get$hashCode(_) {
  34307. var hash = this._hashCode;
  34308. if (hash != null)
  34309. return hash;
  34310. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  34311. this._hashCode = hash;
  34312. return hash;
  34313. },
  34314. toString$0(_) {
  34315. return 'Symbol("' + this.__internal$_name + '")';
  34316. },
  34317. $eq(_, other) {
  34318. if (other == null)
  34319. return false;
  34320. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  34321. },
  34322. $isSymbol0: 1
  34323. };
  34324. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  34325. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 1};
  34326. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 2};
  34327. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 4};
  34328. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 5};
  34329. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 3};
  34330. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 6};
  34331. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 8};
  34332. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 7};
  34333. A._Record_4_baseImporter_baseUrl_forImport.prototype = {$recipe: "+baseImporter,baseUrl,forImport(1,2,3,4)", $shape: 10};
  34334. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 11};
  34335. A.ConstantMapView.prototype = {};
  34336. A.ConstantMap.prototype = {
  34337. cast$2$0(_, RK, RV) {
  34338. var t1 = A._instanceType(this);
  34339. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  34340. },
  34341. get$isEmpty(_) {
  34342. return this.get$length(this) === 0;
  34343. },
  34344. get$isNotEmpty(_) {
  34345. return this.get$length(this) !== 0;
  34346. },
  34347. toString$0(_) {
  34348. return A.MapBase_mapToString(this);
  34349. },
  34350. $indexSet(_, key, value) {
  34351. A.ConstantMap__throwUnmodifiable();
  34352. },
  34353. remove$1(_, key) {
  34354. A.ConstantMap__throwUnmodifiable();
  34355. },
  34356. addAll$1(_, other) {
  34357. A.ConstantMap__throwUnmodifiable();
  34358. },
  34359. get$entries(_) {
  34360. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  34361. },
  34362. entries$body$ConstantMap($async$_) {
  34363. var $async$self = this;
  34364. return function() {
  34365. var _ = $async$_;
  34366. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  34367. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  34368. if ($async$errorCode === 1) {
  34369. $async$currentError = $async$result;
  34370. $async$goto = $async$handler;
  34371. }
  34372. while (true)
  34373. switch ($async$goto) {
  34374. case 0:
  34375. // Function start
  34376. 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>");
  34377. case 2:
  34378. // for condition
  34379. if (!t1.moveNext$0()) {
  34380. // goto after for
  34381. $async$goto = 3;
  34382. break;
  34383. }
  34384. key = t1.get$current(t1);
  34385. $async$goto = 4;
  34386. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  34387. case 4:
  34388. // after yield
  34389. // goto for condition
  34390. $async$goto = 2;
  34391. break;
  34392. case 3:
  34393. // after for
  34394. // implicit return
  34395. return 0;
  34396. case 1:
  34397. // rethrow
  34398. return $async$iterator._datum = $async$currentError, 3;
  34399. }
  34400. };
  34401. };
  34402. },
  34403. $isMap: 1
  34404. };
  34405. A.ConstantStringMap.prototype = {
  34406. get$length(_) {
  34407. return this._values.length;
  34408. },
  34409. get$_keys() {
  34410. var keys = this.$keys;
  34411. if (keys == null) {
  34412. keys = Object.keys(this._jsIndex);
  34413. this.$keys = keys;
  34414. }
  34415. return keys;
  34416. },
  34417. containsKey$1(key) {
  34418. if (typeof key != "string")
  34419. return false;
  34420. if ("__proto__" === key)
  34421. return false;
  34422. return this._jsIndex.hasOwnProperty(key);
  34423. },
  34424. $index(_, key) {
  34425. if (!this.containsKey$1(key))
  34426. return null;
  34427. return this._values[this._jsIndex[key]];
  34428. },
  34429. forEach$1(_, f) {
  34430. var t1, i,
  34431. keys = this.get$_keys(),
  34432. values = this._values;
  34433. for (t1 = keys.length, i = 0; i < t1; ++i)
  34434. f.call$2(keys[i], values[i]);
  34435. },
  34436. get$keys(_) {
  34437. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  34438. },
  34439. get$values(_) {
  34440. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  34441. }
  34442. };
  34443. A._KeysOrValues.prototype = {
  34444. get$length(_) {
  34445. return this._elements.length;
  34446. },
  34447. get$isEmpty(_) {
  34448. return 0 === this._elements.length;
  34449. },
  34450. get$isNotEmpty(_) {
  34451. return 0 !== this._elements.length;
  34452. },
  34453. get$iterator(_) {
  34454. var t1 = this._elements;
  34455. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34456. }
  34457. };
  34458. A._KeysOrValuesOrElementsIterator.prototype = {
  34459. get$current(_) {
  34460. var t1 = this.__js_helper$_current;
  34461. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  34462. },
  34463. moveNext$0() {
  34464. var _this = this,
  34465. t1 = _this.__js_helper$_index;
  34466. if (t1 >= _this.__js_helper$_length) {
  34467. _this.__js_helper$_current = null;
  34468. return false;
  34469. }
  34470. _this.__js_helper$_current = _this._elements[t1];
  34471. _this.__js_helper$_index = t1 + 1;
  34472. return true;
  34473. }
  34474. };
  34475. A.ConstantSet.prototype = {
  34476. add$1(_, value) {
  34477. A.ConstantSet__throwUnmodifiable();
  34478. },
  34479. addAll$1(_, elements) {
  34480. A.ConstantSet__throwUnmodifiable();
  34481. },
  34482. remove$1(_, value) {
  34483. A.ConstantSet__throwUnmodifiable();
  34484. }
  34485. };
  34486. A.ConstantStringSet.prototype = {
  34487. get$length(_) {
  34488. return this.__js_helper$_length;
  34489. },
  34490. get$isEmpty(_) {
  34491. return this.__js_helper$_length === 0;
  34492. },
  34493. get$isNotEmpty(_) {
  34494. return this.__js_helper$_length !== 0;
  34495. },
  34496. get$iterator(_) {
  34497. var t1, _this = this,
  34498. keys = _this.$keys;
  34499. if (keys == null) {
  34500. keys = Object.keys(_this._jsIndex);
  34501. _this.$keys = keys;
  34502. }
  34503. t1 = keys;
  34504. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34505. },
  34506. contains$1(_, key) {
  34507. if (typeof key != "string")
  34508. return false;
  34509. if ("__proto__" === key)
  34510. return false;
  34511. return this._jsIndex.hasOwnProperty(key);
  34512. },
  34513. toSet$0(_) {
  34514. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34515. }
  34516. };
  34517. A.GeneralConstantSet.prototype = {
  34518. get$length(_) {
  34519. return this._elements.length;
  34520. },
  34521. get$isEmpty(_) {
  34522. return this._elements.length === 0;
  34523. },
  34524. get$isNotEmpty(_) {
  34525. return this._elements.length !== 0;
  34526. },
  34527. get$iterator(_) {
  34528. var t1 = this._elements;
  34529. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34530. },
  34531. _getMap$0() {
  34532. var t1, t2, _i, key, _this = this,
  34533. backingMap = _this.$map;
  34534. if (backingMap == null) {
  34535. t1 = _this.$ti;
  34536. backingMap = new A.JsConstantLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("JsConstantLinkedHashMap<1,2>"));
  34537. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  34538. key = t1[_i];
  34539. backingMap.$indexSet(0, key, key);
  34540. }
  34541. _this.$map = backingMap;
  34542. }
  34543. return backingMap;
  34544. },
  34545. contains$1(_, key) {
  34546. return this._getMap$0().containsKey$1(key);
  34547. },
  34548. toSet$0(_) {
  34549. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34550. }
  34551. };
  34552. A.Instantiation.prototype = {
  34553. Instantiation$1(_genericClosure) {
  34554. if (false)
  34555. A.instantiatedGenericFunctionType(0, 0);
  34556. },
  34557. $eq(_, other) {
  34558. if (other == null)
  34559. return false;
  34560. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  34561. },
  34562. get$hashCode(_) {
  34563. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  34564. },
  34565. toString$0(_) {
  34566. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  34567. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  34568. }
  34569. };
  34570. A.Instantiation1.prototype = {
  34571. get$_types() {
  34572. return [A.createRuntimeType(this.$ti._precomputed1)];
  34573. },
  34574. call$0() {
  34575. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  34576. },
  34577. call$2(a0, a1) {
  34578. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  34579. },
  34580. call$3(a0, a1, a2) {
  34581. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  34582. },
  34583. call$4(a0, a1, a2, a3) {
  34584. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  34585. },
  34586. $signature() {
  34587. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  34588. }
  34589. };
  34590. A.JSInvocationMirror.prototype = {
  34591. get$memberName() {
  34592. var t1 = this.__js_helper$_memberName;
  34593. if (t1 instanceof A.Symbol)
  34594. return t1;
  34595. return this.__js_helper$_memberName = new A.Symbol(t1);
  34596. },
  34597. get$positionalArguments() {
  34598. var t1, t2, argumentCount, list, index, _this = this;
  34599. if (_this.__js_helper$_kind === 1)
  34600. return B.List_empty6;
  34601. t1 = _this._arguments;
  34602. t2 = J.getInterceptor$asx(t1);
  34603. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  34604. if (argumentCount === 0)
  34605. return B.List_empty6;
  34606. list = [];
  34607. for (index = 0; index < argumentCount; ++index)
  34608. list.push(t2.$index(t1, index));
  34609. return J.JSArray_markUnmodifiableList(list);
  34610. },
  34611. get$namedArguments() {
  34612. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  34613. if (_this.__js_helper$_kind !== 0)
  34614. return B.Map_empty3;
  34615. t1 = _this._namedArgumentNames;
  34616. t2 = J.getInterceptor$asx(t1);
  34617. namedArgumentCount = t2.get$length(t1);
  34618. t3 = _this._arguments;
  34619. t4 = J.getInterceptor$asx(t3);
  34620. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  34621. if (namedArgumentCount === 0)
  34622. return B.Map_empty3;
  34623. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  34624. for (i = 0; i < namedArgumentCount; ++i)
  34625. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  34626. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  34627. }
  34628. };
  34629. A.Primitives_functionNoSuchMethod_closure.prototype = {
  34630. call$2($name, argument) {
  34631. var t1 = this._box_0;
  34632. t1.names = t1.names + "$" + $name;
  34633. this.namedArgumentList.push($name);
  34634. this.$arguments.push(argument);
  34635. ++t1.argumentCount;
  34636. },
  34637. $signature: 129
  34638. };
  34639. A.TypeErrorDecoder.prototype = {
  34640. matchTypeError$1(message) {
  34641. var result, t1, _this = this,
  34642. match = new RegExp(_this._pattern).exec(message);
  34643. if (match == null)
  34644. return null;
  34645. result = Object.create(null);
  34646. t1 = _this._arguments;
  34647. if (t1 !== -1)
  34648. result.arguments = match[t1 + 1];
  34649. t1 = _this._argumentsExpr;
  34650. if (t1 !== -1)
  34651. result.argumentsExpr = match[t1 + 1];
  34652. t1 = _this._expr;
  34653. if (t1 !== -1)
  34654. result.expr = match[t1 + 1];
  34655. t1 = _this._method;
  34656. if (t1 !== -1)
  34657. result.method = match[t1 + 1];
  34658. t1 = _this._receiver;
  34659. if (t1 !== -1)
  34660. result.receiver = match[t1 + 1];
  34661. return result;
  34662. }
  34663. };
  34664. A.NullError.prototype = {
  34665. toString$0(_) {
  34666. return "Null check operator used on a null value";
  34667. }
  34668. };
  34669. A.JsNoSuchMethodError.prototype = {
  34670. toString$0(_) {
  34671. var t2, _this = this,
  34672. _s38_ = "NoSuchMethodError: method not found: '",
  34673. t1 = _this._method;
  34674. if (t1 == null)
  34675. return "NoSuchMethodError: " + _this.__js_helper$_message;
  34676. t2 = _this._receiver;
  34677. if (t2 == null)
  34678. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  34679. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  34680. }
  34681. };
  34682. A.UnknownJsTypeError.prototype = {
  34683. toString$0(_) {
  34684. var t1 = this.__js_helper$_message;
  34685. return t1.length === 0 ? "Error" : "Error: " + t1;
  34686. }
  34687. };
  34688. A.NullThrownFromJavaScriptException.prototype = {
  34689. toString$0(_) {
  34690. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  34691. },
  34692. $isException: 1
  34693. };
  34694. A.ExceptionAndStackTrace.prototype = {};
  34695. A._StackTrace.prototype = {
  34696. toString$0(_) {
  34697. var trace,
  34698. t1 = this._trace;
  34699. if (t1 != null)
  34700. return t1;
  34701. t1 = this._exception;
  34702. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  34703. return this._trace = trace == null ? "" : trace;
  34704. },
  34705. $isStackTrace: 1
  34706. };
  34707. A.Closure.prototype = {
  34708. toString$0(_) {
  34709. var $constructor = this.constructor,
  34710. $name = $constructor == null ? null : $constructor.name;
  34711. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  34712. },
  34713. $isFunction: 1,
  34714. get$$call() {
  34715. return this;
  34716. },
  34717. "call*": "call$1",
  34718. $requiredArgCount: 1,
  34719. $defaultValues: null
  34720. };
  34721. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  34722. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  34723. A.TearOffClosure.prototype = {};
  34724. A.StaticClosure.prototype = {
  34725. toString$0(_) {
  34726. var $name = this.$static_name;
  34727. if ($name == null)
  34728. return "Closure of unknown static method";
  34729. return "Closure '" + A.unminifyOrTag($name) + "'";
  34730. }
  34731. };
  34732. A.BoundClosure.prototype = {
  34733. $eq(_, other) {
  34734. if (other == null)
  34735. return false;
  34736. if (this === other)
  34737. return true;
  34738. if (!(other instanceof A.BoundClosure))
  34739. return false;
  34740. return this.$_target === other.$_target && this._receiver === other._receiver;
  34741. },
  34742. get$hashCode(_) {
  34743. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  34744. },
  34745. toString$0(_) {
  34746. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  34747. }
  34748. };
  34749. A._CyclicInitializationError.prototype = {
  34750. toString$0(_) {
  34751. return "Reading static variable '" + this.variableName + "' during its initialization";
  34752. }
  34753. };
  34754. A.RuntimeError.prototype = {
  34755. toString$0(_) {
  34756. return "RuntimeError: " + this.message;
  34757. },
  34758. get$message(receiver) {
  34759. return this.message;
  34760. }
  34761. };
  34762. A._Required.prototype = {};
  34763. A.JsLinkedHashMap.prototype = {
  34764. get$length(_) {
  34765. return this.__js_helper$_length;
  34766. },
  34767. get$isEmpty(_) {
  34768. return this.__js_helper$_length === 0;
  34769. },
  34770. get$isNotEmpty(_) {
  34771. return this.__js_helper$_length !== 0;
  34772. },
  34773. get$keys(_) {
  34774. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  34775. },
  34776. get$values(_) {
  34777. var t1 = A._instanceType(this);
  34778. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  34779. },
  34780. containsKey$1(key) {
  34781. var strings, nums;
  34782. if (typeof key == "string") {
  34783. strings = this._strings;
  34784. if (strings == null)
  34785. return false;
  34786. return strings[key] != null;
  34787. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34788. nums = this._nums;
  34789. if (nums == null)
  34790. return false;
  34791. return nums[key] != null;
  34792. } else
  34793. return this.internalContainsKey$1(key);
  34794. },
  34795. internalContainsKey$1(key) {
  34796. var rest = this.__js_helper$_rest;
  34797. if (rest == null)
  34798. return false;
  34799. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  34800. },
  34801. addAll$1(_, other) {
  34802. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  34803. },
  34804. $index(_, key) {
  34805. var strings, cell, t1, nums, _null = null;
  34806. if (typeof key == "string") {
  34807. strings = this._strings;
  34808. if (strings == null)
  34809. return _null;
  34810. cell = strings[key];
  34811. t1 = cell == null ? _null : cell.hashMapCellValue;
  34812. return t1;
  34813. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34814. nums = this._nums;
  34815. if (nums == null)
  34816. return _null;
  34817. cell = nums[key];
  34818. t1 = cell == null ? _null : cell.hashMapCellValue;
  34819. return t1;
  34820. } else
  34821. return this.internalGet$1(key);
  34822. },
  34823. internalGet$1(key) {
  34824. var bucket, index,
  34825. rest = this.__js_helper$_rest;
  34826. if (rest == null)
  34827. return null;
  34828. bucket = rest[this.internalComputeHashCode$1(key)];
  34829. index = this.internalFindBucketIndex$2(bucket, key);
  34830. if (index < 0)
  34831. return null;
  34832. return bucket[index].hashMapCellValue;
  34833. },
  34834. $indexSet(_, key, value) {
  34835. var strings, nums, _this = this;
  34836. if (typeof key == "string") {
  34837. strings = _this._strings;
  34838. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  34839. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34840. nums = _this._nums;
  34841. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  34842. } else
  34843. _this.internalSet$2(key, value);
  34844. },
  34845. internalSet$2(key, value) {
  34846. var hash, bucket, index, _this = this,
  34847. rest = _this.__js_helper$_rest;
  34848. if (rest == null)
  34849. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  34850. hash = _this.internalComputeHashCode$1(key);
  34851. bucket = rest[hash];
  34852. if (bucket == null)
  34853. rest[hash] = [_this._newLinkedCell$2(key, value)];
  34854. else {
  34855. index = _this.internalFindBucketIndex$2(bucket, key);
  34856. if (index >= 0)
  34857. bucket[index].hashMapCellValue = value;
  34858. else
  34859. bucket.push(_this._newLinkedCell$2(key, value));
  34860. }
  34861. },
  34862. putIfAbsent$2(key, ifAbsent) {
  34863. var t1, value, _this = this;
  34864. if (_this.containsKey$1(key)) {
  34865. t1 = _this.$index(0, key);
  34866. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  34867. }
  34868. value = ifAbsent.call$0();
  34869. _this.$indexSet(0, key, value);
  34870. return value;
  34871. },
  34872. remove$1(_, key) {
  34873. var _this = this;
  34874. if (typeof key == "string")
  34875. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  34876. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  34877. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  34878. else
  34879. return _this.internalRemove$1(key);
  34880. },
  34881. internalRemove$1(key) {
  34882. var hash, bucket, index, cell, _this = this,
  34883. rest = _this.__js_helper$_rest;
  34884. if (rest == null)
  34885. return null;
  34886. hash = _this.internalComputeHashCode$1(key);
  34887. bucket = rest[hash];
  34888. index = _this.internalFindBucketIndex$2(bucket, key);
  34889. if (index < 0)
  34890. return null;
  34891. cell = bucket.splice(index, 1)[0];
  34892. _this.__js_helper$_unlinkCell$1(cell);
  34893. if (bucket.length === 0)
  34894. delete rest[hash];
  34895. return cell.hashMapCellValue;
  34896. },
  34897. clear$0(_) {
  34898. var _this = this;
  34899. if (_this.__js_helper$_length > 0) {
  34900. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  34901. _this.__js_helper$_length = 0;
  34902. _this._modified$0();
  34903. }
  34904. },
  34905. forEach$1(_, action) {
  34906. var _this = this,
  34907. cell = _this._first,
  34908. modifications = _this._modifications;
  34909. for (; cell != null;) {
  34910. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  34911. if (modifications !== _this._modifications)
  34912. throw A.wrapException(A.ConcurrentModificationError$(_this));
  34913. cell = cell._next;
  34914. }
  34915. },
  34916. _addHashTableEntry$3(table, key, value) {
  34917. var cell = table[key];
  34918. if (cell == null)
  34919. table[key] = this._newLinkedCell$2(key, value);
  34920. else
  34921. cell.hashMapCellValue = value;
  34922. },
  34923. __js_helper$_removeHashTableEntry$2(table, key) {
  34924. var cell;
  34925. if (table == null)
  34926. return null;
  34927. cell = table[key];
  34928. if (cell == null)
  34929. return null;
  34930. this.__js_helper$_unlinkCell$1(cell);
  34931. delete table[key];
  34932. return cell.hashMapCellValue;
  34933. },
  34934. _modified$0() {
  34935. this._modifications = this._modifications + 1 & 1073741823;
  34936. },
  34937. _newLinkedCell$2(key, value) {
  34938. var t1, _this = this,
  34939. cell = new A.LinkedHashMapCell(key, value);
  34940. if (_this._first == null)
  34941. _this._first = _this._last = cell;
  34942. else {
  34943. t1 = _this._last;
  34944. t1.toString;
  34945. cell._previous = t1;
  34946. _this._last = t1._next = cell;
  34947. }
  34948. ++_this.__js_helper$_length;
  34949. _this._modified$0();
  34950. return cell;
  34951. },
  34952. __js_helper$_unlinkCell$1(cell) {
  34953. var _this = this,
  34954. previous = cell._previous,
  34955. next = cell._next;
  34956. if (previous == null)
  34957. _this._first = next;
  34958. else
  34959. previous._next = next;
  34960. if (next == null)
  34961. _this._last = previous;
  34962. else
  34963. next._previous = previous;
  34964. --_this.__js_helper$_length;
  34965. _this._modified$0();
  34966. },
  34967. internalComputeHashCode$1(key) {
  34968. return J.get$hashCode$(key) & 1073741823;
  34969. },
  34970. internalFindBucketIndex$2(bucket, key) {
  34971. var $length, i;
  34972. if (bucket == null)
  34973. return -1;
  34974. $length = bucket.length;
  34975. for (i = 0; i < $length; ++i)
  34976. if (J.$eq$(bucket[i].hashMapCellKey, key))
  34977. return i;
  34978. return -1;
  34979. },
  34980. toString$0(_) {
  34981. return A.MapBase_mapToString(this);
  34982. },
  34983. _newHashTable$0() {
  34984. var table = Object.create(null);
  34985. table["<non-identifier-key>"] = table;
  34986. delete table["<non-identifier-key>"];
  34987. return table;
  34988. }
  34989. };
  34990. A.JsLinkedHashMap_values_closure.prototype = {
  34991. call$1(each) {
  34992. var t1 = this.$this,
  34993. t2 = t1.$index(0, each);
  34994. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  34995. },
  34996. $signature() {
  34997. return A._instanceType(this.$this)._eval$1("2(1)");
  34998. }
  34999. };
  35000. A.JsLinkedHashMap_addAll_closure.prototype = {
  35001. call$2(key, value) {
  35002. this.$this.$indexSet(0, key, value);
  35003. },
  35004. $signature() {
  35005. return A._instanceType(this.$this)._eval$1("~(1,2)");
  35006. }
  35007. };
  35008. A.LinkedHashMapCell.prototype = {};
  35009. A.LinkedHashMapKeyIterable.prototype = {
  35010. get$length(_) {
  35011. return this.__js_helper$_map.__js_helper$_length;
  35012. },
  35013. get$isEmpty(_) {
  35014. return this.__js_helper$_map.__js_helper$_length === 0;
  35015. },
  35016. get$iterator(_) {
  35017. var t1 = this.__js_helper$_map,
  35018. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  35019. t2._cell = t1._first;
  35020. return t2;
  35021. },
  35022. contains$1(_, element) {
  35023. return this.__js_helper$_map.containsKey$1(element);
  35024. }
  35025. };
  35026. A.LinkedHashMapKeyIterator.prototype = {
  35027. get$current(_) {
  35028. return this.__js_helper$_current;
  35029. },
  35030. moveNext$0() {
  35031. var cell, _this = this,
  35032. t1 = _this.__js_helper$_map;
  35033. if (_this._modifications !== t1._modifications)
  35034. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35035. cell = _this._cell;
  35036. if (cell == null) {
  35037. _this.__js_helper$_current = null;
  35038. return false;
  35039. } else {
  35040. _this.__js_helper$_current = cell.hashMapCellKey;
  35041. _this._cell = cell._next;
  35042. return true;
  35043. }
  35044. }
  35045. };
  35046. A.JsIdentityLinkedHashMap.prototype = {
  35047. internalComputeHashCode$1(key) {
  35048. return A.objectHashCode(key) & 1073741823;
  35049. },
  35050. internalFindBucketIndex$2(bucket, key) {
  35051. var $length, i, t1;
  35052. if (bucket == null)
  35053. return -1;
  35054. $length = bucket.length;
  35055. for (i = 0; i < $length; ++i) {
  35056. t1 = bucket[i].hashMapCellKey;
  35057. if (t1 == null ? key == null : t1 === key)
  35058. return i;
  35059. }
  35060. return -1;
  35061. }
  35062. };
  35063. A.JsConstantLinkedHashMap.prototype = {
  35064. internalComputeHashCode$1(key) {
  35065. return A.constantHashCode(key) & 1073741823;
  35066. },
  35067. internalFindBucketIndex$2(bucket, key) {
  35068. var $length, i;
  35069. if (bucket == null)
  35070. return -1;
  35071. $length = bucket.length;
  35072. for (i = 0; i < $length; ++i)
  35073. if (J.$eq$(bucket[i].hashMapCellKey, key))
  35074. return i;
  35075. return -1;
  35076. }
  35077. };
  35078. A.initHooks_closure.prototype = {
  35079. call$1(o) {
  35080. return this.getTag(o);
  35081. },
  35082. $signature: 106
  35083. };
  35084. A.initHooks_closure0.prototype = {
  35085. call$2(o, tag) {
  35086. return this.getUnknownTag(o, tag);
  35087. },
  35088. $signature: 623
  35089. };
  35090. A.initHooks_closure1.prototype = {
  35091. call$1(tag) {
  35092. return this.prototypeForTag(tag);
  35093. },
  35094. $signature: 219
  35095. };
  35096. A._Record.prototype = {
  35097. toString$0(_) {
  35098. return this._toString$1(false);
  35099. },
  35100. _toString$1(safe) {
  35101. var t2, separator, i, key, value,
  35102. keys = this._fieldKeys$0(),
  35103. values = this._getFieldValues$0(),
  35104. t1 = (safe ? "" + "Record " : "") + "(";
  35105. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  35106. t1 += separator;
  35107. key = keys[i];
  35108. if (typeof key == "string")
  35109. t1 = t1 + key + ": ";
  35110. value = values[i];
  35111. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  35112. }
  35113. t1 += ")";
  35114. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35115. },
  35116. _fieldKeys$0() {
  35117. var t1,
  35118. shapeTag = this.$shape;
  35119. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  35120. $._Record__computedFieldKeys.push(null);
  35121. t1 = $._Record__computedFieldKeys[shapeTag];
  35122. if (t1 == null) {
  35123. t1 = this._computeFieldKeys$0();
  35124. $._Record__computedFieldKeys[shapeTag] = t1;
  35125. }
  35126. return t1;
  35127. },
  35128. _computeFieldKeys$0() {
  35129. var i, names, last,
  35130. recipe = this.$recipe,
  35131. position = recipe.indexOf("("),
  35132. joinedNames = recipe.substring(1, position),
  35133. fields = recipe.substring(position),
  35134. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  35135. t1 = type$.Object,
  35136. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  35137. for (i = 0; i < arity; ++i)
  35138. result[i] = i;
  35139. if (joinedNames !== "") {
  35140. names = joinedNames.split(",");
  35141. i = names.length;
  35142. for (last = arity; i > 0;) {
  35143. --last;
  35144. --i;
  35145. result[last] = names[i];
  35146. }
  35147. }
  35148. return A.List_List$unmodifiable(result, t1);
  35149. }
  35150. };
  35151. A._Record2.prototype = {
  35152. _getFieldValues$0() {
  35153. return [this._0, this._1];
  35154. },
  35155. $eq(_, other) {
  35156. if (other == null)
  35157. return false;
  35158. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  35159. },
  35160. get$hashCode(_) {
  35161. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  35162. }
  35163. };
  35164. A._Record3.prototype = {
  35165. _getFieldValues$0() {
  35166. return [this._0, this._1, this._2];
  35167. },
  35168. $eq(_, other) {
  35169. var _this = this;
  35170. if (other == null)
  35171. return false;
  35172. 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);
  35173. },
  35174. get$hashCode(_) {
  35175. var _this = this;
  35176. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  35177. }
  35178. };
  35179. A._RecordN.prototype = {
  35180. _getFieldValues$0() {
  35181. return this._values;
  35182. },
  35183. $eq(_, other) {
  35184. if (other == null)
  35185. return false;
  35186. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  35187. },
  35188. get$hashCode(_) {
  35189. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  35190. }
  35191. };
  35192. A.JSSyntaxRegExp.prototype = {
  35193. toString$0(_) {
  35194. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  35195. },
  35196. get$_nativeGlobalVersion() {
  35197. var _this = this,
  35198. t1 = _this._nativeGlobalRegExp;
  35199. if (t1 != null)
  35200. return t1;
  35201. t1 = _this._nativeRegExp;
  35202. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  35203. },
  35204. get$_nativeAnchoredVersion() {
  35205. var _this = this,
  35206. t1 = _this._nativeAnchoredRegExp;
  35207. if (t1 != null)
  35208. return t1;
  35209. t1 = _this._nativeRegExp;
  35210. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  35211. },
  35212. firstMatch$1(string) {
  35213. var m = this._nativeRegExp.exec(string);
  35214. if (m == null)
  35215. return null;
  35216. return new A._MatchImplementation(m);
  35217. },
  35218. allMatches$2(_, string, start) {
  35219. var t1 = string.length;
  35220. if (start > t1)
  35221. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35222. return new A._AllMatchesIterable(this, string, start);
  35223. },
  35224. allMatches$1(_, string) {
  35225. return this.allMatches$2(0, string, 0);
  35226. },
  35227. _execGlobal$2(string, start) {
  35228. var match,
  35229. regexp = this.get$_nativeGlobalVersion();
  35230. regexp.lastIndex = start;
  35231. match = regexp.exec(string);
  35232. if (match == null)
  35233. return null;
  35234. return new A._MatchImplementation(match);
  35235. },
  35236. _execAnchored$2(string, start) {
  35237. var match,
  35238. regexp = this.get$_nativeAnchoredVersion();
  35239. regexp.lastIndex = start;
  35240. match = regexp.exec(string);
  35241. if (match == null)
  35242. return null;
  35243. if (match.pop() != null)
  35244. return null;
  35245. return new A._MatchImplementation(match);
  35246. },
  35247. matchAsPrefix$2(_, string, start) {
  35248. if (start < 0 || start > string.length)
  35249. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  35250. return this._execAnchored$2(string, start);
  35251. }
  35252. };
  35253. A._MatchImplementation.prototype = {
  35254. get$start(_) {
  35255. return this._match.index;
  35256. },
  35257. get$end(_) {
  35258. var t1 = this._match;
  35259. return t1.index + t1[0].length;
  35260. },
  35261. $isMatch: 1,
  35262. $isRegExpMatch: 1
  35263. };
  35264. A._AllMatchesIterable.prototype = {
  35265. get$iterator(_) {
  35266. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  35267. }
  35268. };
  35269. A._AllMatchesIterator.prototype = {
  35270. get$current(_) {
  35271. var t1 = this.__js_helper$_current;
  35272. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  35273. },
  35274. moveNext$0() {
  35275. var t1, t2, t3, match, nextIndex, _this = this,
  35276. string = _this.__js_helper$_string;
  35277. if (string == null)
  35278. return false;
  35279. t1 = _this._nextIndex;
  35280. t2 = string.length;
  35281. if (t1 <= t2) {
  35282. t3 = _this._regExp;
  35283. match = t3._execGlobal$2(string, t1);
  35284. if (match != null) {
  35285. _this.__js_helper$_current = match;
  35286. nextIndex = match.get$end(0);
  35287. if (match._match.index === nextIndex) {
  35288. if (t3._nativeRegExp.unicode) {
  35289. t1 = _this._nextIndex;
  35290. t3 = t1 + 1;
  35291. if (t3 < t2) {
  35292. t1 = string.charCodeAt(t1);
  35293. if (t1 >= 55296 && t1 <= 56319) {
  35294. t1 = string.charCodeAt(t3);
  35295. t1 = t1 >= 56320 && t1 <= 57343;
  35296. } else
  35297. t1 = false;
  35298. } else
  35299. t1 = false;
  35300. } else
  35301. t1 = false;
  35302. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  35303. }
  35304. _this._nextIndex = nextIndex;
  35305. return true;
  35306. }
  35307. }
  35308. _this.__js_helper$_string = _this.__js_helper$_current = null;
  35309. return false;
  35310. }
  35311. };
  35312. A.StringMatch.prototype = {
  35313. get$end(_) {
  35314. return this.start + this.pattern.length;
  35315. },
  35316. $isMatch: 1,
  35317. get$start(receiver) {
  35318. return this.start;
  35319. }
  35320. };
  35321. A._StringAllMatchesIterable.prototype = {
  35322. get$iterator(_) {
  35323. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  35324. },
  35325. get$first(_) {
  35326. var t1 = this._pattern,
  35327. index = this._input.indexOf(t1, this.__js_helper$_index);
  35328. if (index >= 0)
  35329. return new A.StringMatch(index, t1);
  35330. throw A.wrapException(A.IterableElementError_noElement());
  35331. }
  35332. };
  35333. A._StringAllMatchesIterator.prototype = {
  35334. moveNext$0() {
  35335. var index, end, _this = this,
  35336. t1 = _this.__js_helper$_index,
  35337. t2 = _this._pattern,
  35338. t3 = t2.length,
  35339. t4 = _this._input,
  35340. t5 = t4.length;
  35341. if (t1 + t3 > t5) {
  35342. _this.__js_helper$_current = null;
  35343. return false;
  35344. }
  35345. index = t4.indexOf(t2, t1);
  35346. if (index < 0) {
  35347. _this.__js_helper$_index = t5 + 1;
  35348. _this.__js_helper$_current = null;
  35349. return false;
  35350. }
  35351. end = index + t3;
  35352. _this.__js_helper$_current = new A.StringMatch(index, t2);
  35353. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  35354. return true;
  35355. },
  35356. get$current(_) {
  35357. var t1 = this.__js_helper$_current;
  35358. t1.toString;
  35359. return t1;
  35360. }
  35361. };
  35362. A._Cell.prototype = {
  35363. readLocal$1$0() {
  35364. var t1 = this._value;
  35365. if (t1 === this)
  35366. A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  35367. return t1;
  35368. },
  35369. readLocal$0() {
  35370. return this.readLocal$1$0(type$.dynamic);
  35371. },
  35372. _readLocal$0() {
  35373. var t1 = this._value;
  35374. if (t1 === this)
  35375. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  35376. return t1;
  35377. }
  35378. };
  35379. A.NativeByteBuffer.prototype = {
  35380. get$runtimeType(receiver) {
  35381. return B.Type_ByteBuffer_RkP;
  35382. },
  35383. $isTrustedGetRuntimeType: 1,
  35384. $isByteBuffer: 1
  35385. };
  35386. A.NativeTypedData.prototype = {
  35387. _invalidPosition$3(receiver, position, $length, $name) {
  35388. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  35389. throw A.wrapException(t1);
  35390. },
  35391. _checkPosition$3(receiver, position, $length, $name) {
  35392. if (position >>> 0 !== position || position > $length)
  35393. this._invalidPosition$3(receiver, position, $length, $name);
  35394. }
  35395. };
  35396. A.NativeByteData.prototype = {
  35397. get$runtimeType(receiver) {
  35398. return B.Type_ByteData_zNC;
  35399. },
  35400. $isTrustedGetRuntimeType: 1,
  35401. $isByteData: 1
  35402. };
  35403. A.NativeTypedArray.prototype = {
  35404. get$length(receiver) {
  35405. return receiver.length;
  35406. },
  35407. _setRangeFast$4(receiver, start, end, source, skipCount) {
  35408. var count, sourceLength,
  35409. targetLength = receiver.length;
  35410. this._checkPosition$3(receiver, start, targetLength, "start");
  35411. this._checkPosition$3(receiver, end, targetLength, "end");
  35412. if (start > end)
  35413. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  35414. count = end - start;
  35415. if (skipCount < 0)
  35416. throw A.wrapException(A.ArgumentError$(skipCount, null));
  35417. sourceLength = source.length;
  35418. if (sourceLength - skipCount < count)
  35419. throw A.wrapException(A.StateError$("Not enough elements"));
  35420. if (skipCount !== 0 || sourceLength !== count)
  35421. source = source.subarray(skipCount, skipCount + count);
  35422. receiver.set(source, start);
  35423. },
  35424. $isJavaScriptIndexingBehavior: 1
  35425. };
  35426. A.NativeTypedArrayOfDouble.prototype = {
  35427. $index(receiver, index) {
  35428. A._checkValidIndex(index, receiver, receiver.length);
  35429. return receiver[index];
  35430. },
  35431. $indexSet(receiver, index, value) {
  35432. A._checkValidIndex(index, receiver, receiver.length);
  35433. receiver[index] = value;
  35434. },
  35435. setRange$4(receiver, start, end, iterable, skipCount) {
  35436. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  35437. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35438. return;
  35439. }
  35440. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35441. },
  35442. $isEfficientLengthIterable: 1,
  35443. $isIterable: 1,
  35444. $isList: 1
  35445. };
  35446. A.NativeTypedArrayOfInt.prototype = {
  35447. $indexSet(receiver, index, value) {
  35448. A._checkValidIndex(index, receiver, receiver.length);
  35449. receiver[index] = value;
  35450. },
  35451. setRange$4(receiver, start, end, iterable, skipCount) {
  35452. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  35453. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35454. return;
  35455. }
  35456. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35457. },
  35458. $isEfficientLengthIterable: 1,
  35459. $isIterable: 1,
  35460. $isList: 1
  35461. };
  35462. A.NativeFloat32List.prototype = {
  35463. get$runtimeType(receiver) {
  35464. return B.Type_Float32List_LB7;
  35465. },
  35466. sublist$2(receiver, start, end) {
  35467. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35468. },
  35469. sublist$1(receiver, start) {
  35470. return this.sublist$2(receiver, start, null);
  35471. },
  35472. $isTrustedGetRuntimeType: 1,
  35473. $isFloat32List: 1
  35474. };
  35475. A.NativeFloat64List.prototype = {
  35476. get$runtimeType(receiver) {
  35477. return B.Type_Float64List_LB7;
  35478. },
  35479. sublist$2(receiver, start, end) {
  35480. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35481. },
  35482. sublist$1(receiver, start) {
  35483. return this.sublist$2(receiver, start, null);
  35484. },
  35485. $isTrustedGetRuntimeType: 1,
  35486. $isFloat64List: 1
  35487. };
  35488. A.NativeInt16List.prototype = {
  35489. get$runtimeType(receiver) {
  35490. return B.Type_Int16List_uXf;
  35491. },
  35492. $index(receiver, index) {
  35493. A._checkValidIndex(index, receiver, receiver.length);
  35494. return receiver[index];
  35495. },
  35496. sublist$2(receiver, start, end) {
  35497. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35498. },
  35499. sublist$1(receiver, start) {
  35500. return this.sublist$2(receiver, start, null);
  35501. },
  35502. $isTrustedGetRuntimeType: 1,
  35503. $isInt16List: 1
  35504. };
  35505. A.NativeInt32List.prototype = {
  35506. get$runtimeType(receiver) {
  35507. return B.Type_Int32List_O50;
  35508. },
  35509. $index(receiver, index) {
  35510. A._checkValidIndex(index, receiver, receiver.length);
  35511. return receiver[index];
  35512. },
  35513. sublist$2(receiver, start, end) {
  35514. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35515. },
  35516. sublist$1(receiver, start) {
  35517. return this.sublist$2(receiver, start, null);
  35518. },
  35519. $isTrustedGetRuntimeType: 1,
  35520. $isInt32List: 1
  35521. };
  35522. A.NativeInt8List.prototype = {
  35523. get$runtimeType(receiver) {
  35524. return B.Type_Int8List_ekJ;
  35525. },
  35526. $index(receiver, index) {
  35527. A._checkValidIndex(index, receiver, receiver.length);
  35528. return receiver[index];
  35529. },
  35530. sublist$2(receiver, start, end) {
  35531. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35532. },
  35533. sublist$1(receiver, start) {
  35534. return this.sublist$2(receiver, start, null);
  35535. },
  35536. $isTrustedGetRuntimeType: 1,
  35537. $isInt8List: 1
  35538. };
  35539. A.NativeUint16List.prototype = {
  35540. get$runtimeType(receiver) {
  35541. return B.Type_Uint16List_2bx;
  35542. },
  35543. $index(receiver, index) {
  35544. A._checkValidIndex(index, receiver, receiver.length);
  35545. return receiver[index];
  35546. },
  35547. sublist$2(receiver, start, end) {
  35548. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35549. },
  35550. sublist$1(receiver, start) {
  35551. return this.sublist$2(receiver, start, null);
  35552. },
  35553. $isTrustedGetRuntimeType: 1,
  35554. $isUint16List: 1
  35555. };
  35556. A.NativeUint32List.prototype = {
  35557. get$runtimeType(receiver) {
  35558. return B.Type_Uint32List_2bx;
  35559. },
  35560. $index(receiver, index) {
  35561. A._checkValidIndex(index, receiver, receiver.length);
  35562. return receiver[index];
  35563. },
  35564. sublist$2(receiver, start, end) {
  35565. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35566. },
  35567. sublist$1(receiver, start) {
  35568. return this.sublist$2(receiver, start, null);
  35569. },
  35570. $isTrustedGetRuntimeType: 1,
  35571. $isUint32List: 1
  35572. };
  35573. A.NativeUint8ClampedList.prototype = {
  35574. get$runtimeType(receiver) {
  35575. return B.Type_Uint8ClampedList_Jik;
  35576. },
  35577. get$length(receiver) {
  35578. return receiver.length;
  35579. },
  35580. $index(receiver, index) {
  35581. A._checkValidIndex(index, receiver, receiver.length);
  35582. return receiver[index];
  35583. },
  35584. sublist$2(receiver, start, end) {
  35585. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35586. },
  35587. sublist$1(receiver, start) {
  35588. return this.sublist$2(receiver, start, null);
  35589. },
  35590. $isTrustedGetRuntimeType: 1,
  35591. $isUint8ClampedList: 1
  35592. };
  35593. A.NativeUint8List.prototype = {
  35594. get$runtimeType(receiver) {
  35595. return B.Type_Uint8List_WLA;
  35596. },
  35597. get$length(receiver) {
  35598. return receiver.length;
  35599. },
  35600. $index(receiver, index) {
  35601. A._checkValidIndex(index, receiver, receiver.length);
  35602. return receiver[index];
  35603. },
  35604. sublist$2(receiver, start, end) {
  35605. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35606. },
  35607. sublist$1(receiver, start) {
  35608. return this.sublist$2(receiver, start, null);
  35609. },
  35610. $isTrustedGetRuntimeType: 1,
  35611. $isNativeUint8List: 1,
  35612. $isUint8List: 1
  35613. };
  35614. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  35615. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35616. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  35617. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35618. A.Rti.prototype = {
  35619. _eval$1(recipe) {
  35620. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  35621. },
  35622. _bind$1(typeOrTuple) {
  35623. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  35624. }
  35625. };
  35626. A._FunctionParameters.prototype = {};
  35627. A._Type.prototype = {
  35628. toString$0(_) {
  35629. return A._rtiToString(this._rti, null);
  35630. }
  35631. };
  35632. A._Error.prototype = {
  35633. toString$0(_) {
  35634. return this.__rti$_message;
  35635. }
  35636. };
  35637. A._TypeError.prototype = {
  35638. get$message(_) {
  35639. return this.__rti$_message;
  35640. },
  35641. $isTypeError: 1
  35642. };
  35643. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  35644. call$1(_) {
  35645. var t1 = this._box_0,
  35646. f = t1.storedCallback;
  35647. t1.storedCallback = null;
  35648. f.call$0();
  35649. },
  35650. $signature: 54
  35651. };
  35652. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  35653. call$1(callback) {
  35654. var t1, t2;
  35655. this._box_0.storedCallback = callback;
  35656. t1 = this.div;
  35657. t2 = this.span;
  35658. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  35659. },
  35660. $signature: 32
  35661. };
  35662. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  35663. call$0() {
  35664. this.callback.call$0();
  35665. },
  35666. $signature: 1
  35667. };
  35668. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  35669. call$0() {
  35670. this.callback.call$0();
  35671. },
  35672. $signature: 1
  35673. };
  35674. A._TimerImpl.prototype = {
  35675. _TimerImpl$2(milliseconds, callback) {
  35676. if (self.setTimeout != null)
  35677. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  35678. else
  35679. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  35680. },
  35681. _TimerImpl$periodic$2(milliseconds, callback) {
  35682. if (self.setTimeout != null)
  35683. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  35684. else
  35685. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  35686. },
  35687. cancel$0() {
  35688. if (self.setTimeout != null) {
  35689. var t1 = this._handle;
  35690. if (t1 == null)
  35691. return;
  35692. if (this._once)
  35693. self.clearTimeout(t1);
  35694. else
  35695. self.clearInterval(t1);
  35696. this._handle = null;
  35697. } else
  35698. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  35699. }
  35700. };
  35701. A._TimerImpl_internalCallback.prototype = {
  35702. call$0() {
  35703. var t1 = this.$this;
  35704. t1._handle = null;
  35705. t1._tick = 1;
  35706. this.callback.call$0();
  35707. },
  35708. $signature: 0
  35709. };
  35710. A._TimerImpl$periodic_closure.prototype = {
  35711. call$0() {
  35712. var duration, _this = this,
  35713. t1 = _this.$this,
  35714. tick = t1._tick + 1,
  35715. t2 = _this.milliseconds;
  35716. if (t2 > 0) {
  35717. duration = Date.now() - _this.start;
  35718. if (duration > (tick + 1) * t2)
  35719. tick = B.JSInt_methods.$tdiv(duration, t2);
  35720. }
  35721. t1._tick = tick;
  35722. _this.callback.call$1(t1);
  35723. },
  35724. $signature: 1
  35725. };
  35726. A._AsyncAwaitCompleter.prototype = {
  35727. complete$1(value) {
  35728. var t1, _this = this;
  35729. if (value == null)
  35730. value = _this.$ti._precomputed1._as(value);
  35731. if (!_this.isSync)
  35732. _this._future._asyncComplete$1(value);
  35733. else {
  35734. t1 = _this._future;
  35735. if (_this.$ti._eval$1("Future<1>")._is(value))
  35736. t1._chainFuture$1(value);
  35737. else
  35738. t1._completeWithValue$1(value);
  35739. }
  35740. },
  35741. completeError$2(e, st) {
  35742. var t1 = this._future;
  35743. if (this.isSync)
  35744. t1._completeError$2(e, st);
  35745. else
  35746. t1._asyncCompleteError$2(e, st);
  35747. }
  35748. };
  35749. A._awaitOnObject_closure.prototype = {
  35750. call$1(result) {
  35751. return this.bodyFunction.call$2(0, result);
  35752. },
  35753. $signature: 76
  35754. };
  35755. A._awaitOnObject_closure0.prototype = {
  35756. call$2(error, stackTrace) {
  35757. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  35758. },
  35759. $signature: 621
  35760. };
  35761. A._wrapJsFunctionForAsync_closure.prototype = {
  35762. call$2(errorCode, result) {
  35763. this.$protected(errorCode, result);
  35764. },
  35765. $signature: 620
  35766. };
  35767. A._SyncStarIterator.prototype = {
  35768. get$current(_) {
  35769. return this._async$_current;
  35770. },
  35771. _resumeBody$2(errorCode, errorValue) {
  35772. var body, t1, exception;
  35773. errorCode = errorCode;
  35774. errorValue = errorValue;
  35775. body = this._body;
  35776. for (; true;)
  35777. try {
  35778. t1 = body(this, errorCode, errorValue);
  35779. return t1;
  35780. } catch (exception) {
  35781. errorValue = exception;
  35782. errorCode = 1;
  35783. }
  35784. },
  35785. moveNext$0() {
  35786. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  35787. for (; true;) {
  35788. nestedIterator = _this._nestedIterator;
  35789. if (nestedIterator != null)
  35790. try {
  35791. if (nestedIterator.moveNext$0()) {
  35792. _this._async$_current = J.get$current$x(nestedIterator);
  35793. return true;
  35794. } else
  35795. _this._nestedIterator = null;
  35796. } catch (exception) {
  35797. errorValue = exception;
  35798. errorCode = 1;
  35799. _this._nestedIterator = null;
  35800. }
  35801. value = _this._resumeBody$2(errorCode, errorValue);
  35802. if (1 === value)
  35803. return true;
  35804. if (0 === value) {
  35805. _this._async$_current = null;
  35806. suspendedBodies = _this._suspendedBodies;
  35807. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35808. _this._body = A._SyncStarIterator__terminatedBody;
  35809. return false;
  35810. }
  35811. _this._body = suspendedBodies.pop();
  35812. errorCode = 0;
  35813. errorValue = null;
  35814. continue;
  35815. }
  35816. if (2 === value) {
  35817. errorCode = 0;
  35818. errorValue = null;
  35819. continue;
  35820. }
  35821. if (3 === value) {
  35822. errorValue = _this._datum;
  35823. _this._datum = null;
  35824. suspendedBodies = _this._suspendedBodies;
  35825. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35826. _this._async$_current = null;
  35827. _this._body = A._SyncStarIterator__terminatedBody;
  35828. throw errorValue;
  35829. return false;
  35830. }
  35831. _this._body = suspendedBodies.pop();
  35832. errorCode = 1;
  35833. continue;
  35834. }
  35835. throw A.wrapException(A.StateError$("sync*"));
  35836. }
  35837. return false;
  35838. },
  35839. _yieldStar$1(iterable) {
  35840. var t1, t2, _this = this;
  35841. if (iterable instanceof A._SyncStarIterable) {
  35842. t1 = iterable._outerHelper();
  35843. t2 = _this._suspendedBodies;
  35844. if (t2 == null)
  35845. t2 = _this._suspendedBodies = [];
  35846. t2.push(_this._body);
  35847. _this._body = t1;
  35848. return 2;
  35849. } else {
  35850. _this._nestedIterator = J.get$iterator$ax(iterable);
  35851. return 2;
  35852. }
  35853. }
  35854. };
  35855. A._SyncStarIterable.prototype = {
  35856. get$iterator(_) {
  35857. return new A._SyncStarIterator(this._outerHelper());
  35858. }
  35859. };
  35860. A.AsyncError.prototype = {
  35861. toString$0(_) {
  35862. return A.S(this.error);
  35863. },
  35864. $isError: 1,
  35865. get$stackTrace() {
  35866. return this.stackTrace;
  35867. }
  35868. };
  35869. A.Future_wait_handleError.prototype = {
  35870. call$2(theError, theStackTrace) {
  35871. var _this = this,
  35872. t1 = _this._box_0,
  35873. t2 = --t1.remaining;
  35874. if (t1.values != null) {
  35875. t1.values = null;
  35876. if (t1.remaining === 0 || _this.eagerError)
  35877. _this._future._completeError$2(theError, theStackTrace);
  35878. else {
  35879. _this.error._value = theError;
  35880. _this.stackTrace._value = theStackTrace;
  35881. }
  35882. } else if (t2 === 0 && !_this.eagerError)
  35883. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  35884. },
  35885. $signature: 73
  35886. };
  35887. A.Future_wait_closure.prototype = {
  35888. call$1(value) {
  35889. var valueList, _this = this,
  35890. t1 = _this._box_0;
  35891. --t1.remaining;
  35892. valueList = t1.values;
  35893. if (valueList != null) {
  35894. J.$indexSet$ax(valueList, _this.pos, value);
  35895. if (t1.remaining === 0)
  35896. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  35897. } else if (t1.remaining === 0 && !_this.eagerError)
  35898. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  35899. },
  35900. $signature() {
  35901. return this.T._eval$1("Null(0)");
  35902. }
  35903. };
  35904. A._Completer.prototype = {
  35905. completeError$2(error, stackTrace) {
  35906. var replacement;
  35907. A.checkNotNullable(error, "error", type$.Object);
  35908. if ((this.future._state & 30) !== 0)
  35909. throw A.wrapException(A.StateError$("Future already completed"));
  35910. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  35911. if (replacement != null) {
  35912. error = replacement.error;
  35913. stackTrace = replacement.stackTrace;
  35914. } else if (stackTrace == null)
  35915. stackTrace = A.AsyncError_defaultStackTrace(error);
  35916. this._completeError$2(error, stackTrace);
  35917. },
  35918. completeError$1(error) {
  35919. return this.completeError$2(error, null);
  35920. }
  35921. };
  35922. A._AsyncCompleter.prototype = {
  35923. complete$1(value) {
  35924. var t1 = this.future;
  35925. if ((t1._state & 30) !== 0)
  35926. throw A.wrapException(A.StateError$("Future already completed"));
  35927. t1._asyncComplete$1(value);
  35928. },
  35929. complete$0() {
  35930. return this.complete$1(null);
  35931. },
  35932. _completeError$2(error, stackTrace) {
  35933. this.future._asyncCompleteError$2(error, stackTrace);
  35934. }
  35935. };
  35936. A._SyncCompleter.prototype = {
  35937. complete$1(value) {
  35938. var t1 = this.future;
  35939. if ((t1._state & 30) !== 0)
  35940. throw A.wrapException(A.StateError$("Future already completed"));
  35941. t1._complete$1(value);
  35942. },
  35943. _completeError$2(error, stackTrace) {
  35944. this.future._completeError$2(error, stackTrace);
  35945. }
  35946. };
  35947. A._FutureListener.prototype = {
  35948. matchesErrorTest$1(asyncError) {
  35949. if ((this.state & 15) !== 6)
  35950. return true;
  35951. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  35952. },
  35953. handleError$1(asyncError) {
  35954. var exception,
  35955. errorCallback = this.errorCallback,
  35956. result = null,
  35957. t1 = type$.dynamic,
  35958. t2 = type$.Object,
  35959. t3 = asyncError.error,
  35960. t4 = this.result._zone;
  35961. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  35962. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  35963. else
  35964. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  35965. try {
  35966. t1 = result;
  35967. return t1;
  35968. } catch (exception) {
  35969. if (type$.TypeError._is(A.unwrapException(exception))) {
  35970. if ((this.state & 1) !== 0)
  35971. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  35972. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  35973. } else
  35974. throw exception;
  35975. }
  35976. }
  35977. };
  35978. A._Future.prototype = {
  35979. _setChained$1(source) {
  35980. this._state = this._state & 1 | 4;
  35981. this._resultOrListeners = source;
  35982. },
  35983. then$1$2$onError(_, f, onError, $R) {
  35984. var result, t1,
  35985. currentZone = $.Zone__current;
  35986. if (currentZone === B.C__RootZone) {
  35987. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  35988. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  35989. } else {
  35990. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  35991. if (onError != null)
  35992. onError = A._registerErrorHandler(onError, currentZone);
  35993. }
  35994. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  35995. t1 = onError == null ? 1 : 3;
  35996. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  35997. return result;
  35998. },
  35999. then$1$1(_, f, $R) {
  36000. return this.then$1$2$onError(0, f, null, $R);
  36001. },
  36002. _thenAwait$1$2(f, onError, $E) {
  36003. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  36004. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  36005. return result;
  36006. },
  36007. catchError$1(onError) {
  36008. var t1 = this.$ti,
  36009. t2 = $.Zone__current,
  36010. result = new A._Future(t2, t1);
  36011. if (t2 !== B.C__RootZone)
  36012. onError = A._registerErrorHandler(onError, t2);
  36013. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  36014. return result;
  36015. },
  36016. whenComplete$1(action) {
  36017. var t1 = this.$ti,
  36018. t2 = $.Zone__current,
  36019. result = new A._Future(t2, t1);
  36020. if (t2 !== B.C__RootZone)
  36021. action = t2.registerCallback$1$1(action, type$.dynamic);
  36022. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  36023. return result;
  36024. },
  36025. _setErrorObject$1(error) {
  36026. this._state = this._state & 1 | 16;
  36027. this._resultOrListeners = error;
  36028. },
  36029. _cloneResult$1(source) {
  36030. this._state = source._state & 30 | this._state & 1;
  36031. this._resultOrListeners = source._resultOrListeners;
  36032. },
  36033. _addListener$1(listener) {
  36034. var _this = this,
  36035. t1 = _this._state;
  36036. if (t1 <= 3) {
  36037. listener._nextListener = _this._resultOrListeners;
  36038. _this._resultOrListeners = listener;
  36039. } else {
  36040. if ((t1 & 4) !== 0) {
  36041. t1 = _this._resultOrListeners;
  36042. if ((t1._state & 24) === 0) {
  36043. t1._addListener$1(listener);
  36044. return;
  36045. }
  36046. _this._cloneResult$1(t1);
  36047. }
  36048. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  36049. }
  36050. },
  36051. _prependListeners$1(listeners) {
  36052. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  36053. _box_0.listeners = listeners;
  36054. if (listeners == null)
  36055. return;
  36056. t1 = _this._state;
  36057. if (t1 <= 3) {
  36058. existingListeners = _this._resultOrListeners;
  36059. _this._resultOrListeners = listeners;
  36060. if (existingListeners != null) {
  36061. next = listeners._nextListener;
  36062. for (cursor = listeners; next != null; cursor = next, next = next0)
  36063. next0 = next._nextListener;
  36064. cursor._nextListener = existingListeners;
  36065. }
  36066. } else {
  36067. if ((t1 & 4) !== 0) {
  36068. t1 = _this._resultOrListeners;
  36069. if ((t1._state & 24) === 0) {
  36070. t1._prependListeners$1(listeners);
  36071. return;
  36072. }
  36073. _this._cloneResult$1(t1);
  36074. }
  36075. _box_0.listeners = _this._reverseListeners$1(listeners);
  36076. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  36077. }
  36078. },
  36079. _removeListeners$0() {
  36080. var current = this._resultOrListeners;
  36081. this._resultOrListeners = null;
  36082. return this._reverseListeners$1(current);
  36083. },
  36084. _reverseListeners$1(listeners) {
  36085. var current, prev, next;
  36086. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  36087. next = current._nextListener;
  36088. current._nextListener = prev;
  36089. }
  36090. return prev;
  36091. },
  36092. _chainForeignFuture$1(source) {
  36093. var e, s, exception, _this = this;
  36094. _this._state ^= 2;
  36095. try {
  36096. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  36097. } catch (exception) {
  36098. e = A.unwrapException(exception);
  36099. s = A.getTraceFromException(exception);
  36100. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  36101. }
  36102. },
  36103. _complete$1(value) {
  36104. var listeners, _this = this,
  36105. t1 = _this.$ti;
  36106. if (t1._eval$1("Future<1>")._is(value))
  36107. if (t1._is(value))
  36108. A._Future__chainCoreFutureSync(value, _this);
  36109. else
  36110. _this._chainForeignFuture$1(value);
  36111. else {
  36112. listeners = _this._removeListeners$0();
  36113. _this._state = 8;
  36114. _this._resultOrListeners = value;
  36115. A._Future__propagateToListeners(_this, listeners);
  36116. }
  36117. },
  36118. _completeWithValue$1(value) {
  36119. var _this = this,
  36120. listeners = _this._removeListeners$0();
  36121. _this._state = 8;
  36122. _this._resultOrListeners = value;
  36123. A._Future__propagateToListeners(_this, listeners);
  36124. },
  36125. _completeError$2(error, stackTrace) {
  36126. var listeners = this._removeListeners$0();
  36127. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  36128. A._Future__propagateToListeners(this, listeners);
  36129. },
  36130. _asyncComplete$1(value) {
  36131. if (this.$ti._eval$1("Future<1>")._is(value)) {
  36132. this._chainFuture$1(value);
  36133. return;
  36134. }
  36135. this._asyncCompleteWithValue$1(value);
  36136. },
  36137. _asyncCompleteWithValue$1(value) {
  36138. this._state ^= 2;
  36139. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  36140. },
  36141. _chainFuture$1(value) {
  36142. if (this.$ti._is(value)) {
  36143. A._Future__chainCoreFutureAsync(value, this);
  36144. return;
  36145. }
  36146. this._chainForeignFuture$1(value);
  36147. },
  36148. _asyncCompleteError$2(error, stackTrace) {
  36149. this._state ^= 2;
  36150. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  36151. },
  36152. $isFuture: 1
  36153. };
  36154. A._Future__addListener_closure.prototype = {
  36155. call$0() {
  36156. A._Future__propagateToListeners(this.$this, this.listener);
  36157. },
  36158. $signature: 0
  36159. };
  36160. A._Future__prependListeners_closure.prototype = {
  36161. call$0() {
  36162. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  36163. },
  36164. $signature: 0
  36165. };
  36166. A._Future__chainForeignFuture_closure.prototype = {
  36167. call$1(value) {
  36168. var error, stackTrace, exception,
  36169. t1 = this.$this;
  36170. t1._state ^= 2;
  36171. try {
  36172. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  36173. } catch (exception) {
  36174. error = A.unwrapException(exception);
  36175. stackTrace = A.getTraceFromException(exception);
  36176. t1._completeError$2(error, stackTrace);
  36177. }
  36178. },
  36179. $signature: 54
  36180. };
  36181. A._Future__chainForeignFuture_closure0.prototype = {
  36182. call$2(error, stackTrace) {
  36183. this.$this._completeError$2(error, stackTrace);
  36184. },
  36185. $signature: 53
  36186. };
  36187. A._Future__chainForeignFuture_closure1.prototype = {
  36188. call$0() {
  36189. this.$this._completeError$2(this.e, this.s);
  36190. },
  36191. $signature: 0
  36192. };
  36193. A._Future__chainCoreFutureAsync_closure.prototype = {
  36194. call$0() {
  36195. A._Future__chainCoreFutureSync(this._box_0.source, this.target);
  36196. },
  36197. $signature: 0
  36198. };
  36199. A._Future__asyncCompleteWithValue_closure.prototype = {
  36200. call$0() {
  36201. this.$this._completeWithValue$1(this.value);
  36202. },
  36203. $signature: 0
  36204. };
  36205. A._Future__asyncCompleteError_closure.prototype = {
  36206. call$0() {
  36207. this.$this._completeError$2(this.error, this.stackTrace);
  36208. },
  36209. $signature: 0
  36210. };
  36211. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  36212. call$0() {
  36213. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  36214. try {
  36215. t1 = _this._box_0.listener;
  36216. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  36217. } catch (exception) {
  36218. e = A.unwrapException(exception);
  36219. s = A.getTraceFromException(exception);
  36220. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  36221. t2 = _this._box_0;
  36222. if (t1)
  36223. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  36224. else
  36225. t2.listenerValueOrError = A.AsyncError$(e, s);
  36226. t2.listenerHasError = true;
  36227. return;
  36228. }
  36229. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  36230. if ((completeResult._state & 16) !== 0) {
  36231. t1 = _this._box_0;
  36232. t1.listenerValueOrError = completeResult._resultOrListeners;
  36233. t1.listenerHasError = true;
  36234. }
  36235. return;
  36236. }
  36237. if (completeResult instanceof A._Future) {
  36238. originalSource = _this._box_1.source;
  36239. t1 = _this._box_0;
  36240. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  36241. t1.listenerHasError = false;
  36242. }
  36243. },
  36244. $signature: 0
  36245. };
  36246. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  36247. call$1(_) {
  36248. return this.originalSource;
  36249. },
  36250. $signature: 603
  36251. };
  36252. A._Future__propagateToListeners_handleValueCallback.prototype = {
  36253. call$0() {
  36254. var e, s, t1, t2, t3, exception;
  36255. try {
  36256. t1 = this._box_0;
  36257. t2 = t1.listener;
  36258. t3 = t2.$ti;
  36259. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  36260. } catch (exception) {
  36261. e = A.unwrapException(exception);
  36262. s = A.getTraceFromException(exception);
  36263. t1 = this._box_0;
  36264. t1.listenerValueOrError = A.AsyncError$(e, s);
  36265. t1.listenerHasError = true;
  36266. }
  36267. },
  36268. $signature: 0
  36269. };
  36270. A._Future__propagateToListeners_handleError.prototype = {
  36271. call$0() {
  36272. var asyncError, e, s, t1, exception, t2, _this = this;
  36273. try {
  36274. asyncError = _this._box_1.source._resultOrListeners;
  36275. t1 = _this._box_0;
  36276. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  36277. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  36278. t1.listenerHasError = false;
  36279. }
  36280. } catch (exception) {
  36281. e = A.unwrapException(exception);
  36282. s = A.getTraceFromException(exception);
  36283. t1 = _this._box_1.source._resultOrListeners;
  36284. t2 = _this._box_0;
  36285. if (t1.error === e)
  36286. t2.listenerValueOrError = t1;
  36287. else
  36288. t2.listenerValueOrError = A.AsyncError$(e, s);
  36289. t2.listenerHasError = true;
  36290. }
  36291. },
  36292. $signature: 0
  36293. };
  36294. A._AsyncCallbackEntry.prototype = {};
  36295. A.Stream.prototype = {
  36296. get$isBroadcast() {
  36297. return false;
  36298. },
  36299. get$length(_) {
  36300. var t1 = {},
  36301. future = new A._Future($.Zone__current, type$._Future_int);
  36302. t1.count = 0;
  36303. 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());
  36304. return future;
  36305. }
  36306. };
  36307. A.Stream_Stream$fromFuture_closure.prototype = {
  36308. call$1(value) {
  36309. var t1 = this.controller;
  36310. t1._async$_add$1(value);
  36311. t1._closeUnchecked$0();
  36312. },
  36313. $signature() {
  36314. return this.T._eval$1("Null(0)");
  36315. }
  36316. };
  36317. A.Stream_Stream$fromFuture_closure0.prototype = {
  36318. call$2(error, stackTrace) {
  36319. var t1 = this.controller;
  36320. t1._addError$2(error, stackTrace);
  36321. t1._closeUnchecked$0();
  36322. },
  36323. $signature: 602
  36324. };
  36325. A.Stream_length_closure.prototype = {
  36326. call$1(_) {
  36327. ++this._box_0.count;
  36328. },
  36329. $signature() {
  36330. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  36331. }
  36332. };
  36333. A.Stream_length_closure0.prototype = {
  36334. call$0() {
  36335. this.future._complete$1(this._box_0.count);
  36336. },
  36337. $signature: 0
  36338. };
  36339. A._StreamController.prototype = {
  36340. get$stream() {
  36341. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  36342. },
  36343. get$_pendingEvents() {
  36344. if ((this._state & 8) === 0)
  36345. return this._varData;
  36346. return this._varData.varData;
  36347. },
  36348. _ensurePendingEvents$0() {
  36349. var events, state, _this = this;
  36350. if ((_this._state & 8) === 0) {
  36351. events = _this._varData;
  36352. return events == null ? _this._varData = new A._PendingEvents() : events;
  36353. }
  36354. state = _this._varData;
  36355. events = state.varData;
  36356. return events == null ? state.varData = new A._PendingEvents() : events;
  36357. },
  36358. get$_subscription() {
  36359. var varData = this._varData;
  36360. return (this._state & 8) !== 0 ? varData.varData : varData;
  36361. },
  36362. _badEventState$0() {
  36363. if ((this._state & 4) !== 0)
  36364. return new A.StateError("Cannot add event after closing");
  36365. return new A.StateError("Cannot add event while adding a stream");
  36366. },
  36367. addStream$2$cancelOnError(source, cancelOnError) {
  36368. var t2, t3, t4, _this = this,
  36369. t1 = _this._state;
  36370. if (t1 >= 4)
  36371. throw A.wrapException(_this._badEventState$0());
  36372. if ((t1 & 2) !== 0) {
  36373. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  36374. t1._asyncComplete$1(null);
  36375. return t1;
  36376. }
  36377. t1 = _this._varData;
  36378. t2 = cancelOnError === true;
  36379. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  36380. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  36381. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  36382. t2 = _this._state;
  36383. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  36384. t4.pause$0(0);
  36385. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  36386. _this._state |= 8;
  36387. return t3;
  36388. },
  36389. _ensureDoneFuture$0() {
  36390. var t1 = this._doneFuture;
  36391. if (t1 == null)
  36392. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  36393. return t1;
  36394. },
  36395. add$1(_, value) {
  36396. if (this._state >= 4)
  36397. throw A.wrapException(this._badEventState$0());
  36398. this._async$_add$1(value);
  36399. },
  36400. addError$2(error, stackTrace) {
  36401. var replacement;
  36402. A.checkNotNullable(error, "error", type$.Object);
  36403. if (this._state >= 4)
  36404. throw A.wrapException(this._badEventState$0());
  36405. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  36406. if (replacement != null) {
  36407. error = replacement.error;
  36408. stackTrace = replacement.stackTrace;
  36409. } else if (stackTrace == null)
  36410. stackTrace = A.AsyncError_defaultStackTrace(error);
  36411. this._addError$2(error, stackTrace);
  36412. },
  36413. addError$1(error) {
  36414. return this.addError$2(error, null);
  36415. },
  36416. close$0(_) {
  36417. var _this = this,
  36418. t1 = _this._state;
  36419. if ((t1 & 4) !== 0)
  36420. return _this._ensureDoneFuture$0();
  36421. if (t1 >= 4)
  36422. throw A.wrapException(_this._badEventState$0());
  36423. _this._closeUnchecked$0();
  36424. return _this._ensureDoneFuture$0();
  36425. },
  36426. _closeUnchecked$0() {
  36427. var t1 = this._state |= 4;
  36428. if ((t1 & 1) !== 0)
  36429. this._sendDone$0();
  36430. else if ((t1 & 3) === 0)
  36431. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  36432. },
  36433. _async$_add$1(value) {
  36434. var t1 = this._state;
  36435. if ((t1 & 1) !== 0)
  36436. this._sendData$1(value);
  36437. else if ((t1 & 3) === 0)
  36438. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  36439. },
  36440. _addError$2(error, stackTrace) {
  36441. var t1 = this._state;
  36442. if ((t1 & 1) !== 0)
  36443. this._sendError$2(error, stackTrace);
  36444. else if ((t1 & 3) === 0)
  36445. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  36446. },
  36447. _close$0() {
  36448. var addState = this._varData;
  36449. this._varData = addState.varData;
  36450. this._state &= 4294967287;
  36451. addState.addStreamFuture._asyncComplete$1(null);
  36452. },
  36453. _subscribe$4(onData, onError, onDone, cancelOnError) {
  36454. var subscription, pendingEvents, t1, addState, _this = this;
  36455. if ((_this._state & 3) !== 0)
  36456. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  36457. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  36458. pendingEvents = _this.get$_pendingEvents();
  36459. t1 = _this._state |= 1;
  36460. if ((t1 & 8) !== 0) {
  36461. addState = _this._varData;
  36462. addState.varData = subscription;
  36463. addState.addSubscription.resume$0(0);
  36464. } else
  36465. _this._varData = subscription;
  36466. subscription._setPendingEvents$1(pendingEvents);
  36467. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  36468. return subscription;
  36469. },
  36470. _recordCancel$1(subscription) {
  36471. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  36472. if ((_this._state & 8) !== 0)
  36473. result = _this._varData.cancel$0();
  36474. _this._varData = null;
  36475. _this._state = _this._state & 4294967286 | 2;
  36476. onCancel = _this.onCancel;
  36477. if (onCancel != null)
  36478. if (result == null)
  36479. try {
  36480. cancelResult = onCancel.call$0();
  36481. if (cancelResult instanceof A._Future)
  36482. result = cancelResult;
  36483. } catch (exception) {
  36484. e = A.unwrapException(exception);
  36485. s = A.getTraceFromException(exception);
  36486. result0 = new A._Future($.Zone__current, type$._Future_void);
  36487. result0._asyncCompleteError$2(e, s);
  36488. result = result0;
  36489. }
  36490. else
  36491. result = result.whenComplete$1(onCancel);
  36492. t1 = new A._StreamController__recordCancel_complete(_this);
  36493. if (result != null)
  36494. result = result.whenComplete$1(t1);
  36495. else
  36496. t1.call$0();
  36497. return result;
  36498. },
  36499. _recordPause$1(subscription) {
  36500. if ((this._state & 8) !== 0)
  36501. this._varData.addSubscription.pause$0(0);
  36502. A._runGuarded(this.onPause);
  36503. },
  36504. _recordResume$1(subscription) {
  36505. if ((this._state & 8) !== 0)
  36506. this._varData.addSubscription.resume$0(0);
  36507. A._runGuarded(this.onResume);
  36508. },
  36509. $isEventSink: 1,
  36510. set$onPause(val) {
  36511. return this.onPause = val;
  36512. },
  36513. set$onResume(val) {
  36514. return this.onResume = val;
  36515. },
  36516. set$onCancel(val) {
  36517. return this.onCancel = val;
  36518. }
  36519. };
  36520. A._StreamController__subscribe_closure.prototype = {
  36521. call$0() {
  36522. A._runGuarded(this.$this.onListen);
  36523. },
  36524. $signature: 0
  36525. };
  36526. A._StreamController__recordCancel_complete.prototype = {
  36527. call$0() {
  36528. var doneFuture = this.$this._doneFuture;
  36529. if (doneFuture != null && (doneFuture._state & 30) === 0)
  36530. doneFuture._asyncComplete$1(null);
  36531. },
  36532. $signature: 0
  36533. };
  36534. A._SyncStreamControllerDispatch.prototype = {
  36535. _sendData$1(data) {
  36536. this.get$_subscription()._async$_add$1(data);
  36537. },
  36538. _sendError$2(error, stackTrace) {
  36539. this.get$_subscription()._addError$2(error, stackTrace);
  36540. },
  36541. _sendDone$0() {
  36542. this.get$_subscription()._close$0();
  36543. }
  36544. };
  36545. A._AsyncStreamControllerDispatch.prototype = {
  36546. _sendData$1(data) {
  36547. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  36548. },
  36549. _sendError$2(error, stackTrace) {
  36550. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  36551. },
  36552. _sendDone$0() {
  36553. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  36554. }
  36555. };
  36556. A._AsyncStreamController.prototype = {};
  36557. A._SyncStreamController.prototype = {};
  36558. A._ControllerStream.prototype = {
  36559. get$hashCode(_) {
  36560. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  36561. },
  36562. $eq(_, other) {
  36563. if (other == null)
  36564. return false;
  36565. if (this === other)
  36566. return true;
  36567. return other instanceof A._ControllerStream && other._controller === this._controller;
  36568. }
  36569. };
  36570. A._ControllerSubscription.prototype = {
  36571. _async$_onCancel$0() {
  36572. return this._controller._recordCancel$1(this);
  36573. },
  36574. _async$_onPause$0() {
  36575. this._controller._recordPause$1(this);
  36576. },
  36577. _async$_onResume$0() {
  36578. this._controller._recordResume$1(this);
  36579. }
  36580. };
  36581. A._AddStreamState.prototype = {
  36582. cancel$0() {
  36583. var cancel = this.addSubscription.cancel$0();
  36584. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  36585. }
  36586. };
  36587. A._AddStreamState_makeErrorHandler_closure.prototype = {
  36588. call$2(e, s) {
  36589. var t1 = this.controller;
  36590. t1._addError$2(e, s);
  36591. t1._close$0();
  36592. },
  36593. $signature: 53
  36594. };
  36595. A._AddStreamState_cancel_closure.prototype = {
  36596. call$0() {
  36597. this.$this.addStreamFuture._asyncComplete$1(null);
  36598. },
  36599. $signature: 1
  36600. };
  36601. A._StreamControllerAddStreamState.prototype = {};
  36602. A._BufferingStreamSubscription.prototype = {
  36603. _setPendingEvents$1(pendingEvents) {
  36604. var _this = this;
  36605. if (pendingEvents == null)
  36606. return;
  36607. _this._pending = pendingEvents;
  36608. if (pendingEvents.lastPendingEvent != null) {
  36609. _this._state = (_this._state | 64) >>> 0;
  36610. pendingEvents.schedule$1(_this);
  36611. }
  36612. },
  36613. pause$1(_, resumeSignal) {
  36614. var t2, t3, _this = this,
  36615. t1 = _this._state;
  36616. if ((t1 & 8) !== 0)
  36617. return;
  36618. t2 = (t1 + 128 | 4) >>> 0;
  36619. _this._state = t2;
  36620. if (t1 < 128) {
  36621. t3 = _this._pending;
  36622. if (t3 != null)
  36623. if (t3._state === 1)
  36624. t3._state = 3;
  36625. }
  36626. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  36627. _this._guardCallback$1(_this.get$_async$_onPause());
  36628. },
  36629. pause$0(_) {
  36630. return this.pause$1(0, null);
  36631. },
  36632. resume$0(_) {
  36633. var _this = this,
  36634. t1 = _this._state;
  36635. if ((t1 & 8) !== 0)
  36636. return;
  36637. if (t1 >= 128) {
  36638. t1 = _this._state = t1 - 128;
  36639. if (t1 < 128)
  36640. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  36641. _this._pending.schedule$1(_this);
  36642. else {
  36643. t1 = (t1 & 4294967291) >>> 0;
  36644. _this._state = t1;
  36645. if ((t1 & 32) === 0)
  36646. _this._guardCallback$1(_this.get$_async$_onResume());
  36647. }
  36648. }
  36649. },
  36650. cancel$0() {
  36651. var _this = this,
  36652. t1 = (_this._state & 4294967279) >>> 0;
  36653. _this._state = t1;
  36654. if ((t1 & 8) === 0)
  36655. _this._cancel$0();
  36656. t1 = _this._cancelFuture;
  36657. return t1 == null ? $.$get$Future__nullFuture() : t1;
  36658. },
  36659. _cancel$0() {
  36660. var t2, _this = this,
  36661. t1 = _this._state = (_this._state | 8) >>> 0;
  36662. if ((t1 & 64) !== 0) {
  36663. t2 = _this._pending;
  36664. if (t2._state === 1)
  36665. t2._state = 3;
  36666. }
  36667. if ((t1 & 32) === 0)
  36668. _this._pending = null;
  36669. _this._cancelFuture = _this._async$_onCancel$0();
  36670. },
  36671. _async$_add$1(data) {
  36672. var t1 = this._state;
  36673. if ((t1 & 8) !== 0)
  36674. return;
  36675. if (t1 < 32)
  36676. this._sendData$1(data);
  36677. else
  36678. this._addPending$1(new A._DelayedData(data));
  36679. },
  36680. _addError$2(error, stackTrace) {
  36681. var t1 = this._state;
  36682. if ((t1 & 8) !== 0)
  36683. return;
  36684. if (t1 < 32)
  36685. this._sendError$2(error, stackTrace);
  36686. else
  36687. this._addPending$1(new A._DelayedError(error, stackTrace));
  36688. },
  36689. _close$0() {
  36690. var _this = this,
  36691. t1 = _this._state;
  36692. if ((t1 & 8) !== 0)
  36693. return;
  36694. t1 = (t1 | 2) >>> 0;
  36695. _this._state = t1;
  36696. if (t1 < 32)
  36697. _this._sendDone$0();
  36698. else
  36699. _this._addPending$1(B.C__DelayedDone);
  36700. },
  36701. _async$_onPause$0() {
  36702. },
  36703. _async$_onResume$0() {
  36704. },
  36705. _async$_onCancel$0() {
  36706. return null;
  36707. },
  36708. _addPending$1($event) {
  36709. var t1, _this = this,
  36710. pending = _this._pending;
  36711. if (pending == null)
  36712. pending = _this._pending = new A._PendingEvents();
  36713. pending.add$1(0, $event);
  36714. t1 = _this._state;
  36715. if ((t1 & 64) === 0) {
  36716. t1 = (t1 | 64) >>> 0;
  36717. _this._state = t1;
  36718. if (t1 < 128)
  36719. pending.schedule$1(_this);
  36720. }
  36721. },
  36722. _sendData$1(data) {
  36723. var _this = this,
  36724. t1 = _this._state;
  36725. _this._state = (t1 | 32) >>> 0;
  36726. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  36727. _this._state = (_this._state & 4294967263) >>> 0;
  36728. _this._checkState$1((t1 & 4) !== 0);
  36729. },
  36730. _sendError$2(error, stackTrace) {
  36731. var cancelFuture, _this = this,
  36732. t1 = _this._state,
  36733. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  36734. if ((t1 & 1) !== 0) {
  36735. _this._state = (t1 | 16) >>> 0;
  36736. _this._cancel$0();
  36737. cancelFuture = _this._cancelFuture;
  36738. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36739. cancelFuture.whenComplete$1(t2);
  36740. else
  36741. t2.call$0();
  36742. } else {
  36743. t2.call$0();
  36744. _this._checkState$1((t1 & 4) !== 0);
  36745. }
  36746. },
  36747. _sendDone$0() {
  36748. var cancelFuture, _this = this,
  36749. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  36750. _this._cancel$0();
  36751. _this._state = (_this._state | 16) >>> 0;
  36752. cancelFuture = _this._cancelFuture;
  36753. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36754. cancelFuture.whenComplete$1(t1);
  36755. else
  36756. t1.call$0();
  36757. },
  36758. _guardCallback$1(callback) {
  36759. var _this = this,
  36760. t1 = _this._state;
  36761. _this._state = (t1 | 32) >>> 0;
  36762. callback.call$0();
  36763. _this._state = (_this._state & 4294967263) >>> 0;
  36764. _this._checkState$1((t1 & 4) !== 0);
  36765. },
  36766. _checkState$1(wasInputPaused) {
  36767. var t2, isInputPaused, _this = this,
  36768. t1 = _this._state;
  36769. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  36770. t1 = _this._state = (t1 & 4294967231) >>> 0;
  36771. if ((t1 & 4) !== 0)
  36772. if (t1 < 128) {
  36773. t2 = _this._pending;
  36774. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  36775. t2 = t2 !== false;
  36776. } else
  36777. t2 = false;
  36778. else
  36779. t2 = false;
  36780. if (t2) {
  36781. t1 = (t1 & 4294967291) >>> 0;
  36782. _this._state = t1;
  36783. }
  36784. }
  36785. for (; true; wasInputPaused = isInputPaused) {
  36786. if ((t1 & 8) !== 0) {
  36787. _this._pending = null;
  36788. return;
  36789. }
  36790. isInputPaused = (t1 & 4) !== 0;
  36791. if (wasInputPaused === isInputPaused)
  36792. break;
  36793. _this._state = (t1 ^ 32) >>> 0;
  36794. if (isInputPaused)
  36795. _this._async$_onPause$0();
  36796. else
  36797. _this._async$_onResume$0();
  36798. t1 = (_this._state & 4294967263) >>> 0;
  36799. _this._state = t1;
  36800. }
  36801. if ((t1 & 64) !== 0 && t1 < 128)
  36802. _this._pending.schedule$1(_this);
  36803. },
  36804. $isStreamSubscription: 1
  36805. };
  36806. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  36807. call$0() {
  36808. var onError, t3, t4,
  36809. t1 = this.$this,
  36810. t2 = t1._state;
  36811. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  36812. return;
  36813. t1._state = (t2 | 32) >>> 0;
  36814. onError = t1._onError;
  36815. t2 = this.error;
  36816. t3 = type$.Object;
  36817. t4 = t1._zone;
  36818. if (type$.void_Function_Object_StackTrace._is(onError))
  36819. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  36820. else
  36821. t4.runUnaryGuarded$1$2(onError, t2, t3);
  36822. t1._state = (t1._state & 4294967263) >>> 0;
  36823. },
  36824. $signature: 0
  36825. };
  36826. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  36827. call$0() {
  36828. var t1 = this.$this,
  36829. t2 = t1._state;
  36830. if ((t2 & 16) === 0)
  36831. return;
  36832. t1._state = (t2 | 42) >>> 0;
  36833. t1._zone.runGuarded$1(t1._onDone);
  36834. t1._state = (t1._state & 4294967263) >>> 0;
  36835. },
  36836. $signature: 0
  36837. };
  36838. A._StreamImpl.prototype = {
  36839. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  36840. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  36841. },
  36842. listen$1(_, onData) {
  36843. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  36844. },
  36845. listen$3$onDone$onError(_, onData, onDone, onError) {
  36846. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  36847. }
  36848. };
  36849. A._DelayedEvent.prototype = {
  36850. get$next() {
  36851. return this.next;
  36852. },
  36853. set$next(val) {
  36854. return this.next = val;
  36855. }
  36856. };
  36857. A._DelayedData.prototype = {
  36858. perform$1(dispatch) {
  36859. dispatch._sendData$1(this.value);
  36860. }
  36861. };
  36862. A._DelayedError.prototype = {
  36863. perform$1(dispatch) {
  36864. dispatch._sendError$2(this.error, this.stackTrace);
  36865. }
  36866. };
  36867. A._DelayedDone.prototype = {
  36868. perform$1(dispatch) {
  36869. dispatch._sendDone$0();
  36870. },
  36871. get$next() {
  36872. return null;
  36873. },
  36874. set$next(_) {
  36875. throw A.wrapException(A.StateError$("No events after a done."));
  36876. }
  36877. };
  36878. A._PendingEvents.prototype = {
  36879. schedule$1(dispatch) {
  36880. var _this = this,
  36881. t1 = _this._state;
  36882. if (t1 === 1)
  36883. return;
  36884. if (t1 >= 1) {
  36885. _this._state = 1;
  36886. return;
  36887. }
  36888. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  36889. _this._state = 1;
  36890. },
  36891. add$1(_, $event) {
  36892. var _this = this,
  36893. lastEvent = _this.lastPendingEvent;
  36894. if (lastEvent == null)
  36895. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  36896. else {
  36897. lastEvent.set$next($event);
  36898. _this.lastPendingEvent = $event;
  36899. }
  36900. }
  36901. };
  36902. A._PendingEvents_schedule_closure.prototype = {
  36903. call$0() {
  36904. var $event, nextEvent,
  36905. t1 = this.$this,
  36906. oldState = t1._state;
  36907. t1._state = 0;
  36908. if (oldState === 3)
  36909. return;
  36910. $event = t1.firstPendingEvent;
  36911. nextEvent = $event.get$next();
  36912. t1.firstPendingEvent = nextEvent;
  36913. if (nextEvent == null)
  36914. t1.lastPendingEvent = null;
  36915. $event.perform$1(this.dispatch);
  36916. },
  36917. $signature: 0
  36918. };
  36919. A._StreamIterator.prototype = {
  36920. get$current(_) {
  36921. if (this._async$_hasValue)
  36922. return this._stateData;
  36923. return null;
  36924. },
  36925. moveNext$0() {
  36926. var future, _this = this,
  36927. subscription = _this._subscription;
  36928. if (subscription != null) {
  36929. if (_this._async$_hasValue) {
  36930. future = new A._Future($.Zone__current, type$._Future_bool);
  36931. _this._stateData = future;
  36932. _this._async$_hasValue = false;
  36933. subscription.resume$0(0);
  36934. return future;
  36935. }
  36936. throw A.wrapException(A.StateError$("Already waiting for next."));
  36937. }
  36938. return _this._initializeOrDone$0();
  36939. },
  36940. _initializeOrDone$0() {
  36941. var future, subscription, _this = this,
  36942. stateData = _this._stateData;
  36943. if (stateData != null) {
  36944. future = new A._Future($.Zone__current, type$._Future_bool);
  36945. _this._stateData = future;
  36946. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  36947. if (_this._stateData != null)
  36948. _this._subscription = subscription;
  36949. return future;
  36950. }
  36951. return $.$get$Future__falseFuture();
  36952. },
  36953. cancel$0() {
  36954. var _this = this,
  36955. subscription = _this._subscription,
  36956. stateData = _this._stateData;
  36957. _this._stateData = null;
  36958. if (subscription != null) {
  36959. _this._subscription = null;
  36960. if (!_this._async$_hasValue)
  36961. stateData._asyncComplete$1(false);
  36962. else
  36963. _this._async$_hasValue = false;
  36964. return subscription.cancel$0();
  36965. }
  36966. return $.$get$Future__nullFuture();
  36967. },
  36968. _onData$1(data) {
  36969. var moveNextFuture, t1, _this = this;
  36970. if (_this._subscription == null)
  36971. return;
  36972. moveNextFuture = _this._stateData;
  36973. _this._stateData = data;
  36974. _this._async$_hasValue = true;
  36975. moveNextFuture._complete$1(true);
  36976. if (_this._async$_hasValue) {
  36977. t1 = _this._subscription;
  36978. if (t1 != null)
  36979. t1.pause$0(0);
  36980. }
  36981. },
  36982. _onError$2(error, stackTrace) {
  36983. var _this = this,
  36984. subscription = _this._subscription,
  36985. moveNextFuture = _this._stateData;
  36986. _this._stateData = _this._subscription = null;
  36987. if (subscription != null)
  36988. moveNextFuture._completeError$2(error, stackTrace);
  36989. else
  36990. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  36991. },
  36992. _onDone$0() {
  36993. var _this = this,
  36994. subscription = _this._subscription,
  36995. moveNextFuture = _this._stateData;
  36996. _this._stateData = _this._subscription = null;
  36997. if (subscription != null)
  36998. moveNextFuture._completeWithValue$1(false);
  36999. else
  37000. moveNextFuture._asyncCompleteWithValue$1(false);
  37001. }
  37002. };
  37003. A._ForwardingStream.prototype = {
  37004. get$isBroadcast() {
  37005. return this._async$_source.get$isBroadcast();
  37006. },
  37007. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  37008. var t1 = this.$ti,
  37009. t2 = t1._rest[1],
  37010. t3 = $.Zone__current,
  37011. t4 = cancelOnError === true ? 1 : 0,
  37012. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  37013. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  37014. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  37015. 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>"));
  37016. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  37017. return t2;
  37018. },
  37019. listen$1(_, onData) {
  37020. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  37021. },
  37022. listen$3$onDone$onError(_, onData, onDone, onError) {
  37023. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  37024. }
  37025. };
  37026. A._ForwardingStreamSubscription.prototype = {
  37027. _async$_add$1(data) {
  37028. if ((this._state & 2) !== 0)
  37029. return;
  37030. this.super$_BufferingStreamSubscription$_add(data);
  37031. },
  37032. _addError$2(error, stackTrace) {
  37033. if ((this._state & 2) !== 0)
  37034. return;
  37035. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  37036. },
  37037. _async$_onPause$0() {
  37038. var t1 = this._subscription;
  37039. if (t1 != null)
  37040. t1.pause$0(0);
  37041. },
  37042. _async$_onResume$0() {
  37043. var t1 = this._subscription;
  37044. if (t1 != null)
  37045. t1.resume$0(0);
  37046. },
  37047. _async$_onCancel$0() {
  37048. var subscription = this._subscription;
  37049. if (subscription != null) {
  37050. this._subscription = null;
  37051. return subscription.cancel$0();
  37052. }
  37053. return null;
  37054. },
  37055. _handleData$1(data) {
  37056. this._stream._handleData$2(data, this);
  37057. },
  37058. _handleError$2(error, stackTrace) {
  37059. this._addError$2(error, stackTrace);
  37060. },
  37061. _handleDone$0() {
  37062. this._close$0();
  37063. }
  37064. };
  37065. A._ExpandStream.prototype = {
  37066. _handleData$2(inputEvent, sink) {
  37067. var value, e, s, t1, exception, error, stackTrace, replacement;
  37068. try {
  37069. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  37070. value = t1.get$current(t1);
  37071. sink._async$_add$1(value);
  37072. }
  37073. } catch (exception) {
  37074. e = A.unwrapException(exception);
  37075. s = A.getTraceFromException(exception);
  37076. error = e;
  37077. stackTrace = s;
  37078. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  37079. if (replacement != null) {
  37080. error = replacement.error;
  37081. stackTrace = replacement.stackTrace;
  37082. }
  37083. sink._addError$2(error, stackTrace);
  37084. }
  37085. }
  37086. };
  37087. A._ZoneFunction.prototype = {};
  37088. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  37089. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  37090. A._Zone.prototype = {
  37091. _processUncaughtError$3(zone, error, stackTrace) {
  37092. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  37093. implementation = this.get$_handleUncaughtError(),
  37094. implZone = implementation.zone;
  37095. if (implZone === B.C__RootZone) {
  37096. A._rootHandleError(error, stackTrace);
  37097. return;
  37098. }
  37099. handler = implementation.$function;
  37100. parentDelegate = implZone.get$_parentDelegate();
  37101. t1 = J.get$parent$z(implZone);
  37102. t1.toString;
  37103. parentZone = t1;
  37104. currentZone = $.Zone__current;
  37105. try {
  37106. $.Zone__current = parentZone;
  37107. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  37108. $.Zone__current = currentZone;
  37109. } catch (exception) {
  37110. e = A.unwrapException(exception);
  37111. s = A.getTraceFromException(exception);
  37112. $.Zone__current = currentZone;
  37113. t1 = error === e ? stackTrace : s;
  37114. parentZone._processUncaughtError$3(implZone, e, t1);
  37115. }
  37116. },
  37117. $isZone: 1
  37118. };
  37119. A._CustomZone.prototype = {
  37120. get$_delegate() {
  37121. var t1 = this._delegateCache;
  37122. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  37123. },
  37124. get$_parentDelegate() {
  37125. return this.parent.get$_delegate();
  37126. },
  37127. get$errorZone() {
  37128. return this._handleUncaughtError.zone;
  37129. },
  37130. runGuarded$1(f) {
  37131. var e, s, exception;
  37132. try {
  37133. this.run$1$1(0, f, type$.void);
  37134. } catch (exception) {
  37135. e = A.unwrapException(exception);
  37136. s = A.getTraceFromException(exception);
  37137. this._processUncaughtError$3(this, e, s);
  37138. }
  37139. },
  37140. runUnaryGuarded$1$2(f, arg, $T) {
  37141. var e, s, exception;
  37142. try {
  37143. this.runUnary$2$2(f, arg, type$.void, $T);
  37144. } catch (exception) {
  37145. e = A.unwrapException(exception);
  37146. s = A.getTraceFromException(exception);
  37147. this._processUncaughtError$3(this, e, s);
  37148. }
  37149. },
  37150. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  37151. var e, s, exception;
  37152. try {
  37153. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  37154. } catch (exception) {
  37155. e = A.unwrapException(exception);
  37156. s = A.getTraceFromException(exception);
  37157. this._processUncaughtError$3(this, e, s);
  37158. }
  37159. },
  37160. bindCallback$1$1(f, $R) {
  37161. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  37162. },
  37163. bindUnaryCallback$2$1(f, $R, $T) {
  37164. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  37165. },
  37166. bindCallbackGuarded$1(f) {
  37167. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  37168. },
  37169. $index(_, key) {
  37170. var value,
  37171. t1 = this._async$_map,
  37172. result = t1.$index(0, key);
  37173. if (result != null || t1.containsKey$1(key))
  37174. return result;
  37175. value = this.parent.$index(0, key);
  37176. if (value != null)
  37177. t1.$indexSet(0, key, value);
  37178. return value;
  37179. },
  37180. handleUncaughtError$2(error, stackTrace) {
  37181. this._processUncaughtError$3(this, error, stackTrace);
  37182. },
  37183. fork$2$specification$zoneValues(specification, zoneValues) {
  37184. var implementation = this._fork,
  37185. t1 = implementation.zone;
  37186. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  37187. },
  37188. run$1$1(_, f) {
  37189. var implementation = this._run,
  37190. t1 = implementation.zone;
  37191. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  37192. },
  37193. runUnary$2$2(f, arg) {
  37194. var implementation = this._runUnary,
  37195. t1 = implementation.zone;
  37196. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  37197. },
  37198. runBinary$3$3(f, arg1, arg2) {
  37199. var implementation = this._runBinary,
  37200. t1 = implementation.zone;
  37201. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  37202. },
  37203. registerCallback$1$1(callback) {
  37204. var implementation = this._registerCallback,
  37205. t1 = implementation.zone;
  37206. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37207. },
  37208. registerUnaryCallback$2$1(callback) {
  37209. var implementation = this._registerUnaryCallback,
  37210. t1 = implementation.zone;
  37211. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37212. },
  37213. registerBinaryCallback$3$1(callback) {
  37214. var implementation = this._registerBinaryCallback,
  37215. t1 = implementation.zone;
  37216. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37217. },
  37218. errorCallback$2(error, stackTrace) {
  37219. var implementation, implementationZone;
  37220. A.checkNotNullable(error, "error", type$.Object);
  37221. implementation = this._errorCallback;
  37222. implementationZone = implementation.zone;
  37223. if (implementationZone === B.C__RootZone)
  37224. return null;
  37225. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  37226. },
  37227. scheduleMicrotask$1(f) {
  37228. var implementation = this._scheduleMicrotask,
  37229. t1 = implementation.zone;
  37230. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  37231. },
  37232. createTimer$2(duration, f) {
  37233. var implementation = this._createTimer,
  37234. t1 = implementation.zone;
  37235. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  37236. },
  37237. print$1(line) {
  37238. var implementation = this._print,
  37239. t1 = implementation.zone;
  37240. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  37241. },
  37242. get$_run() {
  37243. return this._run;
  37244. },
  37245. get$_runUnary() {
  37246. return this._runUnary;
  37247. },
  37248. get$_runBinary() {
  37249. return this._runBinary;
  37250. },
  37251. get$_registerCallback() {
  37252. return this._registerCallback;
  37253. },
  37254. get$_registerUnaryCallback() {
  37255. return this._registerUnaryCallback;
  37256. },
  37257. get$_registerBinaryCallback() {
  37258. return this._registerBinaryCallback;
  37259. },
  37260. get$_errorCallback() {
  37261. return this._errorCallback;
  37262. },
  37263. get$_scheduleMicrotask() {
  37264. return this._scheduleMicrotask;
  37265. },
  37266. get$_createTimer() {
  37267. return this._createTimer;
  37268. },
  37269. get$_createPeriodicTimer() {
  37270. return this._createPeriodicTimer;
  37271. },
  37272. get$_print() {
  37273. return this._print;
  37274. },
  37275. get$_fork() {
  37276. return this._fork;
  37277. },
  37278. get$_handleUncaughtError() {
  37279. return this._handleUncaughtError;
  37280. },
  37281. get$parent(receiver) {
  37282. return this.parent;
  37283. },
  37284. get$_async$_map() {
  37285. return this._async$_map;
  37286. }
  37287. };
  37288. A._CustomZone_bindCallback_closure.prototype = {
  37289. call$0() {
  37290. return this.$this.run$1$1(0, this.registered, this.R);
  37291. },
  37292. $signature() {
  37293. return this.R._eval$1("0()");
  37294. }
  37295. };
  37296. A._CustomZone_bindUnaryCallback_closure.prototype = {
  37297. call$1(arg) {
  37298. var _this = this;
  37299. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  37300. },
  37301. $signature() {
  37302. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37303. }
  37304. };
  37305. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  37306. call$0() {
  37307. return this.$this.runGuarded$1(this.registered);
  37308. },
  37309. $signature: 0
  37310. };
  37311. A._rootHandleError_closure.prototype = {
  37312. call$0() {
  37313. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  37314. },
  37315. $signature: 0
  37316. };
  37317. A._RootZone.prototype = {
  37318. get$_run() {
  37319. return B._ZoneFunction__RootZone__rootRun;
  37320. },
  37321. get$_runUnary() {
  37322. return B._ZoneFunction__RootZone__rootRunUnary;
  37323. },
  37324. get$_runBinary() {
  37325. return B._ZoneFunction__RootZone__rootRunBinary;
  37326. },
  37327. get$_registerCallback() {
  37328. return B._ZoneFunction__RootZone__rootRegisterCallback;
  37329. },
  37330. get$_registerUnaryCallback() {
  37331. return B._ZoneFunction_Eeh;
  37332. },
  37333. get$_registerBinaryCallback() {
  37334. return B._ZoneFunction_7G2;
  37335. },
  37336. get$_errorCallback() {
  37337. return B._ZoneFunction__RootZone__rootErrorCallback;
  37338. },
  37339. get$_scheduleMicrotask() {
  37340. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  37341. },
  37342. get$_createTimer() {
  37343. return B._ZoneFunction__RootZone__rootCreateTimer;
  37344. },
  37345. get$_createPeriodicTimer() {
  37346. return B._ZoneFunction_3bB;
  37347. },
  37348. get$_print() {
  37349. return B._ZoneFunction__RootZone__rootPrint;
  37350. },
  37351. get$_fork() {
  37352. return B._ZoneFunction__RootZone__rootFork;
  37353. },
  37354. get$_handleUncaughtError() {
  37355. return B._ZoneFunction_NMc;
  37356. },
  37357. get$parent(_) {
  37358. return null;
  37359. },
  37360. get$_async$_map() {
  37361. return $.$get$_RootZone__rootMap();
  37362. },
  37363. get$_delegate() {
  37364. var t1 = $._RootZone__rootDelegate;
  37365. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37366. },
  37367. get$_parentDelegate() {
  37368. var t1 = $._RootZone__rootDelegate;
  37369. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37370. },
  37371. get$errorZone() {
  37372. return this;
  37373. },
  37374. runGuarded$1(f) {
  37375. var e, s, exception;
  37376. try {
  37377. if (B.C__RootZone === $.Zone__current) {
  37378. f.call$0();
  37379. return;
  37380. }
  37381. A._rootRun(null, null, this, f);
  37382. } catch (exception) {
  37383. e = A.unwrapException(exception);
  37384. s = A.getTraceFromException(exception);
  37385. A._rootHandleError(e, s);
  37386. }
  37387. },
  37388. runUnaryGuarded$1$2(f, arg) {
  37389. var e, s, exception;
  37390. try {
  37391. if (B.C__RootZone === $.Zone__current) {
  37392. f.call$1(arg);
  37393. return;
  37394. }
  37395. A._rootRunUnary(null, null, this, f, arg);
  37396. } catch (exception) {
  37397. e = A.unwrapException(exception);
  37398. s = A.getTraceFromException(exception);
  37399. A._rootHandleError(e, s);
  37400. }
  37401. },
  37402. runBinaryGuarded$2$3(f, arg1, arg2) {
  37403. var e, s, exception;
  37404. try {
  37405. if (B.C__RootZone === $.Zone__current) {
  37406. f.call$2(arg1, arg2);
  37407. return;
  37408. }
  37409. A._rootRunBinary(null, null, this, f, arg1, arg2);
  37410. } catch (exception) {
  37411. e = A.unwrapException(exception);
  37412. s = A.getTraceFromException(exception);
  37413. A._rootHandleError(e, s);
  37414. }
  37415. },
  37416. bindCallback$1$1(f, $R) {
  37417. return new A._RootZone_bindCallback_closure(this, f, $R);
  37418. },
  37419. bindUnaryCallback$2$1(f, $R, $T) {
  37420. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  37421. },
  37422. bindCallbackGuarded$1(f) {
  37423. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  37424. },
  37425. $index(_, key) {
  37426. return null;
  37427. },
  37428. handleUncaughtError$2(error, stackTrace) {
  37429. A._rootHandleError(error, stackTrace);
  37430. },
  37431. fork$2$specification$zoneValues(specification, zoneValues) {
  37432. return A._rootFork(null, null, this, specification, zoneValues);
  37433. },
  37434. run$1$1(_, f) {
  37435. if ($.Zone__current === B.C__RootZone)
  37436. return f.call$0();
  37437. return A._rootRun(null, null, this, f);
  37438. },
  37439. runUnary$2$2(f, arg) {
  37440. if ($.Zone__current === B.C__RootZone)
  37441. return f.call$1(arg);
  37442. return A._rootRunUnary(null, null, this, f, arg);
  37443. },
  37444. runBinary$3$3(f, arg1, arg2) {
  37445. if ($.Zone__current === B.C__RootZone)
  37446. return f.call$2(arg1, arg2);
  37447. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  37448. },
  37449. registerCallback$1$1(f) {
  37450. return f;
  37451. },
  37452. registerUnaryCallback$2$1(f) {
  37453. return f;
  37454. },
  37455. registerBinaryCallback$3$1(f) {
  37456. return f;
  37457. },
  37458. errorCallback$2(error, stackTrace) {
  37459. return null;
  37460. },
  37461. scheduleMicrotask$1(f) {
  37462. A._rootScheduleMicrotask(null, null, this, f);
  37463. },
  37464. createTimer$2(duration, f) {
  37465. return A.Timer__createTimer(duration, f);
  37466. },
  37467. print$1(line) {
  37468. A.printString(line);
  37469. }
  37470. };
  37471. A._RootZone_bindCallback_closure.prototype = {
  37472. call$0() {
  37473. return this.$this.run$1$1(0, this.f, this.R);
  37474. },
  37475. $signature() {
  37476. return this.R._eval$1("0()");
  37477. }
  37478. };
  37479. A._RootZone_bindUnaryCallback_closure.prototype = {
  37480. call$1(arg) {
  37481. var _this = this;
  37482. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  37483. },
  37484. $signature() {
  37485. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37486. }
  37487. };
  37488. A._RootZone_bindCallbackGuarded_closure.prototype = {
  37489. call$0() {
  37490. return this.$this.runGuarded$1(this.f);
  37491. },
  37492. $signature: 0
  37493. };
  37494. A._HashMap.prototype = {
  37495. get$length(_) {
  37496. return this._collection$_length;
  37497. },
  37498. get$isEmpty(_) {
  37499. return this._collection$_length === 0;
  37500. },
  37501. get$isNotEmpty(_) {
  37502. return this._collection$_length !== 0;
  37503. },
  37504. get$keys(_) {
  37505. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  37506. },
  37507. get$values(_) {
  37508. var t1 = A._instanceType(this);
  37509. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  37510. },
  37511. containsKey$1(key) {
  37512. var strings, nums;
  37513. if (typeof key == "string" && key !== "__proto__") {
  37514. strings = this._collection$_strings;
  37515. return strings == null ? false : strings[key] != null;
  37516. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37517. nums = this._collection$_nums;
  37518. return nums == null ? false : nums[key] != null;
  37519. } else
  37520. return this._containsKey$1(key);
  37521. },
  37522. _containsKey$1(key) {
  37523. var rest = this._collection$_rest;
  37524. if (rest == null)
  37525. return false;
  37526. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  37527. },
  37528. addAll$1(_, other) {
  37529. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  37530. },
  37531. $index(_, key) {
  37532. var strings, t1, nums;
  37533. if (typeof key == "string" && key !== "__proto__") {
  37534. strings = this._collection$_strings;
  37535. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  37536. return t1;
  37537. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37538. nums = this._collection$_nums;
  37539. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  37540. return t1;
  37541. } else
  37542. return this._get$1(key);
  37543. },
  37544. _get$1(key) {
  37545. var bucket, index,
  37546. rest = this._collection$_rest;
  37547. if (rest == null)
  37548. return null;
  37549. bucket = this._getBucket$2(rest, key);
  37550. index = this._findBucketIndex$2(bucket, key);
  37551. return index < 0 ? null : bucket[index + 1];
  37552. },
  37553. $indexSet(_, key, value) {
  37554. var strings, nums, _this = this;
  37555. if (typeof key == "string" && key !== "__proto__") {
  37556. strings = _this._collection$_strings;
  37557. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  37558. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37559. nums = _this._collection$_nums;
  37560. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  37561. } else
  37562. _this._set$2(key, value);
  37563. },
  37564. _set$2(key, value) {
  37565. var hash, bucket, index, _this = this,
  37566. rest = _this._collection$_rest;
  37567. if (rest == null)
  37568. rest = _this._collection$_rest = A._HashMap__newHashTable();
  37569. hash = _this._computeHashCode$1(key);
  37570. bucket = rest[hash];
  37571. if (bucket == null) {
  37572. A._HashMap__setTableEntry(rest, hash, [key, value]);
  37573. ++_this._collection$_length;
  37574. _this._collection$_keys = null;
  37575. } else {
  37576. index = _this._findBucketIndex$2(bucket, key);
  37577. if (index >= 0)
  37578. bucket[index + 1] = value;
  37579. else {
  37580. bucket.push(key, value);
  37581. ++_this._collection$_length;
  37582. _this._collection$_keys = null;
  37583. }
  37584. }
  37585. },
  37586. remove$1(_, key) {
  37587. var _this = this;
  37588. if (typeof key == "string" && key !== "__proto__")
  37589. return _this._removeHashTableEntry$2(_this._collection$_strings, key);
  37590. else if (typeof key == "number" && (key & 1073741823) === key)
  37591. return _this._removeHashTableEntry$2(_this._collection$_nums, key);
  37592. else
  37593. return _this._remove$1(key);
  37594. },
  37595. _remove$1(key) {
  37596. var hash, bucket, index, result, _this = this,
  37597. rest = _this._collection$_rest;
  37598. if (rest == null)
  37599. return null;
  37600. hash = _this._computeHashCode$1(key);
  37601. bucket = rest[hash];
  37602. index = _this._findBucketIndex$2(bucket, key);
  37603. if (index < 0)
  37604. return null;
  37605. --_this._collection$_length;
  37606. _this._collection$_keys = null;
  37607. result = bucket.splice(index, 2)[1];
  37608. if (0 === bucket.length)
  37609. delete rest[hash];
  37610. return result;
  37611. },
  37612. forEach$1(_, action) {
  37613. var $length, t1, i, key, t2, _this = this,
  37614. keys = _this._computeKeys$0();
  37615. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  37616. key = keys[i];
  37617. t2 = _this.$index(0, key);
  37618. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  37619. if (keys !== _this._collection$_keys)
  37620. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37621. }
  37622. },
  37623. _computeKeys$0() {
  37624. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  37625. result = _this._collection$_keys;
  37626. if (result != null)
  37627. return result;
  37628. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  37629. strings = _this._collection$_strings;
  37630. if (strings != null) {
  37631. names = Object.getOwnPropertyNames(strings);
  37632. entries = names.length;
  37633. for (index = 0, i = 0; i < entries; ++i) {
  37634. result[index] = names[i];
  37635. ++index;
  37636. }
  37637. } else
  37638. index = 0;
  37639. nums = _this._collection$_nums;
  37640. if (nums != null) {
  37641. names = Object.getOwnPropertyNames(nums);
  37642. entries = names.length;
  37643. for (i = 0; i < entries; ++i) {
  37644. result[index] = +names[i];
  37645. ++index;
  37646. }
  37647. }
  37648. rest = _this._collection$_rest;
  37649. if (rest != null) {
  37650. names = Object.getOwnPropertyNames(rest);
  37651. entries = names.length;
  37652. for (i = 0; i < entries; ++i) {
  37653. bucket = rest[names[i]];
  37654. $length = bucket.length;
  37655. for (i0 = 0; i0 < $length; i0 += 2) {
  37656. result[index] = bucket[i0];
  37657. ++index;
  37658. }
  37659. }
  37660. }
  37661. return _this._collection$_keys = result;
  37662. },
  37663. _collection$_addHashTableEntry$3(table, key, value) {
  37664. if (table[key] == null) {
  37665. ++this._collection$_length;
  37666. this._collection$_keys = null;
  37667. }
  37668. A._HashMap__setTableEntry(table, key, value);
  37669. },
  37670. _removeHashTableEntry$2(table, key) {
  37671. var value;
  37672. if (table != null && table[key] != null) {
  37673. value = A._HashMap__getTableEntry(table, key);
  37674. delete table[key];
  37675. --this._collection$_length;
  37676. this._collection$_keys = null;
  37677. return value;
  37678. } else
  37679. return null;
  37680. },
  37681. _computeHashCode$1(key) {
  37682. return J.get$hashCode$(key) & 1073741823;
  37683. },
  37684. _getBucket$2(table, key) {
  37685. return table[this._computeHashCode$1(key)];
  37686. },
  37687. _findBucketIndex$2(bucket, key) {
  37688. var $length, i;
  37689. if (bucket == null)
  37690. return -1;
  37691. $length = bucket.length;
  37692. for (i = 0; i < $length; i += 2)
  37693. if (J.$eq$(bucket[i], key))
  37694. return i;
  37695. return -1;
  37696. }
  37697. };
  37698. A._HashMap_values_closure.prototype = {
  37699. call$1(each) {
  37700. var t1 = this.$this,
  37701. t2 = t1.$index(0, each);
  37702. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  37703. },
  37704. $signature() {
  37705. return A._instanceType(this.$this)._eval$1("2(1)");
  37706. }
  37707. };
  37708. A._HashMap_addAll_closure.prototype = {
  37709. call$2(key, value) {
  37710. this.$this.$indexSet(0, key, value);
  37711. },
  37712. $signature() {
  37713. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37714. }
  37715. };
  37716. A._IdentityHashMap.prototype = {
  37717. _computeHashCode$1(key) {
  37718. return A.objectHashCode(key) & 1073741823;
  37719. },
  37720. _findBucketIndex$2(bucket, key) {
  37721. var $length, i, t1;
  37722. if (bucket == null)
  37723. return -1;
  37724. $length = bucket.length;
  37725. for (i = 0; i < $length; i += 2) {
  37726. t1 = bucket[i];
  37727. if (t1 == null ? key == null : t1 === key)
  37728. return i;
  37729. }
  37730. return -1;
  37731. }
  37732. };
  37733. A._HashMapKeyIterable.prototype = {
  37734. get$length(_) {
  37735. return this._map._collection$_length;
  37736. },
  37737. get$isEmpty(_) {
  37738. return this._map._collection$_length === 0;
  37739. },
  37740. get$isNotEmpty(_) {
  37741. return this._map._collection$_length !== 0;
  37742. },
  37743. get$iterator(_) {
  37744. var t1 = this._map;
  37745. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  37746. },
  37747. contains$1(_, element) {
  37748. return this._map.containsKey$1(element);
  37749. }
  37750. };
  37751. A._HashMapKeyIterator.prototype = {
  37752. get$current(_) {
  37753. var t1 = this._collection$_current;
  37754. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  37755. },
  37756. moveNext$0() {
  37757. var _this = this,
  37758. keys = _this._collection$_keys,
  37759. offset = _this._offset,
  37760. t1 = _this._map;
  37761. if (keys !== t1._collection$_keys)
  37762. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37763. else if (offset >= keys.length) {
  37764. _this._collection$_current = null;
  37765. return false;
  37766. } else {
  37767. _this._collection$_current = keys[offset];
  37768. _this._offset = offset + 1;
  37769. return true;
  37770. }
  37771. }
  37772. };
  37773. A._LinkedCustomHashMap.prototype = {
  37774. $index(_, key) {
  37775. if (!this._validKey.call$1(key))
  37776. return null;
  37777. return this.super$JsLinkedHashMap$internalGet(key);
  37778. },
  37779. $indexSet(_, key, value) {
  37780. this.super$JsLinkedHashMap$internalSet(key, value);
  37781. },
  37782. containsKey$1(key) {
  37783. if (!this._validKey.call$1(key))
  37784. return false;
  37785. return this.super$JsLinkedHashMap$internalContainsKey(key);
  37786. },
  37787. remove$1(_, key) {
  37788. if (!this._validKey.call$1(key))
  37789. return null;
  37790. return this.super$JsLinkedHashMap$internalRemove(key);
  37791. },
  37792. internalComputeHashCode$1(key) {
  37793. return this._hashCode.call$1(key) & 1073741823;
  37794. },
  37795. internalFindBucketIndex$2(bucket, key) {
  37796. var $length, t1, i;
  37797. if (bucket == null)
  37798. return -1;
  37799. $length = bucket.length;
  37800. for (t1 = this._equals, i = 0; i < $length; ++i)
  37801. if (t1.call$2(bucket[i].hashMapCellKey, key))
  37802. return i;
  37803. return -1;
  37804. }
  37805. };
  37806. A._LinkedCustomHashMap_closure.prototype = {
  37807. call$1(v) {
  37808. return this.K._is(v);
  37809. },
  37810. $signature: 134
  37811. };
  37812. A._LinkedHashSet.prototype = {
  37813. _newSet$0() {
  37814. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  37815. },
  37816. _newSimilarSet$1$0($R) {
  37817. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  37818. },
  37819. _newSimilarSet$0() {
  37820. return this._newSimilarSet$1$0(type$.dynamic);
  37821. },
  37822. get$iterator(_) {
  37823. var _this = this,
  37824. t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  37825. t1._collection$_cell = _this._collection$_first;
  37826. return t1;
  37827. },
  37828. get$length(_) {
  37829. return this._collection$_length;
  37830. },
  37831. get$isEmpty(_) {
  37832. return this._collection$_length === 0;
  37833. },
  37834. get$isNotEmpty(_) {
  37835. return this._collection$_length !== 0;
  37836. },
  37837. contains$1(_, object) {
  37838. var strings, nums;
  37839. if (typeof object == "string" && object !== "__proto__") {
  37840. strings = this._collection$_strings;
  37841. if (strings == null)
  37842. return false;
  37843. return strings[object] != null;
  37844. } else if (typeof object == "number" && (object & 1073741823) === object) {
  37845. nums = this._collection$_nums;
  37846. if (nums == null)
  37847. return false;
  37848. return nums[object] != null;
  37849. } else
  37850. return this._contains$1(object);
  37851. },
  37852. _contains$1(object) {
  37853. var rest = this._collection$_rest;
  37854. if (rest == null)
  37855. return false;
  37856. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  37857. },
  37858. get$first(_) {
  37859. var first = this._collection$_first;
  37860. if (first == null)
  37861. throw A.wrapException(A.StateError$("No elements"));
  37862. return first._element;
  37863. },
  37864. get$last(_) {
  37865. var last = this._collection$_last;
  37866. if (last == null)
  37867. throw A.wrapException(A.StateError$("No elements"));
  37868. return last._element;
  37869. },
  37870. add$1(_, element) {
  37871. var strings, nums, _this = this;
  37872. if (typeof element == "string" && element !== "__proto__") {
  37873. strings = _this._collection$_strings;
  37874. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  37875. } else if (typeof element == "number" && (element & 1073741823) === element) {
  37876. nums = _this._collection$_nums;
  37877. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  37878. } else
  37879. return _this._add$1(element);
  37880. },
  37881. _add$1(element) {
  37882. var hash, bucket, _this = this,
  37883. rest = _this._collection$_rest;
  37884. if (rest == null)
  37885. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  37886. hash = _this._computeHashCode$1(element);
  37887. bucket = rest[hash];
  37888. if (bucket == null)
  37889. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  37890. else {
  37891. if (_this._findBucketIndex$2(bucket, element) >= 0)
  37892. return false;
  37893. bucket.push(_this._collection$_newLinkedCell$1(element));
  37894. }
  37895. return true;
  37896. },
  37897. remove$1(_, object) {
  37898. var _this = this;
  37899. if (typeof object == "string" && object !== "__proto__")
  37900. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  37901. else if (typeof object == "number" && (object & 1073741823) === object)
  37902. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  37903. else
  37904. return _this._remove$1(object);
  37905. },
  37906. _remove$1(object) {
  37907. var hash, bucket, index, cell, _this = this,
  37908. rest = _this._collection$_rest;
  37909. if (rest == null)
  37910. return false;
  37911. hash = _this._computeHashCode$1(object);
  37912. bucket = rest[hash];
  37913. index = _this._findBucketIndex$2(bucket, object);
  37914. if (index < 0)
  37915. return false;
  37916. cell = bucket.splice(index, 1)[0];
  37917. if (0 === bucket.length)
  37918. delete rest[hash];
  37919. _this._unlinkCell$1(cell);
  37920. return true;
  37921. },
  37922. _collection$_addHashTableEntry$2(table, element) {
  37923. if (table[element] != null)
  37924. return false;
  37925. table[element] = this._collection$_newLinkedCell$1(element);
  37926. return true;
  37927. },
  37928. _removeHashTableEntry$2(table, element) {
  37929. var cell;
  37930. if (table == null)
  37931. return false;
  37932. cell = table[element];
  37933. if (cell == null)
  37934. return false;
  37935. this._unlinkCell$1(cell);
  37936. delete table[element];
  37937. return true;
  37938. },
  37939. _collection$_modified$0() {
  37940. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  37941. },
  37942. _collection$_newLinkedCell$1(element) {
  37943. var t1, _this = this,
  37944. cell = new A._LinkedHashSetCell(element);
  37945. if (_this._collection$_first == null)
  37946. _this._collection$_first = _this._collection$_last = cell;
  37947. else {
  37948. t1 = _this._collection$_last;
  37949. t1.toString;
  37950. cell._collection$_previous = t1;
  37951. _this._collection$_last = t1._collection$_next = cell;
  37952. }
  37953. ++_this._collection$_length;
  37954. _this._collection$_modified$0();
  37955. return cell;
  37956. },
  37957. _unlinkCell$1(cell) {
  37958. var _this = this,
  37959. previous = cell._collection$_previous,
  37960. next = cell._collection$_next;
  37961. if (previous == null)
  37962. _this._collection$_first = next;
  37963. else
  37964. previous._collection$_next = next;
  37965. if (next == null)
  37966. _this._collection$_last = previous;
  37967. else
  37968. next._collection$_previous = previous;
  37969. --_this._collection$_length;
  37970. _this._collection$_modified$0();
  37971. },
  37972. _computeHashCode$1(element) {
  37973. return J.get$hashCode$(element) & 1073741823;
  37974. },
  37975. _findBucketIndex$2(bucket, element) {
  37976. var $length, i;
  37977. if (bucket == null)
  37978. return -1;
  37979. $length = bucket.length;
  37980. for (i = 0; i < $length; ++i)
  37981. if (J.$eq$(bucket[i]._element, element))
  37982. return i;
  37983. return -1;
  37984. }
  37985. };
  37986. A._LinkedIdentityHashSet.prototype = {
  37987. _newSet$0() {
  37988. return new A._LinkedIdentityHashSet(this.$ti);
  37989. },
  37990. _newSimilarSet$1$0($R) {
  37991. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  37992. },
  37993. _newSimilarSet$0() {
  37994. return this._newSimilarSet$1$0(type$.dynamic);
  37995. },
  37996. _computeHashCode$1(key) {
  37997. return A.objectHashCode(key) & 1073741823;
  37998. },
  37999. _findBucketIndex$2(bucket, element) {
  38000. var $length, i, t1;
  38001. if (bucket == null)
  38002. return -1;
  38003. $length = bucket.length;
  38004. for (i = 0; i < $length; ++i) {
  38005. t1 = bucket[i]._element;
  38006. if (t1 == null ? element == null : t1 === element)
  38007. return i;
  38008. }
  38009. return -1;
  38010. }
  38011. };
  38012. A._LinkedHashSetCell.prototype = {};
  38013. A._LinkedHashSetIterator.prototype = {
  38014. get$current(_) {
  38015. var t1 = this._collection$_current;
  38016. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  38017. },
  38018. moveNext$0() {
  38019. var _this = this,
  38020. cell = _this._collection$_cell,
  38021. t1 = _this._set;
  38022. if (_this._collection$_modifications !== t1._collection$_modifications)
  38023. throw A.wrapException(A.ConcurrentModificationError$(t1));
  38024. else if (cell == null) {
  38025. _this._collection$_current = null;
  38026. return false;
  38027. } else {
  38028. _this._collection$_current = cell._element;
  38029. _this._collection$_cell = cell._collection$_next;
  38030. return true;
  38031. }
  38032. }
  38033. };
  38034. A.UnmodifiableListView.prototype = {
  38035. cast$1$0(_, $R) {
  38036. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  38037. },
  38038. get$length(_) {
  38039. return J.get$length$asx(this._collection$_source);
  38040. },
  38041. $index(_, index) {
  38042. return J.elementAt$1$ax(this._collection$_source, index);
  38043. }
  38044. };
  38045. A.HashMap_HashMap$from_closure.prototype = {
  38046. call$2(k, v) {
  38047. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  38048. },
  38049. $signature: 174
  38050. };
  38051. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  38052. call$2(k, v) {
  38053. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  38054. },
  38055. $signature: 174
  38056. };
  38057. A.ListBase.prototype = {
  38058. get$iterator(receiver) {
  38059. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  38060. },
  38061. elementAt$1(receiver, index) {
  38062. return this.$index(receiver, index);
  38063. },
  38064. forEach$1(receiver, action) {
  38065. var i,
  38066. $length = this.get$length(receiver);
  38067. for (i = 0; i < $length; ++i) {
  38068. action.call$1(this.$index(receiver, i));
  38069. if ($length !== this.get$length(receiver))
  38070. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38071. }
  38072. },
  38073. get$isEmpty(receiver) {
  38074. return this.get$length(receiver) === 0;
  38075. },
  38076. get$isNotEmpty(receiver) {
  38077. return !this.get$isEmpty(receiver);
  38078. },
  38079. get$first(receiver) {
  38080. if (this.get$length(receiver) === 0)
  38081. throw A.wrapException(A.IterableElementError_noElement());
  38082. return this.$index(receiver, 0);
  38083. },
  38084. get$last(receiver) {
  38085. if (this.get$length(receiver) === 0)
  38086. throw A.wrapException(A.IterableElementError_noElement());
  38087. return this.$index(receiver, this.get$length(receiver) - 1);
  38088. },
  38089. get$single(receiver) {
  38090. if (this.get$length(receiver) === 0)
  38091. throw A.wrapException(A.IterableElementError_noElement());
  38092. if (this.get$length(receiver) > 1)
  38093. throw A.wrapException(A.IterableElementError_tooMany());
  38094. return this.$index(receiver, 0);
  38095. },
  38096. contains$1(receiver, element) {
  38097. var i,
  38098. $length = this.get$length(receiver);
  38099. for (i = 0; i < $length; ++i) {
  38100. if (J.$eq$(this.$index(receiver, i), element))
  38101. return true;
  38102. if ($length !== this.get$length(receiver))
  38103. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38104. }
  38105. return false;
  38106. },
  38107. every$1(receiver, test) {
  38108. var i,
  38109. $length = this.get$length(receiver);
  38110. for (i = 0; i < $length; ++i) {
  38111. if (!test.call$1(this.$index(receiver, i)))
  38112. return false;
  38113. if ($length !== this.get$length(receiver))
  38114. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38115. }
  38116. return true;
  38117. },
  38118. any$1(receiver, test) {
  38119. var i,
  38120. $length = this.get$length(receiver);
  38121. for (i = 0; i < $length; ++i) {
  38122. if (test.call$1(this.$index(receiver, i)))
  38123. return true;
  38124. if ($length !== this.get$length(receiver))
  38125. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38126. }
  38127. return false;
  38128. },
  38129. lastWhere$2$orElse(receiver, test, orElse) {
  38130. var i, element,
  38131. $length = this.get$length(receiver);
  38132. for (i = $length - 1; i >= 0; --i) {
  38133. element = this.$index(receiver, i);
  38134. if (test.call$1(element))
  38135. return element;
  38136. if ($length !== this.get$length(receiver))
  38137. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38138. }
  38139. if (orElse != null)
  38140. return orElse.call$0();
  38141. throw A.wrapException(A.IterableElementError_noElement());
  38142. },
  38143. join$1(receiver, separator) {
  38144. var t1;
  38145. if (this.get$length(receiver) === 0)
  38146. return "";
  38147. t1 = A.StringBuffer__writeAll("", receiver, separator);
  38148. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38149. },
  38150. where$1(receiver, test) {
  38151. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  38152. },
  38153. map$1$1(receiver, f, $T) {
  38154. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  38155. },
  38156. expand$1$1(receiver, f, $T) {
  38157. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  38158. },
  38159. skip$1(receiver, count) {
  38160. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  38161. },
  38162. take$1(receiver, count) {
  38163. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  38164. },
  38165. toList$1$growable(receiver, growable) {
  38166. var t1, first, result, i, _this = this;
  38167. if (_this.get$isEmpty(receiver)) {
  38168. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  38169. return t1;
  38170. }
  38171. first = _this.$index(receiver, 0);
  38172. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  38173. for (i = 1; i < _this.get$length(receiver); ++i)
  38174. result[i] = _this.$index(receiver, i);
  38175. return result;
  38176. },
  38177. toList$0(receiver) {
  38178. return this.toList$1$growable(receiver, true);
  38179. },
  38180. toSet$0(receiver) {
  38181. var i,
  38182. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  38183. for (i = 0; i < this.get$length(receiver); ++i)
  38184. result.add$1(0, this.$index(receiver, i));
  38185. return result;
  38186. },
  38187. add$1(receiver, element) {
  38188. var t1 = this.get$length(receiver);
  38189. this.set$length(receiver, t1 + 1);
  38190. this.$indexSet(receiver, t1, element);
  38191. },
  38192. addAll$1(receiver, iterable) {
  38193. var t1,
  38194. i = this.get$length(receiver);
  38195. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  38196. this.add$1(receiver, t1.get$current(t1));
  38197. ++i;
  38198. }
  38199. },
  38200. _closeGap$2(receiver, start, end) {
  38201. var i, _this = this,
  38202. $length = _this.get$length(receiver),
  38203. size = end - start;
  38204. for (i = end; i < $length; ++i)
  38205. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  38206. _this.set$length(receiver, $length - size);
  38207. },
  38208. cast$1$0(receiver, $R) {
  38209. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  38210. },
  38211. sort$1(receiver, compare) {
  38212. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  38213. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  38214. },
  38215. sublist$2(receiver, start, end) {
  38216. var listLength = this.get$length(receiver);
  38217. A.RangeError_checkValidRange(start, listLength, listLength);
  38218. return A.List_List$from(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  38219. },
  38220. sublist$1(receiver, start) {
  38221. return this.sublist$2(receiver, start, null);
  38222. },
  38223. getRange$2(receiver, start, end) {
  38224. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38225. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  38226. },
  38227. removeRange$2(receiver, start, end) {
  38228. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38229. if (end > start)
  38230. this._closeGap$2(receiver, start, end);
  38231. },
  38232. fillRange$3(receiver, start, end, fill) {
  38233. var i,
  38234. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  38235. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38236. for (i = start; i < end; ++i)
  38237. this.$indexSet(receiver, i, value);
  38238. },
  38239. setRange$4(receiver, start, end, iterable, skipCount) {
  38240. var $length, otherStart, otherList, t1, i;
  38241. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38242. $length = end - start;
  38243. if ($length === 0)
  38244. return;
  38245. A.RangeError_checkNotNegative(skipCount, "skipCount");
  38246. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  38247. otherStart = skipCount;
  38248. otherList = iterable;
  38249. } else {
  38250. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  38251. otherStart = 0;
  38252. }
  38253. t1 = J.getInterceptor$asx(otherList);
  38254. if (otherStart + $length > t1.get$length(otherList))
  38255. throw A.wrapException(A.IterableElementError_tooFew());
  38256. if (otherStart < start)
  38257. for (i = $length - 1; i >= 0; --i)
  38258. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38259. else
  38260. for (i = 0; i < $length; ++i)
  38261. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38262. },
  38263. get$reversed(receiver) {
  38264. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  38265. },
  38266. toString$0(receiver) {
  38267. return A.Iterable_iterableToFullString(receiver, "[", "]");
  38268. },
  38269. $isEfficientLengthIterable: 1,
  38270. $isIterable: 1,
  38271. $isList: 1
  38272. };
  38273. A.MapBase.prototype = {
  38274. cast$2$0(_, RK, RV) {
  38275. var t1 = A._instanceType(this);
  38276. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  38277. },
  38278. forEach$1(_, action) {
  38279. var t1, t2, key, t3, _this = this;
  38280. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  38281. key = t1.get$current(t1);
  38282. t3 = _this.$index(0, key);
  38283. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  38284. }
  38285. },
  38286. addAll$1(_, other) {
  38287. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  38288. },
  38289. get$entries(_) {
  38290. var _this = this;
  38291. 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>"));
  38292. },
  38293. removeWhere$1(_, test) {
  38294. var t2, key, t3, _i, _this = this,
  38295. t1 = A._instanceType(_this),
  38296. keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapBase.K>"));
  38297. for (t2 = J.get$iterator$ax(_this.get$keys(_this)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) {
  38298. key = t2.get$current(t2);
  38299. t3 = _this.$index(0, key);
  38300. if (test.call$2(key, t3 == null ? t1._as(t3) : t3))
  38301. keysToRemove.push(key);
  38302. }
  38303. for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i)
  38304. _this.remove$1(0, keysToRemove[_i]);
  38305. },
  38306. containsKey$1(key) {
  38307. return J.contains$1$asx(this.get$keys(this), key);
  38308. },
  38309. get$length(_) {
  38310. return J.get$length$asx(this.get$keys(this));
  38311. },
  38312. get$isEmpty(_) {
  38313. return J.get$isEmpty$asx(this.get$keys(this));
  38314. },
  38315. get$isNotEmpty(_) {
  38316. return J.get$isNotEmpty$asx(this.get$keys(this));
  38317. },
  38318. get$values(_) {
  38319. var t1 = A._instanceType(this);
  38320. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  38321. },
  38322. toString$0(_) {
  38323. return A.MapBase_mapToString(this);
  38324. },
  38325. $isMap: 1
  38326. };
  38327. A.MapBase_addAll_closure.prototype = {
  38328. call$2(key, value) {
  38329. this.$this.$indexSet(0, key, value);
  38330. },
  38331. $signature() {
  38332. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  38333. }
  38334. };
  38335. A.MapBase_entries_closure.prototype = {
  38336. call$1(key) {
  38337. var t1 = this.$this,
  38338. t2 = t1.$index(0, key);
  38339. if (t2 == null)
  38340. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  38341. t1 = A._instanceType(t1);
  38342. return new A.MapEntry(key, t2, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("MapEntry<1,2>"));
  38343. },
  38344. $signature() {
  38345. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  38346. }
  38347. };
  38348. A.MapBase_mapToString_closure.prototype = {
  38349. call$2(k, v) {
  38350. var t2,
  38351. t1 = this._box_0;
  38352. if (!t1.first)
  38353. this.result._contents += ", ";
  38354. t1.first = false;
  38355. t1 = this.result;
  38356. t2 = t1._contents += A.S(k);
  38357. t1._contents = t2 + ": ";
  38358. t1._contents += A.S(v);
  38359. },
  38360. $signature: 176
  38361. };
  38362. A.UnmodifiableMapBase.prototype = {};
  38363. A._MapBaseValueIterable.prototype = {
  38364. get$length(_) {
  38365. var t1 = this._map;
  38366. return t1.get$length(t1);
  38367. },
  38368. get$isEmpty(_) {
  38369. var t1 = this._map;
  38370. return t1.get$isEmpty(t1);
  38371. },
  38372. get$isNotEmpty(_) {
  38373. var t1 = this._map;
  38374. return t1.get$isNotEmpty(t1);
  38375. },
  38376. get$first(_) {
  38377. var t1 = this._map;
  38378. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  38379. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38380. },
  38381. get$single(_) {
  38382. var t1 = this._map;
  38383. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  38384. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38385. },
  38386. get$last(_) {
  38387. var t1 = this._map;
  38388. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  38389. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38390. },
  38391. get$iterator(_) {
  38392. var t1 = this._map,
  38393. t2 = this.$ti;
  38394. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>"));
  38395. }
  38396. };
  38397. A._MapBaseValueIterator.prototype = {
  38398. moveNext$0() {
  38399. var _this = this,
  38400. t1 = _this._collection$_keys;
  38401. if (t1.moveNext$0()) {
  38402. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  38403. return true;
  38404. }
  38405. _this._collection$_current = null;
  38406. return false;
  38407. },
  38408. get$current(_) {
  38409. var t1 = this._collection$_current;
  38410. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38411. }
  38412. };
  38413. A._UnmodifiableMapMixin.prototype = {
  38414. $indexSet(_, key, value) {
  38415. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38416. },
  38417. addAll$1(_, other) {
  38418. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38419. },
  38420. remove$1(_, key) {
  38421. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38422. }
  38423. };
  38424. A.MapView.prototype = {
  38425. cast$2$0(_, RK, RV) {
  38426. return this._map.cast$2$0(0, RK, RV);
  38427. },
  38428. $index(_, key) {
  38429. return this._map.$index(0, key);
  38430. },
  38431. $indexSet(_, key, value) {
  38432. this._map.$indexSet(0, key, value);
  38433. },
  38434. addAll$1(_, other) {
  38435. this._map.addAll$1(0, other);
  38436. },
  38437. containsKey$1(key) {
  38438. return this._map.containsKey$1(key);
  38439. },
  38440. forEach$1(_, action) {
  38441. this._map.forEach$1(0, action);
  38442. },
  38443. get$isEmpty(_) {
  38444. var t1 = this._map;
  38445. return t1.get$isEmpty(t1);
  38446. },
  38447. get$isNotEmpty(_) {
  38448. var t1 = this._map;
  38449. return t1.get$isNotEmpty(t1);
  38450. },
  38451. get$length(_) {
  38452. var t1 = this._map;
  38453. return t1.get$length(t1);
  38454. },
  38455. get$keys(_) {
  38456. var t1 = this._map;
  38457. return t1.get$keys(t1);
  38458. },
  38459. remove$1(_, key) {
  38460. return this._map.remove$1(0, key);
  38461. },
  38462. toString$0(_) {
  38463. return this._map.toString$0(0);
  38464. },
  38465. get$values(_) {
  38466. var t1 = this._map;
  38467. return t1.get$values(t1);
  38468. },
  38469. get$entries(_) {
  38470. var t1 = this._map;
  38471. return t1.get$entries(t1);
  38472. },
  38473. $isMap: 1
  38474. };
  38475. A.UnmodifiableMapView.prototype = {
  38476. cast$2$0(_, RK, RV) {
  38477. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  38478. }
  38479. };
  38480. A.ListQueue.prototype = {
  38481. get$iterator(_) {
  38482. var _this = this;
  38483. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  38484. },
  38485. get$isEmpty(_) {
  38486. return this._head === this._tail;
  38487. },
  38488. get$length(_) {
  38489. return (this._tail - this._head & this._table.length - 1) >>> 0;
  38490. },
  38491. get$first(_) {
  38492. var _this = this,
  38493. t1 = _this._head;
  38494. if (t1 === _this._tail)
  38495. throw A.wrapException(A.IterableElementError_noElement());
  38496. t1 = _this._table[t1];
  38497. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38498. },
  38499. get$last(_) {
  38500. var _this = this,
  38501. t1 = _this._head,
  38502. t2 = _this._tail;
  38503. if (t1 === t2)
  38504. throw A.wrapException(A.IterableElementError_noElement());
  38505. t1 = _this._table;
  38506. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  38507. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38508. },
  38509. get$single(_) {
  38510. var t1, _this = this;
  38511. if (_this._head === _this._tail)
  38512. throw A.wrapException(A.IterableElementError_noElement());
  38513. if (_this.get$length(0) > 1)
  38514. throw A.wrapException(A.IterableElementError_tooMany());
  38515. t1 = _this._table[_this._head];
  38516. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38517. },
  38518. elementAt$1(_, index) {
  38519. var t1, _this = this;
  38520. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  38521. t1 = _this._table;
  38522. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  38523. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38524. },
  38525. toList$1$growable(_, growable) {
  38526. var t1, list, t2, t3, i, t4, _this = this,
  38527. mask = _this._table.length - 1,
  38528. $length = (_this._tail - _this._head & mask) >>> 0;
  38529. if ($length === 0) {
  38530. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  38531. return t1;
  38532. }
  38533. t1 = _this.$ti._precomputed1;
  38534. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  38535. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  38536. t4 = t2[(t3 + i & mask) >>> 0];
  38537. list[i] = t4 == null ? t1._as(t4) : t4;
  38538. }
  38539. return list;
  38540. },
  38541. toList$0(_) {
  38542. return this.toList$1$growable(0, true);
  38543. },
  38544. addAll$1(_, elements) {
  38545. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  38546. t1 = _this.$ti;
  38547. if (t1._eval$1("List<1>")._is(elements)) {
  38548. addCount = elements.length;
  38549. $length = _this.get$length(0);
  38550. t2 = $length + addCount;
  38551. t3 = _this._table;
  38552. t4 = t3.length;
  38553. if (t2 >= t4) {
  38554. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  38555. _this._tail = _this._collection$_writeToList$1(newTable);
  38556. _this._table = newTable;
  38557. _this._head = 0;
  38558. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  38559. _this._tail += addCount;
  38560. } else {
  38561. t1 = _this._tail;
  38562. endSpace = t4 - t1;
  38563. if (addCount < endSpace) {
  38564. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  38565. _this._tail += addCount;
  38566. } else {
  38567. preSpace = addCount - endSpace;
  38568. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  38569. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  38570. _this._tail = preSpace;
  38571. }
  38572. }
  38573. ++_this._modificationCount;
  38574. } else
  38575. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  38576. _this._add$1(elements[_i]);
  38577. },
  38578. clear$0(_) {
  38579. var t2, t3, _this = this,
  38580. i = _this._head,
  38581. t1 = _this._tail;
  38582. if (i !== t1) {
  38583. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  38584. t2[i] = null;
  38585. _this._head = _this._tail = 0;
  38586. ++_this._modificationCount;
  38587. }
  38588. },
  38589. toString$0(_) {
  38590. return A.Iterable_iterableToFullString(this, "{", "}");
  38591. },
  38592. addFirst$1(value) {
  38593. var _this = this,
  38594. t1 = _this._head,
  38595. t2 = _this._table;
  38596. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  38597. t2[t1] = value;
  38598. if (t1 === _this._tail)
  38599. _this._grow$0();
  38600. ++_this._modificationCount;
  38601. },
  38602. removeFirst$0() {
  38603. var t2, result, _this = this,
  38604. t1 = _this._head;
  38605. if (t1 === _this._tail)
  38606. throw A.wrapException(A.IterableElementError_noElement());
  38607. ++_this._modificationCount;
  38608. t2 = _this._table;
  38609. result = t2[t1];
  38610. if (result == null)
  38611. result = _this.$ti._precomputed1._as(result);
  38612. t2[t1] = null;
  38613. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  38614. return result;
  38615. },
  38616. _add$1(element) {
  38617. var _this = this,
  38618. t1 = _this._table,
  38619. t2 = _this._tail;
  38620. t1[t2] = element;
  38621. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  38622. _this._tail = t1;
  38623. if (_this._head === t1)
  38624. _this._grow$0();
  38625. ++_this._modificationCount;
  38626. },
  38627. _grow$0() {
  38628. var _this = this,
  38629. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  38630. t1 = _this._table,
  38631. t2 = _this._head,
  38632. split = t1.length - t2;
  38633. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  38634. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  38635. _this._head = 0;
  38636. _this._tail = _this._table.length;
  38637. _this._table = newTable;
  38638. },
  38639. _collection$_writeToList$1(target) {
  38640. var $length, firstPartSize, _this = this,
  38641. t1 = _this._head,
  38642. t2 = _this._tail,
  38643. t3 = _this._table;
  38644. if (t1 <= t2) {
  38645. $length = t2 - t1;
  38646. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  38647. return $length;
  38648. } else {
  38649. firstPartSize = t3.length - t1;
  38650. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  38651. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  38652. return _this._tail + firstPartSize;
  38653. }
  38654. },
  38655. $isQueue: 1
  38656. };
  38657. A._ListQueueIterator.prototype = {
  38658. get$current(_) {
  38659. var t1 = this._collection$_current;
  38660. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  38661. },
  38662. moveNext$0() {
  38663. var t2, _this = this,
  38664. t1 = _this._queue;
  38665. if (_this._modificationCount !== t1._modificationCount)
  38666. A.throwExpression(A.ConcurrentModificationError$(t1));
  38667. t2 = _this._collection$_position;
  38668. if (t2 === _this._collection$_end) {
  38669. _this._collection$_current = null;
  38670. return false;
  38671. }
  38672. t1 = t1._table;
  38673. _this._collection$_current = t1[t2];
  38674. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  38675. return true;
  38676. }
  38677. };
  38678. A.SetBase.prototype = {
  38679. get$isEmpty(_) {
  38680. return this.get$length(this) === 0;
  38681. },
  38682. get$isNotEmpty(_) {
  38683. return this.get$length(this) !== 0;
  38684. },
  38685. addAll$1(_, elements) {
  38686. var t1;
  38687. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38688. this.add$1(0, t1.get$current(t1));
  38689. },
  38690. removeAll$1(elements) {
  38691. var t1;
  38692. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38693. this.remove$1(0, t1.get$current(t1));
  38694. },
  38695. difference$1(other) {
  38696. var t1, t2, element,
  38697. result = this.toSet$0(0);
  38698. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  38699. element = t1.get$current(t1);
  38700. if (t2.contains$1(0, element))
  38701. result.remove$1(0, element);
  38702. }
  38703. return result;
  38704. },
  38705. toList$1$growable(_, growable) {
  38706. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  38707. },
  38708. toList$0(_) {
  38709. return this.toList$1$growable(0, true);
  38710. },
  38711. map$1$1(_, f, $T) {
  38712. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  38713. },
  38714. get$single(_) {
  38715. var it, _this = this;
  38716. if (_this.get$length(_this) > 1)
  38717. throw A.wrapException(A.IterableElementError_tooMany());
  38718. it = _this.get$iterator(_this);
  38719. if (!it.moveNext$0())
  38720. throw A.wrapException(A.IterableElementError_noElement());
  38721. return it.get$current(it);
  38722. },
  38723. toString$0(_) {
  38724. return A.Iterable_iterableToFullString(this, "{", "}");
  38725. },
  38726. where$1(_, f) {
  38727. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  38728. },
  38729. forEach$1(_, f) {
  38730. var t1;
  38731. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38732. f.call$1(t1.get$current(t1));
  38733. },
  38734. every$1(_, f) {
  38735. var t1;
  38736. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38737. if (!f.call$1(t1.get$current(t1)))
  38738. return false;
  38739. return true;
  38740. },
  38741. any$1(_, test) {
  38742. var t1;
  38743. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38744. if (test.call$1(t1.get$current(t1)))
  38745. return true;
  38746. return false;
  38747. },
  38748. take$1(_, n) {
  38749. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  38750. },
  38751. skip$1(_, n) {
  38752. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  38753. },
  38754. get$first(_) {
  38755. var it = this.get$iterator(this);
  38756. if (!it.moveNext$0())
  38757. throw A.wrapException(A.IterableElementError_noElement());
  38758. return it.get$current(it);
  38759. },
  38760. get$last(_) {
  38761. var result,
  38762. it = this.get$iterator(this);
  38763. if (!it.moveNext$0())
  38764. throw A.wrapException(A.IterableElementError_noElement());
  38765. do
  38766. result = it.get$current(it);
  38767. while (it.moveNext$0());
  38768. return result;
  38769. },
  38770. elementAt$1(_, index) {
  38771. var iterator, skipCount;
  38772. A.RangeError_checkNotNegative(index, "index");
  38773. iterator = this.get$iterator(this);
  38774. for (skipCount = index; iterator.moveNext$0();) {
  38775. if (skipCount === 0)
  38776. return iterator.get$current(iterator);
  38777. --skipCount;
  38778. }
  38779. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  38780. },
  38781. $isEfficientLengthIterable: 1,
  38782. $isIterable: 1,
  38783. $isSet: 1
  38784. };
  38785. A._SetBase.prototype = {
  38786. difference$1(other) {
  38787. var t1, t2, t3, element, _this = this,
  38788. result = _this._newSet$0();
  38789. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38790. element = t1._collection$_current;
  38791. if (element == null)
  38792. element = t3._as(element);
  38793. if (!t2.contains$1(0, element))
  38794. result.add$1(0, element);
  38795. }
  38796. return result;
  38797. },
  38798. intersection$1(other) {
  38799. var t1, t2, t3, element, _this = this,
  38800. result = _this._newSet$0();
  38801. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38802. element = t1._collection$_current;
  38803. if (element == null)
  38804. element = t3._as(element);
  38805. if (t2.containsKey$1(element))
  38806. result.add$1(0, element);
  38807. }
  38808. return result;
  38809. },
  38810. toSet$0(_) {
  38811. var t1 = this._newSet$0();
  38812. t1.addAll$1(0, this);
  38813. return t1;
  38814. }
  38815. };
  38816. A._UnmodifiableSetMixin.prototype = {
  38817. add$1(_, value) {
  38818. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38819. },
  38820. addAll$1(_, elements) {
  38821. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38822. },
  38823. remove$1(_, value) {
  38824. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38825. }
  38826. };
  38827. A.UnmodifiableSetView.prototype = {
  38828. contains$1(_, element) {
  38829. return this._collection$_source.contains$1(0, element);
  38830. },
  38831. get$length(_) {
  38832. return this._collection$_source._collection$_length;
  38833. },
  38834. get$iterator(_) {
  38835. var t1 = this._collection$_source;
  38836. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1);
  38837. },
  38838. toSet$0(_) {
  38839. return this._collection$_source.toSet$0(0);
  38840. }
  38841. };
  38842. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  38843. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  38844. A._JsonMap.prototype = {
  38845. $index(_, key) {
  38846. var result,
  38847. t1 = this._processed;
  38848. if (t1 == null)
  38849. return this._data.$index(0, key);
  38850. else if (typeof key != "string")
  38851. return null;
  38852. else {
  38853. result = t1[key];
  38854. return typeof result == "undefined" ? this._process$1(key) : result;
  38855. }
  38856. },
  38857. get$length(_) {
  38858. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  38859. },
  38860. get$isEmpty(_) {
  38861. return this.get$length(0) === 0;
  38862. },
  38863. get$isNotEmpty(_) {
  38864. return this.get$length(0) > 0;
  38865. },
  38866. get$keys(_) {
  38867. var t1;
  38868. if (this._processed == null) {
  38869. t1 = this._data;
  38870. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  38871. }
  38872. return new A._JsonMapKeyIterable(this);
  38873. },
  38874. get$values(_) {
  38875. var _this = this;
  38876. if (_this._processed == null)
  38877. return _this._data.get$values(0);
  38878. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  38879. },
  38880. $indexSet(_, key, value) {
  38881. var processed, original, _this = this;
  38882. if (_this._processed == null)
  38883. _this._data.$indexSet(0, key, value);
  38884. else if (_this.containsKey$1(key)) {
  38885. processed = _this._processed;
  38886. processed[key] = value;
  38887. original = _this._original;
  38888. if (original == null ? processed != null : original !== processed)
  38889. original[key] = null;
  38890. } else
  38891. _this._upgrade$0().$indexSet(0, key, value);
  38892. },
  38893. addAll$1(_, other) {
  38894. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  38895. },
  38896. containsKey$1(key) {
  38897. if (this._processed == null)
  38898. return this._data.containsKey$1(key);
  38899. if (typeof key != "string")
  38900. return false;
  38901. return Object.prototype.hasOwnProperty.call(this._original, key);
  38902. },
  38903. remove$1(_, key) {
  38904. if (this._processed != null && !this.containsKey$1(key))
  38905. return null;
  38906. return this._upgrade$0().remove$1(0, key);
  38907. },
  38908. forEach$1(_, f) {
  38909. var keys, i, key, value, _this = this;
  38910. if (_this._processed == null)
  38911. return _this._data.forEach$1(0, f);
  38912. keys = _this._convert$_computeKeys$0();
  38913. for (i = 0; i < keys.length; ++i) {
  38914. key = keys[i];
  38915. value = _this._processed[key];
  38916. if (typeof value == "undefined") {
  38917. value = A._convertJsonToDartLazy(_this._original[key]);
  38918. _this._processed[key] = value;
  38919. }
  38920. f.call$2(key, value);
  38921. if (keys !== _this._data)
  38922. throw A.wrapException(A.ConcurrentModificationError$(_this));
  38923. }
  38924. },
  38925. _convert$_computeKeys$0() {
  38926. var keys = this._data;
  38927. if (keys == null)
  38928. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  38929. return keys;
  38930. },
  38931. _upgrade$0() {
  38932. var result, keys, i, t1, key, _this = this;
  38933. if (_this._processed == null)
  38934. return _this._data;
  38935. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  38936. keys = _this._convert$_computeKeys$0();
  38937. for (i = 0; t1 = keys.length, i < t1; ++i) {
  38938. key = keys[i];
  38939. result.$indexSet(0, key, _this.$index(0, key));
  38940. }
  38941. if (t1 === 0)
  38942. keys.push("");
  38943. else
  38944. B.JSArray_methods.clear$0(keys);
  38945. _this._original = _this._processed = null;
  38946. return _this._data = result;
  38947. },
  38948. _process$1(key) {
  38949. var result;
  38950. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  38951. return null;
  38952. result = A._convertJsonToDartLazy(this._original[key]);
  38953. return this._processed[key] = result;
  38954. }
  38955. };
  38956. A._JsonMap_values_closure.prototype = {
  38957. call$1(each) {
  38958. return this.$this.$index(0, each);
  38959. },
  38960. $signature: 219
  38961. };
  38962. A._JsonMap_addAll_closure.prototype = {
  38963. call$2(key, value) {
  38964. this.$this.$indexSet(0, key, value);
  38965. },
  38966. $signature: 129
  38967. };
  38968. A._JsonMapKeyIterable.prototype = {
  38969. get$length(_) {
  38970. return this._convert$_parent.get$length(0);
  38971. },
  38972. elementAt$1(_, index) {
  38973. var t1 = this._convert$_parent;
  38974. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  38975. },
  38976. get$iterator(_) {
  38977. var t1 = this._convert$_parent;
  38978. if (t1._processed == null) {
  38979. t1 = t1.get$keys(0);
  38980. t1 = t1.get$iterator(t1);
  38981. } else {
  38982. t1 = t1._convert$_computeKeys$0();
  38983. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  38984. }
  38985. return t1;
  38986. },
  38987. contains$1(_, key) {
  38988. return this._convert$_parent.containsKey$1(key);
  38989. }
  38990. };
  38991. A._Utf8Decoder__decoder_closure.prototype = {
  38992. call$0() {
  38993. var t1, exception;
  38994. try {
  38995. t1 = new TextDecoder("utf-8", {fatal: true});
  38996. return t1;
  38997. } catch (exception) {
  38998. }
  38999. return null;
  39000. },
  39001. $signature: 57
  39002. };
  39003. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  39004. call$0() {
  39005. var t1, exception;
  39006. try {
  39007. t1 = new TextDecoder("utf-8", {fatal: false});
  39008. return t1;
  39009. } catch (exception) {
  39010. }
  39011. return null;
  39012. },
  39013. $signature: 57
  39014. };
  39015. A.AsciiCodec.prototype = {
  39016. encode$1(source) {
  39017. return B.AsciiEncoder_127.convert$1(source);
  39018. }
  39019. };
  39020. A._UnicodeSubsetEncoder.prototype = {
  39021. convert$1(string) {
  39022. var t1, i, codeUnit,
  39023. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  39024. result = new Uint8Array($length);
  39025. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  39026. codeUnit = string.charCodeAt(i);
  39027. if ((codeUnit & t1) !== 0)
  39028. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  39029. result[i] = codeUnit;
  39030. }
  39031. return result;
  39032. }
  39033. };
  39034. A.AsciiEncoder.prototype = {};
  39035. A.Base64Codec.prototype = {
  39036. normalize$3(source, start, end) {
  39037. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  39038. _s31_ = "Invalid base64 encoding length ";
  39039. end = A.RangeError_checkValidRange(start, end, source.length);
  39040. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  39041. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  39042. i0 = i + 1;
  39043. char = source.charCodeAt(i);
  39044. if (char === 37) {
  39045. i1 = i0 + 2;
  39046. if (i1 <= end) {
  39047. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  39048. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  39049. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  39050. if (char0 === 37)
  39051. char0 = -1;
  39052. i0 = i1;
  39053. } else
  39054. char0 = -1;
  39055. } else
  39056. char0 = char;
  39057. if (0 <= char0 && char0 <= 127) {
  39058. value = inverseAlphabet[char0];
  39059. if (value >= 0) {
  39060. char0 = string$.ABCDEF.charCodeAt(value);
  39061. if (char0 === char)
  39062. continue;
  39063. char = char0;
  39064. } else {
  39065. if (value === -1) {
  39066. if (firstPadding < 0) {
  39067. t1 = buffer == null ? null : buffer._contents.length;
  39068. if (t1 == null)
  39069. t1 = 0;
  39070. firstPadding = t1 + (i - sliceStart);
  39071. firstPaddingSourceIndex = i;
  39072. }
  39073. ++paddingCount;
  39074. if (char === 61)
  39075. continue;
  39076. }
  39077. char = char0;
  39078. }
  39079. if (value !== -2) {
  39080. if (buffer == null) {
  39081. buffer = new A.StringBuffer("");
  39082. t1 = buffer;
  39083. } else
  39084. t1 = buffer;
  39085. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  39086. t1._contents += A.Primitives_stringFromCharCode(char);
  39087. sliceStart = i0;
  39088. continue;
  39089. }
  39090. }
  39091. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  39092. }
  39093. if (buffer != null) {
  39094. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  39095. t2 = t1.length;
  39096. if (firstPadding >= 0)
  39097. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  39098. else {
  39099. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  39100. if (endLength === 1)
  39101. throw A.wrapException(A.FormatException$(_s31_, source, end));
  39102. for (; endLength < 4;) {
  39103. t1 += "=";
  39104. buffer._contents = t1;
  39105. ++endLength;
  39106. }
  39107. }
  39108. t1 = buffer._contents;
  39109. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  39110. }
  39111. $length = end - start;
  39112. if (firstPadding >= 0)
  39113. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  39114. else {
  39115. endLength = B.JSInt_methods.$mod($length, 4);
  39116. if (endLength === 1)
  39117. throw A.wrapException(A.FormatException$(_s31_, source, end));
  39118. if (endLength > 1)
  39119. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  39120. }
  39121. return source;
  39122. }
  39123. };
  39124. A.Base64Encoder.prototype = {
  39125. startChunkedConversion$1(sink) {
  39126. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  39127. }
  39128. };
  39129. A._Base64Encoder.prototype = {
  39130. createBuffer$1(bufferLength) {
  39131. return new Uint8Array(bufferLength);
  39132. },
  39133. encode$4(bytes, start, end, isLast) {
  39134. var output, _this = this,
  39135. byteCount = (_this._convert$_state & 3) + (end - start),
  39136. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  39137. bufferLength = fullChunks * 4;
  39138. if (isLast && byteCount - fullChunks * 3 > 0)
  39139. bufferLength += 4;
  39140. output = _this.createBuffer$1(bufferLength);
  39141. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  39142. if (bufferLength > 0)
  39143. return output;
  39144. return null;
  39145. }
  39146. };
  39147. A._Base64EncoderSink.prototype = {};
  39148. A._Utf8Base64EncoderSink.prototype = {
  39149. _convert$_add$4(source, start, end, isLast) {
  39150. var buffer = this._encoder.encode$4(source, start, end, isLast);
  39151. if (buffer != null)
  39152. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  39153. }
  39154. };
  39155. A.ByteConversionSink.prototype = {};
  39156. A.Codec.prototype = {};
  39157. A.Converter.prototype = {};
  39158. A.Encoding.prototype = {};
  39159. A.JsonUnsupportedObjectError.prototype = {
  39160. toString$0(_) {
  39161. var safeString = A.Error_safeToString(this.unsupportedObject);
  39162. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  39163. }
  39164. };
  39165. A.JsonCyclicError.prototype = {
  39166. toString$0(_) {
  39167. return "Cyclic error in JSON stringify";
  39168. }
  39169. };
  39170. A.JsonCodec.prototype = {
  39171. decode$1(source) {
  39172. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  39173. return t1;
  39174. },
  39175. encode$2$toEncodable(value, toEncodable) {
  39176. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  39177. return t1;
  39178. },
  39179. get$encoder() {
  39180. return B.JsonEncoder_null;
  39181. },
  39182. get$decoder() {
  39183. return B.JsonDecoder_null;
  39184. }
  39185. };
  39186. A.JsonEncoder.prototype = {};
  39187. A.JsonDecoder.prototype = {};
  39188. A._JsonStringifier.prototype = {
  39189. writeStringContent$1(s) {
  39190. var offset, i, charCode, t1, t2, _this = this,
  39191. $length = s.length;
  39192. for (offset = 0, i = 0; i < $length; ++i) {
  39193. charCode = s.charCodeAt(i);
  39194. if (charCode > 92) {
  39195. if (charCode >= 55296) {
  39196. t1 = charCode & 64512;
  39197. if (t1 === 55296) {
  39198. t2 = i + 1;
  39199. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  39200. } else
  39201. t2 = false;
  39202. if (!t2)
  39203. if (t1 === 56320) {
  39204. t1 = i - 1;
  39205. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  39206. } else
  39207. t1 = false;
  39208. else
  39209. t1 = true;
  39210. if (t1) {
  39211. if (i > offset)
  39212. _this.writeStringSlice$3(s, offset, i);
  39213. offset = i + 1;
  39214. _this.writeCharCode$1(92);
  39215. _this.writeCharCode$1(117);
  39216. _this.writeCharCode$1(100);
  39217. t1 = charCode >>> 8 & 15;
  39218. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39219. t1 = charCode >>> 4 & 15;
  39220. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39221. t1 = charCode & 15;
  39222. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39223. }
  39224. }
  39225. continue;
  39226. }
  39227. if (charCode < 32) {
  39228. if (i > offset)
  39229. _this.writeStringSlice$3(s, offset, i);
  39230. offset = i + 1;
  39231. _this.writeCharCode$1(92);
  39232. switch (charCode) {
  39233. case 8:
  39234. _this.writeCharCode$1(98);
  39235. break;
  39236. case 9:
  39237. _this.writeCharCode$1(116);
  39238. break;
  39239. case 10:
  39240. _this.writeCharCode$1(110);
  39241. break;
  39242. case 12:
  39243. _this.writeCharCode$1(102);
  39244. break;
  39245. case 13:
  39246. _this.writeCharCode$1(114);
  39247. break;
  39248. default:
  39249. _this.writeCharCode$1(117);
  39250. _this.writeCharCode$1(48);
  39251. _this.writeCharCode$1(48);
  39252. t1 = charCode >>> 4 & 15;
  39253. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39254. t1 = charCode & 15;
  39255. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39256. break;
  39257. }
  39258. } else if (charCode === 34 || charCode === 92) {
  39259. if (i > offset)
  39260. _this.writeStringSlice$3(s, offset, i);
  39261. offset = i + 1;
  39262. _this.writeCharCode$1(92);
  39263. _this.writeCharCode$1(charCode);
  39264. }
  39265. }
  39266. if (offset === 0)
  39267. _this.writeString$1(s);
  39268. else if (offset < $length)
  39269. _this.writeStringSlice$3(s, offset, $length);
  39270. },
  39271. _checkCycle$1(object) {
  39272. var t1, t2, i, t3;
  39273. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  39274. t3 = t1[i];
  39275. if (object == null ? t3 == null : object === t3)
  39276. throw A.wrapException(new A.JsonCyclicError(object, null));
  39277. }
  39278. t1.push(object);
  39279. },
  39280. writeObject$1(object) {
  39281. var customJson, e, t1, exception, _this = this;
  39282. if (_this.writeJsonValue$1(object))
  39283. return;
  39284. _this._checkCycle$1(object);
  39285. try {
  39286. customJson = _this._toEncodable.call$1(object);
  39287. if (!_this.writeJsonValue$1(customJson)) {
  39288. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  39289. throw A.wrapException(t1);
  39290. }
  39291. _this._seen.pop();
  39292. } catch (exception) {
  39293. e = A.unwrapException(exception);
  39294. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  39295. throw A.wrapException(t1);
  39296. }
  39297. },
  39298. writeJsonValue$1(object) {
  39299. var success, _this = this;
  39300. if (typeof object == "number") {
  39301. if (!isFinite(object))
  39302. return false;
  39303. _this.writeNumber$1(object);
  39304. return true;
  39305. } else if (object === true) {
  39306. _this.writeString$1("true");
  39307. return true;
  39308. } else if (object === false) {
  39309. _this.writeString$1("false");
  39310. return true;
  39311. } else if (object == null) {
  39312. _this.writeString$1("null");
  39313. return true;
  39314. } else if (typeof object == "string") {
  39315. _this.writeString$1('"');
  39316. _this.writeStringContent$1(object);
  39317. _this.writeString$1('"');
  39318. return true;
  39319. } else if (type$.List_dynamic._is(object)) {
  39320. _this._checkCycle$1(object);
  39321. _this.writeList$1(object);
  39322. _this._seen.pop();
  39323. return true;
  39324. } else if (type$.Map_dynamic_dynamic._is(object)) {
  39325. _this._checkCycle$1(object);
  39326. success = _this.writeMap$1(object);
  39327. _this._seen.pop();
  39328. return success;
  39329. } else
  39330. return false;
  39331. },
  39332. writeList$1(list) {
  39333. var t1, i, _this = this;
  39334. _this.writeString$1("[");
  39335. t1 = J.getInterceptor$asx(list);
  39336. if (t1.get$isNotEmpty(list)) {
  39337. _this.writeObject$1(t1.$index(list, 0));
  39338. for (i = 1; i < t1.get$length(list); ++i) {
  39339. _this.writeString$1(",");
  39340. _this.writeObject$1(t1.$index(list, i));
  39341. }
  39342. }
  39343. _this.writeString$1("]");
  39344. },
  39345. writeMap$1(map) {
  39346. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  39347. if (map.get$isEmpty(map)) {
  39348. _this.writeString$1("{}");
  39349. return true;
  39350. }
  39351. t1 = map.get$length(map) * 2;
  39352. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  39353. i = _box_0.i = 0;
  39354. _box_0.allStringKeys = true;
  39355. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  39356. if (!_box_0.allStringKeys)
  39357. return false;
  39358. _this.writeString$1("{");
  39359. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  39360. _this.writeString$1(separator);
  39361. _this.writeStringContent$1(A._asString(keyValueList[i]));
  39362. _this.writeString$1('":');
  39363. _this.writeObject$1(keyValueList[i + 1]);
  39364. }
  39365. _this.writeString$1("}");
  39366. return true;
  39367. }
  39368. };
  39369. A._JsonStringifier_writeMap_closure.prototype = {
  39370. call$2(key, value) {
  39371. var t1, t2, t3, i;
  39372. if (typeof key != "string")
  39373. this._box_0.allStringKeys = false;
  39374. t1 = this.keyValueList;
  39375. t2 = this._box_0;
  39376. t3 = t2.i;
  39377. i = t2.i = t3 + 1;
  39378. t1[t3] = key;
  39379. t2.i = i + 1;
  39380. t1[i] = value;
  39381. },
  39382. $signature: 176
  39383. };
  39384. A._JsonStringStringifier.prototype = {
  39385. get$_partialResult() {
  39386. var t1 = this._sink._contents;
  39387. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39388. },
  39389. writeNumber$1(number) {
  39390. this._sink._contents += B.JSNumber_methods.toString$0(number);
  39391. },
  39392. writeString$1(string) {
  39393. this._sink._contents += string;
  39394. },
  39395. writeStringSlice$3(string, start, end) {
  39396. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  39397. },
  39398. writeCharCode$1(charCode) {
  39399. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  39400. }
  39401. };
  39402. A.StringConversionSink.prototype = {};
  39403. A._StringSinkConversionSink.prototype = {
  39404. close$0(_) {
  39405. }
  39406. };
  39407. A._StringCallbackSink.prototype = {
  39408. close$0(_) {
  39409. var t1 = this._stringSink,
  39410. t2 = t1._contents;
  39411. t1._contents = "";
  39412. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  39413. },
  39414. asUtf8Sink$1(allowMalformed) {
  39415. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  39416. }
  39417. };
  39418. A._Utf8StringSinkAdapter.prototype = {
  39419. close$0(_) {
  39420. this._decoder.flush$1(this._stringSink);
  39421. this._sink.close$0(0);
  39422. },
  39423. add$1(_, chunk) {
  39424. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  39425. },
  39426. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  39427. this._stringSink._contents += this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  39428. if (isLast)
  39429. this.close$0(0);
  39430. }
  39431. };
  39432. A.Utf8Codec.prototype = {
  39433. encode$1(string) {
  39434. return B.C_Utf8Encoder.convert$1(string);
  39435. }
  39436. };
  39437. A.Utf8Encoder.prototype = {
  39438. convert$1(string) {
  39439. var t1, encoder,
  39440. end = A.RangeError_checkValidRange(0, null, string.length),
  39441. $length = end - 0;
  39442. if ($length === 0)
  39443. return new Uint8Array(0);
  39444. t1 = new Uint8Array($length * 3);
  39445. encoder = new A._Utf8Encoder(t1);
  39446. if (encoder._fillBuffer$3(string, 0, end) !== end)
  39447. encoder._writeReplacementCharacter$0();
  39448. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  39449. }
  39450. };
  39451. A._Utf8Encoder.prototype = {
  39452. _writeReplacementCharacter$0() {
  39453. var _this = this,
  39454. t1 = _this._buffer,
  39455. t2 = _this._bufferIndex,
  39456. t3 = _this._bufferIndex = t2 + 1;
  39457. t1[t2] = 239;
  39458. t2 = _this._bufferIndex = t3 + 1;
  39459. t1[t3] = 191;
  39460. _this._bufferIndex = t2 + 1;
  39461. t1[t2] = 189;
  39462. },
  39463. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  39464. var rune, t1, t2, t3, _this = this;
  39465. if ((nextCodeUnit & 64512) === 56320) {
  39466. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  39467. t1 = _this._buffer;
  39468. t2 = _this._bufferIndex;
  39469. t3 = _this._bufferIndex = t2 + 1;
  39470. t1[t2] = rune >>> 18 | 240;
  39471. t2 = _this._bufferIndex = t3 + 1;
  39472. t1[t3] = rune >>> 12 & 63 | 128;
  39473. t3 = _this._bufferIndex = t2 + 1;
  39474. t1[t2] = rune >>> 6 & 63 | 128;
  39475. _this._bufferIndex = t3 + 1;
  39476. t1[t3] = rune & 63 | 128;
  39477. return true;
  39478. } else {
  39479. _this._writeReplacementCharacter$0();
  39480. return false;
  39481. }
  39482. },
  39483. _fillBuffer$3(str, start, end) {
  39484. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  39485. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  39486. --end;
  39487. for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  39488. codeUnit = str.charCodeAt(stringIndex);
  39489. if (codeUnit <= 127) {
  39490. t3 = _this._bufferIndex;
  39491. if (t3 >= t2)
  39492. break;
  39493. _this._bufferIndex = t3 + 1;
  39494. t1[t3] = codeUnit;
  39495. } else {
  39496. t3 = codeUnit & 64512;
  39497. if (t3 === 55296) {
  39498. if (_this._bufferIndex + 4 > t2)
  39499. break;
  39500. stringIndex0 = stringIndex + 1;
  39501. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  39502. stringIndex = stringIndex0;
  39503. } else if (t3 === 56320) {
  39504. if (_this._bufferIndex + 3 > t2)
  39505. break;
  39506. _this._writeReplacementCharacter$0();
  39507. } else if (codeUnit <= 2047) {
  39508. t3 = _this._bufferIndex;
  39509. t4 = t3 + 1;
  39510. if (t4 >= t2)
  39511. break;
  39512. _this._bufferIndex = t4;
  39513. t1[t3] = codeUnit >>> 6 | 192;
  39514. _this._bufferIndex = t4 + 1;
  39515. t1[t4] = codeUnit & 63 | 128;
  39516. } else {
  39517. t3 = _this._bufferIndex;
  39518. if (t3 + 2 >= t2)
  39519. break;
  39520. t4 = _this._bufferIndex = t3 + 1;
  39521. t1[t3] = codeUnit >>> 12 | 224;
  39522. t3 = _this._bufferIndex = t4 + 1;
  39523. t1[t4] = codeUnit >>> 6 & 63 | 128;
  39524. _this._bufferIndex = t3 + 1;
  39525. t1[t3] = codeUnit & 63 | 128;
  39526. }
  39527. }
  39528. }
  39529. return stringIndex;
  39530. }
  39531. };
  39532. A.Utf8Decoder.prototype = {
  39533. convert$1(codeUnits) {
  39534. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  39535. }
  39536. };
  39537. A._Utf8Decoder.prototype = {
  39538. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  39539. var casted, bytes, errorOffset, t1, result, message, _this = this,
  39540. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  39541. if (start === end)
  39542. return "";
  39543. if (codeUnits instanceof Uint8Array) {
  39544. casted = codeUnits;
  39545. bytes = casted;
  39546. errorOffset = 0;
  39547. } else {
  39548. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  39549. end -= start;
  39550. errorOffset = start;
  39551. start = 0;
  39552. }
  39553. if (single && end - start >= 15) {
  39554. t1 = _this.allowMalformed;
  39555. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  39556. if (result != null) {
  39557. if (!t1)
  39558. return result;
  39559. if (result.indexOf("\ufffd") < 0)
  39560. return result;
  39561. }
  39562. }
  39563. result = _this._decodeRecursive$4(bytes, start, end, single);
  39564. t1 = _this._convert$_state;
  39565. if ((t1 & 1) !== 0) {
  39566. message = A._Utf8Decoder_errorDescription(t1);
  39567. _this._convert$_state = 0;
  39568. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  39569. }
  39570. return result;
  39571. },
  39572. _decodeRecursive$4(bytes, start, end, single) {
  39573. var mid, s1, _this = this;
  39574. if (end - start > 1000) {
  39575. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  39576. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  39577. if ((_this._convert$_state & 1) !== 0)
  39578. return s1;
  39579. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  39580. }
  39581. return _this.decodeGeneral$4(bytes, start, end, single);
  39582. },
  39583. flush$1(sink) {
  39584. var state = this._convert$_state;
  39585. this._convert$_state = 0;
  39586. if (state <= 32)
  39587. return;
  39588. if (this.allowMalformed)
  39589. sink._contents += A.Primitives_stringFromCharCode(65533);
  39590. else
  39591. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  39592. },
  39593. decodeGeneral$4(bytes, start, end, single) {
  39594. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  39595. state = _this._convert$_state,
  39596. char = _this._charOrIndex,
  39597. buffer = new A.StringBuffer(""),
  39598. i = start + 1,
  39599. byte = bytes[start];
  39600. $label0$0:
  39601. for (t1 = _this.allowMalformed; true;) {
  39602. for (; true; i = i0) {
  39603. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  39604. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  39605. 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);
  39606. if (state === 0) {
  39607. buffer._contents += A.Primitives_stringFromCharCode(char);
  39608. if (i === end)
  39609. break $label0$0;
  39610. break;
  39611. } else if ((state & 1) !== 0) {
  39612. if (t1)
  39613. switch (state) {
  39614. case 69:
  39615. case 67:
  39616. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  39617. break;
  39618. case 65:
  39619. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  39620. --i;
  39621. break;
  39622. default:
  39623. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  39624. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  39625. break;
  39626. }
  39627. else {
  39628. _this._convert$_state = state;
  39629. _this._charOrIndex = i - 1;
  39630. return "";
  39631. }
  39632. state = 0;
  39633. }
  39634. if (i === end)
  39635. break $label0$0;
  39636. i0 = i + 1;
  39637. byte = bytes[i];
  39638. }
  39639. i0 = i + 1;
  39640. byte = bytes[i];
  39641. if (byte < 128) {
  39642. while (true) {
  39643. if (!(i0 < end)) {
  39644. markEnd = end;
  39645. break;
  39646. }
  39647. i1 = i0 + 1;
  39648. byte = bytes[i0];
  39649. if (byte >= 128) {
  39650. markEnd = i1 - 1;
  39651. i0 = i1;
  39652. break;
  39653. }
  39654. i0 = i1;
  39655. }
  39656. if (markEnd - i < 20)
  39657. for (m = i; m < markEnd; ++m)
  39658. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  39659. else
  39660. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  39661. if (markEnd === end)
  39662. break $label0$0;
  39663. i = i0;
  39664. } else
  39665. i = i0;
  39666. }
  39667. if (single && state > 32)
  39668. if (t1)
  39669. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  39670. else {
  39671. _this._convert$_state = 77;
  39672. _this._charOrIndex = end;
  39673. return "";
  39674. }
  39675. _this._convert$_state = state;
  39676. _this._charOrIndex = char;
  39677. t1 = buffer._contents;
  39678. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39679. }
  39680. };
  39681. A.NoSuchMethodError_toString_closure.prototype = {
  39682. call$2(key, value) {
  39683. var t1 = this.sb,
  39684. t2 = this._box_0,
  39685. t3 = t1._contents += t2.comma;
  39686. t3 += key.__internal$_name;
  39687. t1._contents = t3;
  39688. t1._contents = t3 + ": ";
  39689. t1._contents += A.Error_safeToString(value);
  39690. t2.comma = ", ";
  39691. },
  39692. $signature: 584
  39693. };
  39694. A.DateTime.prototype = {
  39695. $eq(_, other) {
  39696. if (other == null)
  39697. return false;
  39698. return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
  39699. },
  39700. compareTo$1(_, other) {
  39701. return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
  39702. },
  39703. get$hashCode(_) {
  39704. var t1 = this._core$_value;
  39705. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  39706. },
  39707. toString$0(_) {
  39708. var _this = this,
  39709. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  39710. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  39711. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  39712. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  39713. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  39714. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  39715. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  39716. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  39717. },
  39718. $isComparable: 1
  39719. };
  39720. A.Duration.prototype = {
  39721. $eq(_, other) {
  39722. if (other == null)
  39723. return false;
  39724. return other instanceof A.Duration && this._duration === other._duration;
  39725. },
  39726. get$hashCode(_) {
  39727. return B.JSInt_methods.get$hashCode(this._duration);
  39728. },
  39729. compareTo$1(_, other) {
  39730. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  39731. },
  39732. toString$0(_) {
  39733. var sign, minutes, minutesPadding, seconds, secondsPadding,
  39734. microseconds = this._duration,
  39735. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  39736. microseconds0 = microseconds % 3600000000;
  39737. if (microseconds < 0) {
  39738. hours = 0 - hours;
  39739. microseconds = 0 - microseconds0;
  39740. sign = "-";
  39741. } else {
  39742. microseconds = microseconds0;
  39743. sign = "";
  39744. }
  39745. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  39746. microseconds %= 60000000;
  39747. minutesPadding = minutes < 10 ? "0" : "";
  39748. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  39749. secondsPadding = seconds < 10 ? "0" : "";
  39750. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  39751. },
  39752. $isComparable: 1
  39753. };
  39754. A._Enum.prototype = {
  39755. toString$0(_) {
  39756. return this._enumToString$0();
  39757. }
  39758. };
  39759. A.Error.prototype = {
  39760. get$stackTrace() {
  39761. return A.getTraceFromException(this.$thrownJsError);
  39762. }
  39763. };
  39764. A.AssertionError.prototype = {
  39765. toString$0(_) {
  39766. var t1 = this.message;
  39767. if (t1 != null)
  39768. return "Assertion failed: " + A.Error_safeToString(t1);
  39769. return "Assertion failed";
  39770. },
  39771. get$message(receiver) {
  39772. return this.message;
  39773. }
  39774. };
  39775. A.TypeError.prototype = {};
  39776. A.ArgumentError.prototype = {
  39777. get$_errorName() {
  39778. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  39779. },
  39780. get$_errorExplanation() {
  39781. return "";
  39782. },
  39783. toString$0(_) {
  39784. var _this = this,
  39785. $name = _this.name,
  39786. nameString = $name == null ? "" : " (" + $name + ")",
  39787. message = _this.message,
  39788. messageString = message == null ? "" : ": " + A.S(message),
  39789. prefix = _this.get$_errorName() + nameString + messageString;
  39790. if (!_this._hasValue)
  39791. return prefix;
  39792. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  39793. },
  39794. get$invalidValue() {
  39795. return this.invalidValue;
  39796. },
  39797. get$message(receiver) {
  39798. return this.message;
  39799. }
  39800. };
  39801. A.RangeError.prototype = {
  39802. get$invalidValue() {
  39803. return this.invalidValue;
  39804. },
  39805. get$_errorName() {
  39806. return "RangeError";
  39807. },
  39808. get$_errorExplanation() {
  39809. var explanation,
  39810. start = this.start,
  39811. end = this.end;
  39812. if (start == null)
  39813. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  39814. else if (end == null)
  39815. explanation = ": Not greater than or equal to " + A.S(start);
  39816. else if (end > start)
  39817. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  39818. else
  39819. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  39820. return explanation;
  39821. }
  39822. };
  39823. A.IndexError.prototype = {
  39824. get$invalidValue() {
  39825. return this.invalidValue;
  39826. },
  39827. get$_errorName() {
  39828. return "RangeError";
  39829. },
  39830. get$_errorExplanation() {
  39831. if (this.invalidValue < 0)
  39832. return ": index must not be negative";
  39833. var t1 = this.length;
  39834. if (t1 === 0)
  39835. return ": no indices are valid";
  39836. return ": index should be less than " + t1;
  39837. },
  39838. $isRangeError: 1,
  39839. get$length(receiver) {
  39840. return this.length;
  39841. }
  39842. };
  39843. A.NoSuchMethodError.prototype = {
  39844. toString$0(_) {
  39845. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  39846. sb = new A.StringBuffer("");
  39847. _box_0.comma = "";
  39848. $arguments = _this._core$_arguments;
  39849. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  39850. argument = $arguments[_i];
  39851. sb._contents = t2 + t3;
  39852. t2 = sb._contents += A.Error_safeToString(argument);
  39853. _box_0.comma = ", ";
  39854. }
  39855. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  39856. receiverText = A.Error_safeToString(_this._core$_receiver);
  39857. actualParameters = sb.toString$0(0);
  39858. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  39859. }
  39860. };
  39861. A.UnsupportedError.prototype = {
  39862. toString$0(_) {
  39863. return "Unsupported operation: " + this.message;
  39864. },
  39865. get$message(receiver) {
  39866. return this.message;
  39867. }
  39868. };
  39869. A.UnimplementedError.prototype = {
  39870. toString$0(_) {
  39871. return "UnimplementedError: " + this.message;
  39872. },
  39873. get$message(receiver) {
  39874. return this.message;
  39875. }
  39876. };
  39877. A.StateError.prototype = {
  39878. toString$0(_) {
  39879. return "Bad state: " + this.message;
  39880. },
  39881. get$message(receiver) {
  39882. return this.message;
  39883. }
  39884. };
  39885. A.ConcurrentModificationError.prototype = {
  39886. toString$0(_) {
  39887. var t1 = this.modifiedObject;
  39888. if (t1 == null)
  39889. return "Concurrent modification during iteration.";
  39890. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  39891. }
  39892. };
  39893. A.OutOfMemoryError.prototype = {
  39894. toString$0(_) {
  39895. return "Out of Memory";
  39896. },
  39897. get$stackTrace() {
  39898. return null;
  39899. },
  39900. $isError: 1
  39901. };
  39902. A.StackOverflowError.prototype = {
  39903. toString$0(_) {
  39904. return "Stack Overflow";
  39905. },
  39906. get$stackTrace() {
  39907. return null;
  39908. },
  39909. $isError: 1
  39910. };
  39911. A._Exception.prototype = {
  39912. toString$0(_) {
  39913. return "Exception: " + this.message;
  39914. },
  39915. $isException: 1,
  39916. get$message(receiver) {
  39917. return this.message;
  39918. }
  39919. };
  39920. A.FormatException.prototype = {
  39921. toString$0(_) {
  39922. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  39923. message = this.message,
  39924. report = "" !== message ? "FormatException: " + message : "FormatException",
  39925. offset = this.offset,
  39926. source = this.source;
  39927. if (typeof source == "string") {
  39928. if (offset != null)
  39929. t1 = offset < 0 || offset > source.length;
  39930. else
  39931. t1 = false;
  39932. if (t1)
  39933. offset = null;
  39934. if (offset == null) {
  39935. if (source.length > 78)
  39936. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  39937. return report + "\n" + source;
  39938. }
  39939. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  39940. char = source.charCodeAt(i);
  39941. if (char === 10) {
  39942. if (lineStart !== i || !previousCharWasCR)
  39943. ++lineNum;
  39944. lineStart = i + 1;
  39945. previousCharWasCR = false;
  39946. } else if (char === 13) {
  39947. ++lineNum;
  39948. lineStart = i + 1;
  39949. previousCharWasCR = true;
  39950. }
  39951. }
  39952. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  39953. lineEnd = source.length;
  39954. for (i = offset; i < lineEnd; ++i) {
  39955. char = source.charCodeAt(i);
  39956. if (char === 10 || char === 13) {
  39957. lineEnd = i;
  39958. break;
  39959. }
  39960. }
  39961. if (lineEnd - lineStart > 78)
  39962. if (offset - lineStart < 75) {
  39963. end = lineStart + 75;
  39964. start = lineStart;
  39965. prefix = "";
  39966. postfix = "...";
  39967. } else {
  39968. if (lineEnd - offset < 75) {
  39969. start = lineEnd - 75;
  39970. end = lineEnd;
  39971. postfix = "";
  39972. } else {
  39973. start = offset - 36;
  39974. end = offset + 36;
  39975. postfix = "...";
  39976. }
  39977. prefix = "...";
  39978. }
  39979. else {
  39980. end = lineEnd;
  39981. start = lineStart;
  39982. prefix = "";
  39983. postfix = "";
  39984. }
  39985. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  39986. } else
  39987. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  39988. },
  39989. $isException: 1,
  39990. get$message(receiver) {
  39991. return this.message;
  39992. }
  39993. };
  39994. A.Iterable.prototype = {
  39995. cast$1$0(_, $R) {
  39996. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  39997. },
  39998. followedBy$1(_, other) {
  39999. var _this = this,
  40000. t1 = A._instanceType(_this);
  40001. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  40002. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  40003. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  40004. },
  40005. map$1$1(_, toElement, $T) {
  40006. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  40007. },
  40008. where$1(_, test) {
  40009. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  40010. },
  40011. expand$1$1(_, toElements, $T) {
  40012. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40013. },
  40014. contains$1(_, element) {
  40015. var t1;
  40016. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40017. if (J.$eq$(t1.get$current(t1), element))
  40018. return true;
  40019. return false;
  40020. },
  40021. forEach$1(_, action) {
  40022. var t1;
  40023. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40024. action.call$1(t1.get$current(t1));
  40025. },
  40026. fold$1$2(_, initialValue, combine) {
  40027. var t1, value;
  40028. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  40029. value = combine.call$2(value, t1.get$current(t1));
  40030. return value;
  40031. },
  40032. fold$2(_, initialValue, combine) {
  40033. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  40034. },
  40035. every$1(_, test) {
  40036. var t1;
  40037. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40038. if (!test.call$1(t1.get$current(t1)))
  40039. return false;
  40040. return true;
  40041. },
  40042. join$1(_, separator) {
  40043. var first, t1,
  40044. iterator = this.get$iterator(this);
  40045. if (!iterator.moveNext$0())
  40046. return "";
  40047. first = J.toString$0$(iterator.get$current(iterator));
  40048. if (!iterator.moveNext$0())
  40049. return first;
  40050. if (separator.length === 0) {
  40051. t1 = first;
  40052. do
  40053. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  40054. while (iterator.moveNext$0());
  40055. } else {
  40056. t1 = first;
  40057. do
  40058. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  40059. while (iterator.moveNext$0());
  40060. }
  40061. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40062. },
  40063. any$1(_, test) {
  40064. var t1;
  40065. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40066. if (test.call$1(t1.get$current(t1)))
  40067. return true;
  40068. return false;
  40069. },
  40070. toList$1$growable(_, growable) {
  40071. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  40072. },
  40073. toList$0(_) {
  40074. return this.toList$1$growable(0, true);
  40075. },
  40076. toSet$0(_) {
  40077. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  40078. },
  40079. get$length(_) {
  40080. var count,
  40081. it = this.get$iterator(this);
  40082. for (count = 0; it.moveNext$0();)
  40083. ++count;
  40084. return count;
  40085. },
  40086. get$isEmpty(_) {
  40087. return !this.get$iterator(this).moveNext$0();
  40088. },
  40089. get$isNotEmpty(_) {
  40090. return !this.get$isEmpty(this);
  40091. },
  40092. take$1(_, count) {
  40093. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  40094. },
  40095. skip$1(_, count) {
  40096. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  40097. },
  40098. skipWhile$1(_, test) {
  40099. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  40100. },
  40101. get$first(_) {
  40102. var it = this.get$iterator(this);
  40103. if (!it.moveNext$0())
  40104. throw A.wrapException(A.IterableElementError_noElement());
  40105. return it.get$current(it);
  40106. },
  40107. get$last(_) {
  40108. var result,
  40109. it = this.get$iterator(this);
  40110. if (!it.moveNext$0())
  40111. throw A.wrapException(A.IterableElementError_noElement());
  40112. do
  40113. result = it.get$current(it);
  40114. while (it.moveNext$0());
  40115. return result;
  40116. },
  40117. get$single(_) {
  40118. var result,
  40119. it = this.get$iterator(this);
  40120. if (!it.moveNext$0())
  40121. throw A.wrapException(A.IterableElementError_noElement());
  40122. result = it.get$current(it);
  40123. if (it.moveNext$0())
  40124. throw A.wrapException(A.IterableElementError_tooMany());
  40125. return result;
  40126. },
  40127. elementAt$1(_, index) {
  40128. var iterator, skipCount;
  40129. A.RangeError_checkNotNegative(index, "index");
  40130. iterator = this.get$iterator(this);
  40131. for (skipCount = index; iterator.moveNext$0();) {
  40132. if (skipCount === 0)
  40133. return iterator.get$current(iterator);
  40134. --skipCount;
  40135. }
  40136. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  40137. },
  40138. toString$0(_) {
  40139. return A.Iterable_iterableToShortString(this, "(", ")");
  40140. }
  40141. };
  40142. A._GeneratorIterable.prototype = {
  40143. elementAt$1(_, index) {
  40144. A.IndexError_check(index, this.length, this, null, null);
  40145. return this._generator.call$1(index);
  40146. },
  40147. get$length(receiver) {
  40148. return this.length;
  40149. }
  40150. };
  40151. A.MapEntry.prototype = {
  40152. toString$0(_) {
  40153. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  40154. }
  40155. };
  40156. A.Null.prototype = {
  40157. get$hashCode(_) {
  40158. return A.Object.prototype.get$hashCode.call(this, 0);
  40159. },
  40160. toString$0(_) {
  40161. return "null";
  40162. }
  40163. };
  40164. A.Object.prototype = {$isObject: 1,
  40165. $eq(_, other) {
  40166. return this === other;
  40167. },
  40168. get$hashCode(_) {
  40169. return A.Primitives_objectHashCode(this);
  40170. },
  40171. toString$0(_) {
  40172. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  40173. },
  40174. noSuchMethod$1(_, invocation) {
  40175. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  40176. },
  40177. get$runtimeType(_) {
  40178. return A.getRuntimeTypeOfDartObject(this);
  40179. },
  40180. toString() {
  40181. return this.toString$0(this);
  40182. }
  40183. };
  40184. A._StringStackTrace.prototype = {
  40185. toString$0(_) {
  40186. return this._stackTrace;
  40187. },
  40188. $isStackTrace: 1
  40189. };
  40190. A.Runes.prototype = {
  40191. get$iterator(_) {
  40192. return new A.RuneIterator(this.string);
  40193. },
  40194. get$last(_) {
  40195. var code, previousCode,
  40196. t1 = this.string,
  40197. t2 = t1.length;
  40198. if (t2 === 0)
  40199. throw A.wrapException(A.StateError$("No elements."));
  40200. code = t1.charCodeAt(t2 - 1);
  40201. if ((code & 64512) === 56320 && t2 > 1) {
  40202. previousCode = t1.charCodeAt(t2 - 2);
  40203. if ((previousCode & 64512) === 55296)
  40204. return A._combineSurrogatePair(previousCode, code);
  40205. }
  40206. return code;
  40207. }
  40208. };
  40209. A.RuneIterator.prototype = {
  40210. get$current(_) {
  40211. return this._currentCodePoint;
  40212. },
  40213. moveNext$0() {
  40214. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  40215. t1 = _this._position = _this._nextPosition,
  40216. t2 = _this.string,
  40217. t3 = t2.length;
  40218. if (t1 === t3) {
  40219. _this._currentCodePoint = -1;
  40220. return false;
  40221. }
  40222. codeUnit = t2.charCodeAt(t1);
  40223. nextPosition = t1 + 1;
  40224. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  40225. nextCodeUnit = t2.charCodeAt(nextPosition);
  40226. if ((nextCodeUnit & 64512) === 56320) {
  40227. _this._nextPosition = nextPosition + 1;
  40228. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  40229. return true;
  40230. }
  40231. }
  40232. _this._nextPosition = nextPosition;
  40233. _this._currentCodePoint = codeUnit;
  40234. return true;
  40235. }
  40236. };
  40237. A.StringBuffer.prototype = {
  40238. get$length(_) {
  40239. return this._contents.length;
  40240. },
  40241. write$1(_, obj) {
  40242. this._contents += A.S(obj);
  40243. },
  40244. writeCharCode$1(charCode) {
  40245. this._contents += A.Primitives_stringFromCharCode(charCode);
  40246. },
  40247. toString$0(_) {
  40248. var t1 = this._contents;
  40249. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40250. }
  40251. };
  40252. A.Uri__parseIPv4Address_error.prototype = {
  40253. call$2(msg, position) {
  40254. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  40255. },
  40256. $signature: 563
  40257. };
  40258. A.Uri_parseIPv6Address_error.prototype = {
  40259. call$2(msg, position) {
  40260. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  40261. },
  40262. $signature: 556
  40263. };
  40264. A.Uri_parseIPv6Address_parseHex.prototype = {
  40265. call$2(start, end) {
  40266. var value;
  40267. if (end - start > 4)
  40268. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  40269. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  40270. if (value < 0 || value > 65535)
  40271. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  40272. return value;
  40273. },
  40274. $signature: 554
  40275. };
  40276. A._Uri.prototype = {
  40277. get$_text() {
  40278. var t1, t2, t3, t4, _this = this,
  40279. value = _this.___Uri__text_FI;
  40280. if (value === $) {
  40281. t1 = _this.scheme;
  40282. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  40283. t3 = _this._host;
  40284. t4 = t3 == null;
  40285. if (!t4 || t1 === "file") {
  40286. t1 = t2 + "//";
  40287. t2 = _this._userInfo;
  40288. if (t2.length !== 0)
  40289. t1 = t1 + t2 + "@";
  40290. if (!t4)
  40291. t1 += t3;
  40292. t2 = _this._port;
  40293. if (t2 != null)
  40294. t1 = t1 + ":" + A.S(t2);
  40295. } else
  40296. t1 = t2;
  40297. t1 += _this.path;
  40298. t2 = _this._query;
  40299. if (t2 != null)
  40300. t1 = t1 + "?" + t2;
  40301. t2 = _this._fragment;
  40302. if (t2 != null)
  40303. t1 = t1 + "#" + t2;
  40304. value !== $ && A.throwUnnamedLateFieldADI();
  40305. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  40306. }
  40307. return value;
  40308. },
  40309. get$pathSegments() {
  40310. var pathToSplit, result, _this = this,
  40311. value = _this.___Uri_pathSegments_FI;
  40312. if (value === $) {
  40313. pathToSplit = _this.path;
  40314. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  40315. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  40316. 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);
  40317. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  40318. value = _this.___Uri_pathSegments_FI = result;
  40319. }
  40320. return value;
  40321. },
  40322. get$hashCode(_) {
  40323. var result, _this = this,
  40324. value = _this.___Uri_hashCode_FI;
  40325. if (value === $) {
  40326. result = B.JSString_methods.get$hashCode(_this.get$_text());
  40327. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  40328. _this.___Uri_hashCode_FI = result;
  40329. value = result;
  40330. }
  40331. return value;
  40332. },
  40333. get$userInfo() {
  40334. return this._userInfo;
  40335. },
  40336. get$host() {
  40337. var host = this._host;
  40338. if (host == null)
  40339. return "";
  40340. if (B.JSString_methods.startsWith$1(host, "["))
  40341. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  40342. return host;
  40343. },
  40344. get$port(_) {
  40345. var t1 = this._port;
  40346. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  40347. },
  40348. get$query() {
  40349. var t1 = this._query;
  40350. return t1 == null ? "" : t1;
  40351. },
  40352. get$fragment() {
  40353. var t1 = this._fragment;
  40354. return t1 == null ? "" : t1;
  40355. },
  40356. isScheme$1(scheme) {
  40357. var thisScheme = this.scheme;
  40358. if (scheme.length !== thisScheme.length)
  40359. return false;
  40360. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  40361. },
  40362. _mergePaths$2(base, reference) {
  40363. var backCount, refStart, baseEnd, newEnd, delta, t1;
  40364. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  40365. refStart += 3;
  40366. ++backCount;
  40367. }
  40368. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  40369. while (true) {
  40370. if (!(baseEnd > 0 && backCount > 0))
  40371. break;
  40372. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  40373. if (newEnd < 0)
  40374. break;
  40375. delta = baseEnd - newEnd;
  40376. t1 = delta !== 2;
  40377. if (!t1 || delta === 3)
  40378. if (base.charCodeAt(newEnd + 1) === 46)
  40379. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  40380. else
  40381. t1 = false;
  40382. else
  40383. t1 = false;
  40384. if (t1)
  40385. break;
  40386. --backCount;
  40387. baseEnd = newEnd;
  40388. }
  40389. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  40390. },
  40391. resolve$1(_, reference) {
  40392. return this.resolveUri$1(A.Uri_parse(reference));
  40393. },
  40394. resolveUri$1(reference) {
  40395. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  40396. if (reference.get$scheme().length !== 0) {
  40397. targetScheme = reference.get$scheme();
  40398. if (reference.get$hasAuthority()) {
  40399. targetUserInfo = reference.get$userInfo();
  40400. targetHost = reference.get$host();
  40401. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  40402. } else {
  40403. targetPort = _null;
  40404. targetHost = targetPort;
  40405. targetUserInfo = "";
  40406. }
  40407. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40408. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40409. } else {
  40410. targetScheme = _this.scheme;
  40411. if (reference.get$hasAuthority()) {
  40412. targetUserInfo = reference.get$userInfo();
  40413. targetHost = reference.get$host();
  40414. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  40415. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40416. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40417. } else {
  40418. targetUserInfo = _this._userInfo;
  40419. targetHost = _this._host;
  40420. targetPort = _this._port;
  40421. targetPath = _this.path;
  40422. if (reference.get$path(reference) === "")
  40423. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  40424. else {
  40425. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  40426. if (packageNameEnd > 0) {
  40427. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  40428. 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)));
  40429. } else if (reference.get$hasAbsolutePath())
  40430. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40431. else if (targetPath.length === 0)
  40432. if (targetHost == null)
  40433. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  40434. else
  40435. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  40436. else {
  40437. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  40438. t1 = targetScheme.length === 0;
  40439. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  40440. targetPath = A._Uri__removeDotSegments(mergedPath);
  40441. else
  40442. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  40443. }
  40444. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40445. }
  40446. }
  40447. }
  40448. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  40449. },
  40450. get$hasAuthority() {
  40451. return this._host != null;
  40452. },
  40453. get$hasPort() {
  40454. return this._port != null;
  40455. },
  40456. get$hasQuery() {
  40457. return this._query != null;
  40458. },
  40459. get$hasFragment() {
  40460. return this._fragment != null;
  40461. },
  40462. get$hasAbsolutePath() {
  40463. return B.JSString_methods.startsWith$1(this.path, "/");
  40464. },
  40465. toFilePath$0() {
  40466. var pathSegments, _this = this,
  40467. t1 = _this.scheme;
  40468. if (t1 !== "" && t1 !== "file")
  40469. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  40470. t1 = _this._query;
  40471. if ((t1 == null ? "" : t1) !== "")
  40472. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40473. t1 = _this._fragment;
  40474. if ((t1 == null ? "" : t1) !== "")
  40475. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40476. t1 = $.$get$_Uri__isWindowsCached();
  40477. if (t1)
  40478. t1 = A._Uri__toWindowsFilePath(_this);
  40479. else {
  40480. if (_this._host != null && _this.get$host() !== "")
  40481. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40482. pathSegments = _this.get$pathSegments();
  40483. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  40484. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  40485. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  40486. }
  40487. return t1;
  40488. },
  40489. toString$0(_) {
  40490. return this.get$_text();
  40491. },
  40492. $eq(_, other) {
  40493. var t1, t2, _this = this;
  40494. if (other == null)
  40495. return false;
  40496. if (_this === other)
  40497. return true;
  40498. if (type$.Uri._is(other))
  40499. if (_this.scheme === other.get$scheme())
  40500. if (_this._host != null === other.get$hasAuthority())
  40501. if (_this._userInfo === other.get$userInfo())
  40502. if (_this.get$host() === other.get$host())
  40503. if (_this.get$port(0) === other.get$port(other))
  40504. if (_this.path === other.get$path(other)) {
  40505. t1 = _this._query;
  40506. t2 = t1 == null;
  40507. if (!t2 === other.get$hasQuery()) {
  40508. if (t2)
  40509. t1 = "";
  40510. if (t1 === other.get$query()) {
  40511. t1 = _this._fragment;
  40512. t2 = t1 == null;
  40513. if (!t2 === other.get$hasFragment()) {
  40514. if (t2)
  40515. t1 = "";
  40516. t1 = t1 === other.get$fragment();
  40517. } else
  40518. t1 = false;
  40519. } else
  40520. t1 = false;
  40521. } else
  40522. t1 = false;
  40523. } else
  40524. t1 = false;
  40525. else
  40526. t1 = false;
  40527. else
  40528. t1 = false;
  40529. else
  40530. t1 = false;
  40531. else
  40532. t1 = false;
  40533. else
  40534. t1 = false;
  40535. else
  40536. t1 = false;
  40537. return t1;
  40538. },
  40539. $isUri: 1,
  40540. get$scheme() {
  40541. return this.scheme;
  40542. },
  40543. get$path(receiver) {
  40544. return this.path;
  40545. }
  40546. };
  40547. A._Uri__makePath_closure.prototype = {
  40548. call$1(s) {
  40549. return A._Uri__uriEncode(B.List_XRg0, s, B.C_Utf8Codec, false);
  40550. },
  40551. $signature: 5
  40552. };
  40553. A.UriData.prototype = {
  40554. get$uri() {
  40555. var t2, queryIndex, end, query, _this = this, _null = null,
  40556. t1 = _this._uriCache;
  40557. if (t1 == null) {
  40558. t1 = _this._text;
  40559. t2 = _this._separatorIndices[0] + 1;
  40560. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  40561. end = t1.length;
  40562. if (queryIndex >= 0) {
  40563. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_oFp, false, false);
  40564. end = queryIndex;
  40565. } else
  40566. query = _null;
  40567. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_XRg, false, false), query, _null);
  40568. }
  40569. return t1;
  40570. },
  40571. toString$0(_) {
  40572. var t1 = this._text;
  40573. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  40574. }
  40575. };
  40576. A._createTables_build.prototype = {
  40577. call$2(state, defaultTransition) {
  40578. var t1 = this.tables[state];
  40579. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  40580. return t1;
  40581. },
  40582. $signature: 547
  40583. };
  40584. A._createTables_setChars.prototype = {
  40585. call$3(target, chars, transition) {
  40586. var t1, i;
  40587. for (t1 = chars.length, i = 0; i < t1; ++i)
  40588. target[chars.charCodeAt(i) ^ 96] = transition;
  40589. },
  40590. $signature: 243
  40591. };
  40592. A._createTables_setRange.prototype = {
  40593. call$3(target, range, transition) {
  40594. var i, n;
  40595. for (i = range.charCodeAt(0), n = range.charCodeAt(1); i <= n; ++i)
  40596. target[(i ^ 96) >>> 0] = transition;
  40597. },
  40598. $signature: 243
  40599. };
  40600. A._SimpleUri.prototype = {
  40601. get$hasAuthority() {
  40602. return this._hostStart > 0;
  40603. },
  40604. get$hasPort() {
  40605. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  40606. },
  40607. get$hasQuery() {
  40608. return this._queryStart < this._fragmentStart;
  40609. },
  40610. get$hasFragment() {
  40611. return this._fragmentStart < this._uri.length;
  40612. },
  40613. get$hasAbsolutePath() {
  40614. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  40615. },
  40616. get$scheme() {
  40617. var t1 = this._schemeCache;
  40618. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  40619. },
  40620. _computeScheme$0() {
  40621. var t2, _this = this,
  40622. t1 = _this._schemeEnd;
  40623. if (t1 <= 0)
  40624. return "";
  40625. t2 = t1 === 4;
  40626. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40627. return "http";
  40628. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40629. return "https";
  40630. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  40631. return "file";
  40632. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  40633. return "package";
  40634. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  40635. },
  40636. get$userInfo() {
  40637. var t1 = this._hostStart,
  40638. t2 = this._schemeEnd + 3;
  40639. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  40640. },
  40641. get$host() {
  40642. var t1 = this._hostStart;
  40643. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  40644. },
  40645. get$port(_) {
  40646. var t1, _this = this;
  40647. if (_this.get$hasPort())
  40648. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  40649. t1 = _this._schemeEnd;
  40650. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40651. return 80;
  40652. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40653. return 443;
  40654. return 0;
  40655. },
  40656. get$path(_) {
  40657. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  40658. },
  40659. get$query() {
  40660. var t1 = this._queryStart,
  40661. t2 = this._fragmentStart;
  40662. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  40663. },
  40664. get$fragment() {
  40665. var t1 = this._fragmentStart,
  40666. t2 = this._uri;
  40667. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  40668. },
  40669. get$pathSegments() {
  40670. var parts, i,
  40671. start = this._pathStart,
  40672. end = this._queryStart,
  40673. t1 = this._uri;
  40674. if (B.JSString_methods.startsWith$2(t1, "/", start))
  40675. ++start;
  40676. if (start === end)
  40677. return B.List_empty;
  40678. parts = A._setArrayType([], type$.JSArray_String);
  40679. for (i = start; i < end; ++i)
  40680. if (t1.charCodeAt(i) === 47) {
  40681. parts.push(B.JSString_methods.substring$2(t1, start, i));
  40682. start = i + 1;
  40683. }
  40684. parts.push(B.JSString_methods.substring$2(t1, start, end));
  40685. return A.List_List$unmodifiable(parts, type$.String);
  40686. },
  40687. _isPort$1(port) {
  40688. var portDigitStart = this._portStart + 1;
  40689. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  40690. },
  40691. removeFragment$0() {
  40692. var _this = this,
  40693. t1 = _this._fragmentStart,
  40694. t2 = _this._uri;
  40695. if (t1 >= t2.length)
  40696. return _this;
  40697. 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);
  40698. },
  40699. resolve$1(_, reference) {
  40700. return this.resolveUri$1(A.Uri_parse(reference));
  40701. },
  40702. resolveUri$1(reference) {
  40703. if (reference instanceof A._SimpleUri)
  40704. return this._simpleMerge$2(this, reference);
  40705. return this._toNonSimple$0().resolveUri$1(reference);
  40706. },
  40707. _simpleMerge$2(base, ref) {
  40708. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  40709. t1 = ref._schemeEnd;
  40710. if (t1 > 0)
  40711. return ref;
  40712. t2 = ref._hostStart;
  40713. if (t2 > 0) {
  40714. t3 = base._schemeEnd;
  40715. if (t3 <= 0)
  40716. return ref;
  40717. t4 = t3 === 4;
  40718. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  40719. isSimple = ref._pathStart !== ref._queryStart;
  40720. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  40721. isSimple = !ref._isPort$1("80");
  40722. else
  40723. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  40724. if (isSimple) {
  40725. delta = t3 + 1;
  40726. 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);
  40727. } else
  40728. return this._toNonSimple$0().resolveUri$1(ref);
  40729. }
  40730. refStart = ref._pathStart;
  40731. t1 = ref._queryStart;
  40732. if (refStart === t1) {
  40733. t2 = ref._fragmentStart;
  40734. if (t1 < t2) {
  40735. t3 = base._queryStart;
  40736. delta = t3 - t1;
  40737. 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);
  40738. }
  40739. t1 = ref._uri;
  40740. if (t2 < t1.length) {
  40741. t3 = base._fragmentStart;
  40742. 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);
  40743. }
  40744. return base.removeFragment$0();
  40745. }
  40746. t2 = ref._uri;
  40747. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  40748. basePathStart = base._pathStart;
  40749. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40750. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  40751. delta = basePathStart0 - refStart;
  40752. 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);
  40753. }
  40754. baseStart = base._pathStart;
  40755. baseEnd = base._queryStart;
  40756. if (baseStart === baseEnd && base._hostStart > 0) {
  40757. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  40758. refStart += 3;
  40759. delta = baseStart - refStart + 1;
  40760. 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);
  40761. }
  40762. baseUri = base._uri;
  40763. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40764. if (packageNameEnd >= 0)
  40765. baseStart0 = packageNameEnd;
  40766. else
  40767. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  40768. baseStart0 += 3;
  40769. backCount = 0;
  40770. while (true) {
  40771. refStart0 = refStart + 3;
  40772. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  40773. break;
  40774. ++backCount;
  40775. refStart = refStart0;
  40776. }
  40777. for (insert = ""; baseEnd > baseStart0;) {
  40778. --baseEnd;
  40779. if (baseUri.charCodeAt(baseEnd) === 47) {
  40780. if (backCount === 0) {
  40781. insert = "/";
  40782. break;
  40783. }
  40784. --backCount;
  40785. insert = "/";
  40786. }
  40787. }
  40788. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  40789. refStart -= backCount * 3;
  40790. insert = "";
  40791. }
  40792. delta = baseEnd - refStart + insert.length;
  40793. 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);
  40794. },
  40795. toFilePath$0() {
  40796. var t2, t3, _this = this,
  40797. t1 = _this._schemeEnd;
  40798. if (t1 >= 0) {
  40799. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  40800. t1 = t2;
  40801. } else
  40802. t1 = false;
  40803. if (t1)
  40804. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  40805. t1 = _this._queryStart;
  40806. t2 = _this._uri;
  40807. if (t1 < t2.length) {
  40808. if (t1 < _this._fragmentStart)
  40809. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40810. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40811. }
  40812. t3 = $.$get$_Uri__isWindowsCached();
  40813. if (t3)
  40814. t1 = A._Uri__toWindowsFilePath(_this);
  40815. else {
  40816. if (_this._hostStart < _this._portStart)
  40817. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40818. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  40819. }
  40820. return t1;
  40821. },
  40822. get$hashCode(_) {
  40823. var t1 = this._hashCodeCache;
  40824. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  40825. },
  40826. $eq(_, other) {
  40827. if (other == null)
  40828. return false;
  40829. if (this === other)
  40830. return true;
  40831. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  40832. },
  40833. _toNonSimple$0() {
  40834. var _this = this, _null = null,
  40835. t1 = _this.get$scheme(),
  40836. t2 = _this.get$userInfo(),
  40837. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  40838. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  40839. t5 = _this._uri,
  40840. t6 = _this._queryStart,
  40841. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  40842. t8 = _this._fragmentStart;
  40843. t6 = t6 < t8 ? _this.get$query() : _null;
  40844. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  40845. },
  40846. toString$0(_) {
  40847. return this._uri;
  40848. },
  40849. $isUri: 1
  40850. };
  40851. A._DataUri.prototype = {};
  40852. A.Expando.prototype = {
  40853. $indexSet(_, object, value) {
  40854. if (object instanceof A._Record)
  40855. A.Expando__badExpandoKey(object);
  40856. this._jsWeakMap.set(object, value);
  40857. },
  40858. toString$0(_) {
  40859. return "Expando:null";
  40860. }
  40861. };
  40862. A.jsify__convert.prototype = {
  40863. call$1(o) {
  40864. var t1, convertedMap, key, convertedList;
  40865. if (A._noJsifyRequired(o))
  40866. return o;
  40867. t1 = this._convertedObjects;
  40868. if (t1.containsKey$1(o))
  40869. return t1.$index(0, o);
  40870. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  40871. convertedMap = {};
  40872. t1.$indexSet(0, o, convertedMap);
  40873. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  40874. key = t1.get$current(t1);
  40875. convertedMap[key] = this.call$1(o.$index(0, key));
  40876. }
  40877. return convertedMap;
  40878. } else if (type$.Iterable_nullable_Object._is(o)) {
  40879. convertedList = [];
  40880. t1.$indexSet(0, o, convertedList);
  40881. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  40882. return convertedList;
  40883. } else
  40884. return o;
  40885. },
  40886. $signature: 535
  40887. };
  40888. A.promiseToFuture_closure1.prototype = {
  40889. call$1(r) {
  40890. return this.completer.complete$1(r);
  40891. },
  40892. $signature: 76
  40893. };
  40894. A.promiseToFuture_closure2.prototype = {
  40895. call$1(e) {
  40896. if (e == null)
  40897. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  40898. return this.completer.completeError$1(e);
  40899. },
  40900. $signature: 76
  40901. };
  40902. A.NullRejectionException.prototype = {
  40903. toString$0(_) {
  40904. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  40905. },
  40906. $isException: 1
  40907. };
  40908. A._JSRandom.prototype = {
  40909. nextInt$1(max) {
  40910. if (max <= 0 || max > 4294967296)
  40911. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  40912. return Math.random() * max >>> 0;
  40913. },
  40914. nextDouble$0() {
  40915. return Math.random();
  40916. }
  40917. };
  40918. A.ArgParser.prototype = {
  40919. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  40920. var _null = null;
  40921. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  40922. },
  40923. addFlag$2$hide($name, hide) {
  40924. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  40925. },
  40926. addFlag$2$help($name, help) {
  40927. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  40928. },
  40929. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  40930. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  40931. },
  40932. addFlag$3$help$negatable($name, help, negatable) {
  40933. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  40934. },
  40935. addFlag$3$abbr$help($name, abbr, help) {
  40936. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  40937. },
  40938. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  40939. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  40940. },
  40941. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  40942. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  40943. },
  40944. addOption$2$hide($name, hide) {
  40945. var _null = null;
  40946. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  40947. },
  40948. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  40949. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  40950. },
  40951. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  40952. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  40953. },
  40954. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  40955. var t1 = A._setArrayType([], type$.JSArray_String);
  40956. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_qyr, B.List_empty, false, splitCommas);
  40957. },
  40958. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  40959. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  40960. },
  40961. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  40962. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  40963. },
  40964. addMultiOption$3$allowedHelp$help($name, allowedHelp, help) {
  40965. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, null, null, allowedHelp, help, true, null);
  40966. },
  40967. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  40968. var existing, t2, t3, option, _i, _this = this, _null = null,
  40969. t1 = A._setArrayType([$name], type$.JSArray_String);
  40970. B.JSArray_methods.addAll$1(t1, aliases);
  40971. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  40972. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  40973. t1 = abbr != null;
  40974. if (t1) {
  40975. existing = _this.findByAbbreviation$1(abbr);
  40976. if (existing != null)
  40977. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  40978. }
  40979. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  40980. if (allowedHelp == null)
  40981. t3 = _null;
  40982. else {
  40983. t3 = type$.String;
  40984. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  40985. }
  40986. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  40987. if ($name.length === 0)
  40988. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  40989. else if (B.JSString_methods.startsWith$1($name, "-"))
  40990. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  40991. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  40992. if (t2.test($name))
  40993. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  40994. if (t1) {
  40995. if (abbr.length !== 1)
  40996. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  40997. else if (abbr === "-")
  40998. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  40999. if (t2.test(abbr))
  41000. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  41001. }
  41002. _this._arg_parser$_options.$indexSet(0, $name, option);
  41003. _this._optionsAndSeparators.push(option);
  41004. for (t1 = _this._aliases, _i = 0; false; ++_i)
  41005. t1.$indexSet(0, aliases[_i], $name);
  41006. },
  41007. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  41008. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  41009. },
  41010. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  41011. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  41012. },
  41013. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  41014. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  41015. },
  41016. findByAbbreviation$1(abbr) {
  41017. var t1, t2;
  41018. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  41019. t2 = t1.get$current(t1);
  41020. if (t2.abbr === abbr)
  41021. return t2;
  41022. }
  41023. return null;
  41024. },
  41025. findByNameOrAlias$1($name) {
  41026. var t1 = this._aliases.$index(0, $name);
  41027. if (t1 == null)
  41028. t1 = $name;
  41029. return this.options._map.$index(0, t1);
  41030. }
  41031. };
  41032. A.ArgParser__addOption_closure.prototype = {
  41033. call$1($name) {
  41034. return this.$this.findByNameOrAlias$1($name) != null;
  41035. },
  41036. $signature: 4
  41037. };
  41038. A.ArgParserException.prototype = {};
  41039. A.ArgResults.prototype = {
  41040. $index(_, $name) {
  41041. var t1 = this._parser.options._map;
  41042. if (!t1.containsKey$1($name))
  41043. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  41044. t1 = t1.$index(0, $name);
  41045. t1.toString;
  41046. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  41047. },
  41048. wasParsed$1($name) {
  41049. if (!this._parser.options._map.containsKey$1($name))
  41050. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  41051. return this._parsed.containsKey$1($name);
  41052. }
  41053. };
  41054. A.Option.prototype = {
  41055. valueOrDefault$1(value) {
  41056. var t1;
  41057. if (value != null)
  41058. return value;
  41059. if (this.type === B.OptionType_qyr) {
  41060. t1 = this.defaultsTo;
  41061. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  41062. }
  41063. return this.defaultsTo;
  41064. }
  41065. };
  41066. A.OptionType.prototype = {};
  41067. A.Parser0.prototype = {
  41068. parse$0() {
  41069. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  41070. t2 = _this._args;
  41071. t2.toList$0(0);
  41072. commandResults = null;
  41073. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  41074. t7 = t2._head;
  41075. if (t7 === t2._tail)
  41076. A.throwExpression(A.IterableElementError_noElement());
  41077. t7 = t2._table[t7];
  41078. t8 = t7 == null;
  41079. if ((t8 ? t6._as(t7) : t7) === "--") {
  41080. t2.removeFirst$0();
  41081. break;
  41082. }
  41083. if (t8)
  41084. t7 = t6._as(t7);
  41085. command = t5._map.$index(0, t7);
  41086. if (command != null) {
  41087. if (t3.length !== 0)
  41088. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  41089. commandName = t2.removeFirst$0();
  41090. t5 = type$.JSArray_String;
  41091. t6 = A._setArrayType([], t5);
  41092. B.JSArray_methods.addAll$1(t6, t3);
  41093. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  41094. try {
  41095. commandResults = commandParser.parse$0();
  41096. } catch (exception) {
  41097. t2 = A.unwrapException(exception);
  41098. if (t2 instanceof A.ArgParserException) {
  41099. error = t2;
  41100. t2 = error.message;
  41101. t1 = A._setArrayType([commandName], t5);
  41102. J.addAll$1$ax(t1, error.commands);
  41103. throw A.wrapException(A.ArgParserException$(t2, t1));
  41104. } else
  41105. throw exception;
  41106. }
  41107. B.JSArray_methods.clear$0(t3);
  41108. break;
  41109. }
  41110. if (_this._parseSoloOption$0())
  41111. continue;
  41112. if (_this._parseAbbreviation$1(_this))
  41113. continue;
  41114. if (_this._parseLongOption$0())
  41115. continue;
  41116. t3.push(t2.removeFirst$0());
  41117. }
  41118. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  41119. B.JSArray_methods.addAll$1(t3, t2);
  41120. t2.clear$0(0);
  41121. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  41122. },
  41123. _readNextArgAsValue$1(option) {
  41124. var t1 = this._args;
  41125. if (t1.get$isEmpty(0))
  41126. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  41127. this._setOption$3(this._results, option, t1.get$first(0));
  41128. t1.removeFirst$0();
  41129. },
  41130. _parseSoloOption$0() {
  41131. var opt,
  41132. t1 = this._args;
  41133. if (t1.get$first(0).length !== 2)
  41134. return false;
  41135. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41136. return false;
  41137. opt = t1.get$first(0)[1];
  41138. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  41139. return false;
  41140. this._handleSoloOption$1(opt);
  41141. return true;
  41142. },
  41143. _handleSoloOption$1(opt) {
  41144. var t1, _this = this,
  41145. option = _this._grammar.findByAbbreviation$1(opt);
  41146. if (option == null) {
  41147. t1 = _this._parser$_parent;
  41148. if (t1 == null)
  41149. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  41150. t1._handleSoloOption$1(opt);
  41151. return true;
  41152. }
  41153. _this._args.removeFirst$0();
  41154. if (option.type === B.OptionType_nMZ)
  41155. _this._results.$indexSet(0, option.name, true);
  41156. else
  41157. _this._readNextArgAsValue$1(option);
  41158. return true;
  41159. },
  41160. _parseAbbreviation$1(innermostCommand) {
  41161. var t2, index, t3, t4, lettersAndDigits, rest,
  41162. t1 = this._args;
  41163. if (t1.get$first(0).length < 2)
  41164. return false;
  41165. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41166. return false;
  41167. t2 = t1.$ti._precomputed1;
  41168. index = 1;
  41169. while (true) {
  41170. t3 = t1._head;
  41171. if (t3 === t1._tail)
  41172. A.throwExpression(A.IterableElementError_noElement());
  41173. t3 = t1._table[t3];
  41174. t4 = t3 == null;
  41175. if (index < (t4 ? t2._as(t3) : t3).length) {
  41176. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  41177. if (!(t3 >= 65 && t3 <= 90))
  41178. if (!(t3 >= 97 && t3 <= 122))
  41179. t3 = t3 >= 48 && t3 <= 57;
  41180. else
  41181. t3 = true;
  41182. else
  41183. t3 = true;
  41184. } else
  41185. t3 = false;
  41186. if (!t3)
  41187. break;
  41188. ++index;
  41189. }
  41190. if (index === 1)
  41191. return false;
  41192. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  41193. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  41194. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  41195. return false;
  41196. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41197. return true;
  41198. },
  41199. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  41200. var t1, i, i0, _this = this,
  41201. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  41202. first = _this._grammar.findByAbbreviation$1(c);
  41203. if (first == null) {
  41204. t1 = _this._parser$_parent;
  41205. if (t1 == null)
  41206. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41207. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41208. return true;
  41209. } else if (first.type !== B.OptionType_nMZ)
  41210. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  41211. else {
  41212. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  41213. if (rest !== "")
  41214. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  41215. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  41216. i0 = i + 1;
  41217. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  41218. }
  41219. }
  41220. _this._args.removeFirst$0();
  41221. return true;
  41222. },
  41223. _parseShortFlag$1(c) {
  41224. var t1,
  41225. option = this._grammar.findByAbbreviation$1(c);
  41226. if (option == null) {
  41227. t1 = this._parser$_parent;
  41228. if (t1 == null)
  41229. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41230. t1._parseShortFlag$1(c);
  41231. return;
  41232. }
  41233. if (option.type !== B.OptionType_nMZ)
  41234. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  41235. this._results.$indexSet(0, option.name, true);
  41236. },
  41237. _parseLongOption$0() {
  41238. var index, t2, $name, t3, i, t4, t5, value,
  41239. t1 = this._args;
  41240. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  41241. return false;
  41242. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  41243. t2 = index === -1;
  41244. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  41245. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  41246. t4 = $name.charCodeAt(i);
  41247. if (!(t4 >= 65 && t4 <= 90))
  41248. if (!(t4 >= 97 && t4 <= 122))
  41249. t5 = t4 >= 48 && t4 <= 57;
  41250. else
  41251. t5 = true;
  41252. else
  41253. t5 = true;
  41254. if (!(t5 || t4 === 45 || t4 === 95))
  41255. return false;
  41256. }
  41257. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  41258. if (value != null)
  41259. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  41260. else
  41261. t1 = false;
  41262. if (t1)
  41263. return false;
  41264. this._handleLongOption$2($name, value);
  41265. return true;
  41266. },
  41267. _handleLongOption$2($name, value) {
  41268. var _this = this, _null = null,
  41269. _s32_ = 'Could not find an option named "',
  41270. t1 = _this._grammar,
  41271. option = t1.findByNameOrAlias$1($name);
  41272. if (option != null) {
  41273. _this._args.removeFirst$0();
  41274. if (option.type === B.OptionType_nMZ) {
  41275. if (value != null)
  41276. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  41277. _this._results.$indexSet(0, option.name, true);
  41278. } else if (value != null)
  41279. _this._setOption$3(_this._results, option, value);
  41280. else
  41281. _this._readNextArgAsValue$1(option);
  41282. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  41283. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  41284. if (option == null) {
  41285. t1 = _this._parser$_parent;
  41286. if (t1 == null)
  41287. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41288. t1._handleLongOption$2($name, value);
  41289. return true;
  41290. }
  41291. _this._args.removeFirst$0();
  41292. if (option.type !== B.OptionType_nMZ)
  41293. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  41294. if (!option.negatable)
  41295. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  41296. _this._results.$indexSet(0, option.name, false);
  41297. } else {
  41298. t1 = _this._parser$_parent;
  41299. if (t1 == null)
  41300. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41301. t1._handleLongOption$2($name, value);
  41302. return true;
  41303. }
  41304. return true;
  41305. },
  41306. _setOption$3(results, option, value) {
  41307. var list, t1, t2, t3, _i, element;
  41308. if (option.type !== B.OptionType_qyr) {
  41309. this._validateAllowed$2(option, value);
  41310. results.$indexSet(0, option.name, value);
  41311. return;
  41312. }
  41313. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  41314. if (option.splitCommas)
  41315. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  41316. element = t1[_i];
  41317. this._validateAllowed$2(option, element);
  41318. t3.add$1(list, element);
  41319. }
  41320. else {
  41321. this._validateAllowed$2(option, value);
  41322. J.add$1$ax(list, value);
  41323. }
  41324. },
  41325. _validateAllowed$2(option, value) {
  41326. var t1 = option.allowed;
  41327. if (t1 == null)
  41328. return;
  41329. if (!B.JSArray_methods.contains$1(t1, value))
  41330. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  41331. }
  41332. };
  41333. A.Parser_parse_closure.prototype = {
  41334. call$2($name, option) {
  41335. var parsedOption = this.$this._results.$index(0, $name),
  41336. callback = option.callback;
  41337. if (callback == null)
  41338. return;
  41339. callback.call$1(option.valueOrDefault$1(parsedOption));
  41340. },
  41341. $signature: 534
  41342. };
  41343. A.Parser__setOption_closure.prototype = {
  41344. call$0() {
  41345. return A._setArrayType([], type$.JSArray_String);
  41346. },
  41347. $signature: 115
  41348. };
  41349. A._Usage.prototype = {
  41350. get$_columnWidths() {
  41351. var result, _this = this,
  41352. value = _this.___Usage__columnWidths_FI;
  41353. if (value === $) {
  41354. result = _this._calculateColumnWidths$0();
  41355. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  41356. _this.___Usage__columnWidths_FI = result;
  41357. value = result;
  41358. }
  41359. return value;
  41360. },
  41361. generate$0() {
  41362. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  41363. 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) {
  41364. optionOrSeparator = t1[_i];
  41365. if (typeof optionOrSeparator == "string") {
  41366. t5 = t4._contents;
  41367. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  41368. _this._newlinesNeeded = 1;
  41369. continue;
  41370. }
  41371. t3._as(optionOrSeparator);
  41372. if (optionOrSeparator.hide)
  41373. continue;
  41374. _this._writeOption$1(optionOrSeparator);
  41375. }
  41376. t1 = t4._contents;
  41377. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41378. },
  41379. _writeOption$1(option) {
  41380. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  41381. t1 = option.abbr;
  41382. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  41383. t1 = _this._longOption$1(option);
  41384. _this._write$2(1, t1);
  41385. t1 = option.help;
  41386. if (t1 != null)
  41387. _this._write$2(2, t1);
  41388. t1 = option.allowedHelp;
  41389. if (t1 != null) {
  41390. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  41391. B.JSArray_methods.sort$0(allowedNames);
  41392. _this._newline$0();
  41393. 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) {
  41394. $name = allowedNames[_i];
  41395. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  41396. _this._write$2(1, " [" + $name + "]" + t5);
  41397. t5 = t1.$index(0, $name);
  41398. t5.toString;
  41399. _this._write$2(2, t5);
  41400. }
  41401. _this._newline$0();
  41402. } else if (option.allowed != null)
  41403. _this._write$2(2, _this._buildAllowedList$1(option));
  41404. else {
  41405. t1 = option.type;
  41406. if (t1 === B.OptionType_nMZ) {
  41407. if (option.defaultsTo === true)
  41408. _this._write$2(2, "(defaults to on)");
  41409. } else if (t1 === B.OptionType_qyr) {
  41410. t1 = option.defaultsTo;
  41411. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  41412. type$.List_dynamic._as(t1);
  41413. _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, ", ") + ")");
  41414. }
  41415. } else {
  41416. t1 = option.defaultsTo;
  41417. if (t1 != null)
  41418. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  41419. }
  41420. }
  41421. },
  41422. _longOption$1(option) {
  41423. var t1 = option.name,
  41424. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  41425. t1 = option.valueHelp;
  41426. return t1 != null ? result + ("=<" + t1 + ">") : result;
  41427. },
  41428. _calculateColumnWidths$0() {
  41429. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  41430. 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) {
  41431. option = t1[_i];
  41432. if (!(option instanceof A.Option))
  41433. continue;
  41434. if (option.hide)
  41435. continue;
  41436. t4 = option.abbr;
  41437. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  41438. t4 = this._longOption$1(option);
  41439. title = Math.max(title, t4.length);
  41440. t4 = option.allowedHelp;
  41441. if (t4 != null)
  41442. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  41443. t7 = t4.get$current(t4);
  41444. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  41445. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  41446. }
  41447. }
  41448. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  41449. },
  41450. _newline$0() {
  41451. ++this._newlinesNeeded;
  41452. this._currentColumn = 0;
  41453. },
  41454. _write$2(column, text) {
  41455. var t1, _i,
  41456. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  41457. this.get$_columnWidths();
  41458. while (true) {
  41459. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  41460. break;
  41461. B.JSArray_methods.removeAt$1(lines, 0);
  41462. }
  41463. while (true) {
  41464. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  41465. break;
  41466. lines.pop();
  41467. }
  41468. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  41469. this._writeLine$2(column, lines[_i]);
  41470. },
  41471. _writeLine$2(column, text) {
  41472. var t1, t2, _this = this;
  41473. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  41474. t1._contents += "\n";
  41475. _this._newlinesNeeded = t2 - 1;
  41476. }
  41477. for (; t2 = _this._currentColumn, t2 !== column;) {
  41478. if (t2 < 2)
  41479. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  41480. else
  41481. t1._contents += "\n";
  41482. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41483. }
  41484. _this.get$_columnWidths();
  41485. if (column < 2)
  41486. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  41487. else
  41488. t1._contents += text;
  41489. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41490. if (column === 2)
  41491. ++_this._newlinesNeeded;
  41492. },
  41493. _buildAllowedList$1(option) {
  41494. var t2, t3, first, _i, allowed,
  41495. t1 = option.defaultsTo,
  41496. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  41497. t1 = "" + "[";
  41498. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  41499. allowed = t2[_i];
  41500. if (!first)
  41501. t1 += ", ";
  41502. t1 += A.S(allowed);
  41503. if (isDefault.call$1(allowed))
  41504. t1 += " (default)";
  41505. }
  41506. t1 += "]";
  41507. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41508. }
  41509. };
  41510. A._Usage__writeOption_closure.prototype = {
  41511. call$1(value) {
  41512. return '"' + A.S(value) + '"';
  41513. },
  41514. $signature: 116
  41515. };
  41516. A._Usage__buildAllowedList_closure.prototype = {
  41517. call$1(value) {
  41518. return value === this.option.defaultsTo;
  41519. },
  41520. $signature: 134
  41521. };
  41522. A.FutureGroup.prototype = {
  41523. add$1(_, task) {
  41524. var t1, index, _this = this;
  41525. if (_this._future_group$_closed)
  41526. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  41527. t1 = _this._future_group$_values;
  41528. index = t1.length;
  41529. t1.push(null);
  41530. ++_this._future_group$_pending;
  41531. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  41532. },
  41533. close$0(_) {
  41534. var t1, t2, _this = this;
  41535. _this._future_group$_closed = true;
  41536. if (_this._future_group$_pending !== 0)
  41537. return;
  41538. t1 = _this._future_group$_completer;
  41539. if ((t1.future._state & 30) !== 0)
  41540. return;
  41541. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  41542. t1.complete$1(A.List_List$of(new A.WhereTypeIterable(_this._future_group$_values, t2), true, t2._eval$1("Iterable.E")));
  41543. }
  41544. };
  41545. A.FutureGroup_add_closure.prototype = {
  41546. call$1(value) {
  41547. var t3, t4,
  41548. t1 = this.$this,
  41549. t2 = t1._future_group$_completer;
  41550. if ((t2.future._state & 30) !== 0)
  41551. return null;
  41552. t3 = --t1._future_group$_pending;
  41553. t4 = t1._future_group$_values;
  41554. t4[this.index] = value;
  41555. if (t3 !== 0)
  41556. return null;
  41557. if (!t1._future_group$_closed)
  41558. return null;
  41559. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  41560. t2.complete$1(A.List_List$of(new A.WhereTypeIterable(t4, t1), true, t1._eval$1("Iterable.E")));
  41561. },
  41562. $signature() {
  41563. return this.$this.$ti._eval$1("Null(1)");
  41564. }
  41565. };
  41566. A.FutureGroup_add_closure0.prototype = {
  41567. call$2(error, stackTrace) {
  41568. var t1 = this.$this._future_group$_completer;
  41569. if ((t1.future._state & 30) !== 0)
  41570. return null;
  41571. t1.completeError$2(error, stackTrace);
  41572. },
  41573. $signature: 53
  41574. };
  41575. A.ErrorResult.prototype = {
  41576. complete$1(completer) {
  41577. completer.completeError$2(this.error, this.stackTrace);
  41578. },
  41579. get$hashCode(_) {
  41580. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  41581. },
  41582. $eq(_, other) {
  41583. if (other == null)
  41584. return false;
  41585. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  41586. },
  41587. $isResult: 1
  41588. };
  41589. A.ValueResult.prototype = {
  41590. complete$1(completer) {
  41591. completer.complete$1(this.value);
  41592. },
  41593. get$hashCode(_) {
  41594. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  41595. },
  41596. $eq(_, other) {
  41597. if (other == null)
  41598. return false;
  41599. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  41600. },
  41601. $isResult: 1
  41602. };
  41603. A.StreamCompleter.prototype = {
  41604. setSourceStream$1(sourceStream) {
  41605. var t1 = this._stream_completer$_stream;
  41606. if (t1._sourceStream != null)
  41607. throw A.wrapException(A.StateError$("Source stream already set"));
  41608. t1._sourceStream = sourceStream;
  41609. if (t1._stream_completer$_controller != null)
  41610. t1._linkStreamToController$0();
  41611. },
  41612. setError$2(error, stackTrace) {
  41613. var t1 = this.$ti._precomputed1;
  41614. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  41615. },
  41616. setError$1(error) {
  41617. return this.setError$2(error, null);
  41618. }
  41619. };
  41620. A._CompleterStream.prototype = {
  41621. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  41622. var sourceStream, t1, _this = this, _null = null;
  41623. if (_this._stream_completer$_controller == null) {
  41624. sourceStream = _this._sourceStream;
  41625. if (sourceStream != null && !sourceStream.get$isBroadcast())
  41626. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41627. if (_this._stream_completer$_controller == null)
  41628. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  41629. if (_this._sourceStream != null)
  41630. _this._linkStreamToController$0();
  41631. }
  41632. t1 = _this._stream_completer$_controller;
  41633. t1.toString;
  41634. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41635. },
  41636. listen$1(_, onData) {
  41637. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  41638. },
  41639. listen$3$onDone$onError(_, onData, onDone, onError) {
  41640. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  41641. },
  41642. _linkStreamToController$0() {
  41643. var t2,
  41644. t1 = this._stream_completer$_controller;
  41645. t1.toString;
  41646. t2 = this._sourceStream;
  41647. t2.toString;
  41648. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  41649. }
  41650. };
  41651. A.StreamGroup.prototype = {
  41652. add$1(_, stream) {
  41653. var t1, _this = this;
  41654. if (_this._closed)
  41655. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  41656. t1 = _this._stream_group$_state;
  41657. if (t1 === B._StreamGroupState_dormant)
  41658. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  41659. else if (t1 === B._StreamGroupState_canceled)
  41660. return stream.listen$1(0, null).cancel$0();
  41661. else
  41662. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  41663. return null;
  41664. },
  41665. remove$1(_, stream) {
  41666. var t1 = this._subscriptions,
  41667. subscription = t1.remove$1(0, stream),
  41668. future = subscription == null ? null : subscription.cancel$0();
  41669. if (t1.__js_helper$_length === 0)
  41670. if (this._closed) {
  41671. t1 = this.__StreamGroup__controller_A;
  41672. t1 === $ && A.throwUnnamedLateFieldNI();
  41673. A.scheduleMicrotask(t1.get$close(t1));
  41674. }
  41675. return future;
  41676. },
  41677. _onListen$0() {
  41678. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  41679. _this._stream_group$_state = B._StreamGroupState_listening;
  41680. for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(0), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  41681. entry = t2[_i];
  41682. if (entry.value != null)
  41683. continue;
  41684. stream = entry.key;
  41685. try {
  41686. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  41687. } catch (exception) {
  41688. t1 = _this._onCancel$0();
  41689. if (t1 != null)
  41690. t1.catchError$1(new A.StreamGroup__onListen_closure());
  41691. throw exception;
  41692. }
  41693. }
  41694. },
  41695. _onPause$0() {
  41696. var t1, t2, t3;
  41697. this._stream_group$_state = B._StreamGroupState_paused;
  41698. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  41699. t3 = t1.__internal$_current;
  41700. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  41701. }
  41702. },
  41703. _onResume$0() {
  41704. var t1, t2, t3;
  41705. this._stream_group$_state = B._StreamGroupState_listening;
  41706. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  41707. t3 = t1.__internal$_current;
  41708. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  41709. }
  41710. },
  41711. _onCancel$0() {
  41712. var t1, t2, futures;
  41713. this._stream_group$_state = B._StreamGroupState_canceled;
  41714. t1 = this._subscriptions;
  41715. t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(0).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
  41716. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  41717. t1.clear$0(0);
  41718. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  41719. },
  41720. _listenToStream$1(stream) {
  41721. var subscription,
  41722. t1 = this.__StreamGroup__controller_A;
  41723. t1 === $ && A.throwUnnamedLateFieldNI();
  41724. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  41725. if (this._stream_group$_state === B._StreamGroupState_paused)
  41726. subscription.pause$0(0);
  41727. return subscription;
  41728. }
  41729. };
  41730. A.StreamGroup_add_closure.prototype = {
  41731. call$0() {
  41732. return null;
  41733. },
  41734. $signature: 1
  41735. };
  41736. A.StreamGroup_add_closure0.prototype = {
  41737. call$0() {
  41738. return this.$this._listenToStream$1(this.stream);
  41739. },
  41740. $signature() {
  41741. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  41742. }
  41743. };
  41744. A.StreamGroup__onListen_closure.prototype = {
  41745. call$1(_) {
  41746. },
  41747. $signature: 54
  41748. };
  41749. A.StreamGroup__onCancel_closure.prototype = {
  41750. call$1(entry) {
  41751. var t1, exception,
  41752. subscription = entry.value;
  41753. try {
  41754. if (subscription != null) {
  41755. t1 = subscription.cancel$0();
  41756. return t1;
  41757. }
  41758. t1 = J.listen$1$z(entry.key, null).cancel$0();
  41759. return t1;
  41760. } catch (exception) {
  41761. return null;
  41762. }
  41763. },
  41764. $signature() {
  41765. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  41766. }
  41767. };
  41768. A.StreamGroup__listenToStream_closure.prototype = {
  41769. call$0() {
  41770. return this.$this.remove$1(0, this.stream);
  41771. },
  41772. $signature: 0
  41773. };
  41774. A._StreamGroupState.prototype = {
  41775. toString$0(_) {
  41776. return this.name;
  41777. }
  41778. };
  41779. A.StreamQueue.prototype = {
  41780. _updateRequests$0() {
  41781. var t1, t2, t3, t4, _this = this;
  41782. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  41783. t4 = t1._head;
  41784. if (t4 === t1._tail)
  41785. A.throwExpression(A.IterableElementError_noElement());
  41786. t4 = t1._table[t4];
  41787. if (t4 == null)
  41788. t4 = t3._as(t4);
  41789. if (t4.update$2(t2, _this._isDone))
  41790. t1.removeFirst$0();
  41791. else
  41792. return;
  41793. }
  41794. if (!_this._isDone)
  41795. _this._stream_queue$_subscription.pause$0(0);
  41796. },
  41797. _ensureListening$0() {
  41798. var t1, _this = this;
  41799. if (_this._isDone)
  41800. return;
  41801. t1 = _this._stream_queue$_subscription;
  41802. if (t1 == null)
  41803. _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));
  41804. else
  41805. t1.resume$0(0);
  41806. },
  41807. _addResult$1(result) {
  41808. ++this._eventsReceived;
  41809. this._eventQueue._queue_list$_add$1(result);
  41810. this._updateRequests$0();
  41811. },
  41812. _addRequest$1(request) {
  41813. var _this = this,
  41814. t1 = _this._requestQueue;
  41815. if (t1._head === t1._tail) {
  41816. if (request.update$2(_this._eventQueue, _this._isDone))
  41817. return;
  41818. _this._ensureListening$0();
  41819. }
  41820. t1._add$1(request);
  41821. }
  41822. };
  41823. A.StreamQueue__ensureListening_closure.prototype = {
  41824. call$1(data) {
  41825. var t1 = this.$this;
  41826. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  41827. },
  41828. $signature() {
  41829. return this.$this.$ti._eval$1("~(1)");
  41830. }
  41831. };
  41832. A.StreamQueue__ensureListening_closure1.prototype = {
  41833. call$2(error, stackTrace) {
  41834. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  41835. },
  41836. $signature: 53
  41837. };
  41838. A.StreamQueue__ensureListening_closure0.prototype = {
  41839. call$0() {
  41840. var t1 = this.$this;
  41841. t1._stream_queue$_subscription = null;
  41842. t1._isDone = true;
  41843. t1._updateRequests$0();
  41844. },
  41845. $signature: 0
  41846. };
  41847. A._NextRequest.prototype = {
  41848. update$2(events, isDone) {
  41849. if (!events.get$isEmpty(events)) {
  41850. events.removeFirst$0().complete$1(this._completer);
  41851. return true;
  41852. }
  41853. if (isDone) {
  41854. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  41855. return true;
  41856. }
  41857. return false;
  41858. },
  41859. $is_EventRequest: 1
  41860. };
  41861. A._isStrictMode_closure.prototype = {
  41862. call$0() {
  41863. var exception;
  41864. try {
  41865. "".name = null;
  41866. return false;
  41867. } catch (exception) {
  41868. return true;
  41869. }
  41870. },
  41871. $signature: 26
  41872. };
  41873. A.Repl.prototype = {};
  41874. A.alwaysValid_closure.prototype = {
  41875. call$1(text) {
  41876. return true;
  41877. },
  41878. $signature: 4
  41879. };
  41880. A.ReplAdapter.prototype = {
  41881. runAsync$0() {
  41882. var rl, runController, _this = this, t1 = {},
  41883. t2 = J.get$isTTY$x(self.process.stdin),
  41884. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  41885. t2 = _this.repl.prompt;
  41886. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  41887. _this.rl = rl;
  41888. t1.statement = "";
  41889. t1.prompt = t2;
  41890. runController = A._Cell$();
  41891. runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  41892. return runController._readLocal$0().get$stream();
  41893. },
  41894. exit$0(_) {
  41895. var t1 = this.rl;
  41896. if (t1 != null)
  41897. J.close$0$x(t1);
  41898. this.rl = null;
  41899. }
  41900. };
  41901. A.ReplAdapter_runAsync_closure.prototype = {
  41902. call$0() {
  41903. var $async$goto = 0,
  41904. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  41905. $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;
  41906. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41907. if ($async$errorCode === 1) {
  41908. $async$currentError = $async$result;
  41909. $async$goto = $async$handler;
  41910. }
  41911. while (true)
  41912. switch ($async$goto) {
  41913. case 0:
  41914. // Function start
  41915. $async$handler = 3;
  41916. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  41917. t1 = lineController;
  41918. t2 = A.QueueList$(null, type$.Result_String);
  41919. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  41920. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  41921. t1 = $async$self.rl;
  41922. t2 = J.getInterceptor$x(t1);
  41923. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  41924. 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;
  41925. case 6:
  41926. // for condition
  41927. // trivial condition
  41928. t7 = J.get$isTTY$x(self.process.stdin);
  41929. if (t7 == null ? false : t7)
  41930. J.write$1$x(self.process.stdout, t3.prompt);
  41931. t7 = lineQueue;
  41932. t8 = A.instanceType(t7);
  41933. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  41934. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  41935. $async$goto = 8;
  41936. return A._asyncAwait(t9, $async$call$0);
  41937. case 8:
  41938. // returning from await.
  41939. line = $async$result;
  41940. t7 = J.get$isTTY$x(self.process.stdin);
  41941. if (!(t7 == null ? false : t7)) {
  41942. line0 = t3.prompt + A.S(line);
  41943. toZone = $.printToZone;
  41944. if (toZone == null)
  41945. A.printString(line0);
  41946. else
  41947. toZone.call$1(line0);
  41948. }
  41949. statement = B.JSString_methods.$add(t3.statement, line);
  41950. t3.statement = statement;
  41951. if (t4.validator.call$1(statement)) {
  41952. t7 = t5._value;
  41953. if (t7 === t5)
  41954. A.throwExpression(A.LateError$localNI(t6));
  41955. J.add$1$ax(t7, t3.statement);
  41956. t3.statement = "";
  41957. t3.prompt = prompt0;
  41958. t2.setPrompt$1(t1, prompt0);
  41959. } else {
  41960. t3.statement += "\n";
  41961. t3.prompt = $prompt;
  41962. t2.setPrompt$1(t1, $prompt);
  41963. }
  41964. // goto for condition
  41965. $async$goto = 6;
  41966. break;
  41967. case 7:
  41968. // after for
  41969. $async$handler = 1;
  41970. // goto after finally
  41971. $async$goto = 5;
  41972. break;
  41973. case 3:
  41974. // catch
  41975. $async$handler = 2;
  41976. $async$exception = $async$currentError;
  41977. error = A.unwrapException($async$exception);
  41978. stackTrace = A.getTraceFromException($async$exception);
  41979. t1 = $async$self.runController;
  41980. t1._readLocal$0().addError$2(error, stackTrace);
  41981. t2 = $async$self.$this.exit$0(0);
  41982. t2 = A._Future$value(t2, type$.void);
  41983. $async$goto = 9;
  41984. return A._asyncAwait(t2, $async$call$0);
  41985. case 9:
  41986. // returning from await.
  41987. J.close$0$x(t1._readLocal$0());
  41988. // goto after finally
  41989. $async$goto = 5;
  41990. break;
  41991. case 2:
  41992. // uncaught
  41993. // goto rethrow
  41994. $async$goto = 1;
  41995. break;
  41996. case 5:
  41997. // after finally
  41998. // implicit return
  41999. return A._asyncReturn(null, $async$completer);
  42000. case 1:
  42001. // rethrow
  42002. return A._asyncRethrow($async$currentError, $async$completer);
  42003. }
  42004. });
  42005. return A._asyncStartSync($async$call$0, $async$completer);
  42006. },
  42007. $signature: 24
  42008. };
  42009. A.ReplAdapter_runAsync__closure.prototype = {
  42010. call$1(value) {
  42011. return this.lineController.add$1(0, A._asString(value));
  42012. },
  42013. $signature: 76
  42014. };
  42015. A.Stdin.prototype = {};
  42016. A.Stdout.prototype = {};
  42017. A.ReadlineModule.prototype = {};
  42018. A.ReadlineOptions.prototype = {};
  42019. A.ReadlineInterface.prototype = {};
  42020. A.EmptyUnmodifiableSet.prototype = {
  42021. get$iterator(_) {
  42022. return B.C_EmptyIterator;
  42023. },
  42024. get$length(_) {
  42025. return 0;
  42026. },
  42027. contains$1(_, element) {
  42028. return false;
  42029. },
  42030. toSet$0(_) {
  42031. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  42032. },
  42033. $isEfficientLengthIterable: 1,
  42034. $isSet: 1
  42035. };
  42036. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  42037. A.DefaultEquality.prototype = {};
  42038. A.IterableEquality.prototype = {
  42039. equals$2(_, elements1, elements2) {
  42040. var it1, it2, hasNext;
  42041. if (elements1 === elements2)
  42042. return true;
  42043. it1 = J.get$iterator$ax(elements1);
  42044. it2 = J.get$iterator$ax(elements2);
  42045. for (; true;) {
  42046. hasNext = it1.moveNext$0();
  42047. if (hasNext !== it2.moveNext$0())
  42048. return false;
  42049. if (!hasNext)
  42050. return true;
  42051. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  42052. return false;
  42053. }
  42054. },
  42055. hash$1(elements) {
  42056. var t1, hash, _i;
  42057. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  42058. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  42059. hash = hash + (hash << 10 >>> 0) & 2147483647;
  42060. hash ^= hash >>> 6;
  42061. }
  42062. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42063. hash ^= hash >>> 11;
  42064. return hash + (hash << 15 >>> 0) & 2147483647;
  42065. }
  42066. };
  42067. A.ListEquality.prototype = {
  42068. equals$2(_, list1, list2) {
  42069. var t1, $length, t2, i;
  42070. if (list1 == null ? list2 == null : list1 === list2)
  42071. return true;
  42072. if (list1 == null || list2 == null)
  42073. return false;
  42074. t1 = J.getInterceptor$asx(list1);
  42075. $length = t1.get$length(list1);
  42076. t2 = J.getInterceptor$asx(list2);
  42077. if ($length !== t2.get$length(list2))
  42078. return false;
  42079. for (i = 0; i < $length; ++i)
  42080. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  42081. return false;
  42082. return true;
  42083. },
  42084. hash$1(list) {
  42085. var hash, i;
  42086. for (hash = 0, i = 0; i < list.length; ++i) {
  42087. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  42088. hash = hash + (hash << 10 >>> 0) & 2147483647;
  42089. hash ^= hash >>> 6;
  42090. }
  42091. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42092. hash ^= hash >>> 11;
  42093. return hash + (hash << 15 >>> 0) & 2147483647;
  42094. }
  42095. };
  42096. A._MapEntry.prototype = {
  42097. get$hashCode(_) {
  42098. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  42099. },
  42100. $eq(_, other) {
  42101. if (other == null)
  42102. return false;
  42103. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  42104. }
  42105. };
  42106. A.MapEquality.prototype = {
  42107. equals$2(_, map1, map2) {
  42108. var equalElementCounts, t1, key, entry, count;
  42109. if (map1 === map2)
  42110. return true;
  42111. if (map1.get$length(map1) !== map2.get$length(map2))
  42112. return false;
  42113. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  42114. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  42115. key = t1.get$current(t1);
  42116. entry = new A._MapEntry(this, key, map1.$index(0, key));
  42117. count = equalElementCounts.$index(0, entry);
  42118. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  42119. }
  42120. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  42121. key = t1.get$current(t1);
  42122. entry = new A._MapEntry(this, key, map2.$index(0, key));
  42123. count = equalElementCounts.$index(0, entry);
  42124. if (count == null || count === 0)
  42125. return false;
  42126. equalElementCounts.$indexSet(0, entry, count - 1);
  42127. }
  42128. return true;
  42129. },
  42130. hash$1(map) {
  42131. var t1, t2, hash, key, keyHash, t3;
  42132. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  42133. key = t1.get$current(t1);
  42134. keyHash = J.get$hashCode$(key);
  42135. t3 = map.$index(0, key);
  42136. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  42137. }
  42138. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42139. hash ^= hash >>> 11;
  42140. return hash + (hash << 15 >>> 0) & 2147483647;
  42141. }
  42142. };
  42143. A.QueueList.prototype = {
  42144. add$1(_, element) {
  42145. this._queue_list$_add$1(element);
  42146. },
  42147. addAll$1(_, iterable) {
  42148. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  42149. if (type$.List_dynamic._is(iterable)) {
  42150. addCount = J.get$length$asx(iterable);
  42151. $length = _this.get$length(0);
  42152. t1 = $length + addCount;
  42153. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  42154. _this._preGrow$1(t1);
  42155. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  42156. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42157. } else {
  42158. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  42159. t1 = _this._queue_list$_table;
  42160. t2 = J.getInterceptor$ax(t1);
  42161. if (addCount < endSpace) {
  42162. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  42163. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42164. } else {
  42165. preSpace = addCount - endSpace;
  42166. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  42167. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  42168. _this.set$_queue_list$_tail(preSpace);
  42169. }
  42170. }
  42171. } else
  42172. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  42173. _this._queue_list$_add$1(t1.get$current(t1));
  42174. },
  42175. cast$1$0(_, $T) {
  42176. 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>"));
  42177. },
  42178. toString$0(_) {
  42179. return A.Iterable_iterableToFullString(this, "{", "}");
  42180. },
  42181. addFirst$1(element) {
  42182. var _this = this;
  42183. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42184. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  42185. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42186. _this._queue_list$_grow$0();
  42187. },
  42188. removeFirst$0() {
  42189. var result, _this = this;
  42190. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42191. throw A.wrapException(A.StateError$("No element"));
  42192. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  42193. if (result == null)
  42194. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42195. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  42196. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42197. return result;
  42198. },
  42199. removeLast$0(_) {
  42200. var result, _this = this;
  42201. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42202. throw A.wrapException(A.StateError$("No element"));
  42203. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42204. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  42205. if (result == null)
  42206. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42207. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  42208. return result;
  42209. },
  42210. get$length(_) {
  42211. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  42212. },
  42213. set$length(_, value) {
  42214. var delta, newTail, t1, t2, _this = this;
  42215. if (value < 0)
  42216. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  42217. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  42218. 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) + "`."));
  42219. delta = value - _this.get$length(0);
  42220. if (delta >= 0) {
  42221. if (J.get$length$asx(_this._queue_list$_table) <= value)
  42222. _this._preGrow$1(value);
  42223. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42224. return;
  42225. }
  42226. newTail = _this.get$_queue_list$_tail() + delta;
  42227. t1 = _this._queue_list$_table;
  42228. if (newTail >= 0)
  42229. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  42230. else {
  42231. newTail += J.get$length$asx(t1);
  42232. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  42233. t1 = _this._queue_list$_table;
  42234. t2 = J.getInterceptor$asx(t1);
  42235. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  42236. }
  42237. _this.set$_queue_list$_tail(newTail);
  42238. },
  42239. $index(_, index) {
  42240. var t1, _this = this;
  42241. if (index < 0 || index >= _this.get$length(0))
  42242. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42243. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42244. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  42245. },
  42246. $indexSet(_, index, value) {
  42247. var _this = this;
  42248. if (index < 0 || index >= _this.get$length(0))
  42249. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42250. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  42251. },
  42252. _queue_list$_add$1(element) {
  42253. var _this = this;
  42254. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  42255. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42256. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42257. _this._queue_list$_grow$0();
  42258. },
  42259. _queue_list$_grow$0() {
  42260. var _this = this,
  42261. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  42262. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42263. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  42264. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  42265. _this.set$_queue_list$_head(0);
  42266. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  42267. _this._queue_list$_table = newTable;
  42268. },
  42269. _writeToList$1(target) {
  42270. var $length, firstPartSize, _this = this;
  42271. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  42272. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  42273. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  42274. return $length;
  42275. } else {
  42276. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42277. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  42278. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  42279. return _this.get$_queue_list$_tail() + firstPartSize;
  42280. }
  42281. },
  42282. _preGrow$1(newElementCount) {
  42283. var _this = this,
  42284. 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?"));
  42285. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  42286. _this._queue_list$_table = newTable;
  42287. _this.set$_queue_list$_head(0);
  42288. },
  42289. $isEfficientLengthIterable: 1,
  42290. $isQueue: 1,
  42291. $isIterable: 1,
  42292. $isList: 1,
  42293. get$_queue_list$_head() {
  42294. return this._queue_list$_head;
  42295. },
  42296. get$_queue_list$_tail() {
  42297. return this._queue_list$_tail;
  42298. },
  42299. set$_queue_list$_head(val) {
  42300. return this._queue_list$_head = val;
  42301. },
  42302. set$_queue_list$_tail(val) {
  42303. return this._queue_list$_tail = val;
  42304. }
  42305. };
  42306. A._CastQueueList.prototype = {
  42307. get$_queue_list$_head() {
  42308. return this._queue_list$_delegate.get$_queue_list$_head();
  42309. },
  42310. set$_queue_list$_head(value) {
  42311. this._queue_list$_delegate.set$_queue_list$_head(value);
  42312. },
  42313. get$_queue_list$_tail() {
  42314. return this._queue_list$_delegate.get$_queue_list$_tail();
  42315. },
  42316. set$_queue_list$_tail(value) {
  42317. this._queue_list$_delegate.set$_queue_list$_tail(value);
  42318. }
  42319. };
  42320. A._QueueList_Object_ListMixin.prototype = {};
  42321. A.UnionSet.prototype = {
  42322. get$length(_) {
  42323. var t1 = this.get$_union_set$_iterable().get$length(0);
  42324. return t1;
  42325. },
  42326. get$iterator(_) {
  42327. var t1 = this.get$_union_set$_iterable();
  42328. return t1.get$iterator(t1);
  42329. },
  42330. get$_union_set$_iterable() {
  42331. var t1 = this._sets,
  42332. t2 = this.$ti._precomputed1,
  42333. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  42334. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  42335. 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>"));
  42336. },
  42337. contains$1(_, element) {
  42338. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  42339. },
  42340. toSet$0(_) {
  42341. var t2, t3, t4,
  42342. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  42343. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  42344. t4 = t2._collection$_current;
  42345. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  42346. }
  42347. return t1;
  42348. }
  42349. };
  42350. A.UnionSet__iterable_closure.prototype = {
  42351. call$1(set) {
  42352. return set;
  42353. },
  42354. $signature() {
  42355. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  42356. }
  42357. };
  42358. A.UnionSet_contains_closure.prototype = {
  42359. call$1(set) {
  42360. return set.contains$1(0, this.element);
  42361. },
  42362. $signature() {
  42363. return this.$this.$ti._eval$1("bool(Set<1>)");
  42364. }
  42365. };
  42366. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  42367. A.UnmodifiableSetView0.prototype = {};
  42368. A.UnmodifiableSetMixin.prototype = {
  42369. add$1(_, value) {
  42370. return A.UnmodifiableSetMixin__throw();
  42371. },
  42372. addAll$1(_, elements) {
  42373. return A.UnmodifiableSetMixin__throw();
  42374. },
  42375. remove$1(_, value) {
  42376. return A.UnmodifiableSetMixin__throw();
  42377. }
  42378. };
  42379. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  42380. A._DelegatingIterableBase.prototype = {
  42381. any$1(_, test) {
  42382. return J.any$1$ax(this.get$_base(), test);
  42383. },
  42384. contains$1(_, element) {
  42385. return J.contains$1$asx(this.get$_base(), element);
  42386. },
  42387. elementAt$1(_, index) {
  42388. return J.elementAt$1$ax(this.get$_base(), index);
  42389. },
  42390. every$1(_, test) {
  42391. return J.every$1$ax(this.get$_base(), test);
  42392. },
  42393. get$first(_) {
  42394. return J.get$first$ax(this.get$_base());
  42395. },
  42396. get$isEmpty(_) {
  42397. return J.get$isEmpty$asx(this.get$_base());
  42398. },
  42399. get$isNotEmpty(_) {
  42400. return J.get$isNotEmpty$asx(this.get$_base());
  42401. },
  42402. get$iterator(_) {
  42403. return J.get$iterator$ax(this.get$_base());
  42404. },
  42405. get$last(_) {
  42406. return J.get$last$ax(this.get$_base());
  42407. },
  42408. get$length(_) {
  42409. return J.get$length$asx(this.get$_base());
  42410. },
  42411. map$1$1(_, f, $T) {
  42412. return J.map$1$1$ax(this.get$_base(), f, $T);
  42413. },
  42414. get$single(_) {
  42415. return J.get$single$ax(this.get$_base());
  42416. },
  42417. skip$1(_, n) {
  42418. return J.skip$1$ax(this.get$_base(), n);
  42419. },
  42420. take$1(_, n) {
  42421. return J.take$1$ax(this.get$_base(), n);
  42422. },
  42423. toList$1$growable(_, growable) {
  42424. return J.toList$1$growable$ax(this.get$_base(), true);
  42425. },
  42426. toList$0(_) {
  42427. return this.toList$1$growable(0, true);
  42428. },
  42429. toSet$0(_) {
  42430. return J.toSet$0$ax(this.get$_base());
  42431. },
  42432. where$1(_, test) {
  42433. return J.where$1$ax(this.get$_base(), test);
  42434. },
  42435. toString$0(_) {
  42436. return J.toString$0$(this.get$_base());
  42437. },
  42438. $isIterable: 1
  42439. };
  42440. A.DelegatingSet.prototype = {
  42441. add$1(_, value) {
  42442. return this._base.add$1(0, value);
  42443. },
  42444. addAll$1(_, elements) {
  42445. this._base.addAll$1(0, elements);
  42446. },
  42447. toSet$0(_) {
  42448. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  42449. },
  42450. $isEfficientLengthIterable: 1,
  42451. $isSet: 1,
  42452. get$_base() {
  42453. return this._base;
  42454. }
  42455. };
  42456. A.MapKeySet.prototype = {
  42457. get$_base() {
  42458. var t1 = this._baseMap;
  42459. return t1.get$keys(t1);
  42460. },
  42461. contains$1(_, element) {
  42462. return this._baseMap.containsKey$1(element);
  42463. },
  42464. get$isEmpty(_) {
  42465. var t1 = this._baseMap;
  42466. return t1.get$isEmpty(t1);
  42467. },
  42468. get$isNotEmpty(_) {
  42469. var t1 = this._baseMap;
  42470. return t1.get$isNotEmpty(t1);
  42471. },
  42472. get$length(_) {
  42473. var t1 = this._baseMap;
  42474. return t1.get$length(t1);
  42475. },
  42476. toString$0(_) {
  42477. return A.Iterable_iterableToFullString(this, "{", "}");
  42478. },
  42479. difference$1(other) {
  42480. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  42481. },
  42482. $isEfficientLengthIterable: 1,
  42483. $isSet: 1
  42484. };
  42485. A.MapKeySet_difference_closure.prototype = {
  42486. call$1(element) {
  42487. return !this.other._source.contains$1(0, element);
  42488. },
  42489. $signature() {
  42490. return this.$this.$ti._eval$1("bool(1)");
  42491. }
  42492. };
  42493. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  42494. A.BufferModule.prototype = {};
  42495. A.BufferConstants.prototype = {};
  42496. A.Buffer.prototype = {};
  42497. A.ConsoleModule.prototype = {};
  42498. A.Console.prototype = {};
  42499. A.EventEmitter.prototype = {};
  42500. A.FS.prototype = {};
  42501. A.FSConstants.prototype = {};
  42502. A.FSWatcher.prototype = {};
  42503. A.ReadStream.prototype = {};
  42504. A.ReadStreamOptions.prototype = {};
  42505. A.WriteStream.prototype = {};
  42506. A.WriteStreamOptions.prototype = {};
  42507. A.FileOptions.prototype = {};
  42508. A.StatOptions.prototype = {};
  42509. A.MkdirOptions.prototype = {};
  42510. A.RmdirOptions.prototype = {};
  42511. A.WatchOptions.prototype = {};
  42512. A.WatchFileOptions.prototype = {};
  42513. A.Stats.prototype = {};
  42514. A.Promise.prototype = {};
  42515. A.Date.prototype = {};
  42516. A.JsError.prototype = {};
  42517. A.Atomics.prototype = {};
  42518. A.Modules.prototype = {};
  42519. A.Module.prototype = {};
  42520. A.Net.prototype = {};
  42521. A.Socket.prototype = {};
  42522. A.NetAddress.prototype = {};
  42523. A.NetServer.prototype = {};
  42524. A.NodeJsError.prototype = {};
  42525. A.JsAssertionError.prototype = {};
  42526. A.JsRangeError.prototype = {};
  42527. A.JsReferenceError.prototype = {};
  42528. A.JsSyntaxError.prototype = {};
  42529. A.JsTypeError.prototype = {};
  42530. A.JsSystemError.prototype = {};
  42531. A.Process.prototype = {};
  42532. A.CPUUsage.prototype = {};
  42533. A.Release.prototype = {};
  42534. A.StreamModule.prototype = {};
  42535. A.Readable.prototype = {};
  42536. A.Writable.prototype = {};
  42537. A.Duplex.prototype = {};
  42538. A.Transform.prototype = {};
  42539. A.WritableOptions.prototype = {};
  42540. A.ReadableOptions.prototype = {};
  42541. A.Immediate.prototype = {};
  42542. A.Timeout.prototype = {};
  42543. A.TTY.prototype = {};
  42544. A.TTYReadStream.prototype = {};
  42545. A.TTYWriteStream.prototype = {};
  42546. A.Util.prototype = {};
  42547. A.promiseToFuture_closure.prototype = {
  42548. call$1(value) {
  42549. this.completer.complete$1(value);
  42550. },
  42551. $signature: 54
  42552. };
  42553. A.promiseToFuture_closure0.prototype = {
  42554. call$1(error) {
  42555. this.completer.completeError$1(error);
  42556. },
  42557. $signature: 54
  42558. };
  42559. A.futureToPromise_closure.prototype = {
  42560. call$2(resolve, reject) {
  42561. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  42562. },
  42563. $signature: 532
  42564. };
  42565. A.futureToPromise__closure.prototype = {
  42566. call$1(result) {
  42567. return this.resolve.call$1(result);
  42568. },
  42569. $signature() {
  42570. return this.T._eval$1("@(0)");
  42571. }
  42572. };
  42573. A.Context.prototype = {
  42574. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  42575. var t1;
  42576. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  42577. if (part2 == null) {
  42578. t1 = this.style;
  42579. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  42580. } else
  42581. t1 = false;
  42582. if (t1)
  42583. return part1;
  42584. t1 = this._context$_current;
  42585. 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);
  42586. },
  42587. absolute$1(part1) {
  42588. var _null = null;
  42589. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42590. },
  42591. dirname$1(path) {
  42592. var t1, t2,
  42593. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42594. parsed.removeTrailingSeparators$0();
  42595. t1 = parsed.parts;
  42596. t2 = t1.length;
  42597. if (t2 === 0) {
  42598. t1 = parsed.root;
  42599. return t1 == null ? "." : t1;
  42600. }
  42601. if (t2 === 1) {
  42602. t1 = parsed.root;
  42603. return t1 == null ? "." : t1;
  42604. }
  42605. B.JSArray_methods.removeLast$0(t1);
  42606. parsed.separators.pop();
  42607. parsed.removeTrailingSeparators$0();
  42608. return parsed.toString$0(0);
  42609. },
  42610. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  42611. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  42612. A._validateArgList("join", parts);
  42613. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  42614. },
  42615. join$2(_, part1, part2) {
  42616. var _null = null;
  42617. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42618. },
  42619. joinAll$1(parts) {
  42620. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  42621. for (t1 = J.where$1$ax(parts, new A.Context_joinAll_closure()), t2 = J.get$iterator$ax(t1.__internal$_iterable), t1 = new A.WhereIterator(t2, t1._f), t3 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) {
  42622. t5 = t2.get$current(t2);
  42623. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  42624. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  42625. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  42626. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  42627. parsed.root = t4;
  42628. if (t3.needsSeparator$1(t4))
  42629. parsed.separators[0] = t3.get$separator(t3);
  42630. t4 = "" + parsed.toString$0(0);
  42631. } else if (t3.rootLength$1(t5) > 0) {
  42632. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  42633. t4 = "" + t5;
  42634. } else {
  42635. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  42636. if (needsSeparator)
  42637. t4 += t3.get$separator(t3);
  42638. t4 += t5;
  42639. }
  42640. needsSeparator = t3.needsSeparator$1(t5);
  42641. }
  42642. return t4.charCodeAt(0) == 0 ? t4 : t4;
  42643. },
  42644. split$1(_, path) {
  42645. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  42646. t1 = parsed.parts,
  42647. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  42648. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  42649. parsed.parts = t2;
  42650. t1 = parsed.root;
  42651. if (t1 != null)
  42652. B.JSArray_methods.insert$2(t2, 0, t1);
  42653. return parsed.parts;
  42654. },
  42655. canonicalize$1(_, path) {
  42656. var t1, parsed;
  42657. path = this.absolute$1(path);
  42658. t1 = this.style;
  42659. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  42660. return path;
  42661. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42662. parsed.normalize$1$canonicalize(true);
  42663. return parsed.toString$0(0);
  42664. },
  42665. normalize$1(path) {
  42666. var parsed;
  42667. if (!this._needsNormalization$1(path))
  42668. return path;
  42669. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42670. parsed.normalize$0();
  42671. return parsed.toString$0(0);
  42672. },
  42673. _needsNormalization$1(path) {
  42674. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  42675. t1 = this.style,
  42676. root = t1.rootLength$1(path);
  42677. if (root !== 0) {
  42678. if (t1 === $.$get$Style_windows())
  42679. for (i = 0; i < root; ++i)
  42680. if (path.charCodeAt(i) === 47)
  42681. return true;
  42682. start = root;
  42683. previous = 47;
  42684. } else {
  42685. start = 0;
  42686. previous = null;
  42687. }
  42688. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  42689. codeUnit = t2.charCodeAt(i);
  42690. if (t1.isSeparator$1(codeUnit)) {
  42691. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  42692. return true;
  42693. if (previous != null && t1.isSeparator$1(previous))
  42694. return true;
  42695. if (previous === 46)
  42696. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  42697. else
  42698. t4 = false;
  42699. if (t4)
  42700. return true;
  42701. }
  42702. }
  42703. if (previous == null)
  42704. return true;
  42705. if (t1.isSeparator$1(previous))
  42706. return true;
  42707. if (previous === 46)
  42708. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  42709. else
  42710. t1 = false;
  42711. if (t1)
  42712. return true;
  42713. return false;
  42714. },
  42715. relative$2$from(path, from) {
  42716. var fromParsed, pathParsed, t2, t3, _this = this,
  42717. _s26_ = 'Unable to find a path to "',
  42718. t1 = from == null;
  42719. if (t1 && _this.style.rootLength$1(path) <= 0)
  42720. return _this.normalize$1(path);
  42721. if (t1) {
  42722. t1 = _this._context$_current;
  42723. from = t1 == null ? A.current() : t1;
  42724. } else
  42725. from = _this.absolute$1(from);
  42726. t1 = _this.style;
  42727. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  42728. return _this.normalize$1(path);
  42729. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  42730. path = _this.absolute$1(path);
  42731. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  42732. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42733. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  42734. fromParsed.normalize$0();
  42735. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42736. pathParsed.normalize$0();
  42737. t2 = fromParsed.parts;
  42738. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  42739. return pathParsed.toString$0(0);
  42740. t2 = fromParsed.root;
  42741. t3 = pathParsed.root;
  42742. if (t2 != t3)
  42743. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  42744. else
  42745. t2 = false;
  42746. if (t2)
  42747. return pathParsed.toString$0(0);
  42748. while (true) {
  42749. t2 = fromParsed.parts;
  42750. if (t2.length !== 0) {
  42751. t3 = pathParsed.parts;
  42752. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  42753. } else
  42754. t2 = false;
  42755. if (!t2)
  42756. break;
  42757. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  42758. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  42759. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  42760. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  42761. }
  42762. t2 = fromParsed.parts;
  42763. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  42764. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42765. t2 = type$.String;
  42766. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  42767. t3 = pathParsed.separators;
  42768. t3[0] = "";
  42769. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  42770. t1 = pathParsed.parts;
  42771. t2 = t1.length;
  42772. if (t2 === 0)
  42773. return ".";
  42774. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  42775. B.JSArray_methods.removeLast$0(pathParsed.parts);
  42776. t1 = pathParsed.separators;
  42777. t1.pop();
  42778. t1.pop();
  42779. t1.push("");
  42780. }
  42781. pathParsed.root = "";
  42782. pathParsed.removeTrailingSeparators$0();
  42783. return pathParsed.toString$0(0);
  42784. },
  42785. relative$1(path) {
  42786. return this.relative$2$from(path, null);
  42787. },
  42788. _isWithinOrEquals$2($parent, child) {
  42789. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  42790. $parent = $parent;
  42791. child = child;
  42792. t1 = _this.style;
  42793. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  42794. childIsAbsolute = t1.rootLength$1(child) > 0;
  42795. if (parentIsAbsolute && !childIsAbsolute) {
  42796. child = _this.absolute$1(child);
  42797. if (t1.isRootRelative$1($parent))
  42798. $parent = _this.absolute$1($parent);
  42799. } else if (childIsAbsolute && !parentIsAbsolute) {
  42800. $parent = _this.absolute$1($parent);
  42801. if (t1.isRootRelative$1(child))
  42802. child = _this.absolute$1(child);
  42803. } else if (childIsAbsolute && parentIsAbsolute) {
  42804. childIsRootRelative = t1.isRootRelative$1(child);
  42805. parentIsRootRelative = t1.isRootRelative$1($parent);
  42806. if (childIsRootRelative && !parentIsRootRelative)
  42807. child = _this.absolute$1(child);
  42808. else if (parentIsRootRelative && !childIsRootRelative)
  42809. $parent = _this.absolute$1($parent);
  42810. }
  42811. result = _this._isWithinOrEqualsFast$2($parent, child);
  42812. if (result !== B._PathRelation_inconclusive)
  42813. return result;
  42814. relative = null;
  42815. try {
  42816. relative = _this.relative$2$from(child, $parent);
  42817. } catch (exception) {
  42818. if (A.unwrapException(exception) instanceof A.PathException)
  42819. return B._PathRelation_different;
  42820. else
  42821. throw exception;
  42822. }
  42823. if (t1.rootLength$1(relative) > 0)
  42824. return B._PathRelation_different;
  42825. if (J.$eq$(relative, "."))
  42826. return B._PathRelation_equal;
  42827. if (J.$eq$(relative, ".."))
  42828. return B._PathRelation_different;
  42829. 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;
  42830. },
  42831. _isWithinOrEqualsFast$2($parent, child) {
  42832. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  42833. if ($parent === ".")
  42834. $parent = "";
  42835. t1 = _this.style;
  42836. parentRootLength = t1.rootLength$1($parent);
  42837. childRootLength = t1.rootLength$1(child);
  42838. if (parentRootLength !== childRootLength)
  42839. return B._PathRelation_different;
  42840. for (i = 0; i < parentRootLength; ++i)
  42841. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  42842. return B._PathRelation_different;
  42843. t2 = child.length;
  42844. t3 = $parent.length;
  42845. childIndex = childRootLength;
  42846. parentIndex = parentRootLength;
  42847. lastCodeUnit = 47;
  42848. lastParentSeparator = null;
  42849. while (true) {
  42850. if (!(parentIndex < t3 && childIndex < t2))
  42851. break;
  42852. c$0: {
  42853. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42854. childCodeUnit = child.charCodeAt(childIndex);
  42855. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  42856. if (t1.isSeparator$1(parentCodeUnit))
  42857. lastParentSeparator = parentIndex;
  42858. ++parentIndex;
  42859. ++childIndex;
  42860. lastCodeUnit = parentCodeUnit;
  42861. break c$0;
  42862. }
  42863. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42864. parentIndex0 = parentIndex + 1;
  42865. lastParentSeparator = parentIndex;
  42866. parentIndex = parentIndex0;
  42867. break c$0;
  42868. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42869. ++childIndex;
  42870. break c$0;
  42871. }
  42872. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42873. ++parentIndex;
  42874. if (parentIndex === t3)
  42875. break;
  42876. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42877. if (t1.isSeparator$1(parentCodeUnit)) {
  42878. parentIndex0 = parentIndex + 1;
  42879. lastParentSeparator = parentIndex;
  42880. parentIndex = parentIndex0;
  42881. break c$0;
  42882. }
  42883. if (parentCodeUnit === 46) {
  42884. ++parentIndex;
  42885. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42886. return B._PathRelation_inconclusive;
  42887. }
  42888. }
  42889. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42890. ++childIndex;
  42891. if (childIndex === t2)
  42892. break;
  42893. childCodeUnit = child.charCodeAt(childIndex);
  42894. if (t1.isSeparator$1(childCodeUnit)) {
  42895. ++childIndex;
  42896. break c$0;
  42897. }
  42898. if (childCodeUnit === 46) {
  42899. ++childIndex;
  42900. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  42901. return B._PathRelation_inconclusive;
  42902. }
  42903. }
  42904. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  42905. return B._PathRelation_inconclusive;
  42906. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  42907. return B._PathRelation_inconclusive;
  42908. return B._PathRelation_different;
  42909. }
  42910. }
  42911. if (childIndex === t2) {
  42912. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42913. lastParentSeparator = parentIndex;
  42914. else if (lastParentSeparator == null)
  42915. lastParentSeparator = Math.max(0, parentRootLength - 1);
  42916. direction = _this._pathDirection$2($parent, lastParentSeparator);
  42917. if (direction === B._PathDirection_8Gl)
  42918. return B._PathRelation_equal;
  42919. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  42920. }
  42921. direction = _this._pathDirection$2(child, childIndex);
  42922. if (direction === B._PathDirection_8Gl)
  42923. return B._PathRelation_equal;
  42924. if (direction === B._PathDirection_ZGD)
  42925. return B._PathRelation_inconclusive;
  42926. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  42927. },
  42928. _pathDirection$2(path, index) {
  42929. var t1, t2, i, depth, reachedRoot, i0, t3;
  42930. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  42931. while (true) {
  42932. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  42933. break;
  42934. ++i;
  42935. }
  42936. if (i === t1)
  42937. break;
  42938. i0 = i;
  42939. while (true) {
  42940. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  42941. break;
  42942. ++i0;
  42943. }
  42944. t3 = i0 - i;
  42945. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  42946. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  42947. --depth;
  42948. if (depth < 0)
  42949. break;
  42950. if (depth === 0)
  42951. reachedRoot = true;
  42952. } else
  42953. ++depth;
  42954. if (i0 === t1)
  42955. break;
  42956. i = i0 + 1;
  42957. }
  42958. if (depth < 0)
  42959. return B._PathDirection_ZGD;
  42960. if (depth === 0)
  42961. return B._PathDirection_8Gl;
  42962. if (reachedRoot)
  42963. return B._PathDirection_FIw;
  42964. return B._PathDirection_988;
  42965. },
  42966. hash$1(path) {
  42967. var result, parsed, t1, _this = this;
  42968. path = _this.absolute$1(path);
  42969. result = _this._hashFast$1(path);
  42970. if (result != null)
  42971. return result;
  42972. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  42973. parsed.normalize$0();
  42974. t1 = _this._hashFast$1(parsed.toString$0(0));
  42975. t1.toString;
  42976. return t1;
  42977. },
  42978. _hashFast$1(path) {
  42979. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  42980. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  42981. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  42982. if (t2.isSeparator$1(codeUnit)) {
  42983. wasSeparator = true;
  42984. continue;
  42985. }
  42986. if (codeUnit === 46 && wasSeparator) {
  42987. t3 = i + 1;
  42988. if (t3 === t1)
  42989. break;
  42990. next = path.charCodeAt(t3);
  42991. if (t2.isSeparator$1(next))
  42992. continue;
  42993. if (!beginning)
  42994. if (next === 46) {
  42995. t3 = i + 2;
  42996. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  42997. } else
  42998. t3 = false;
  42999. else
  43000. t3 = false;
  43001. if (t3)
  43002. return null;
  43003. }
  43004. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  43005. beginning = false;
  43006. wasSeparator = false;
  43007. }
  43008. return hash;
  43009. },
  43010. withoutExtension$1(path) {
  43011. var i,
  43012. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  43013. for (i = parsed.parts.length - 1; i >= 0; --i)
  43014. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  43015. parsed.parts[i] = parsed._splitExtension$0()[0];
  43016. break;
  43017. }
  43018. return parsed.toString$0(0);
  43019. },
  43020. toUri$1(path) {
  43021. var t2,
  43022. t1 = this.style;
  43023. if (t1.rootLength$1(path) <= 0)
  43024. return t1.relativePathToUri$1(path);
  43025. else {
  43026. t2 = this._context$_current;
  43027. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  43028. }
  43029. },
  43030. prettyUri$1(uri) {
  43031. var path, rel, _this = this,
  43032. typedUri = A._parseUri(uri);
  43033. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  43034. return typedUri.toString$0(0);
  43035. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  43036. return typedUri.toString$0(0);
  43037. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  43038. rel = _this.relative$1(path);
  43039. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  43040. }
  43041. };
  43042. A.Context_joinAll_closure.prototype = {
  43043. call$1(part) {
  43044. return part !== "";
  43045. },
  43046. $signature: 4
  43047. };
  43048. A.Context_split_closure.prototype = {
  43049. call$1(part) {
  43050. return part.length !== 0;
  43051. },
  43052. $signature: 4
  43053. };
  43054. A._validateArgList_closure.prototype = {
  43055. call$1(arg) {
  43056. return arg == null ? "null" : '"' + arg + '"';
  43057. },
  43058. $signature: 524
  43059. };
  43060. A._PathDirection.prototype = {
  43061. toString$0(_) {
  43062. return this.name;
  43063. }
  43064. };
  43065. A._PathRelation.prototype = {
  43066. toString$0(_) {
  43067. return this.name;
  43068. }
  43069. };
  43070. A.InternalStyle.prototype = {
  43071. getRoot$1(path) {
  43072. var $length = this.rootLength$1(path);
  43073. if ($length > 0)
  43074. return B.JSString_methods.substring$2(path, 0, $length);
  43075. return this.isRootRelative$1(path) ? path[0] : null;
  43076. },
  43077. relativePathToUri$1(path) {
  43078. var segments, _null = null,
  43079. t1 = path.length;
  43080. if (t1 === 0)
  43081. return A._Uri__Uri(_null, _null, _null, _null);
  43082. segments = A.Context_Context(this).split$1(0, path);
  43083. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  43084. B.JSArray_methods.add$1(segments, "");
  43085. return A._Uri__Uri(_null, _null, segments, _null);
  43086. },
  43087. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43088. return codeUnit1 === codeUnit2;
  43089. },
  43090. pathsEqual$2(path1, path2) {
  43091. return path1 === path2;
  43092. },
  43093. canonicalizeCodeUnit$1(codeUnit) {
  43094. return codeUnit;
  43095. },
  43096. canonicalizePart$1(part) {
  43097. return part;
  43098. }
  43099. };
  43100. A.ParsedPath.prototype = {
  43101. get$basename() {
  43102. var _this = this,
  43103. t1 = type$.String,
  43104. 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));
  43105. copy.removeTrailingSeparators$0();
  43106. t1 = copy.parts;
  43107. if (t1.length === 0) {
  43108. t1 = _this.root;
  43109. return t1 == null ? "" : t1;
  43110. }
  43111. return B.JSArray_methods.get$last(t1);
  43112. },
  43113. get$hasTrailingSeparator() {
  43114. var t1 = this.parts;
  43115. if (t1.length !== 0)
  43116. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  43117. else
  43118. t1 = false;
  43119. return t1;
  43120. },
  43121. removeTrailingSeparators$0() {
  43122. var t1, t2, _this = this;
  43123. while (true) {
  43124. t1 = _this.parts;
  43125. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  43126. break;
  43127. B.JSArray_methods.removeLast$0(_this.parts);
  43128. _this.separators.pop();
  43129. }
  43130. t1 = _this.separators;
  43131. t2 = t1.length;
  43132. if (t2 !== 0)
  43133. t1[t2 - 1] = "";
  43134. },
  43135. normalize$1$canonicalize(canonicalize) {
  43136. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  43137. newParts = A._setArrayType([], type$.JSArray_String);
  43138. 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) {
  43139. part = t1[_i];
  43140. t4 = J.getInterceptor$(part);
  43141. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  43142. if (t4.$eq(part, ".."))
  43143. if (newParts.length !== 0)
  43144. newParts.pop();
  43145. else
  43146. ++leadingDoubles;
  43147. else
  43148. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  43149. }
  43150. if (_this.root == null)
  43151. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  43152. if (newParts.length === 0 && _this.root == null)
  43153. newParts.push(".");
  43154. _this.parts = newParts;
  43155. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  43156. t1 = _this.root;
  43157. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  43158. _this.separators[0] = "";
  43159. t1 = _this.root;
  43160. if (t1 != null && t3 === $.$get$Style_windows()) {
  43161. if (canonicalize)
  43162. t1 = _this.root = t1.toLowerCase();
  43163. t1.toString;
  43164. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  43165. }
  43166. _this.removeTrailingSeparators$0();
  43167. },
  43168. normalize$0() {
  43169. return this.normalize$1$canonicalize(false);
  43170. },
  43171. toString$0(_) {
  43172. var i, _this = this,
  43173. t1 = _this.root;
  43174. t1 = t1 != null ? "" + t1 : "";
  43175. for (i = 0; i < _this.parts.length; ++i)
  43176. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  43177. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  43178. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43179. },
  43180. _kthLastIndexOf$3(path, character, k) {
  43181. var index, count, leftMostIndexedCharacter;
  43182. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  43183. if (path[index] === character) {
  43184. ++count;
  43185. if (count === k)
  43186. return index;
  43187. leftMostIndexedCharacter = index;
  43188. }
  43189. return leftMostIndexedCharacter;
  43190. },
  43191. _splitExtension$1(level) {
  43192. var t1, file, lastDot;
  43193. if (level <= 0)
  43194. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  43195. t1 = this.parts;
  43196. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  43197. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  43198. if (file == null)
  43199. return A._setArrayType(["", ""], type$.JSArray_String);
  43200. if (file === "..")
  43201. return A._setArrayType(["..", ""], type$.JSArray_String);
  43202. lastDot = this._kthLastIndexOf$3(file, ".", level);
  43203. if (lastDot <= 0)
  43204. return A._setArrayType([file, ""], type$.JSArray_String);
  43205. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  43206. },
  43207. _splitExtension$0() {
  43208. return this._splitExtension$1(1);
  43209. }
  43210. };
  43211. A.ParsedPath__splitExtension_closure.prototype = {
  43212. call$1(p) {
  43213. return p !== "";
  43214. },
  43215. $signature: 180
  43216. };
  43217. A.ParsedPath__splitExtension_closure0.prototype = {
  43218. call$0() {
  43219. return null;
  43220. },
  43221. $signature: 1
  43222. };
  43223. A.PathException.prototype = {
  43224. toString$0(_) {
  43225. return "PathException: " + this.message;
  43226. },
  43227. $isException: 1,
  43228. get$message(receiver) {
  43229. return this.message;
  43230. }
  43231. };
  43232. A.PathMap.prototype = {};
  43233. A.PathMap__create_closure.prototype = {
  43234. call$2(path1, path2) {
  43235. if (path1 == null)
  43236. return path2 == null;
  43237. if (path2 == null)
  43238. return false;
  43239. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  43240. },
  43241. $signature: 523
  43242. };
  43243. A.PathMap__create_closure0.prototype = {
  43244. call$1(path) {
  43245. return path == null ? 0 : this._box_0.context.hash$1(path);
  43246. },
  43247. $signature: 522
  43248. };
  43249. A.PathMap__create_closure1.prototype = {
  43250. call$1(path) {
  43251. return typeof path == "string" || path == null;
  43252. },
  43253. $signature: 134
  43254. };
  43255. A.Style.prototype = {
  43256. toString$0(_) {
  43257. return this.get$name(this);
  43258. }
  43259. };
  43260. A.PosixStyle.prototype = {
  43261. containsSeparator$1(path) {
  43262. return B.JSString_methods.contains$1(path, "/");
  43263. },
  43264. isSeparator$1(codeUnit) {
  43265. return codeUnit === 47;
  43266. },
  43267. needsSeparator$1(path) {
  43268. var t1 = path.length;
  43269. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  43270. },
  43271. rootLength$2$withDrive(path, withDrive) {
  43272. if (path.length !== 0 && path.charCodeAt(0) === 47)
  43273. return 1;
  43274. return 0;
  43275. },
  43276. rootLength$1(path) {
  43277. return this.rootLength$2$withDrive(path, false);
  43278. },
  43279. isRootRelative$1(path) {
  43280. return false;
  43281. },
  43282. pathFromUri$1(uri) {
  43283. var t1;
  43284. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  43285. t1 = uri.get$path(uri);
  43286. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43287. }
  43288. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43289. },
  43290. absolutePathToUri$1(path) {
  43291. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43292. t1 = parsed.parts;
  43293. if (t1.length === 0)
  43294. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  43295. else if (parsed.get$hasTrailingSeparator())
  43296. B.JSArray_methods.add$1(parsed.parts, "");
  43297. return A._Uri__Uri(null, null, parsed.parts, "file");
  43298. },
  43299. get$name() {
  43300. return "posix";
  43301. },
  43302. get$separator() {
  43303. return "/";
  43304. }
  43305. };
  43306. A.UrlStyle.prototype = {
  43307. containsSeparator$1(path) {
  43308. return B.JSString_methods.contains$1(path, "/");
  43309. },
  43310. isSeparator$1(codeUnit) {
  43311. return codeUnit === 47;
  43312. },
  43313. needsSeparator$1(path) {
  43314. var t1 = path.length;
  43315. if (t1 === 0)
  43316. return false;
  43317. if (path.charCodeAt(t1 - 1) !== 47)
  43318. return true;
  43319. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  43320. },
  43321. rootLength$2$withDrive(path, withDrive) {
  43322. var i, codeUnit, index,
  43323. t1 = path.length;
  43324. if (t1 === 0)
  43325. return 0;
  43326. if (path.charCodeAt(0) === 47)
  43327. return 1;
  43328. for (i = 0; i < t1; ++i) {
  43329. codeUnit = path.charCodeAt(i);
  43330. if (codeUnit === 47)
  43331. return 0;
  43332. if (codeUnit === 58) {
  43333. if (i === 0)
  43334. return 0;
  43335. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  43336. if (index <= 0)
  43337. return t1;
  43338. if (!withDrive || t1 < index + 3)
  43339. return index;
  43340. if (!B.JSString_methods.startsWith$1(path, "file://"))
  43341. return index;
  43342. t1 = A.driveLetterEnd(path, index + 1);
  43343. return t1 == null ? index : t1;
  43344. }
  43345. }
  43346. return 0;
  43347. },
  43348. rootLength$1(path) {
  43349. return this.rootLength$2$withDrive(path, false);
  43350. },
  43351. isRootRelative$1(path) {
  43352. return path.length !== 0 && path.charCodeAt(0) === 47;
  43353. },
  43354. pathFromUri$1(uri) {
  43355. return uri.toString$0(0);
  43356. },
  43357. relativePathToUri$1(path) {
  43358. return A.Uri_parse(path);
  43359. },
  43360. absolutePathToUri$1(path) {
  43361. return A.Uri_parse(path);
  43362. },
  43363. get$name() {
  43364. return "url";
  43365. },
  43366. get$separator() {
  43367. return "/";
  43368. }
  43369. };
  43370. A.WindowsStyle.prototype = {
  43371. containsSeparator$1(path) {
  43372. return B.JSString_methods.contains$1(path, "/");
  43373. },
  43374. isSeparator$1(codeUnit) {
  43375. return codeUnit === 47 || codeUnit === 92;
  43376. },
  43377. needsSeparator$1(path) {
  43378. var t1 = path.length;
  43379. if (t1 === 0)
  43380. return false;
  43381. t1 = path.charCodeAt(t1 - 1);
  43382. return !(t1 === 47 || t1 === 92);
  43383. },
  43384. rootLength$2$withDrive(path, withDrive) {
  43385. var index,
  43386. t1 = path.length;
  43387. if (t1 === 0)
  43388. return 0;
  43389. if (path.charCodeAt(0) === 47)
  43390. return 1;
  43391. if (path.charCodeAt(0) === 92) {
  43392. if (t1 < 2 || path.charCodeAt(1) !== 92)
  43393. return 1;
  43394. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  43395. if (index > 0) {
  43396. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  43397. if (index > 0)
  43398. return index;
  43399. }
  43400. return t1;
  43401. }
  43402. if (t1 < 3)
  43403. return 0;
  43404. if (!A.isAlphabetic(path.charCodeAt(0)))
  43405. return 0;
  43406. if (path.charCodeAt(1) !== 58)
  43407. return 0;
  43408. t1 = path.charCodeAt(2);
  43409. if (!(t1 === 47 || t1 === 92))
  43410. return 0;
  43411. return 3;
  43412. },
  43413. rootLength$1(path) {
  43414. return this.rootLength$2$withDrive(path, false);
  43415. },
  43416. isRootRelative$1(path) {
  43417. return this.rootLength$1(path) === 1;
  43418. },
  43419. pathFromUri$1(uri) {
  43420. var path, t1;
  43421. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  43422. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43423. path = uri.get$path(uri);
  43424. if (uri.get$host() === "") {
  43425. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  43426. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  43427. } else
  43428. path = "\\\\" + uri.get$host() + path;
  43429. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  43430. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43431. },
  43432. absolutePathToUri$1(path) {
  43433. var rootParts, t2,
  43434. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43435. t1 = parsed.root;
  43436. t1.toString;
  43437. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  43438. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  43439. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  43440. if (parsed.get$hasTrailingSeparator())
  43441. B.JSArray_methods.add$1(parsed.parts, "");
  43442. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  43443. } else {
  43444. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  43445. B.JSArray_methods.add$1(parsed.parts, "");
  43446. t1 = parsed.parts;
  43447. t2 = parsed.root;
  43448. t2.toString;
  43449. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  43450. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  43451. return A._Uri__Uri(null, null, parsed.parts, "file");
  43452. }
  43453. },
  43454. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43455. var upperCase1;
  43456. if (codeUnit1 === codeUnit2)
  43457. return true;
  43458. if (codeUnit1 === 47)
  43459. return codeUnit2 === 92;
  43460. if (codeUnit1 === 92)
  43461. return codeUnit2 === 47;
  43462. if ((codeUnit1 ^ codeUnit2) !== 32)
  43463. return false;
  43464. upperCase1 = codeUnit1 | 32;
  43465. return upperCase1 >= 97 && upperCase1 <= 122;
  43466. },
  43467. pathsEqual$2(path1, path2) {
  43468. var t1, i;
  43469. if (path1 === path2)
  43470. return true;
  43471. t1 = path1.length;
  43472. if (t1 !== path2.length)
  43473. return false;
  43474. for (i = 0; i < t1; ++i)
  43475. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  43476. return false;
  43477. return true;
  43478. },
  43479. canonicalizeCodeUnit$1(codeUnit) {
  43480. if (codeUnit === 47)
  43481. return 92;
  43482. if (codeUnit < 65)
  43483. return codeUnit;
  43484. if (codeUnit > 90)
  43485. return codeUnit;
  43486. return codeUnit | 32;
  43487. },
  43488. canonicalizePart$1(part) {
  43489. return part.toLowerCase();
  43490. },
  43491. get$name() {
  43492. return "windows";
  43493. },
  43494. get$separator() {
  43495. return "\\";
  43496. }
  43497. };
  43498. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  43499. call$1(part) {
  43500. return part !== "";
  43501. },
  43502. $signature: 4
  43503. };
  43504. A.Version.prototype = {
  43505. get$min() {
  43506. return this;
  43507. },
  43508. get$max() {
  43509. return this;
  43510. },
  43511. get$includeMin() {
  43512. return true;
  43513. },
  43514. get$includeMax() {
  43515. return true;
  43516. },
  43517. $eq(_, other) {
  43518. var _this = this;
  43519. if (other == null)
  43520. return false;
  43521. 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);
  43522. },
  43523. get$hashCode(_) {
  43524. var _this = this;
  43525. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  43526. },
  43527. compareTo$1(_, other) {
  43528. var t1, t2, t3, comparison, _this = this;
  43529. if (other instanceof A.Version) {
  43530. t1 = _this.major;
  43531. t2 = other.major;
  43532. if (t1 !== t2)
  43533. return B.JSInt_methods.compareTo$1(t1, t2);
  43534. t1 = _this.minor;
  43535. t2 = other.minor;
  43536. if (t1 !== t2)
  43537. return B.JSInt_methods.compareTo$1(t1, t2);
  43538. t1 = _this.patch;
  43539. t2 = other.patch;
  43540. if (t1 !== t2)
  43541. return B.JSInt_methods.compareTo$1(t1, t2);
  43542. t1 = _this.preRelease;
  43543. t2 = t1.length === 0;
  43544. if (t2 && other.preRelease.length !== 0)
  43545. return 1;
  43546. t3 = other.preRelease;
  43547. if (t3.length === 0 && !t2)
  43548. return -1;
  43549. comparison = _this._compareLists$2(t1, t3);
  43550. if (comparison !== 0)
  43551. return comparison;
  43552. t1 = _this.build;
  43553. t2 = t1.length === 0;
  43554. if (t2 && other.build.length !== 0)
  43555. return -1;
  43556. t3 = other.build;
  43557. if (t3.length === 0 && !t2)
  43558. return 1;
  43559. return _this._compareLists$2(t1, t3);
  43560. } else
  43561. return -other.compareTo$1(0, _this);
  43562. },
  43563. toString$0(_) {
  43564. return this._version$_text;
  43565. },
  43566. _compareLists$2(a, b) {
  43567. var i, t1, t2, aPart, bPart;
  43568. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  43569. aPart = i < t1 ? a[i] : null;
  43570. bPart = i < t2 ? b[i] : null;
  43571. if (J.$eq$(aPart, bPart))
  43572. continue;
  43573. if (aPart == null)
  43574. return -1;
  43575. if (bPart == null)
  43576. return 1;
  43577. if (typeof aPart == "number")
  43578. if (typeof bPart == "number")
  43579. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  43580. else
  43581. return -1;
  43582. else if (typeof bPart == "number")
  43583. return 1;
  43584. else {
  43585. A._asString(aPart);
  43586. A._asString(bPart);
  43587. if (aPart === bPart)
  43588. t1 = 0;
  43589. else
  43590. t1 = aPart < bPart ? -1 : 1;
  43591. return t1;
  43592. }
  43593. }
  43594. return 0;
  43595. },
  43596. $isComparable: 1,
  43597. $isVersionRange: 1
  43598. };
  43599. A.Version__splitParts_closure.prototype = {
  43600. call$1(part) {
  43601. var t1 = A.Primitives_parseInt(part, null);
  43602. return t1 == null ? part : t1;
  43603. },
  43604. $signature: 519
  43605. };
  43606. A.VersionRange.prototype = {
  43607. $eq(_, other) {
  43608. var t1;
  43609. if (other == null)
  43610. return false;
  43611. if (!type$.VersionRange._is(other))
  43612. return false;
  43613. if (this.min == other.get$min())
  43614. if (J.$eq$(this.max, other.get$max()))
  43615. if (!other.get$includeMin()) {
  43616. other.get$includeMax();
  43617. t1 = true;
  43618. } else
  43619. t1 = false;
  43620. else
  43621. t1 = false;
  43622. else
  43623. t1 = false;
  43624. return t1;
  43625. },
  43626. get$hashCode(_) {
  43627. var t1 = B.JSNull_methods.get$hashCode(this.min),
  43628. t2 = J.get$hashCode$(this.max);
  43629. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  43630. },
  43631. allows$1(other) {
  43632. var t1 = this.max;
  43633. if (t1 != null)
  43634. if (other.compareTo$1(0, t1) > 0)
  43635. return false;
  43636. return true;
  43637. },
  43638. compareTo$1(_, other) {
  43639. if (other.get$min() == null)
  43640. return this._compareMax$1(other);
  43641. return -1;
  43642. },
  43643. _compareMax$1(other) {
  43644. var t2, result,
  43645. t1 = this.max;
  43646. if (t1 == null) {
  43647. if (other.get$max() == null)
  43648. return 0;
  43649. return 1;
  43650. } else if (other.get$max() == null)
  43651. return -1;
  43652. t2 = other.get$max();
  43653. t2.toString;
  43654. result = t1.compareTo$1(0, t2);
  43655. if (result !== 0)
  43656. return result;
  43657. other.get$includeMax();
  43658. return 0;
  43659. },
  43660. toString$0(_) {
  43661. var t2,
  43662. max = this.max,
  43663. t1 = max == null;
  43664. if (!t1)
  43665. t2 = "" + "<=" + max.toString$0(0);
  43666. else
  43667. t2 = "";
  43668. t1 = t1 ? t2 + "any" : t2;
  43669. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43670. },
  43671. $isComparable: 1,
  43672. get$min() {
  43673. return this.min;
  43674. },
  43675. get$max() {
  43676. return this.max;
  43677. },
  43678. get$includeMin() {
  43679. return this.includeMin;
  43680. },
  43681. get$includeMax() {
  43682. return this.includeMax;
  43683. }
  43684. };
  43685. A.CssMediaQuery.prototype = {
  43686. merge$1(other) {
  43687. 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";
  43688. if (!_this.conjunction || !other.conjunction)
  43689. return B._SingletonCssMediaQueryMergeResult_1;
  43690. t1 = _this.modifier;
  43691. ourModifier = t1 == null ? _null : t1.toLowerCase();
  43692. t2 = _this.type;
  43693. t3 = t2 == null;
  43694. ourType = t3 ? _null : t2.toLowerCase();
  43695. t4 = other.modifier;
  43696. theirModifier = t4 == null ? _null : t4.toLowerCase();
  43697. t5 = other.type;
  43698. t6 = t5 == null;
  43699. theirType = t6 ? _null : t5.toLowerCase();
  43700. t7 = ourType == null;
  43701. if (t7 && theirType == null) {
  43702. t1 = A.List_List$of(_this.conditions, true, type$.String);
  43703. B.JSArray_methods.addAll$1(t1, other.conditions);
  43704. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  43705. }
  43706. t8 = ourModifier === "not";
  43707. if (t8 !== (theirModifier === "not")) {
  43708. if (ourType == theirType) {
  43709. negativeConditions = t8 ? _this.conditions : other.conditions;
  43710. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  43711. return B._SingletonCssMediaQueryMergeResult_0;
  43712. else
  43713. return B._SingletonCssMediaQueryMergeResult_1;
  43714. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  43715. return B._SingletonCssMediaQueryMergeResult_1;
  43716. if (t8) {
  43717. conditions = other.conditions;
  43718. type = theirType;
  43719. modifier = theirModifier;
  43720. } else {
  43721. conditions = _this.conditions;
  43722. type = ourType;
  43723. modifier = ourModifier;
  43724. }
  43725. } else if (t8) {
  43726. if (ourType != theirType)
  43727. return B._SingletonCssMediaQueryMergeResult_1;
  43728. fewerConditions = _this.conditions;
  43729. fewerConditions0 = other.conditions;
  43730. t3 = fewerConditions.length > fewerConditions0.length;
  43731. moreConditions = t3 ? fewerConditions : fewerConditions0;
  43732. if (t3)
  43733. fewerConditions = fewerConditions0;
  43734. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  43735. return B._SingletonCssMediaQueryMergeResult_1;
  43736. conditions = moreConditions;
  43737. type = ourType;
  43738. modifier = ourModifier;
  43739. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  43740. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  43741. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43742. B.JSArray_methods.addAll$1(t3, other.conditions);
  43743. conditions = t3;
  43744. modifier = theirModifier;
  43745. } else {
  43746. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  43747. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43748. B.JSArray_methods.addAll$1(t3, other.conditions);
  43749. conditions = t3;
  43750. modifier = ourModifier;
  43751. } else {
  43752. if (ourType != theirType)
  43753. return B._SingletonCssMediaQueryMergeResult_0;
  43754. else {
  43755. modifier = ourModifier == null ? theirModifier : ourModifier;
  43756. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43757. B.JSArray_methods.addAll$1(t3, other.conditions);
  43758. }
  43759. conditions = t3;
  43760. }
  43761. type = ourType;
  43762. }
  43763. t2 = type == ourType ? t2 : t5;
  43764. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  43765. },
  43766. $eq(_, other) {
  43767. if (other == null)
  43768. return false;
  43769. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  43770. },
  43771. get$hashCode(_) {
  43772. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  43773. },
  43774. toString$0(_) {
  43775. var t2, _this = this,
  43776. t1 = _this.modifier;
  43777. t1 = t1 != null ? "" + (t1 + " ") : "";
  43778. t2 = _this.type;
  43779. if (t2 != null) {
  43780. t1 += t2;
  43781. if (_this.conditions.length !== 0)
  43782. t1 += " and ";
  43783. }
  43784. t2 = _this.conjunction ? " and " : " or ";
  43785. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  43786. return t2.charCodeAt(0) == 0 ? t2 : t2;
  43787. }
  43788. };
  43789. A._SingletonCssMediaQueryMergeResult.prototype = {
  43790. _enumToString$0() {
  43791. return "_SingletonCssMediaQueryMergeResult." + this._name;
  43792. }
  43793. };
  43794. A.MediaQuerySuccessfulMergeResult.prototype = {
  43795. toString$0(_) {
  43796. return this.query.toString$0(0);
  43797. }
  43798. };
  43799. A.ModifiableCssAtRule.prototype = {
  43800. accept$1$1(visitor) {
  43801. return visitor.visitCssAtRule$1(this);
  43802. },
  43803. accept$1(visitor) {
  43804. return this.accept$1$1(visitor, type$.dynamic);
  43805. },
  43806. equalsIgnoringChildren$1(other) {
  43807. var t1, t2;
  43808. if (other instanceof A.ModifiableCssAtRule) {
  43809. t1 = this.name;
  43810. t2 = other.name;
  43811. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  43812. } else
  43813. t1 = false;
  43814. return t1;
  43815. },
  43816. copyWithoutChildren$0() {
  43817. var _this = this;
  43818. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  43819. },
  43820. addChild$1(child) {
  43821. this.super$ModifiableCssParentNode$addChild(child);
  43822. },
  43823. get$isChildless() {
  43824. return this.isChildless;
  43825. },
  43826. get$span(receiver) {
  43827. return this.span;
  43828. }
  43829. };
  43830. A.ModifiableCssComment.prototype = {
  43831. accept$1$1(visitor) {
  43832. return visitor.visitCssComment$1(this);
  43833. },
  43834. accept$1(visitor) {
  43835. return this.accept$1$1(visitor, type$.dynamic);
  43836. },
  43837. $isCssComment: 1,
  43838. get$span(receiver) {
  43839. return this.span;
  43840. }
  43841. };
  43842. A.ModifiableCssDeclaration.prototype = {
  43843. accept$1$1(visitor) {
  43844. return visitor.visitCssDeclaration$1(this);
  43845. },
  43846. accept$1(visitor) {
  43847. return this.accept$1$1(visitor, type$.dynamic);
  43848. },
  43849. toString$0(_) {
  43850. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  43851. },
  43852. get$span(receiver) {
  43853. return this.span;
  43854. }
  43855. };
  43856. A.ModifiableCssImport.prototype = {
  43857. accept$1$1(visitor) {
  43858. return visitor.visitCssImport$1(this);
  43859. },
  43860. accept$1(visitor) {
  43861. return this.accept$1$1(visitor, type$.dynamic);
  43862. },
  43863. get$span(receiver) {
  43864. return this.span;
  43865. }
  43866. };
  43867. A.ModifiableCssKeyframeBlock.prototype = {
  43868. accept$1$1(visitor) {
  43869. return visitor.visitCssKeyframeBlock$1(this);
  43870. },
  43871. accept$1(visitor) {
  43872. return this.accept$1$1(visitor, type$.dynamic);
  43873. },
  43874. equalsIgnoringChildren$1(other) {
  43875. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  43876. },
  43877. copyWithoutChildren$0() {
  43878. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  43879. },
  43880. get$span(receiver) {
  43881. return this.span;
  43882. }
  43883. };
  43884. A.ModifiableCssMediaRule.prototype = {
  43885. accept$1$1(visitor) {
  43886. return visitor.visitCssMediaRule$1(this);
  43887. },
  43888. accept$1(visitor) {
  43889. return this.accept$1$1(visitor, type$.dynamic);
  43890. },
  43891. equalsIgnoringChildren$1(other) {
  43892. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  43893. },
  43894. copyWithoutChildren$0() {
  43895. return A.ModifiableCssMediaRule$(this.queries, this.span);
  43896. },
  43897. get$span(receiver) {
  43898. return this.span;
  43899. }
  43900. };
  43901. A.ModifiableCssNode.prototype = {
  43902. get$hasFollowingSibling() {
  43903. var t2,
  43904. t1 = this._parent;
  43905. if (t1 == null)
  43906. t1 = null;
  43907. else {
  43908. t1 = t1.children;
  43909. t2 = this._indexInParent;
  43910. t2.toString;
  43911. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  43912. }
  43913. return t1 === true;
  43914. },
  43915. get$isGroupEnd() {
  43916. return this.isGroupEnd;
  43917. }
  43918. };
  43919. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  43920. call$1(sibling) {
  43921. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  43922. },
  43923. $signature: 118
  43924. };
  43925. A.ModifiableCssParentNode.prototype = {
  43926. get$isChildless() {
  43927. return false;
  43928. },
  43929. addChild$1(child) {
  43930. var t1;
  43931. child._parent = this;
  43932. t1 = this._children;
  43933. child._indexInParent = t1.length;
  43934. t1.push(child);
  43935. },
  43936. clearChildren$0() {
  43937. var t1, t2, _i, child;
  43938. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  43939. child = t1[_i];
  43940. child._indexInParent = child._parent = null;
  43941. }
  43942. B.JSArray_methods.clear$0(t1);
  43943. },
  43944. $isCssParentNode: 1,
  43945. get$children(receiver) {
  43946. return this.children;
  43947. }
  43948. };
  43949. A.ModifiableCssStyleRule.prototype = {
  43950. accept$1$1(visitor) {
  43951. return visitor.visitCssStyleRule$1(this);
  43952. },
  43953. accept$1(visitor) {
  43954. return this.accept$1$1(visitor, type$.dynamic);
  43955. },
  43956. equalsIgnoringChildren$1(other) {
  43957. var t1;
  43958. if (other instanceof A.ModifiableCssStyleRule)
  43959. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  43960. else
  43961. t1 = false;
  43962. return t1;
  43963. },
  43964. copyWithoutChildren$0() {
  43965. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, this.originalSelector);
  43966. },
  43967. get$span(receiver) {
  43968. return this.span;
  43969. }
  43970. };
  43971. A.ModifiableCssStylesheet.prototype = {
  43972. accept$1$1(visitor) {
  43973. return visitor.visitCssStylesheet$1(this);
  43974. },
  43975. accept$1(visitor) {
  43976. return this.accept$1$1(visitor, type$.dynamic);
  43977. },
  43978. equalsIgnoringChildren$1(other) {
  43979. return other instanceof A.ModifiableCssStylesheet;
  43980. },
  43981. copyWithoutChildren$0() {
  43982. return A.ModifiableCssStylesheet$(this.span);
  43983. },
  43984. $isCssStylesheet: 1,
  43985. get$span(receiver) {
  43986. return this.span;
  43987. }
  43988. };
  43989. A.ModifiableCssSupportsRule.prototype = {
  43990. accept$1$1(visitor) {
  43991. return visitor.visitCssSupportsRule$1(this);
  43992. },
  43993. accept$1(visitor) {
  43994. return this.accept$1$1(visitor, type$.dynamic);
  43995. },
  43996. equalsIgnoringChildren$1(other) {
  43997. var t1, t2;
  43998. if (other instanceof A.ModifiableCssSupportsRule) {
  43999. t1 = this.condition;
  44000. t2 = other.condition;
  44001. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  44002. } else
  44003. t1 = false;
  44004. return t1;
  44005. },
  44006. copyWithoutChildren$0() {
  44007. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  44008. },
  44009. get$span(receiver) {
  44010. return this.span;
  44011. }
  44012. };
  44013. A.CssNode.prototype = {
  44014. toString$0(_) {
  44015. return A.serialize(this, true, null, true, null, false, null, true)._0;
  44016. },
  44017. $isAstNode: 1
  44018. };
  44019. A.CssParentNode.prototype = {};
  44020. A._IsInvisibleVisitor.prototype = {
  44021. visitCssAtRule$1(rule) {
  44022. return false;
  44023. },
  44024. visitCssComment$1(comment) {
  44025. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  44026. },
  44027. visitCssStyleRule$1(rule) {
  44028. var t1 = rule._style_rule$_selector._box$_inner;
  44029. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  44030. }
  44031. };
  44032. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  44033. A.CssStylesheet.prototype = {
  44034. get$isGroupEnd() {
  44035. return false;
  44036. },
  44037. get$isChildless() {
  44038. return false;
  44039. },
  44040. accept$1$1(visitor) {
  44041. return visitor.visitCssStylesheet$1(this);
  44042. },
  44043. accept$1(visitor) {
  44044. return this.accept$1$1(visitor, type$.dynamic);
  44045. },
  44046. get$children(receiver) {
  44047. return this.children;
  44048. },
  44049. get$span(receiver) {
  44050. return this.span;
  44051. }
  44052. };
  44053. A.CssValue.prototype = {
  44054. $eq(_, other) {
  44055. if (other == null)
  44056. return false;
  44057. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  44058. },
  44059. get$hashCode(_) {
  44060. return J.get$hashCode$(this.value);
  44061. },
  44062. toString$0(_) {
  44063. return J.toString$0$(this.value);
  44064. },
  44065. $isAstNode: 1,
  44066. get$span(receiver) {
  44067. return this.span;
  44068. }
  44069. };
  44070. A._FakeAstNode.prototype = {
  44071. get$span(_) {
  44072. return this._callback.call$0();
  44073. },
  44074. $isAstNode: 1
  44075. };
  44076. A.Argument.prototype = {
  44077. toString$0(_) {
  44078. var t1 = this.defaultValue,
  44079. t2 = this.name;
  44080. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  44081. },
  44082. $isAstNode: 1,
  44083. get$span(receiver) {
  44084. return this.span;
  44085. }
  44086. };
  44087. A.ArgumentDeclaration.prototype = {
  44088. get$spanWithName() {
  44089. var t3, t4,
  44090. t1 = this.span,
  44091. t2 = t1.file,
  44092. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  44093. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  44094. while (true) {
  44095. if (i > 0) {
  44096. t3 = text.charCodeAt(i);
  44097. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  44098. } else
  44099. t3 = false;
  44100. if (!t3)
  44101. break;
  44102. --i;
  44103. }
  44104. t3 = text.charCodeAt(i);
  44105. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  44106. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44107. else
  44108. t3 = true;
  44109. if (!t3)
  44110. return t1;
  44111. --i;
  44112. while (true) {
  44113. if (i >= 0) {
  44114. t3 = text.charCodeAt(i);
  44115. if (t3 !== 95) {
  44116. if (!(t3 >= 97 && t3 <= 122))
  44117. t4 = t3 >= 65 && t3 <= 90;
  44118. else
  44119. t4 = true;
  44120. t4 = t4 || t3 >= 128;
  44121. } else
  44122. t4 = true;
  44123. if (!t4)
  44124. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44125. else
  44126. t3 = true;
  44127. } else
  44128. t3 = false;
  44129. if (!t3)
  44130. break;
  44131. --i;
  44132. }
  44133. t3 = i + 1;
  44134. t4 = text.charCodeAt(t3);
  44135. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  44136. return t1;
  44137. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  44138. },
  44139. verify$2(positional, names) {
  44140. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  44141. _s10_ = "invocation",
  44142. _s8_ = "argument";
  44143. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44144. argument = t1[i];
  44145. if (i < positional) {
  44146. t4 = argument.name;
  44147. if (t3.containsKey$1(t4))
  44148. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  44149. } else {
  44150. t4 = argument.name;
  44151. if (t3.containsKey$1(t4))
  44152. ++namedUsed;
  44153. else if (argument.defaultValue == null)
  44154. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  44155. }
  44156. }
  44157. if (_this.restArgument != null)
  44158. return;
  44159. if (positional > t2) {
  44160. t1 = names.get$isEmpty(0) ? "" : "positional ";
  44161. 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)));
  44162. }
  44163. if (namedUsed < t3.get$length(t3)) {
  44164. t2 = type$.String;
  44165. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  44166. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  44167. 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)));
  44168. }
  44169. },
  44170. _originalArgumentName$1($name) {
  44171. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  44172. if ($name === this.restArgument) {
  44173. t1 = this.span;
  44174. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  44175. 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, "."));
  44176. }
  44177. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  44178. argument = t1[_i];
  44179. if (argument.name === $name) {
  44180. t1 = argument.defaultValue;
  44181. t2 = argument.span;
  44182. t3 = t2.file;
  44183. t4 = t2._file$_start;
  44184. t2 = t2._end;
  44185. if (t1 == null) {
  44186. t1 = t3._decodedChars;
  44187. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44188. } else {
  44189. t1 = t3._decodedChars;
  44190. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44191. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  44192. end = A._lastNonWhitespace(t1, false);
  44193. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  44194. }
  44195. return t1;
  44196. }
  44197. }
  44198. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  44199. },
  44200. matches$2(positional, names) {
  44201. var t1, t2, t3, namedUsed, i, argument;
  44202. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44203. argument = t1[i];
  44204. if (i < positional) {
  44205. if (t3.containsKey$1(argument.name))
  44206. return false;
  44207. } else if (t3.containsKey$1(argument.name))
  44208. ++namedUsed;
  44209. else if (argument.defaultValue == null)
  44210. return false;
  44211. }
  44212. if (this.restArgument != null)
  44213. return true;
  44214. if (positional > t2)
  44215. return false;
  44216. if (namedUsed < t3.get$length(t3))
  44217. return false;
  44218. return true;
  44219. },
  44220. toString$0(_) {
  44221. var t2, t3, _i,
  44222. t1 = A._setArrayType([], type$.JSArray_String);
  44223. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44224. t1.push("$" + A.S(t2[_i]));
  44225. t2 = this.restArgument;
  44226. if (t2 != null)
  44227. t1.push("$" + t2 + "...");
  44228. return B.JSArray_methods.join$1(t1, ", ");
  44229. },
  44230. $isAstNode: 1,
  44231. get$span(receiver) {
  44232. return this.span;
  44233. }
  44234. };
  44235. A.ArgumentDeclaration_verify_closure.prototype = {
  44236. call$1(argument) {
  44237. return argument.name;
  44238. },
  44239. $signature: 511
  44240. };
  44241. A.ArgumentDeclaration_verify_closure0.prototype = {
  44242. call$1($name) {
  44243. return "$" + $name;
  44244. },
  44245. $signature: 5
  44246. };
  44247. A.ArgumentInvocation.prototype = {
  44248. get$isEmpty(_) {
  44249. var t1;
  44250. if (this.positional.length === 0) {
  44251. t1 = this.named;
  44252. t1 = t1.get$isEmpty(t1) && this.rest == null;
  44253. } else
  44254. t1 = false;
  44255. return t1;
  44256. },
  44257. toString$0(_) {
  44258. var t2, t3, _i, _1_0, _2_0, _this = this,
  44259. t1 = A._setArrayType([], type$.JSArray_String);
  44260. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44261. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  44262. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  44263. t3 = t2.get$current(t2);
  44264. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  44265. }
  44266. _1_0 = _this.rest;
  44267. if (_1_0 != null)
  44268. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  44269. _2_0 = _this.keywordRest;
  44270. if (_2_0 != null)
  44271. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  44272. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44273. },
  44274. _parenthesizeArgument$1(argument) {
  44275. var t1;
  44276. $label0$0: {
  44277. if (argument instanceof A.ListExpression && B.ListSeparator_rXA === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  44278. t1 = "(" + argument.toString$0(0) + ")";
  44279. break $label0$0;
  44280. }
  44281. t1 = argument.toString$0(0);
  44282. break $label0$0;
  44283. }
  44284. return t1;
  44285. },
  44286. $isAstNode: 1,
  44287. get$span(receiver) {
  44288. return this.span;
  44289. }
  44290. };
  44291. A.AtRootQuery.prototype = {
  44292. excludes$1(node) {
  44293. var t1, _this = this;
  44294. if (_this._all)
  44295. return !_this.include;
  44296. $label0$0: {
  44297. if (node instanceof A.ModifiableCssStyleRule) {
  44298. t1 = _this._at_root_query$_rule !== _this.include;
  44299. break $label0$0;
  44300. }
  44301. if (node instanceof A.ModifiableCssMediaRule) {
  44302. t1 = _this.excludesName$1("media");
  44303. break $label0$0;
  44304. }
  44305. if (node instanceof A.ModifiableCssSupportsRule) {
  44306. t1 = _this.excludesName$1("supports");
  44307. break $label0$0;
  44308. }
  44309. if (node instanceof A.ModifiableCssAtRule) {
  44310. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  44311. break $label0$0;
  44312. }
  44313. t1 = false;
  44314. break $label0$0;
  44315. }
  44316. return t1;
  44317. },
  44318. excludesName$1($name) {
  44319. var t1 = this._all || this.names.contains$1(0, $name);
  44320. return t1 !== this.include;
  44321. }
  44322. };
  44323. A.ConfiguredVariable.prototype = {
  44324. toString$0(_) {
  44325. var t1 = this.expression.toString$0(0),
  44326. t2 = this.isGuarded ? " !default" : "";
  44327. return "$" + this.name + ": " + t1 + t2;
  44328. },
  44329. $isAstNode: 1,
  44330. get$span(receiver) {
  44331. return this.span;
  44332. }
  44333. };
  44334. A._IsCalculationSafeVisitor.prototype = {
  44335. visitBinaryOperationExpression$1(node) {
  44336. var t1;
  44337. if (B.Set_FIwG4.contains$1(0, node.operator))
  44338. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  44339. else
  44340. t1 = false;
  44341. return t1;
  44342. },
  44343. visitBooleanExpression$1(node) {
  44344. return false;
  44345. },
  44346. visitColorExpression$1(node) {
  44347. return false;
  44348. },
  44349. visitFunctionExpression$1(node) {
  44350. return true;
  44351. },
  44352. visitInterpolatedFunctionExpression$1(node) {
  44353. return true;
  44354. },
  44355. visitIfExpression$1(node) {
  44356. return true;
  44357. },
  44358. visitListExpression$1(node) {
  44359. var t1;
  44360. if (node.separator === B.ListSeparator_EVt)
  44361. if (!node.hasBrackets) {
  44362. t1 = node.contents;
  44363. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure(this));
  44364. } else
  44365. t1 = false;
  44366. else
  44367. t1 = false;
  44368. return t1;
  44369. },
  44370. visitMapExpression$1(node) {
  44371. return false;
  44372. },
  44373. visitNullExpression$1(node) {
  44374. return false;
  44375. },
  44376. visitNumberExpression$1(node) {
  44377. return true;
  44378. },
  44379. visitParenthesizedExpression$1(node) {
  44380. return node.expression.accept$1(this);
  44381. },
  44382. visitSelectorExpression$1(node) {
  44383. return false;
  44384. },
  44385. visitStringExpression$1(node) {
  44386. var text, t1, t2;
  44387. if (node.hasQuotes)
  44388. return false;
  44389. text = node.text.get$initialPlain();
  44390. if (!B.JSString_methods.startsWith$1(text, "!"))
  44391. if (!B.JSString_methods.startsWith$1(text, "#")) {
  44392. t1 = text.length;
  44393. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  44394. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  44395. t1 = t2;
  44396. } else
  44397. t1 = false;
  44398. } else
  44399. t1 = false;
  44400. else
  44401. t1 = false;
  44402. return t1;
  44403. },
  44404. visitSupportsExpression$1(node) {
  44405. return false;
  44406. },
  44407. visitUnaryOperationExpression$1(node) {
  44408. return false;
  44409. },
  44410. visitValueExpression$1(node) {
  44411. return false;
  44412. },
  44413. visitVariableExpression$1(node) {
  44414. return true;
  44415. }
  44416. };
  44417. A._IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  44418. call$1(expression) {
  44419. return expression.accept$1(this.$this);
  44420. },
  44421. $signature: 119
  44422. };
  44423. A.BinaryOperationExpression.prototype = {
  44424. get$span(_) {
  44425. var right,
  44426. left = this.left;
  44427. for (; left instanceof A.BinaryOperationExpression;)
  44428. left = left.left;
  44429. right = this.right;
  44430. for (; right instanceof A.BinaryOperationExpression;)
  44431. right = right.right;
  44432. return left.get$span(left).expand$1(0, right.get$span(right));
  44433. },
  44434. get$operatorSpan() {
  44435. var t3, t4,
  44436. t1 = this.left,
  44437. t2 = t1.get$span(t1);
  44438. t2 = t2.get$file(t2);
  44439. t3 = this.right;
  44440. t4 = t3.get$span(t3);
  44441. if (t2 === t4.get$file(t4)) {
  44442. t2 = t1.get$span(t1);
  44443. t2 = t2.get$end(t2);
  44444. t4 = t3.get$span(t3);
  44445. t4 = t2.offset < t4.get$start(t4).offset;
  44446. t2 = t4;
  44447. } else
  44448. t2 = false;
  44449. if (t2) {
  44450. t2 = t1.get$span(t1);
  44451. t2 = t2.get$file(t2);
  44452. t1 = t1.get$span(t1);
  44453. t1 = t1.get$end(t1);
  44454. t3 = t3.get$span(t3);
  44455. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  44456. t1 = t3;
  44457. } else
  44458. t1 = this.get$span(0);
  44459. return t1;
  44460. },
  44461. accept$1$1(visitor) {
  44462. return visitor.visitBinaryOperationExpression$1(this);
  44463. },
  44464. accept$1(visitor) {
  44465. return this.accept$1$1(visitor, type$.dynamic);
  44466. },
  44467. toString$0(_) {
  44468. var t1, t2, right, operator, t3, _this = this,
  44469. _0_0 = _this.left;
  44470. $label0$0: {
  44471. if (_0_0 instanceof A.BinaryOperationExpression) {
  44472. t1 = _0_0.operator.precedence < _this.operator.precedence;
  44473. break $label0$0;
  44474. }
  44475. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  44476. t1 = true;
  44477. break $label0$0;
  44478. }
  44479. t1 = false;
  44480. break $label0$0;
  44481. }
  44482. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44483. t2 += _0_0.toString$0(0);
  44484. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  44485. t2 = _this.operator;
  44486. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  44487. right = _this.right;
  44488. $label1$1: {
  44489. if (right instanceof A.BinaryOperationExpression) {
  44490. operator = right.operator;
  44491. if (operator.precedence <= t2.precedence) {
  44492. t3 = !(operator === t2 && operator.isAssociative);
  44493. t2 = t3;
  44494. } else
  44495. t2 = false;
  44496. break $label1$1;
  44497. }
  44498. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  44499. t2 = true;
  44500. break $label1$1;
  44501. }
  44502. t2 = false;
  44503. break $label1$1;
  44504. }
  44505. if (t2)
  44506. t1 += A.Primitives_stringFromCharCode(40);
  44507. t1 += right.toString$0(0);
  44508. if (t2)
  44509. t1 += A.Primitives_stringFromCharCode(41);
  44510. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44511. },
  44512. $isAstNode: 1,
  44513. $isExpression: 1
  44514. };
  44515. A.BinaryOperator.prototype = {
  44516. _enumToString$0() {
  44517. return "BinaryOperator." + this._name;
  44518. },
  44519. toString$0(_) {
  44520. return this.name;
  44521. }
  44522. };
  44523. A.BooleanExpression.prototype = {
  44524. accept$1$1(visitor) {
  44525. return visitor.visitBooleanExpression$1(this);
  44526. },
  44527. accept$1(visitor) {
  44528. return this.accept$1$1(visitor, type$.dynamic);
  44529. },
  44530. toString$0(_) {
  44531. return String(this.value);
  44532. },
  44533. $isAstNode: 1,
  44534. $isExpression: 1,
  44535. get$span(receiver) {
  44536. return this.span;
  44537. }
  44538. };
  44539. A.ColorExpression.prototype = {
  44540. accept$1$1(visitor) {
  44541. return visitor.visitColorExpression$1(this);
  44542. },
  44543. accept$1(visitor) {
  44544. return this.accept$1$1(visitor, type$.dynamic);
  44545. },
  44546. toString$0(_) {
  44547. return A.serializeValue(this.value, true, true);
  44548. },
  44549. $isAstNode: 1,
  44550. $isExpression: 1,
  44551. get$span(receiver) {
  44552. return this.span;
  44553. }
  44554. };
  44555. A.FunctionExpression.prototype = {
  44556. get$name(_) {
  44557. return A.stringReplaceAllUnchecked(this.originalName, "_", "-");
  44558. },
  44559. accept$1$1(visitor) {
  44560. return visitor.visitFunctionExpression$1(this);
  44561. },
  44562. accept$1(visitor) {
  44563. return this.accept$1$1(visitor, type$.dynamic);
  44564. },
  44565. toString$0(_) {
  44566. var t1 = this.namespace;
  44567. t1 = t1 != null ? "" + (t1 + ".") : "";
  44568. t1 += this.originalName + this.$arguments.toString$0(0);
  44569. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44570. },
  44571. $isAstNode: 1,
  44572. $isExpression: 1,
  44573. get$span(receiver) {
  44574. return this.span;
  44575. }
  44576. };
  44577. A.IfExpression.prototype = {
  44578. accept$1$1(visitor) {
  44579. return visitor.visitIfExpression$1(this);
  44580. },
  44581. accept$1(visitor) {
  44582. return this.accept$1$1(visitor, type$.dynamic);
  44583. },
  44584. toString$0(_) {
  44585. return "if" + this.$arguments.toString$0(0);
  44586. },
  44587. $isAstNode: 1,
  44588. $isExpression: 1,
  44589. get$span(receiver) {
  44590. return this.span;
  44591. }
  44592. };
  44593. A.InterpolatedFunctionExpression.prototype = {
  44594. accept$1$1(visitor) {
  44595. return visitor.visitInterpolatedFunctionExpression$1(this);
  44596. },
  44597. accept$1(visitor) {
  44598. return this.accept$1$1(visitor, type$.dynamic);
  44599. },
  44600. toString$0(_) {
  44601. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  44602. },
  44603. $isAstNode: 1,
  44604. $isExpression: 1,
  44605. get$span(receiver) {
  44606. return this.span;
  44607. }
  44608. };
  44609. A.ListExpression.prototype = {
  44610. accept$1$1(visitor) {
  44611. return visitor.visitListExpression$1(this);
  44612. },
  44613. accept$1(visitor) {
  44614. return this.accept$1$1(visitor, type$.dynamic);
  44615. },
  44616. toString$0(_) {
  44617. var t2, t3, t4, t5, _this = this,
  44618. t1 = _this.hasBrackets;
  44619. if (t1)
  44620. t2 = "" + A.Primitives_stringFromCharCode(91);
  44621. else {
  44622. t2 = _this.contents.length;
  44623. if (t2 !== 0)
  44624. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA;
  44625. else
  44626. t2 = true;
  44627. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44628. }
  44629. t3 = _this.contents;
  44630. t4 = _this.separator === B.ListSeparator_rXA;
  44631. t5 = t4 ? ", " : " ";
  44632. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  44633. if (t1)
  44634. t1 = t5 + A.Primitives_stringFromCharCode(93);
  44635. else {
  44636. t1 = t3.length;
  44637. if (t1 === 0)
  44638. t1 = t5 + A.Primitives_stringFromCharCode(41);
  44639. else
  44640. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  44641. }
  44642. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44643. },
  44644. _list0$_elementNeedsParens$1(expression) {
  44645. var childSeparator, t1, _0_13;
  44646. $label0$0: {
  44647. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  44648. childSeparator = expression.separator;
  44649. t1 = this.separator === B.ListSeparator_rXA ? childSeparator === B.ListSeparator_rXA : childSeparator !== B.ListSeparator_undecided_null_undecided;
  44650. break $label0$0;
  44651. }
  44652. if (expression instanceof A.UnaryOperationExpression) {
  44653. _0_13 = expression.operator;
  44654. if (B.UnaryOperator_gg4 !== _0_13)
  44655. t1 = B.UnaryOperator_TLI === _0_13;
  44656. else
  44657. t1 = true;
  44658. } else
  44659. t1 = false;
  44660. if (t1) {
  44661. t1 = this.separator === B.ListSeparator_EVt;
  44662. break $label0$0;
  44663. }
  44664. t1 = false;
  44665. break $label0$0;
  44666. }
  44667. return t1;
  44668. },
  44669. $isAstNode: 1,
  44670. $isExpression: 1,
  44671. get$span(receiver) {
  44672. return this.span;
  44673. }
  44674. };
  44675. A.ListExpression_toString_closure.prototype = {
  44676. call$1(element) {
  44677. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  44678. },
  44679. $signature: 120
  44680. };
  44681. A.MapExpression.prototype = {
  44682. accept$1$1(visitor) {
  44683. return visitor.visitMapExpression$1(this);
  44684. },
  44685. accept$1(visitor) {
  44686. return this.accept$1$1(visitor, type$.dynamic);
  44687. },
  44688. toString$0(_) {
  44689. var t2, t3, _i, t4, key, value,
  44690. t1 = A._setArrayType([], type$.JSArray_String);
  44691. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  44692. t4 = t2[_i];
  44693. key = t4._0;
  44694. value = t4._1;
  44695. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  44696. }
  44697. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44698. },
  44699. $isAstNode: 1,
  44700. $isExpression: 1,
  44701. get$span(receiver) {
  44702. return this.span;
  44703. }
  44704. };
  44705. A.NullExpression.prototype = {
  44706. accept$1$1(visitor) {
  44707. return visitor.visitNullExpression$1(this);
  44708. },
  44709. accept$1(visitor) {
  44710. return this.accept$1$1(visitor, type$.dynamic);
  44711. },
  44712. toString$0(_) {
  44713. return "null";
  44714. },
  44715. $isAstNode: 1,
  44716. $isExpression: 1,
  44717. get$span(receiver) {
  44718. return this.span;
  44719. }
  44720. };
  44721. A.NumberExpression.prototype = {
  44722. accept$1$1(visitor) {
  44723. return visitor.visitNumberExpression$1(this);
  44724. },
  44725. accept$1(visitor) {
  44726. return this.accept$1$1(visitor, type$.dynamic);
  44727. },
  44728. toString$0(_) {
  44729. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  44730. },
  44731. $isAstNode: 1,
  44732. $isExpression: 1,
  44733. get$span(receiver) {
  44734. return this.span;
  44735. }
  44736. };
  44737. A.ParenthesizedExpression.prototype = {
  44738. accept$1$1(visitor) {
  44739. return visitor.visitParenthesizedExpression$1(this);
  44740. },
  44741. accept$1(visitor) {
  44742. return this.accept$1$1(visitor, type$.dynamic);
  44743. },
  44744. toString$0(_) {
  44745. return "(" + this.expression.toString$0(0) + ")";
  44746. },
  44747. $isAstNode: 1,
  44748. $isExpression: 1,
  44749. get$span(receiver) {
  44750. return this.span;
  44751. }
  44752. };
  44753. A.SelectorExpression.prototype = {
  44754. accept$1$1(visitor) {
  44755. return visitor.visitSelectorExpression$1(this);
  44756. },
  44757. accept$1(visitor) {
  44758. return this.accept$1$1(visitor, type$.dynamic);
  44759. },
  44760. toString$0(_) {
  44761. return "&";
  44762. },
  44763. $isAstNode: 1,
  44764. $isExpression: 1,
  44765. get$span(receiver) {
  44766. return this.span;
  44767. }
  44768. };
  44769. A.StringExpression.prototype = {
  44770. get$span(_) {
  44771. return this.text.span;
  44772. },
  44773. accept$1$1(visitor) {
  44774. return visitor.visitStringExpression$1(this);
  44775. },
  44776. accept$1(visitor) {
  44777. return this.accept$1$1(visitor, type$.dynamic);
  44778. },
  44779. asInterpolation$1$static($static) {
  44780. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  44781. if (!this.hasQuotes)
  44782. return this.text;
  44783. t1 = this.text;
  44784. t2 = t1.contents;
  44785. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  44786. t3 = new A.StringBuffer("");
  44787. t4 = A._setArrayType([], type$.JSArray_Object);
  44788. buffer = new A.InterpolationBuffer(t3, t4);
  44789. t3._contents += A.Primitives_stringFromCharCode(quote);
  44790. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  44791. value = t2[_i];
  44792. if (t6._is(value)) {
  44793. buffer._flushText$0();
  44794. t4.push(value);
  44795. continue;
  44796. }
  44797. if (typeof value == "string")
  44798. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  44799. }
  44800. t3._contents += A.Primitives_stringFromCharCode(quote);
  44801. return buffer.interpolation$1(t1.span);
  44802. },
  44803. asInterpolation$0() {
  44804. return this.asInterpolation$1$static(false);
  44805. },
  44806. toString$0(_) {
  44807. return this.asInterpolation$0().toString$0(0);
  44808. },
  44809. $isAstNode: 1,
  44810. $isExpression: 1
  44811. };
  44812. A.SupportsExpression.prototype = {
  44813. get$span(_) {
  44814. var t1 = this.condition;
  44815. return t1.get$span(t1);
  44816. },
  44817. accept$1$1(visitor) {
  44818. return visitor.visitSupportsExpression$1(this);
  44819. },
  44820. accept$1(visitor) {
  44821. return this.accept$1$1(visitor, type$.dynamic);
  44822. },
  44823. toString$0(_) {
  44824. return this.condition.toString$0(0);
  44825. },
  44826. $isAstNode: 1,
  44827. $isExpression: 1
  44828. };
  44829. A.UnaryOperationExpression.prototype = {
  44830. accept$1$1(visitor) {
  44831. return visitor.visitUnaryOperationExpression$1(this);
  44832. },
  44833. accept$1(visitor) {
  44834. return this.accept$1$1(visitor, type$.dynamic);
  44835. },
  44836. toString$0(_) {
  44837. var operand,
  44838. t1 = this.operator,
  44839. t2 = t1.operator;
  44840. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  44841. operand = this.operand;
  44842. $label0$0: {
  44843. if (!(operand instanceof A.BinaryOperationExpression))
  44844. if (!(operand instanceof A.UnaryOperationExpression))
  44845. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  44846. else
  44847. t2 = true;
  44848. else
  44849. t2 = true;
  44850. if (t2) {
  44851. t2 = true;
  44852. break $label0$0;
  44853. }
  44854. t2 = false;
  44855. break $label0$0;
  44856. }
  44857. if (t2)
  44858. t1 += "40";
  44859. t1 += operand.toString$0(0);
  44860. if (t2)
  44861. t1 += "41";
  44862. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44863. },
  44864. $isAstNode: 1,
  44865. $isExpression: 1,
  44866. get$span(receiver) {
  44867. return this.span;
  44868. }
  44869. };
  44870. A.UnaryOperator.prototype = {
  44871. _enumToString$0() {
  44872. return "UnaryOperator." + this._name;
  44873. },
  44874. toString$0(_) {
  44875. return this.name;
  44876. }
  44877. };
  44878. A.ValueExpression.prototype = {
  44879. accept$1$1(visitor) {
  44880. return visitor.visitValueExpression$1(this);
  44881. },
  44882. accept$1(visitor) {
  44883. return this.accept$1$1(visitor, type$.dynamic);
  44884. },
  44885. toString$0(_) {
  44886. return A.serializeValue(this.value, true, true);
  44887. },
  44888. $isAstNode: 1,
  44889. $isExpression: 1,
  44890. get$span(receiver) {
  44891. return this.span;
  44892. }
  44893. };
  44894. A.VariableExpression.prototype = {
  44895. accept$1$1(visitor) {
  44896. return visitor.visitVariableExpression$1(this);
  44897. },
  44898. accept$1(visitor) {
  44899. return this.accept$1$1(visitor, type$.dynamic);
  44900. },
  44901. toString$0(_) {
  44902. var t1 = this.namespace,
  44903. t2 = this.name;
  44904. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  44905. },
  44906. $isAstNode: 1,
  44907. $isExpression: 1,
  44908. get$span(receiver) {
  44909. return this.span;
  44910. }
  44911. };
  44912. A.DynamicImport.prototype = {
  44913. toString$0(_) {
  44914. return A.StringExpression_quoteText(this.urlString);
  44915. },
  44916. $isAstNode: 1,
  44917. $isImport: 1,
  44918. get$span(receiver) {
  44919. return this.span;
  44920. }
  44921. };
  44922. A.StaticImport.prototype = {
  44923. toString$0(_) {
  44924. var t1 = this.url.toString$0(0),
  44925. t2 = this.modifiers;
  44926. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  44927. },
  44928. $isAstNode: 1,
  44929. $isImport: 1,
  44930. get$span(receiver) {
  44931. return this.span;
  44932. }
  44933. };
  44934. A.Interpolation.prototype = {
  44935. get$asPlain() {
  44936. var _0_1, t1, _0_6, _0_6_isSet, first, _null = null,
  44937. _0_0 = this.contents;
  44938. $label0$0: {
  44939. _0_1 = _0_0.length;
  44940. if (_0_1 <= 0) {
  44941. t1 = "";
  44942. break $label0$0;
  44943. }
  44944. if (_0_1 === 1) {
  44945. _0_6 = _0_0[0];
  44946. t1 = _0_6;
  44947. t1 = typeof t1 == "string";
  44948. _0_6_isSet = true;
  44949. } else {
  44950. _0_6 = _null;
  44951. _0_6_isSet = false;
  44952. t1 = false;
  44953. }
  44954. if (t1) {
  44955. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  44956. t1 = first;
  44957. break $label0$0;
  44958. }
  44959. t1 = _null;
  44960. break $label0$0;
  44961. }
  44962. return t1;
  44963. },
  44964. get$initialPlain() {
  44965. var _0_4, t1, _0_4_isSet, first,
  44966. _0_0 = this.contents;
  44967. $label0$0: {
  44968. if (_0_0.length >= 1) {
  44969. _0_4 = _0_0[0];
  44970. t1 = _0_4;
  44971. t1 = typeof t1 == "string";
  44972. _0_4_isSet = true;
  44973. } else {
  44974. _0_4 = null;
  44975. _0_4_isSet = false;
  44976. t1 = false;
  44977. }
  44978. if (t1) {
  44979. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  44980. t1 = first;
  44981. break $label0$0;
  44982. }
  44983. t1 = "";
  44984. break $label0$0;
  44985. }
  44986. return t1;
  44987. },
  44988. Interpolation$2(contents, span) {
  44989. var t1, t2, t3, i, t4, t5,
  44990. _s8_ = "contents";
  44991. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  44992. t4 = t1[i];
  44993. t5 = typeof t4 == "string";
  44994. if (!t5 && !t3._is(t4))
  44995. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  44996. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  44997. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  44998. }
  44999. },
  45000. toString$0(_) {
  45001. var t1 = this.contents;
  45002. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  45003. },
  45004. $isAstNode: 1,
  45005. get$span(receiver) {
  45006. return this.span;
  45007. }
  45008. };
  45009. A.Interpolation_toString_closure.prototype = {
  45010. call$1(value) {
  45011. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  45012. },
  45013. $signature: 137
  45014. };
  45015. A.AtRootRule.prototype = {
  45016. accept$1$1(visitor) {
  45017. return visitor.visitAtRootRule$1(this);
  45018. },
  45019. accept$1(visitor) {
  45020. return this.accept$1$1(visitor, type$.dynamic);
  45021. },
  45022. toString$0(_) {
  45023. var buffer = new A.StringBuffer("@at-root "),
  45024. t1 = this.query;
  45025. if (t1 != null)
  45026. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  45027. t1 = this.children;
  45028. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45029. },
  45030. get$span(receiver) {
  45031. return this.span;
  45032. }
  45033. };
  45034. A.AtRule.prototype = {
  45035. accept$1$1(visitor) {
  45036. return visitor.visitAtRule$1(this);
  45037. },
  45038. accept$1(visitor) {
  45039. return this.accept$1$1(visitor, type$.dynamic);
  45040. },
  45041. toString$0(_) {
  45042. var children,
  45043. t1 = "@" + this.name.toString$0(0),
  45044. buffer = new A.StringBuffer(t1),
  45045. t2 = this.value;
  45046. if (t2 != null)
  45047. buffer._contents = t1 + (" " + t2.toString$0(0));
  45048. children = this.children;
  45049. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  45050. },
  45051. get$span(receiver) {
  45052. return this.span;
  45053. }
  45054. };
  45055. A.CallableDeclaration.prototype = {
  45056. get$span(receiver) {
  45057. return this.span;
  45058. }
  45059. };
  45060. A.ContentBlock.prototype = {
  45061. accept$1$1(visitor) {
  45062. return visitor.visitContentBlock$1(this);
  45063. },
  45064. accept$1(visitor) {
  45065. return this.accept$1$1(visitor, type$.dynamic);
  45066. },
  45067. toString$0(_) {
  45068. var t2,
  45069. t1 = this.$arguments;
  45070. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  45071. t2 = this.children;
  45072. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45073. }
  45074. };
  45075. A.ContentRule.prototype = {
  45076. accept$1$1(visitor) {
  45077. return visitor.visitContentRule$1(this);
  45078. },
  45079. accept$1(visitor) {
  45080. return this.accept$1$1(visitor, type$.dynamic);
  45081. },
  45082. toString$0(_) {
  45083. var t1 = this.$arguments;
  45084. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  45085. },
  45086. $isAstNode: 1,
  45087. $isStatement: 1,
  45088. get$span(receiver) {
  45089. return this.span;
  45090. }
  45091. };
  45092. A.DebugRule.prototype = {
  45093. accept$1$1(visitor) {
  45094. return visitor.visitDebugRule$1(this);
  45095. },
  45096. accept$1(visitor) {
  45097. return this.accept$1$1(visitor, type$.dynamic);
  45098. },
  45099. toString$0(_) {
  45100. return "@debug " + this.expression.toString$0(0) + ";";
  45101. },
  45102. $isAstNode: 1,
  45103. $isStatement: 1,
  45104. get$span(receiver) {
  45105. return this.span;
  45106. }
  45107. };
  45108. A.Declaration.prototype = {
  45109. accept$1$1(visitor) {
  45110. return visitor.visitDeclaration$1(this);
  45111. },
  45112. accept$1(visitor) {
  45113. return this.accept$1$1(visitor, type$.dynamic);
  45114. },
  45115. toString$0(_) {
  45116. var t3, _0_0,
  45117. buffer = new A.StringBuffer(""),
  45118. t1 = this.name,
  45119. t2 = "" + t1.toString$0(0);
  45120. buffer._contents = t2;
  45121. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  45122. t3 = this.value;
  45123. if (t3 != null) {
  45124. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  45125. buffer._contents = t1 + t3.toString$0(0);
  45126. }
  45127. _0_0 = this.children;
  45128. if (_0_0 != null)
  45129. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  45130. else
  45131. return buffer.toString$0(0) + ";";
  45132. },
  45133. get$span(receiver) {
  45134. return this.span;
  45135. }
  45136. };
  45137. A.EachRule.prototype = {
  45138. accept$1$1(visitor) {
  45139. return visitor.visitEachRule$1(this);
  45140. },
  45141. accept$1(visitor) {
  45142. return this.accept$1$1(visitor, type$.dynamic);
  45143. },
  45144. toString$0(_) {
  45145. var t1 = this.variables,
  45146. t2 = this.children;
  45147. 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, " ") + "}";
  45148. },
  45149. get$span(receiver) {
  45150. return this.span;
  45151. }
  45152. };
  45153. A.EachRule_toString_closure.prototype = {
  45154. call$1(variable) {
  45155. return "$" + variable;
  45156. },
  45157. $signature: 5
  45158. };
  45159. A.ErrorRule.prototype = {
  45160. accept$1$1(visitor) {
  45161. return visitor.visitErrorRule$1(this);
  45162. },
  45163. accept$1(visitor) {
  45164. return this.accept$1$1(visitor, type$.dynamic);
  45165. },
  45166. toString$0(_) {
  45167. return "@error " + this.expression.toString$0(0) + ";";
  45168. },
  45169. $isAstNode: 1,
  45170. $isStatement: 1,
  45171. get$span(receiver) {
  45172. return this.span;
  45173. }
  45174. };
  45175. A.ExtendRule.prototype = {
  45176. accept$1$1(visitor) {
  45177. return visitor.visitExtendRule$1(this);
  45178. },
  45179. accept$1(visitor) {
  45180. return this.accept$1$1(visitor, type$.dynamic);
  45181. },
  45182. toString$0(_) {
  45183. var t1 = this.selector.toString$0(0),
  45184. t2 = this.isOptional ? " !optional" : "";
  45185. return "@extend " + t1 + t2 + ";";
  45186. },
  45187. $isAstNode: 1,
  45188. $isStatement: 1,
  45189. get$span(receiver) {
  45190. return this.span;
  45191. }
  45192. };
  45193. A.ForRule.prototype = {
  45194. accept$1$1(visitor) {
  45195. return visitor.visitForRule$1(this);
  45196. },
  45197. accept$1(visitor) {
  45198. return this.accept$1$1(visitor, type$.dynamic);
  45199. },
  45200. toString$0(_) {
  45201. var _this = this,
  45202. t1 = _this.from.toString$0(0),
  45203. t2 = _this.isExclusive ? "to" : "through",
  45204. t3 = _this.children;
  45205. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  45206. },
  45207. get$span(receiver) {
  45208. return this.span;
  45209. }
  45210. };
  45211. A.ForwardRule.prototype = {
  45212. accept$1$1(visitor) {
  45213. return visitor.visitForwardRule$1(this);
  45214. },
  45215. accept$1(visitor) {
  45216. return this.accept$1$1(visitor, type$.dynamic);
  45217. },
  45218. toString$0(_) {
  45219. var t2, prefix, _this = this,
  45220. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  45221. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  45222. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  45223. if (shownMixinsAndFunctions != null) {
  45224. t2 = _this.shownVariables;
  45225. t2.toString;
  45226. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  45227. t1 = t2;
  45228. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  45229. t2 = _this.hiddenVariables;
  45230. t2.toString;
  45231. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  45232. t1 = t2;
  45233. }
  45234. prefix = _this.prefix;
  45235. if (prefix != null)
  45236. t1 += " as " + prefix + "*";
  45237. t2 = _this.configuration;
  45238. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45239. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45240. },
  45241. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  45242. var t2,
  45243. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  45244. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  45245. t1.push("$" + t2.get$current(0));
  45246. return B.JSArray_methods.join$1(t1, ", ");
  45247. },
  45248. $isAstNode: 1,
  45249. $isStatement: 1,
  45250. get$span(receiver) {
  45251. return this.span;
  45252. }
  45253. };
  45254. A.FunctionRule.prototype = {
  45255. accept$1$1(visitor) {
  45256. return visitor.visitFunctionRule$1(this);
  45257. },
  45258. accept$1(visitor) {
  45259. return this.accept$1$1(visitor, type$.dynamic);
  45260. },
  45261. toString$0(_) {
  45262. var t1 = this.children;
  45263. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45264. }
  45265. };
  45266. A.IfRule.prototype = {
  45267. accept$1$1(visitor) {
  45268. return visitor.visitIfRule$1(this);
  45269. },
  45270. accept$1(visitor) {
  45271. return this.accept$1$1(visitor, type$.dynamic);
  45272. },
  45273. toString$0(_) {
  45274. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  45275. lastClause = this.lastClause;
  45276. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  45277. },
  45278. $isAstNode: 1,
  45279. $isStatement: 1,
  45280. get$span(receiver) {
  45281. return this.span;
  45282. }
  45283. };
  45284. A.IfRule_toString_closure.prototype = {
  45285. call$2(index, clause) {
  45286. var t1 = index === 0 ? "if" : "else if";
  45287. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  45288. },
  45289. $signature: 510
  45290. };
  45291. A.IfRuleClause.prototype = {};
  45292. A.IfRuleClause$__closure.prototype = {
  45293. call$1(child) {
  45294. var t1;
  45295. $label0$0: {
  45296. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45297. t1 = true;
  45298. break $label0$0;
  45299. }
  45300. if (child instanceof A.ImportRule) {
  45301. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  45302. break $label0$0;
  45303. }
  45304. t1 = false;
  45305. break $label0$0;
  45306. }
  45307. return t1;
  45308. },
  45309. $signature: 147
  45310. };
  45311. A.IfRuleClause$___closure.prototype = {
  45312. call$1($import) {
  45313. return $import instanceof A.DynamicImport;
  45314. },
  45315. $signature: 148
  45316. };
  45317. A.IfClause.prototype = {
  45318. toString$0(_) {
  45319. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45320. }
  45321. };
  45322. A.ElseClause.prototype = {
  45323. toString$0(_) {
  45324. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45325. }
  45326. };
  45327. A.ImportRule.prototype = {
  45328. accept$1$1(visitor) {
  45329. return visitor.visitImportRule$1(this);
  45330. },
  45331. accept$1(visitor) {
  45332. return this.accept$1$1(visitor, type$.dynamic);
  45333. },
  45334. toString$0(_) {
  45335. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  45336. },
  45337. $isAstNode: 1,
  45338. $isStatement: 1,
  45339. get$span(receiver) {
  45340. return this.span;
  45341. }
  45342. };
  45343. A.IncludeRule.prototype = {
  45344. get$spanWithoutContent() {
  45345. var t2, t3,
  45346. t1 = this.span;
  45347. if (!(this.content == null)) {
  45348. t2 = t1.file;
  45349. t3 = this.$arguments.span;
  45350. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  45351. t1 = t3;
  45352. }
  45353. return t1;
  45354. },
  45355. accept$1$1(visitor) {
  45356. return visitor.visitIncludeRule$1(this);
  45357. },
  45358. accept$1(visitor) {
  45359. return this.accept$1$1(visitor, type$.dynamic);
  45360. },
  45361. toString$0(_) {
  45362. var t2, _this = this,
  45363. t1 = _this.namespace;
  45364. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  45365. t1 += _this.name;
  45366. t2 = _this.$arguments;
  45367. if (!t2.get$isEmpty(0))
  45368. t1 += "(" + t2.toString$0(0) + ")";
  45369. t2 = _this.content;
  45370. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  45371. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45372. },
  45373. $isAstNode: 1,
  45374. $isStatement: 1,
  45375. get$span(receiver) {
  45376. return this.span;
  45377. }
  45378. };
  45379. A.LoudComment.prototype = {
  45380. get$span(_) {
  45381. return this.text.span;
  45382. },
  45383. accept$1$1(visitor) {
  45384. return visitor.visitLoudComment$1(this);
  45385. },
  45386. accept$1(visitor) {
  45387. return this.accept$1$1(visitor, type$.dynamic);
  45388. },
  45389. toString$0(_) {
  45390. return this.text.toString$0(0);
  45391. },
  45392. $isAstNode: 1,
  45393. $isStatement: 1
  45394. };
  45395. A.MediaRule.prototype = {
  45396. accept$1$1(visitor) {
  45397. return visitor.visitMediaRule$1(this);
  45398. },
  45399. accept$1(visitor) {
  45400. return this.accept$1$1(visitor, type$.dynamic);
  45401. },
  45402. toString$0(_) {
  45403. var t1 = this.children;
  45404. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45405. },
  45406. get$span(receiver) {
  45407. return this.span;
  45408. }
  45409. };
  45410. A.MixinRule.prototype = {
  45411. get$hasContent() {
  45412. var result, _this = this,
  45413. value = _this.__MixinRule_hasContent_FI;
  45414. if (value === $) {
  45415. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  45416. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  45417. _this.__MixinRule_hasContent_FI = result;
  45418. value = result;
  45419. }
  45420. return value;
  45421. },
  45422. accept$1$1(visitor) {
  45423. return visitor.visitMixinRule$1(this);
  45424. },
  45425. accept$1(visitor) {
  45426. return this.accept$1$1(visitor, type$.dynamic);
  45427. },
  45428. toString$0(_) {
  45429. var t1 = "@mixin " + this.name,
  45430. t2 = this.$arguments;
  45431. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  45432. t1 += "(" + t2.toString$0(0) + ")";
  45433. t2 = this.children;
  45434. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45435. return t2.charCodeAt(0) == 0 ? t2 : t2;
  45436. }
  45437. };
  45438. A._HasContentVisitor.prototype = {
  45439. visitContentRule$1(_) {
  45440. return true;
  45441. }
  45442. };
  45443. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  45444. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  45445. A.ParentStatement_closure.prototype = {
  45446. call$1(child) {
  45447. var t1;
  45448. $label0$0: {
  45449. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45450. t1 = true;
  45451. break $label0$0;
  45452. }
  45453. if (child instanceof A.ImportRule) {
  45454. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  45455. break $label0$0;
  45456. }
  45457. t1 = false;
  45458. break $label0$0;
  45459. }
  45460. return t1;
  45461. },
  45462. $signature: 147
  45463. };
  45464. A.ParentStatement__closure.prototype = {
  45465. call$1($import) {
  45466. return $import instanceof A.DynamicImport;
  45467. },
  45468. $signature: 148
  45469. };
  45470. A.ReturnRule.prototype = {
  45471. accept$1$1(visitor) {
  45472. return visitor.visitReturnRule$1(this);
  45473. },
  45474. accept$1(visitor) {
  45475. return this.accept$1$1(visitor, type$.dynamic);
  45476. },
  45477. toString$0(_) {
  45478. return "@return " + this.expression.toString$0(0) + ";";
  45479. },
  45480. $isAstNode: 1,
  45481. $isStatement: 1,
  45482. get$span(receiver) {
  45483. return this.span;
  45484. }
  45485. };
  45486. A.SilentComment.prototype = {
  45487. accept$1$1(visitor) {
  45488. return visitor.visitSilentComment$1(this);
  45489. },
  45490. accept$1(visitor) {
  45491. return this.accept$1$1(visitor, type$.dynamic);
  45492. },
  45493. toString$0(_) {
  45494. return this.text;
  45495. },
  45496. $isAstNode: 1,
  45497. $isStatement: 1,
  45498. get$span(receiver) {
  45499. return this.span;
  45500. }
  45501. };
  45502. A.StyleRule.prototype = {
  45503. accept$1$1(visitor) {
  45504. return visitor.visitStyleRule$1(this);
  45505. },
  45506. accept$1(visitor) {
  45507. return this.accept$1$1(visitor, type$.dynamic);
  45508. },
  45509. toString$0(_) {
  45510. var t1 = this.children;
  45511. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45512. },
  45513. get$span(receiver) {
  45514. return this.span;
  45515. }
  45516. };
  45517. A.Stylesheet.prototype = {
  45518. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  45519. var t1, t2, t3, t4, _i, child;
  45520. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  45521. child = t1[_i];
  45522. if (child instanceof A.UseRule) {
  45523. t4.push(child);
  45524. continue;
  45525. }
  45526. if (child instanceof A.ForwardRule) {
  45527. t3.push(child);
  45528. continue;
  45529. }
  45530. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  45531. continue;
  45532. break;
  45533. }
  45534. },
  45535. accept$1$1(visitor) {
  45536. return visitor.visitStylesheet$1(this);
  45537. },
  45538. accept$1(visitor) {
  45539. return this.accept$1$1(visitor, type$.dynamic);
  45540. },
  45541. toString$0(_) {
  45542. var t1 = this.children;
  45543. return (t1 && B.JSArray_methods).join$1(t1, " ");
  45544. },
  45545. get$span(receiver) {
  45546. return this.span;
  45547. }
  45548. };
  45549. A.SupportsRule.prototype = {
  45550. accept$1$1(visitor) {
  45551. return visitor.visitSupportsRule$1(this);
  45552. },
  45553. accept$1(visitor) {
  45554. return this.accept$1$1(visitor, type$.dynamic);
  45555. },
  45556. toString$0(_) {
  45557. var t1 = this.children;
  45558. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45559. },
  45560. get$span(receiver) {
  45561. return this.span;
  45562. }
  45563. };
  45564. A.UseRule.prototype = {
  45565. UseRule$4$configuration(url, namespace, span, configuration) {
  45566. var t1, t2, _i, variable;
  45567. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  45568. variable = t1[_i];
  45569. if (variable.isGuarded)
  45570. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  45571. }
  45572. },
  45573. accept$1$1(visitor) {
  45574. return visitor.visitUseRule$1(this);
  45575. },
  45576. accept$1(visitor) {
  45577. return this.accept$1$1(visitor, type$.dynamic);
  45578. },
  45579. toString$0(_) {
  45580. var t1 = this.url,
  45581. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  45582. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  45583. dot = B.JSString_methods.indexOf$1(basename, ".");
  45584. t1 = this.namespace;
  45585. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  45586. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  45587. else
  45588. t1 = t2;
  45589. t2 = this.configuration;
  45590. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45591. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45592. },
  45593. $isAstNode: 1,
  45594. $isStatement: 1,
  45595. get$span(receiver) {
  45596. return this.span;
  45597. }
  45598. };
  45599. A.VariableDeclaration.prototype = {
  45600. accept$1$1(visitor) {
  45601. return visitor.visitVariableDeclaration$1(this);
  45602. },
  45603. accept$1(visitor) {
  45604. return this.accept$1$1(visitor, type$.dynamic);
  45605. },
  45606. toString$0(_) {
  45607. var t1 = this.namespace;
  45608. t1 = t1 != null ? "" + (t1 + ".") : "";
  45609. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  45610. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45611. },
  45612. $isAstNode: 1,
  45613. $isStatement: 1,
  45614. get$span(receiver) {
  45615. return this.span;
  45616. }
  45617. };
  45618. A.WarnRule.prototype = {
  45619. accept$1$1(visitor) {
  45620. return visitor.visitWarnRule$1(this);
  45621. },
  45622. accept$1(visitor) {
  45623. return this.accept$1$1(visitor, type$.dynamic);
  45624. },
  45625. toString$0(_) {
  45626. return "@warn " + this.expression.toString$0(0) + ";";
  45627. },
  45628. $isAstNode: 1,
  45629. $isStatement: 1,
  45630. get$span(receiver) {
  45631. return this.span;
  45632. }
  45633. };
  45634. A.WhileRule.prototype = {
  45635. accept$1$1(visitor) {
  45636. return visitor.visitWhileRule$1(this);
  45637. },
  45638. accept$1(visitor) {
  45639. return this.accept$1$1(visitor, type$.dynamic);
  45640. },
  45641. toString$0(_) {
  45642. var t1 = this.children;
  45643. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45644. },
  45645. get$span(receiver) {
  45646. return this.span;
  45647. }
  45648. };
  45649. A.SupportsAnything.prototype = {
  45650. toString$0(_) {
  45651. return "(" + this.contents.toString$0(0) + ")";
  45652. },
  45653. $isAstNode: 1,
  45654. get$span(receiver) {
  45655. return this.span;
  45656. }
  45657. };
  45658. A.SupportsDeclaration.prototype = {
  45659. get$isCustomProperty() {
  45660. var t1,
  45661. _0_0 = this.name;
  45662. $label0$0: {
  45663. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  45664. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  45665. break $label0$0;
  45666. }
  45667. t1 = false;
  45668. break $label0$0;
  45669. }
  45670. return t1;
  45671. },
  45672. toString$0(_) {
  45673. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  45674. },
  45675. $isAstNode: 1,
  45676. get$span(receiver) {
  45677. return this.span;
  45678. }
  45679. };
  45680. A.SupportsFunction.prototype = {
  45681. toString$0(_) {
  45682. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  45683. },
  45684. $isAstNode: 1,
  45685. get$span(receiver) {
  45686. return this.span;
  45687. }
  45688. };
  45689. A.SupportsInterpolation.prototype = {
  45690. toString$0(_) {
  45691. return "#{" + this.expression.toString$0(0) + "}";
  45692. },
  45693. $isAstNode: 1,
  45694. get$span(receiver) {
  45695. return this.span;
  45696. }
  45697. };
  45698. A.SupportsNegation.prototype = {
  45699. toString$0(_) {
  45700. var t1 = this.condition;
  45701. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  45702. return "not (" + t1.toString$0(0) + ")";
  45703. else
  45704. return "not " + t1.toString$0(0);
  45705. },
  45706. $isAstNode: 1,
  45707. get$span(receiver) {
  45708. return this.span;
  45709. }
  45710. };
  45711. A.SupportsOperation.prototype = {
  45712. toString$0(_) {
  45713. var _this = this;
  45714. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  45715. },
  45716. _operation$_parenthesize$1(condition) {
  45717. var t1;
  45718. if (!(condition instanceof A.SupportsNegation))
  45719. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  45720. else
  45721. t1 = true;
  45722. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  45723. },
  45724. $isAstNode: 1,
  45725. get$span(receiver) {
  45726. return this.span;
  45727. }
  45728. };
  45729. A.Selector.prototype = {
  45730. assertNotBogus$1$name($name) {
  45731. var t1;
  45732. if (!this.accept$1(B._IsBogusVisitor_true))
  45733. return;
  45734. t1 = this.toString$0(0);
  45735. A.EvaluationContext_current().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_vrR);
  45736. },
  45737. toString$0(_) {
  45738. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  45739. this.accept$1(visitor);
  45740. return visitor._serialize$_buffer.toString$0(0);
  45741. },
  45742. $isAstNode: 1,
  45743. get$span(receiver) {
  45744. return this.span;
  45745. }
  45746. };
  45747. A._IsInvisibleVisitor0.prototype = {
  45748. visitSelectorList$1(list) {
  45749. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  45750. },
  45751. visitComplexSelector$1(complex) {
  45752. var t1;
  45753. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  45754. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  45755. else
  45756. t1 = true;
  45757. return t1;
  45758. },
  45759. visitPlaceholderSelector$1(placeholder) {
  45760. return true;
  45761. },
  45762. visitPseudoSelector$1(pseudo) {
  45763. var t1,
  45764. _0_0 = pseudo.selector;
  45765. if (_0_0 != null) {
  45766. if (pseudo.name === "not")
  45767. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  45768. else
  45769. t1 = this.visitSelectorList$1(_0_0);
  45770. return t1;
  45771. } else
  45772. return false;
  45773. }
  45774. };
  45775. A._IsBogusVisitor.prototype = {
  45776. visitComplexSelector$1(complex) {
  45777. var t2,
  45778. t1 = complex.components;
  45779. if (t1.length === 0)
  45780. return complex.leadingCombinators.length !== 0;
  45781. else {
  45782. t2 = this.includeLeadingCombinator ? 0 : 1;
  45783. 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));
  45784. }
  45785. },
  45786. visitPseudoSelector$1(pseudo) {
  45787. var selector = pseudo.selector;
  45788. if (selector == null)
  45789. return false;
  45790. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  45791. }
  45792. };
  45793. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  45794. call$1(component) {
  45795. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45796. },
  45797. $signature: 48
  45798. };
  45799. A._IsUselessVisitor.prototype = {
  45800. visitComplexSelector$1(complex) {
  45801. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  45802. },
  45803. visitPseudoSelector$1(pseudo) {
  45804. return pseudo.accept$1(B._IsBogusVisitor_true);
  45805. }
  45806. };
  45807. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  45808. call$1(component) {
  45809. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45810. },
  45811. $signature: 48
  45812. };
  45813. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  45814. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  45815. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  45816. A.AttributeSelector.prototype = {
  45817. accept$1$1(visitor) {
  45818. return visitor.visitAttributeSelector$1(this);
  45819. },
  45820. accept$1(visitor) {
  45821. return this.accept$1$1(visitor, type$.dynamic);
  45822. },
  45823. $eq(_, other) {
  45824. var _this = this;
  45825. if (other == null)
  45826. return false;
  45827. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  45828. },
  45829. get$hashCode(_) {
  45830. var _this = this,
  45831. t1 = _this.name;
  45832. 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;
  45833. }
  45834. };
  45835. A.AttributeOperator.prototype = {
  45836. _enumToString$0() {
  45837. return "AttributeOperator." + this._name;
  45838. },
  45839. toString$0(_) {
  45840. return this._attribute$_text;
  45841. }
  45842. };
  45843. A.ClassSelector.prototype = {
  45844. $eq(_, other) {
  45845. if (other == null)
  45846. return false;
  45847. return other instanceof A.ClassSelector && other.name === this.name;
  45848. },
  45849. accept$1$1(visitor) {
  45850. return visitor.visitClassSelector$1(this);
  45851. },
  45852. accept$1(visitor) {
  45853. return this.accept$1$1(visitor, type$.dynamic);
  45854. },
  45855. addSuffix$1(suffix) {
  45856. return new A.ClassSelector(this.name + suffix, this.span);
  45857. },
  45858. get$hashCode(_) {
  45859. return B.JSString_methods.get$hashCode(this.name);
  45860. }
  45861. };
  45862. A.Combinator.prototype = {
  45863. _enumToString$0() {
  45864. return "Combinator." + this._name;
  45865. },
  45866. toString$0(_) {
  45867. return this._combinator$_text;
  45868. }
  45869. };
  45870. A.ComplexSelector.prototype = {
  45871. get$specificity() {
  45872. var result, _this = this,
  45873. value = _this.__ComplexSelector_specificity_FI;
  45874. if (value === $) {
  45875. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  45876. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  45877. _this.__ComplexSelector_specificity_FI = result;
  45878. value = result;
  45879. }
  45880. return value;
  45881. },
  45882. get$singleCompound() {
  45883. var _0_0, _0_4, t1, selector, _null = null;
  45884. if (this.leadingCombinators.length !== 0)
  45885. return _null;
  45886. _0_0 = this.components;
  45887. $label0$0: {
  45888. if (_0_0.length === 1) {
  45889. _0_4 = _0_0[0];
  45890. t1 = _0_4;
  45891. selector = t1.selector;
  45892. t1 = _0_4.combinators.length <= 0;
  45893. } else {
  45894. selector = _null;
  45895. t1 = false;
  45896. }
  45897. if (t1) {
  45898. t1 = selector;
  45899. break $label0$0;
  45900. }
  45901. t1 = _null;
  45902. break $label0$0;
  45903. }
  45904. return t1;
  45905. },
  45906. accept$1$1(visitor) {
  45907. return visitor.visitComplexSelector$1(this);
  45908. },
  45909. accept$1(visitor) {
  45910. return this.accept$1$1(visitor, type$.dynamic);
  45911. },
  45912. isSuperselector$1(other) {
  45913. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  45914. },
  45915. withAdditionalCombinators$1(combinators) {
  45916. var _0_0, _0_1, initial, last, t1, t2, _this = this;
  45917. if (combinators.length === 0)
  45918. return _this;
  45919. _0_0 = _this.components;
  45920. $label0$0: {
  45921. _0_1 = _0_0.length;
  45922. if (_0_1 >= 1) {
  45923. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  45924. last = _0_0[_0_1 - 1];
  45925. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45926. t1.push(last.withAdditionalCombinators$1(combinators));
  45927. t2 = _this.lineBreak || false;
  45928. t2 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, t2);
  45929. t1 = t2;
  45930. break $label0$0;
  45931. }
  45932. if (_0_1 <= 0) {
  45933. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45934. B.JSArray_methods.addAll$1(t1, combinators);
  45935. t2 = _this.lineBreak || false;
  45936. t2 = A.ComplexSelector$(t1, B.List_empty0, _this.span, t2);
  45937. t1 = t2;
  45938. break $label0$0;
  45939. }
  45940. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  45941. }
  45942. return t1;
  45943. },
  45944. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  45945. var t2, _0_1, initial, last, _this = this,
  45946. t1 = child.leadingCombinators,
  45947. _0_0 = _this.components;
  45948. if (t1.length === 0) {
  45949. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  45950. B.JSArray_methods.addAll$1(t1, child.components);
  45951. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45952. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  45953. } else {
  45954. _0_1 = _0_0.length;
  45955. if (_0_1 >= 1) {
  45956. t2 = _0_1 - 1;
  45957. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  45958. last = _0_0[t2];
  45959. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45960. t2.push(last.withAdditionalCombinators$1(t1));
  45961. B.JSArray_methods.addAll$1(t2, child.components);
  45962. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45963. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  45964. } else {
  45965. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45966. B.JSArray_methods.addAll$1(t2, t1);
  45967. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45968. return A.ComplexSelector$(t2, child.components, span, t1);
  45969. }
  45970. }
  45971. },
  45972. concatenate$2(child, span) {
  45973. return this.concatenate$3$forceLineBreak(child, span, false);
  45974. },
  45975. get$hashCode(_) {
  45976. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  45977. },
  45978. $eq(_, other) {
  45979. if (other == null)
  45980. return false;
  45981. 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);
  45982. }
  45983. };
  45984. A.ComplexSelector_specificity_closure.prototype = {
  45985. call$2(sum, component) {
  45986. return sum + component.selector.get$specificity();
  45987. },
  45988. $signature: 509
  45989. };
  45990. A.ComplexSelectorComponent.prototype = {
  45991. withAdditionalCombinators$1(combinators) {
  45992. var t1, t2, _this = this;
  45993. if (combinators.length === 0)
  45994. t1 = _this;
  45995. else {
  45996. t1 = type$.CssValue_Combinator;
  45997. t2 = A.List_List$of(_this.combinators, true, t1);
  45998. B.JSArray_methods.addAll$1(t2, combinators);
  45999. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  46000. }
  46001. return t1;
  46002. },
  46003. get$hashCode(_) {
  46004. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  46005. },
  46006. $eq(_, other) {
  46007. var t1;
  46008. if (other == null)
  46009. return false;
  46010. if (other instanceof A.ComplexSelectorComponent) {
  46011. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  46012. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  46013. } else
  46014. t1 = false;
  46015. return t1;
  46016. },
  46017. toString$0(_) {
  46018. var t1 = this.combinators;
  46019. 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, "");
  46020. }
  46021. };
  46022. A.ComplexSelectorComponent_toString_closure.prototype = {
  46023. call$1(combinator) {
  46024. return " " + combinator.toString$0(0);
  46025. },
  46026. $signature: 508
  46027. };
  46028. A.CompoundSelector.prototype = {
  46029. get$specificity() {
  46030. var result, _this = this,
  46031. value = _this.__CompoundSelector_specificity_FI;
  46032. if (value === $) {
  46033. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  46034. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  46035. _this.__CompoundSelector_specificity_FI = result;
  46036. value = result;
  46037. }
  46038. return value;
  46039. },
  46040. accept$1$1(visitor) {
  46041. return visitor.visitCompoundSelector$1(this);
  46042. },
  46043. accept$1(visitor) {
  46044. return this.accept$1$1(visitor, type$.dynamic);
  46045. },
  46046. get$hashCode(_) {
  46047. return B.C_ListEquality0.hash$1(this.components);
  46048. },
  46049. $eq(_, other) {
  46050. if (other == null)
  46051. return false;
  46052. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  46053. }
  46054. };
  46055. A.CompoundSelector_specificity_closure.prototype = {
  46056. call$2(sum, component) {
  46057. return sum + component.get$specificity();
  46058. },
  46059. $signature: 503
  46060. };
  46061. A.IDSelector.prototype = {
  46062. get$specificity() {
  46063. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  46064. },
  46065. accept$1$1(visitor) {
  46066. return visitor.visitIDSelector$1(this);
  46067. },
  46068. accept$1(visitor) {
  46069. return this.accept$1$1(visitor, type$.dynamic);
  46070. },
  46071. addSuffix$1(suffix) {
  46072. return new A.IDSelector(this.name + suffix, this.span);
  46073. },
  46074. unify$1(compound) {
  46075. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  46076. return null;
  46077. return this.super$SimpleSelector$unify(compound);
  46078. },
  46079. $eq(_, other) {
  46080. if (other == null)
  46081. return false;
  46082. return other instanceof A.IDSelector && other.name === this.name;
  46083. },
  46084. get$hashCode(_) {
  46085. return B.JSString_methods.get$hashCode(this.name);
  46086. }
  46087. };
  46088. A.IDSelector_unify_closure.prototype = {
  46089. call$1(simple) {
  46090. var t1;
  46091. if (simple instanceof A.IDSelector)
  46092. t1 = this.$this.name !== simple.name;
  46093. else
  46094. t1 = false;
  46095. return t1;
  46096. },
  46097. $signature: 15
  46098. };
  46099. A.SelectorList.prototype = {
  46100. get$asSassList() {
  46101. var t1 = this.components;
  46102. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  46103. },
  46104. accept$1$1(visitor) {
  46105. return visitor.visitSelectorList$1(this);
  46106. },
  46107. accept$1(visitor) {
  46108. return this.accept$1$1(visitor, type$.dynamic);
  46109. },
  46110. unify$1(other) {
  46111. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  46112. t1 = type$.JSArray_ComplexSelector,
  46113. t2 = A._setArrayType([], t1);
  46114. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  46115. complex1 = t3[_i];
  46116. for (_i0 = 0; _i0 < t6; ++_i0) {
  46117. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  46118. if (t7 != null)
  46119. B.JSArray_methods.addAll$1(t2, t7);
  46120. }
  46121. }
  46122. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  46123. },
  46124. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  46125. var parentSelector, t1, _this = this;
  46126. if ($parent == null) {
  46127. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  46128. if (parentSelector == null)
  46129. return _this;
  46130. throw A.wrapException(A.SassException$(string$.Top_le, parentSelector.span, null));
  46131. }
  46132. t1 = _this.components;
  46133. 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);
  46134. },
  46135. resolveParentSelectors$1($parent) {
  46136. return this.resolveParentSelectors$2$implicitParent($parent, true);
  46137. },
  46138. _resolveParentSelectorsCompound$2(component, $parent) {
  46139. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  46140. t1 = component.selector,
  46141. simples = t1.components,
  46142. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  46143. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  46144. return null;
  46145. if (containsSelectorPseudo) {
  46146. t2 = simples;
  46147. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  46148. } else
  46149. resolvedSimples0 = simples;
  46150. resolvedSimples = resolvedSimples0;
  46151. parentSelector = J.get$first$ax(simples);
  46152. try {
  46153. if (!(parentSelector instanceof A.ParentSelector)) {
  46154. t2 = component.span;
  46155. 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);
  46156. return t2;
  46157. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  46158. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  46159. return t1.components;
  46160. }
  46161. } catch (exception) {
  46162. t1 = A.unwrapException(exception);
  46163. if (t1 instanceof A.SassException) {
  46164. error = t1;
  46165. stackTrace = A.getTraceFromException(exception);
  46166. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  46167. } else
  46168. throw exception;
  46169. }
  46170. t1 = $parent.components;
  46171. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46172. },
  46173. isSuperselector$1(other) {
  46174. return A.listIsSuperselector(this.components, other.components);
  46175. },
  46176. withAdditionalCombinators$1(combinators) {
  46177. var t1;
  46178. if (combinators.length === 0)
  46179. t1 = this;
  46180. else {
  46181. t1 = this.components;
  46182. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  46183. }
  46184. return t1;
  46185. },
  46186. get$hashCode(_) {
  46187. return B.C_ListEquality0.hash$1(this.components);
  46188. },
  46189. $eq(_, other) {
  46190. if (other == null)
  46191. return false;
  46192. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  46193. }
  46194. };
  46195. A.SelectorList_asSassList_closure.prototype = {
  46196. call$1(complex) {
  46197. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  46198. t1 = type$.JSArray_Value,
  46199. t2 = A._setArrayType([], t1);
  46200. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  46201. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  46202. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  46203. component = t3[_i];
  46204. t5 = component.selector;
  46205. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  46206. t5.accept$1(visitor);
  46207. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  46208. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  46209. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  46210. B.JSArray_methods.addAll$1(t2, t5);
  46211. }
  46212. return A.SassList$(t2, B.ListSeparator_EVt, false);
  46213. },
  46214. $signature: 501
  46215. };
  46216. A.SelectorList_resolveParentSelectors_closure.prototype = {
  46217. call$1(complex) {
  46218. 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;
  46219. if (complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  46220. if (!_this.implicitParent)
  46221. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  46222. t1 = _this.parent.components;
  46223. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46224. }
  46225. t1 = type$.JSArray_ComplexSelector;
  46226. newComplexes = A._setArrayType([], t1);
  46227. 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) {
  46228. component = t2[_i];
  46229. resolved = t4._resolveParentSelectorsCompound$2(component, t5);
  46230. if (resolved == null)
  46231. if (newComplexes.length === 0)
  46232. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  46233. else
  46234. for (i = 0; i < newComplexes.length; ++i) {
  46235. t12 = newComplexes[i];
  46236. t13 = t12.leadingCombinators;
  46237. t14 = A.List_List$of(t12.components, true, t10);
  46238. t14.push(component);
  46239. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12.lineBreak || false);
  46240. }
  46241. else if (newComplexes.length === 0)
  46242. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure0(complex), t6));
  46243. else {
  46244. t12 = A._setArrayType([], t1);
  46245. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  46246. newComplex = newComplexes[_i0];
  46247. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  46248. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  46249. }
  46250. newComplexes = t12;
  46251. }
  46252. }
  46253. return newComplexes;
  46254. },
  46255. $signature: 494
  46256. };
  46257. A.SelectorList_resolveParentSelectors__closure.prototype = {
  46258. call$1(parentComplex) {
  46259. var t1 = this.complex;
  46260. return parentComplex.concatenate$2(t1, t1.span);
  46261. },
  46262. $signature: 62
  46263. };
  46264. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  46265. call$1(resolvedComplex) {
  46266. var t1 = resolvedComplex.leadingCombinators,
  46267. t2 = this.complex,
  46268. t3 = t2.leadingCombinators;
  46269. if (t1.length === 0)
  46270. t1 = t3;
  46271. else {
  46272. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  46273. B.JSArray_methods.addAll$1(t3, t1);
  46274. t1 = t3;
  46275. }
  46276. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  46277. },
  46278. $signature: 62
  46279. };
  46280. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  46281. call$1(simple) {
  46282. var selector;
  46283. if (!(simple instanceof A.PseudoSelector))
  46284. return false;
  46285. selector = simple.selector;
  46286. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46287. },
  46288. $signature: 15
  46289. };
  46290. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  46291. call$1(simple) {
  46292. var _0_2, selector, t1;
  46293. $label0$0: {
  46294. if (simple instanceof A.PseudoSelector) {
  46295. _0_2 = simple.selector;
  46296. if (_0_2 != null) {
  46297. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  46298. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46299. } else {
  46300. selector = null;
  46301. t1 = false;
  46302. }
  46303. } else {
  46304. selector = null;
  46305. t1 = false;
  46306. }
  46307. if (t1) {
  46308. t1 = simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  46309. break $label0$0;
  46310. }
  46311. t1 = simple;
  46312. break $label0$0;
  46313. }
  46314. return t1;
  46315. },
  46316. $signature: 492
  46317. };
  46318. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  46319. call$1(complex) {
  46320. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  46321. try {
  46322. t4 = complex.components;
  46323. lastComponent = B.JSArray_methods.get$last(t4);
  46324. if (lastComponent.combinators.length !== 0) {
  46325. 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);
  46326. throw A.wrapException(t1);
  46327. }
  46328. suffix = _this.parentSelector.suffix;
  46329. lastSimples = lastComponent.selector.components;
  46330. t5 = type$.SimpleSelector;
  46331. t6 = _this.resolvedSimples;
  46332. t7 = J.getInterceptor$ax(t6);
  46333. if (suffix == null) {
  46334. t1 = A.List_List$of(lastSimples, true, t5);
  46335. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  46336. t1 = t1;
  46337. } else {
  46338. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  46339. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  46340. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  46341. t1 = t2;
  46342. }
  46343. t2 = _this.component;
  46344. last = A.CompoundSelector$(t1, t2.selector.span);
  46345. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  46346. t4 = t2.span;
  46347. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  46348. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  46349. return t4;
  46350. } catch (exception) {
  46351. t1 = A.unwrapException(exception);
  46352. if (t1 instanceof A.SassException) {
  46353. error = t1;
  46354. stackTrace = A.getTraceFromException(exception);
  46355. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  46356. } else
  46357. throw exception;
  46358. }
  46359. },
  46360. $signature: 62
  46361. };
  46362. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  46363. call$1(complex) {
  46364. return complex.withAdditionalCombinators$1(this.combinators);
  46365. },
  46366. $signature: 62
  46367. };
  46368. A._ParentSelectorVisitor.prototype = {
  46369. visitParentSelector$1(selector) {
  46370. return selector;
  46371. }
  46372. };
  46373. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  46374. A.ParentSelector.prototype = {
  46375. accept$1$1(visitor) {
  46376. return visitor.visitParentSelector$1(this);
  46377. },
  46378. accept$1(visitor) {
  46379. return this.accept$1$1(visitor, type$.dynamic);
  46380. },
  46381. unify$1(compound) {
  46382. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  46383. }
  46384. };
  46385. A.PlaceholderSelector.prototype = {
  46386. accept$1$1(visitor) {
  46387. return visitor.visitPlaceholderSelector$1(this);
  46388. },
  46389. accept$1(visitor) {
  46390. return this.accept$1$1(visitor, type$.dynamic);
  46391. },
  46392. addSuffix$1(suffix) {
  46393. return new A.PlaceholderSelector(this.name + suffix, this.span);
  46394. },
  46395. $eq(_, other) {
  46396. if (other == null)
  46397. return false;
  46398. return other instanceof A.PlaceholderSelector && other.name === this.name;
  46399. },
  46400. get$hashCode(_) {
  46401. return B.JSString_methods.get$hashCode(this.name);
  46402. }
  46403. };
  46404. A.PseudoSelector.prototype = {
  46405. get$isHostContext() {
  46406. return this.isClass && this.name === "host-context" && this.selector != null;
  46407. },
  46408. get$specificity() {
  46409. var result, _this = this,
  46410. value = _this.__PseudoSelector_specificity_FI;
  46411. if (value === $) {
  46412. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  46413. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  46414. _this.__PseudoSelector_specificity_FI = result;
  46415. value = result;
  46416. }
  46417. return value;
  46418. },
  46419. withSelector$1(selector) {
  46420. var _this = this;
  46421. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  46422. },
  46423. addSuffix$1(suffix) {
  46424. var _this = this;
  46425. if (_this.argument != null || _this.selector != null)
  46426. _this.super$SimpleSelector$addSuffix(suffix);
  46427. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  46428. },
  46429. unify$1(compound) {
  46430. var other, result, t2, addedThis, _i, simple, _this = this,
  46431. t1 = _this.name;
  46432. if (t1 === "host" || t1 === "host-context") {
  46433. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  46434. return null;
  46435. } else {
  46436. if (compound.length === 1) {
  46437. other = compound[0];
  46438. if (!(other instanceof A.UniversalSelector))
  46439. if (other instanceof A.PseudoSelector)
  46440. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46441. else
  46442. t1 = false;
  46443. else
  46444. t1 = true;
  46445. } else {
  46446. other = null;
  46447. t1 = false;
  46448. }
  46449. if (t1)
  46450. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46451. }
  46452. if (B.JSArray_methods.contains$1(compound, _this))
  46453. return compound;
  46454. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46455. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46456. simple = compound[_i];
  46457. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  46458. if (t2)
  46459. return null;
  46460. result.push(_this);
  46461. addedThis = true;
  46462. }
  46463. result.push(simple);
  46464. }
  46465. if (!addedThis)
  46466. result.push(_this);
  46467. return result;
  46468. },
  46469. isSuperselector$1(other) {
  46470. var selector, t1, t2, _this = this;
  46471. if (_this.super$SimpleSelector$isSuperselector(other))
  46472. return true;
  46473. selector = _this.selector;
  46474. if (selector == null)
  46475. return _this.$eq(0, other);
  46476. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  46477. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  46478. return t1 == null ? false : t1;
  46479. }
  46480. t1 = type$.JSArray_SimpleSelector;
  46481. t2 = _this.span;
  46482. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  46483. },
  46484. accept$1$1(visitor) {
  46485. return visitor.visitPseudoSelector$1(this);
  46486. },
  46487. accept$1(visitor) {
  46488. return this.accept$1$1(visitor, type$.dynamic);
  46489. },
  46490. $eq(_, other) {
  46491. var _this = this;
  46492. if (other == null)
  46493. return false;
  46494. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  46495. },
  46496. get$hashCode(_) {
  46497. var _this = this,
  46498. t1 = B.JSString_methods.get$hashCode(_this.name),
  46499. t2 = !_this.isClass ? 519018 : 218159;
  46500. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  46501. }
  46502. };
  46503. A.PseudoSelector_specificity_closure.prototype = {
  46504. call$0() {
  46505. var selector, t2,
  46506. t1 = this.$this;
  46507. if (!t1.isClass)
  46508. return 1;
  46509. selector = t1.selector;
  46510. if (selector == null)
  46511. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46512. switch (t1.normalizedName) {
  46513. case "where":
  46514. return 0;
  46515. case "is":
  46516. case "not":
  46517. case "has":
  46518. case "matches":
  46519. t1 = selector.components;
  46520. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  46521. case "nth-child":
  46522. case "nth-last-child":
  46523. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  46524. t2 = selector.components;
  46525. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  46526. default:
  46527. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46528. }
  46529. },
  46530. $signature: 10
  46531. };
  46532. A.PseudoSelector_specificity__closure.prototype = {
  46533. call$1(component) {
  46534. return component.get$specificity();
  46535. },
  46536. $signature: 179
  46537. };
  46538. A.PseudoSelector_specificity__closure0.prototype = {
  46539. call$1(component) {
  46540. return component.get$specificity();
  46541. },
  46542. $signature: 179
  46543. };
  46544. A.PseudoSelector_unify_closure.prototype = {
  46545. call$1(simple) {
  46546. var t1;
  46547. if (simple instanceof A.PseudoSelector)
  46548. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  46549. else
  46550. t1 = false;
  46551. return t1;
  46552. },
  46553. $signature: 15
  46554. };
  46555. A.QualifiedName.prototype = {
  46556. $eq(_, other) {
  46557. if (other == null)
  46558. return false;
  46559. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  46560. },
  46561. get$hashCode(_) {
  46562. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  46563. },
  46564. toString$0(_) {
  46565. var t1 = this.namespace,
  46566. t2 = this.name;
  46567. return t1 == null ? t2 : t1 + "|" + t2;
  46568. }
  46569. };
  46570. A.SimpleSelector.prototype = {
  46571. get$specificity() {
  46572. return 1000;
  46573. },
  46574. addSuffix$1(suffix) {
  46575. 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));
  46576. },
  46577. unify$1(compound) {
  46578. var other, t1, result, addedThis, _i, simple, _this = this;
  46579. if (compound.length === 1) {
  46580. other = compound[0];
  46581. if (!(other instanceof A.UniversalSelector))
  46582. if (other instanceof A.PseudoSelector)
  46583. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46584. else
  46585. t1 = false;
  46586. else
  46587. t1 = true;
  46588. } else {
  46589. other = null;
  46590. t1 = false;
  46591. }
  46592. if (t1)
  46593. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46594. if (B.JSArray_methods.contains$1(compound, _this))
  46595. return compound;
  46596. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46597. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46598. simple = compound[_i];
  46599. if (!addedThis && simple instanceof A.PseudoSelector) {
  46600. result.push(_this);
  46601. addedThis = true;
  46602. }
  46603. result.push(simple);
  46604. }
  46605. if (!addedThis)
  46606. result.push(_this);
  46607. return result;
  46608. },
  46609. isSuperselector$1(other) {
  46610. var list;
  46611. if (this.$eq(0, other))
  46612. return true;
  46613. if (other instanceof A.PseudoSelector && other.isClass) {
  46614. list = other.selector;
  46615. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  46616. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  46617. }
  46618. return false;
  46619. }
  46620. };
  46621. A.SimpleSelector_isSuperselector_closure.prototype = {
  46622. call$1(complex) {
  46623. var t1 = complex.components;
  46624. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  46625. },
  46626. $signature: 18
  46627. };
  46628. A.SimpleSelector_isSuperselector__closure.prototype = {
  46629. call$1(simple) {
  46630. return this.$this.isSuperselector$1(simple);
  46631. },
  46632. $signature: 15
  46633. };
  46634. A.TypeSelector.prototype = {
  46635. get$specificity() {
  46636. return 1;
  46637. },
  46638. accept$1$1(visitor) {
  46639. return visitor.visitTypeSelector$1(this);
  46640. },
  46641. accept$1(visitor) {
  46642. return this.accept$1$1(visitor, type$.dynamic);
  46643. },
  46644. addSuffix$1(suffix) {
  46645. var t1 = this.name;
  46646. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  46647. },
  46648. unify$1(compound) {
  46649. var unified, t1,
  46650. _0_0 = B.JSArray_methods.get$first(compound);
  46651. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  46652. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  46653. if (unified == null)
  46654. return null;
  46655. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46656. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  46657. return t1;
  46658. } else {
  46659. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  46660. B.JSArray_methods.addAll$1(t1, compound);
  46661. return t1;
  46662. }
  46663. },
  46664. isSuperselector$1(other) {
  46665. var t1, t2;
  46666. if (!this.super$SimpleSelector$isSuperselector(other))
  46667. if (other instanceof A.TypeSelector) {
  46668. t1 = this.name;
  46669. t2 = other.name;
  46670. if (t1.name === t2.name) {
  46671. t1 = t1.namespace;
  46672. t1 = t1 === "*" || t1 == t2.namespace;
  46673. } else
  46674. t1 = false;
  46675. } else
  46676. t1 = false;
  46677. else
  46678. t1 = true;
  46679. return t1;
  46680. },
  46681. $eq(_, other) {
  46682. if (other == null)
  46683. return false;
  46684. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  46685. },
  46686. get$hashCode(_) {
  46687. var t1 = this.name;
  46688. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  46689. }
  46690. };
  46691. A.UniversalSelector.prototype = {
  46692. get$specificity() {
  46693. return 0;
  46694. },
  46695. accept$1$1(visitor) {
  46696. return visitor.visitUniversalSelector$1(this);
  46697. },
  46698. accept$1(visitor) {
  46699. return this.accept$1$1(visitor, type$.dynamic);
  46700. },
  46701. unify$1(compound) {
  46702. var _0_4, t1, rest, _0_4_isSet, unified, _this = this, _null = null,
  46703. _0_1 = compound.length;
  46704. if (_0_1 >= 1) {
  46705. _0_4 = compound[0];
  46706. t1 = _0_4;
  46707. if (!(t1 instanceof A.UniversalSelector))
  46708. t1 = _0_4 instanceof A.TypeSelector;
  46709. else
  46710. t1 = true;
  46711. if (t1) {
  46712. rest = B.JSArray_methods.sublist$1(compound, 1);
  46713. t1 = true;
  46714. } else {
  46715. rest = _null;
  46716. t1 = false;
  46717. }
  46718. _0_4_isSet = true;
  46719. } else {
  46720. rest = _null;
  46721. _0_4 = rest;
  46722. _0_4_isSet = false;
  46723. t1 = false;
  46724. }
  46725. if (t1) {
  46726. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  46727. if (unified == null)
  46728. return _null;
  46729. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46730. B.JSArray_methods.addAll$1(t1, rest);
  46731. return t1;
  46732. }
  46733. if (_0_1 === 1) {
  46734. if (_0_4_isSet)
  46735. t1 = _0_4;
  46736. else {
  46737. _0_4 = compound[0];
  46738. t1 = _0_4;
  46739. _0_4_isSet = true;
  46740. }
  46741. if (t1 instanceof A.PseudoSelector) {
  46742. t1 = _0_4_isSet ? _0_4 : compound[0];
  46743. type$.PseudoSelector._as(t1);
  46744. t1 = t1.isClass && t1.name === "host" || t1.get$isHostContext();
  46745. } else
  46746. t1 = false;
  46747. } else
  46748. t1 = false;
  46749. if (t1)
  46750. return _null;
  46751. if (_0_1 <= 0)
  46752. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46753. t1 = _this.namespace;
  46754. if (t1 == null || t1 === "*")
  46755. t1 = compound;
  46756. else {
  46757. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46758. B.JSArray_methods.addAll$1(t1, compound);
  46759. }
  46760. return t1;
  46761. },
  46762. isSuperselector$1(other) {
  46763. var t1 = this.namespace;
  46764. if (t1 === "*")
  46765. return true;
  46766. if (other instanceof A.TypeSelector)
  46767. return t1 == other.name.namespace;
  46768. if (other instanceof A.UniversalSelector)
  46769. return t1 == other.namespace;
  46770. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  46771. },
  46772. $eq(_, other) {
  46773. if (other == null)
  46774. return false;
  46775. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  46776. },
  46777. get$hashCode(_) {
  46778. return J.get$hashCode$(this.namespace);
  46779. }
  46780. };
  46781. A._compileStylesheet_closure0.prototype = {
  46782. call$1(url) {
  46783. var t1;
  46784. if (url === "") {
  46785. t1 = this.stylesheet.span;
  46786. 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();
  46787. } else
  46788. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  46789. return t1;
  46790. },
  46791. $signature: 5
  46792. };
  46793. A.AsyncEnvironment.prototype = {
  46794. closure$0() {
  46795. var t4, t5, t6, _this = this,
  46796. t1 = _this._async_environment$_forwardedModules,
  46797. t2 = _this._async_environment$_nestedForwardedModules,
  46798. t3 = _this._async_environment$_variables;
  46799. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  46800. t4 = _this._async_environment$_variableNodes;
  46801. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  46802. t5 = _this._async_environment$_functions;
  46803. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  46804. t6 = _this._async_environment$_mixins;
  46805. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  46806. 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);
  46807. },
  46808. forwardModule$2(module, rule) {
  46809. var view, t1, t2, _this = this,
  46810. forwardedModules = _this._async_environment$_forwardedModules;
  46811. if (forwardedModules == null)
  46812. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46813. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  46814. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  46815. t2 = t1.__js_helper$_current;
  46816. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  46817. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  46818. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  46819. }
  46820. _this._async_environment$_allModules.push(module);
  46821. forwardedModules.$indexSet(0, view, rule);
  46822. },
  46823. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  46824. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  46825. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  46826. larger = oldMembers;
  46827. smaller = newMembers;
  46828. } else {
  46829. larger = newMembers;
  46830. smaller = oldMembers;
  46831. }
  46832. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  46833. t4 = t2.get$current(t2);
  46834. $name = t4._0;
  46835. small = t4._1;
  46836. large = larger.$index(0, $name);
  46837. if (large == null)
  46838. continue;
  46839. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  46840. continue;
  46841. if (t3)
  46842. $name = "$" + $name;
  46843. t2 = this._async_environment$_forwardedModules;
  46844. if (t2 == null)
  46845. span = null;
  46846. else {
  46847. t2 = t2.$index(0, oldModule);
  46848. span = t2 == null ? null : J.get$span$z(t2);
  46849. }
  46850. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  46851. if (span != null)
  46852. t2.$indexSet(0, span, "original @forward");
  46853. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  46854. }
  46855. },
  46856. importForwards$1(module) {
  46857. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  46858. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  46859. if (forwarded == null)
  46860. return;
  46861. forwardedModules = _this._async_environment$_forwardedModules;
  46862. if (forwardedModules != null) {
  46863. t1 = type$.Module_AsyncCallable;
  46864. t2 = type$.AstNode;
  46865. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  46866. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  46867. t4 = t1.get$current(t1);
  46868. module = t4._0;
  46869. node = t4._1;
  46870. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  46871. t3.$indexSet(0, module, node);
  46872. }
  46873. forwarded = t3;
  46874. } else
  46875. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46876. t1 = type$.String;
  46877. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46878. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  46879. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  46880. t2.add$1(0, t4.get$current(t4));
  46881. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46882. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  46883. t5 = t4.__js_helper$_current;
  46884. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46885. t3.add$1(0, t5.get$current(t5));
  46886. }
  46887. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46888. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  46889. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46890. t1.add$1(0, t5.get$current(t5));
  46891. t4 = _this._async_environment$_variables;
  46892. t5 = t4.length;
  46893. if (t5 === 1) {
  46894. 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) {
  46895. t11 = t8[_i];
  46896. module = t11._0;
  46897. node = t11._1;
  46898. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46899. if (shadowed != null) {
  46900. t5.remove$1(0, module);
  46901. t11 = shadowed.variables;
  46902. if (t11.get$isEmpty(t11)) {
  46903. t11 = shadowed.functions;
  46904. if (t11.get$isEmpty(t11)) {
  46905. t11 = shadowed.mixins;
  46906. if (t11.get$isEmpty(t11)) {
  46907. t11 = shadowed._shadowed_view$_inner;
  46908. t11 = t11.get$css(t11);
  46909. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  46910. } else
  46911. t11 = false;
  46912. } else
  46913. t11 = false;
  46914. } else
  46915. t11 = false;
  46916. if (!t11)
  46917. t5.$indexSet(0, shadowed, node);
  46918. }
  46919. }
  46920. 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) {
  46921. t8 = t6[_i];
  46922. module = t8._0;
  46923. node = t8._1;
  46924. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46925. if (shadowed != null) {
  46926. forwardedModules.remove$1(0, module);
  46927. t8 = shadowed.variables;
  46928. if (t8.get$isEmpty(t8)) {
  46929. t8 = shadowed.functions;
  46930. if (t8.get$isEmpty(t8)) {
  46931. t8 = shadowed.mixins;
  46932. if (t8.get$isEmpty(t8)) {
  46933. t8 = shadowed._shadowed_view$_inner;
  46934. t8 = t8.get$css(t8);
  46935. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  46936. } else
  46937. t8 = false;
  46938. } else
  46939. t8 = false;
  46940. } else
  46941. t8 = false;
  46942. if (!t8)
  46943. forwardedModules.$indexSet(0, shadowed, node);
  46944. }
  46945. }
  46946. t5.addAll$1(0, forwarded);
  46947. forwardedModules.addAll$1(0, forwarded);
  46948. } else {
  46949. t6 = _this._async_environment$_nestedForwardedModules;
  46950. if (t6 == null) {
  46951. _length = t5 - 1;
  46952. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  46953. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  46954. _list[_i] = A._setArrayType([], t5);
  46955. _this._async_environment$_nestedForwardedModules = _list;
  46956. t5 = _list;
  46957. } else
  46958. t5 = t6;
  46959. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  46960. }
  46961. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46962. t8 = t2._collection$_current;
  46963. if (t8 == null)
  46964. t8 = t7._as(t8);
  46965. t5.remove$1(0, t8);
  46966. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  46967. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  46968. }
  46969. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46970. t6 = t2._collection$_current;
  46971. if (t6 == null)
  46972. t6 = t5._as(t6);
  46973. t3.remove$1(0, t6);
  46974. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  46975. }
  46976. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  46977. t5 = t1._collection$_current;
  46978. if (t5 == null)
  46979. t5 = t4._as(t5);
  46980. t2.remove$1(0, t5);
  46981. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  46982. }
  46983. },
  46984. getVariable$2$namespace($name, namespace) {
  46985. var t1, _0_0, _1_0, _this = this;
  46986. if (namespace != null)
  46987. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  46988. if (_this._async_environment$_lastVariableName === $name) {
  46989. t1 = _this._async_environment$_lastVariableIndex;
  46990. t1.toString;
  46991. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  46992. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  46993. }
  46994. t1 = _this._async_environment$_variableIndices;
  46995. _0_0 = t1.$index(0, $name);
  46996. if (_0_0 != null) {
  46997. _this._async_environment$_lastVariableName = $name;
  46998. _this._async_environment$_lastVariableIndex = _0_0;
  46999. t1 = J.$index$asx(_this._async_environment$_variables[_0_0], $name);
  47000. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  47001. } else {
  47002. _1_0 = _this._async_environment$_variableIndex$1($name);
  47003. if (_1_0 != null) {
  47004. _this._async_environment$_lastVariableName = $name;
  47005. _this._async_environment$_lastVariableIndex = _1_0;
  47006. t1.$indexSet(0, $name, _1_0);
  47007. t1 = J.$index$asx(_this._async_environment$_variables[_1_0], $name);
  47008. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  47009. } else
  47010. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  47011. }
  47012. },
  47013. getVariable$1($name) {
  47014. return this.getVariable$2$namespace($name, null);
  47015. },
  47016. _async_environment$_getVariableFromGlobalModule$1($name) {
  47017. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  47018. },
  47019. getVariableNode$2$namespace($name, namespace) {
  47020. var t1, _0_0, _1_0, _this = this;
  47021. if (namespace != null)
  47022. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  47023. if (_this._async_environment$_lastVariableName === $name) {
  47024. t1 = _this._async_environment$_lastVariableIndex;
  47025. t1.toString;
  47026. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  47027. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47028. }
  47029. t1 = _this._async_environment$_variableIndices;
  47030. _0_0 = t1.$index(0, $name);
  47031. if (_0_0 != null) {
  47032. _this._async_environment$_lastVariableName = $name;
  47033. _this._async_environment$_lastVariableIndex = _0_0;
  47034. t1 = J.$index$asx(_this._async_environment$_variableNodes[_0_0], $name);
  47035. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47036. } else {
  47037. _1_0 = _this._async_environment$_variableIndex$1($name);
  47038. if (_1_0 != null) {
  47039. _this._async_environment$_lastVariableName = $name;
  47040. _this._async_environment$_lastVariableIndex = _1_0;
  47041. t1.$indexSet(0, $name, _1_0);
  47042. t1 = J.$index$asx(_this._async_environment$_variableNodes[_1_0], $name);
  47043. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47044. } else
  47045. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  47046. }
  47047. },
  47048. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  47049. var t1, t2, _0_0;
  47050. 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();) {
  47051. t1 = t2._currentIterator;
  47052. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  47053. if (_0_0 != null)
  47054. return _0_0;
  47055. }
  47056. return null;
  47057. },
  47058. globalVariableExists$2$namespace($name, namespace) {
  47059. if (namespace != null)
  47060. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  47061. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  47062. return true;
  47063. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  47064. },
  47065. globalVariableExists$1($name) {
  47066. return this.globalVariableExists$2$namespace($name, null);
  47067. },
  47068. _async_environment$_variableIndex$1($name) {
  47069. var t1, i;
  47070. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  47071. if (t1[i].containsKey$1($name))
  47072. return i;
  47073. return null;
  47074. },
  47075. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  47076. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  47077. if (namespace != null) {
  47078. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  47079. return;
  47080. }
  47081. if (global || _this._async_environment$_variables.length === 1) {
  47082. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  47083. t1 = _this._async_environment$_variables;
  47084. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  47085. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  47086. if (moduleWithName != null) {
  47087. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  47088. return;
  47089. }
  47090. }
  47091. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  47092. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  47093. return;
  47094. }
  47095. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  47096. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  47097. for (t1 = A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  47098. t3 = t2.__internal$_current;
  47099. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  47100. t5 = t3.__internal$_current;
  47101. if (t5 == null)
  47102. t5 = t4._as(t5);
  47103. if (t5.get$variables().containsKey$1($name)) {
  47104. t5.setVariable$3($name, value, nodeWithSpan);
  47105. return;
  47106. }
  47107. }
  47108. }
  47109. if (_this._async_environment$_lastVariableName === $name) {
  47110. t1 = _this._async_environment$_lastVariableIndex;
  47111. t1.toString;
  47112. index = t1;
  47113. } else
  47114. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  47115. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  47116. index = _this._async_environment$_variables.length - 1;
  47117. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47118. }
  47119. _this._async_environment$_lastVariableName = $name;
  47120. _this._async_environment$_lastVariableIndex = index;
  47121. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  47122. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47123. },
  47124. setVariable$4$global($name, value, nodeWithSpan, global) {
  47125. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  47126. },
  47127. setLocalVariable$3($name, value, nodeWithSpan) {
  47128. var index, _this = this,
  47129. t1 = _this._async_environment$_variables,
  47130. t2 = t1.length;
  47131. _this._async_environment$_lastVariableName = $name;
  47132. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  47133. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47134. J.$indexSet$ax(t1[index], $name, value);
  47135. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47136. },
  47137. getFunction$2$namespace($name, namespace) {
  47138. var t1, _0_0, _1_0, _this = this;
  47139. if (namespace != null) {
  47140. t1 = _this._async_environment$_getModule$1(namespace);
  47141. return t1.get$functions(t1).$index(0, $name);
  47142. }
  47143. t1 = _this._async_environment$_functionIndices;
  47144. _0_0 = t1.$index(0, $name);
  47145. if (_0_0 != null) {
  47146. t1 = J.$index$asx(_this._async_environment$_functions[_0_0], $name);
  47147. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47148. } else {
  47149. _1_0 = _this._async_environment$_functionIndex$1($name);
  47150. if (_1_0 != null) {
  47151. t1.$indexSet(0, $name, _1_0);
  47152. t1 = J.$index$asx(_this._async_environment$_functions[_1_0], $name);
  47153. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47154. } else
  47155. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  47156. }
  47157. },
  47158. getFunction$1($name) {
  47159. return this.getFunction$2$namespace($name, null);
  47160. },
  47161. _async_environment$_getFunctionFromGlobalModule$1($name) {
  47162. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  47163. },
  47164. _async_environment$_functionIndex$1($name) {
  47165. var t1, i;
  47166. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  47167. if (t1[i].containsKey$1($name))
  47168. return i;
  47169. return null;
  47170. },
  47171. getMixin$2$namespace($name, namespace) {
  47172. var t1, _0_0, _1_0, _this = this;
  47173. if (namespace != null)
  47174. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  47175. t1 = _this._async_environment$_mixinIndices;
  47176. _0_0 = t1.$index(0, $name);
  47177. if (_0_0 != null) {
  47178. t1 = J.$index$asx(_this._async_environment$_mixins[_0_0], $name);
  47179. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47180. } else {
  47181. _1_0 = _this._async_environment$_mixinIndex$1($name);
  47182. if (_1_0 != null) {
  47183. t1.$indexSet(0, $name, _1_0);
  47184. t1 = J.$index$asx(_this._async_environment$_mixins[_1_0], $name);
  47185. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47186. } else
  47187. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  47188. }
  47189. },
  47190. _async_environment$_getMixinFromGlobalModule$1($name) {
  47191. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  47192. },
  47193. _async_environment$_mixinIndex$1($name) {
  47194. var t1, i;
  47195. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  47196. if (t1[i].containsKey$1($name))
  47197. return i;
  47198. return null;
  47199. },
  47200. withContent$2($content, callback) {
  47201. return this.withContent$body$AsyncEnvironment($content, callback);
  47202. },
  47203. withContent$body$AsyncEnvironment($content, callback) {
  47204. var $async$goto = 0,
  47205. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47206. $async$self = this, oldContent;
  47207. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47208. if ($async$errorCode === 1)
  47209. return A._asyncRethrow($async$result, $async$completer);
  47210. while (true)
  47211. switch ($async$goto) {
  47212. case 0:
  47213. // Function start
  47214. oldContent = $async$self._async_environment$_content;
  47215. $async$self._async_environment$_content = $content;
  47216. $async$goto = 2;
  47217. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  47218. case 2:
  47219. // returning from await.
  47220. $async$self._async_environment$_content = oldContent;
  47221. // implicit return
  47222. return A._asyncReturn(null, $async$completer);
  47223. }
  47224. });
  47225. return A._asyncStartSync($async$withContent$2, $async$completer);
  47226. },
  47227. asMixin$1(callback) {
  47228. var $async$goto = 0,
  47229. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47230. $async$self = this, oldInMixin;
  47231. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47232. if ($async$errorCode === 1)
  47233. return A._asyncRethrow($async$result, $async$completer);
  47234. while (true)
  47235. switch ($async$goto) {
  47236. case 0:
  47237. // Function start
  47238. oldInMixin = $async$self._async_environment$_inMixin;
  47239. $async$self._async_environment$_inMixin = true;
  47240. $async$goto = 2;
  47241. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  47242. case 2:
  47243. // returning from await.
  47244. $async$self._async_environment$_inMixin = oldInMixin;
  47245. // implicit return
  47246. return A._asyncReturn(null, $async$completer);
  47247. }
  47248. });
  47249. return A._asyncStartSync($async$asMixin$1, $async$completer);
  47250. },
  47251. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  47252. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  47253. },
  47254. scope$1$1(callback, $T) {
  47255. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  47256. },
  47257. scope$1$2$when(callback, when, $T) {
  47258. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  47259. },
  47260. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  47261. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  47262. },
  47263. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  47264. var $async$goto = 0,
  47265. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  47266. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  47267. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47268. if ($async$errorCode === 1) {
  47269. $async$currentError = $async$result;
  47270. $async$goto = $async$handler;
  47271. }
  47272. while (true)
  47273. switch ($async$goto) {
  47274. case 0:
  47275. // Function start
  47276. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  47277. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  47278. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  47279. $async$goto = !when ? 3 : 4;
  47280. break;
  47281. case 3:
  47282. // then
  47283. $async$handler = 5;
  47284. $async$goto = 8;
  47285. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47286. case 8:
  47287. // returning from await.
  47288. t1 = $async$result;
  47289. $async$returnValue = t1;
  47290. $async$next = [1];
  47291. // goto finally
  47292. $async$goto = 6;
  47293. break;
  47294. $async$next.push(7);
  47295. // goto finally
  47296. $async$goto = 6;
  47297. break;
  47298. case 5:
  47299. // uncaught
  47300. $async$next = [2];
  47301. case 6:
  47302. // finally
  47303. $async$handler = 2;
  47304. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47305. // goto the next finally handler
  47306. $async$goto = $async$next.pop();
  47307. break;
  47308. case 7:
  47309. // after finally
  47310. case 4:
  47311. // join
  47312. t1 = $async$self._async_environment$_variables;
  47313. t2 = type$.String;
  47314. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  47315. t3 = $async$self._async_environment$_variableNodes;
  47316. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  47317. t4 = $async$self._async_environment$_functions;
  47318. t5 = type$.AsyncCallable;
  47319. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47320. t6 = $async$self._async_environment$_mixins;
  47321. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47322. t5 = $async$self._async_environment$_nestedForwardedModules;
  47323. if (t5 != null)
  47324. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  47325. $async$handler = 9;
  47326. $async$goto = 12;
  47327. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47328. case 12:
  47329. // returning from await.
  47330. t2 = $async$result;
  47331. $async$returnValue = t2;
  47332. $async$next = [1];
  47333. // goto finally
  47334. $async$goto = 10;
  47335. break;
  47336. $async$next.push(11);
  47337. // goto finally
  47338. $async$goto = 10;
  47339. break;
  47340. case 9:
  47341. // uncaught
  47342. $async$next = [2];
  47343. case 10:
  47344. // finally
  47345. $async$handler = 2;
  47346. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47347. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  47348. 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();) {
  47349. $name = t1.get$current(t1);
  47350. t2.remove$1(0, $name);
  47351. }
  47352. B.JSArray_methods.removeLast$0(t3);
  47353. 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();) {
  47354. name0 = t1.get$current(t1);
  47355. t2.remove$1(0, name0);
  47356. }
  47357. 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();) {
  47358. name1 = t1.get$current(t1);
  47359. t2.remove$1(0, name1);
  47360. }
  47361. t1 = $async$self._async_environment$_nestedForwardedModules;
  47362. if (t1 != null)
  47363. t1.pop();
  47364. // goto the next finally handler
  47365. $async$goto = $async$next.pop();
  47366. break;
  47367. case 11:
  47368. // after finally
  47369. case 1:
  47370. // return
  47371. return A._asyncReturn($async$returnValue, $async$completer);
  47372. case 2:
  47373. // rethrow
  47374. return A._asyncRethrow($async$currentError, $async$completer);
  47375. }
  47376. });
  47377. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  47378. },
  47379. toImplicitConfiguration$0() {
  47380. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  47381. t1 = type$.String,
  47382. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  47383. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  47384. values = t2[i];
  47385. nodes = t4[i];
  47386. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  47387. t6 = t5.get$current(t5);
  47388. $name = t6._0;
  47389. value = t6._1;
  47390. t6 = nodes.$index(0, $name);
  47391. t6.toString;
  47392. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  47393. }
  47394. }
  47395. return new A.Configuration(configuration, null);
  47396. },
  47397. toModule$3(css, preModuleComments, extensionStore) {
  47398. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  47399. },
  47400. toDummyModule$0() {
  47401. 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()));
  47402. },
  47403. _async_environment$_getModule$1(namespace) {
  47404. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  47405. if (_0_0 != null)
  47406. return _0_0;
  47407. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  47408. },
  47409. _async_environment$_fromOneModule$1$3($name, type, callback) {
  47410. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  47411. _0_0 = this._async_environment$_nestedForwardedModules;
  47412. if (_0_0 != null)
  47413. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  47414. t3 = t2.__internal$_current;
  47415. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  47416. t5 = t3.__internal$_current;
  47417. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  47418. if (_1_0 != null)
  47419. return _1_0;
  47420. }
  47421. }
  47422. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  47423. _2_0 = callback.call$1(t1.__js_helper$_current);
  47424. if (_2_0 != null)
  47425. return _2_0;
  47426. }
  47427. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  47428. t4 = t2.__js_helper$_current;
  47429. valueInModule = callback.call$1(t4);
  47430. if (valueInModule == null)
  47431. continue;
  47432. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  47433. if (identityFromModule.$eq(0, identity))
  47434. continue;
  47435. if (value != null) {
  47436. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  47437. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  47438. t1 = t3.get$current(t3);
  47439. module = t1._0;
  47440. node = t1._1;
  47441. if (callback.call$1(module) != null)
  47442. t2.$indexSet(0, node.get$span(node), t4);
  47443. }
  47444. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  47445. }
  47446. identity = identityFromModule;
  47447. value = valueInModule;
  47448. }
  47449. return value;
  47450. },
  47451. _async_environment$_fromOneModule$3($name, type, callback) {
  47452. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  47453. }
  47454. };
  47455. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  47456. call$1(module) {
  47457. return module.get$variables().$index(0, this.name);
  47458. },
  47459. $signature: 479
  47460. };
  47461. A.AsyncEnvironment_setVariable_closure.prototype = {
  47462. call$0() {
  47463. var t1 = this.$this;
  47464. t1._async_environment$_lastVariableName = this.name;
  47465. return t1._async_environment$_lastVariableIndex = 0;
  47466. },
  47467. $signature: 10
  47468. };
  47469. A.AsyncEnvironment_setVariable_closure0.prototype = {
  47470. call$1(module) {
  47471. return module.get$variables().containsKey$1(this.name) ? module : null;
  47472. },
  47473. $signature: 477
  47474. };
  47475. A.AsyncEnvironment_setVariable_closure1.prototype = {
  47476. call$0() {
  47477. var t1 = this.$this,
  47478. t2 = t1._async_environment$_variableIndex$1(this.name);
  47479. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  47480. },
  47481. $signature: 10
  47482. };
  47483. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  47484. call$1(module) {
  47485. return module.get$functions(module).$index(0, this.name);
  47486. },
  47487. $signature: 185
  47488. };
  47489. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  47490. call$1(module) {
  47491. return module.get$mixins().$index(0, this.name);
  47492. },
  47493. $signature: 185
  47494. };
  47495. A.AsyncEnvironment_toModule_closure.prototype = {
  47496. call$1(modules) {
  47497. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47498. },
  47499. $signature: 186
  47500. };
  47501. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  47502. call$1(modules) {
  47503. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47504. },
  47505. $signature: 186
  47506. };
  47507. A._EnvironmentModule0.prototype = {
  47508. get$url(_) {
  47509. var t1 = this.css;
  47510. t1 = t1.get$span(t1);
  47511. return t1.get$sourceUrl(t1);
  47512. },
  47513. setVariable$3($name, value, nodeWithSpan) {
  47514. var t1, t2,
  47515. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  47516. if (_0_0 != null) {
  47517. _0_0.setVariable$3($name, value, nodeWithSpan);
  47518. return;
  47519. }
  47520. t1 = this._async_environment$_environment;
  47521. t2 = t1._async_environment$_variables;
  47522. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  47523. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  47524. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  47525. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  47526. return;
  47527. },
  47528. variableIdentity$1($name) {
  47529. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  47530. return module == null ? this : module.variableIdentity$1($name);
  47531. },
  47532. cloneCss$0() {
  47533. var _0_0, _this = this;
  47534. if (!_this.transitivelyContainsCss)
  47535. return _this;
  47536. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  47537. 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);
  47538. },
  47539. toString$0(_) {
  47540. var t1 = this.css,
  47541. t2 = t1.get$span(t1);
  47542. if (t2.get$sourceUrl(t2) == null)
  47543. t1 = "<unknown url>";
  47544. else {
  47545. t1 = t1.get$span(t1);
  47546. t1 = t1.get$sourceUrl(t1);
  47547. t2 = $.$get$context();
  47548. t1.toString;
  47549. t1 = t2.prettyUri$1(t1);
  47550. }
  47551. return t1;
  47552. },
  47553. $isModule0: 1,
  47554. get$upstream() {
  47555. return this.upstream;
  47556. },
  47557. get$variables() {
  47558. return this.variables;
  47559. },
  47560. get$variableNodes() {
  47561. return this.variableNodes;
  47562. },
  47563. get$functions(receiver) {
  47564. return this.functions;
  47565. },
  47566. get$mixins() {
  47567. return this.mixins;
  47568. },
  47569. get$extensionStore() {
  47570. return this.extensionStore;
  47571. },
  47572. get$css(receiver) {
  47573. return this.css;
  47574. },
  47575. get$preModuleComments() {
  47576. return this.preModuleComments;
  47577. },
  47578. get$transitivelyContainsCss() {
  47579. return this.transitivelyContainsCss;
  47580. },
  47581. get$transitivelyContainsExtensions() {
  47582. return this.transitivelyContainsExtensions;
  47583. }
  47584. };
  47585. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  47586. call$1(module) {
  47587. return module.get$variables();
  47588. },
  47589. $signature: 470
  47590. };
  47591. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  47592. call$1(module) {
  47593. return module.get$variableNodes();
  47594. },
  47595. $signature: 460
  47596. };
  47597. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  47598. call$1(module) {
  47599. return module.get$functions(module);
  47600. },
  47601. $signature: 196
  47602. };
  47603. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  47604. call$1(module) {
  47605. return module.get$mixins();
  47606. },
  47607. $signature: 196
  47608. };
  47609. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  47610. call$1(module) {
  47611. return module.get$transitivelyContainsCss();
  47612. },
  47613. $signature: 127
  47614. };
  47615. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  47616. call$1(module) {
  47617. return module.get$transitivelyContainsExtensions();
  47618. },
  47619. $signature: 127
  47620. };
  47621. A.AsyncImportCache.prototype = {
  47622. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  47623. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  47624. },
  47625. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  47626. var $async$goto = 0,
  47627. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47628. $async$returnValue, $async$self = this, t1, relativeResult;
  47629. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47630. if ($async$errorCode === 1)
  47631. return A._asyncRethrow($async$result, $async$completer);
  47632. while (true)
  47633. switch ($async$goto) {
  47634. case 0:
  47635. // Function start
  47636. if (A.isBrowser())
  47637. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  47638. else
  47639. t1 = false;
  47640. if (t1)
  47641. throw A.wrapException(string$.Custom);
  47642. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  47643. break;
  47644. case 3:
  47645. // then
  47646. $async$goto = 5;
  47647. 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);
  47648. case 5:
  47649. // returning from await.
  47650. relativeResult = $async$result;
  47651. if (relativeResult != null) {
  47652. $async$returnValue = relativeResult;
  47653. // goto return
  47654. $async$goto = 1;
  47655. break;
  47656. }
  47657. case 4:
  47658. // join
  47659. $async$goto = 6;
  47660. 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);
  47661. case 6:
  47662. // returning from await.
  47663. $async$returnValue = $async$result;
  47664. // goto return
  47665. $async$goto = 1;
  47666. break;
  47667. case 1:
  47668. // return
  47669. return A._asyncReturn($async$returnValue, $async$completer);
  47670. }
  47671. });
  47672. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  47673. },
  47674. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  47675. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  47676. },
  47677. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  47678. var $async$goto = 0,
  47679. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47680. $async$returnValue, $async$self = this, t1, passContainingUrl, result, canonicalize;
  47681. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47682. if ($async$errorCode === 1)
  47683. return A._asyncRethrow($async$result, $async$completer);
  47684. while (true)
  47685. switch ($async$goto) {
  47686. case 0:
  47687. // Function start
  47688. canonicalize = forImport ? new A.AsyncImportCache__canonicalize_closure(importer, url) : new A.AsyncImportCache__canonicalize_closure0(importer, url);
  47689. $async$goto = baseUrl != null ? 3 : 5;
  47690. break;
  47691. case 3:
  47692. // then
  47693. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  47694. break;
  47695. case 6:
  47696. // then
  47697. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  47698. $async$goto = 9;
  47699. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47700. case 9:
  47701. // returning from await.
  47702. t1 = $async$result;
  47703. passContainingUrl = t1;
  47704. // goto join
  47705. $async$goto = 7;
  47706. break;
  47707. case 8:
  47708. // else
  47709. passContainingUrl = true;
  47710. case 7:
  47711. // join
  47712. // goto join
  47713. $async$goto = 4;
  47714. break;
  47715. case 5:
  47716. // else
  47717. passContainingUrl = false;
  47718. case 4:
  47719. // join
  47720. t1 = passContainingUrl ? baseUrl : null;
  47721. t1 = A.withContainingUrl(t1, canonicalize, type$.FutureOr_nullable_Uri);
  47722. $async$goto = 10;
  47723. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  47724. case 10:
  47725. // returning from await.
  47726. result = $async$result;
  47727. if (result == null) {
  47728. $async$returnValue = null;
  47729. // goto return
  47730. $async$goto = 1;
  47731. break;
  47732. }
  47733. $async$goto = result.get$scheme() === "" ? 11 : 13;
  47734. break;
  47735. case 11:
  47736. // then
  47737. 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);
  47738. // goto join
  47739. $async$goto = 12;
  47740. break;
  47741. case 13:
  47742. // else
  47743. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  47744. $async$goto = 14;
  47745. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47746. case 14:
  47747. // returning from await.
  47748. if ($async$result)
  47749. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  47750. case 12:
  47751. // join
  47752. $async$returnValue = new A._Record_3_originalUrl(importer, result, url);
  47753. // goto return
  47754. $async$goto = 1;
  47755. break;
  47756. case 1:
  47757. // return
  47758. return A._asyncReturn($async$returnValue, $async$completer);
  47759. }
  47760. });
  47761. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  47762. },
  47763. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  47764. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  47765. },
  47766. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  47767. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  47768. },
  47769. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  47770. var $async$goto = 0,
  47771. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47772. $async$returnValue, $async$self = this;
  47773. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47774. if ($async$errorCode === 1)
  47775. return A._asyncRethrow($async$result, $async$completer);
  47776. while (true)
  47777. switch ($async$goto) {
  47778. case 0:
  47779. // Function start
  47780. $async$goto = 3;
  47781. 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);
  47782. case 3:
  47783. // returning from await.
  47784. $async$returnValue = $async$result;
  47785. // goto return
  47786. $async$goto = 1;
  47787. break;
  47788. case 1:
  47789. // return
  47790. return A._asyncReturn($async$returnValue, $async$completer);
  47791. }
  47792. });
  47793. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  47794. },
  47795. humanize$1(canonicalUrl) {
  47796. var t1 = A.IterableNullableExtension_whereNotNull(this._async_import_cache$_canonicalizeCache.get$values(0), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47797. t2 = t1.$ti;
  47798. 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));
  47799. return t2 == null ? canonicalUrl : t2;
  47800. },
  47801. sourceMapUrl$1(_, canonicalUrl) {
  47802. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  47803. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  47804. return t1 == null ? canonicalUrl : t1;
  47805. }
  47806. };
  47807. A.AsyncImportCache_canonicalize_closure.prototype = {
  47808. call$0() {
  47809. var _this = this,
  47810. t1 = _this.baseUrl,
  47811. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  47812. if (t2 == null)
  47813. t2 = _this.url;
  47814. return _this.$this._async_import_cache$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  47815. },
  47816. $signature: 200
  47817. };
  47818. A.AsyncImportCache_canonicalize_closure0.prototype = {
  47819. call$0() {
  47820. var $async$goto = 0,
  47821. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47822. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, _i, _0_0;
  47823. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47824. if ($async$errorCode === 1)
  47825. return A._asyncRethrow($async$result, $async$completer);
  47826. while (true)
  47827. switch ($async$goto) {
  47828. case 0:
  47829. // Function start
  47830. 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;
  47831. case 3:
  47832. // for condition
  47833. if (!(_i < t2.length)) {
  47834. // goto after for
  47835. $async$goto = 5;
  47836. break;
  47837. }
  47838. $async$goto = 6;
  47839. return A._asyncAwait(t1._async_import_cache$_canonicalize$4(t2[_i], t4, t5, t6), $async$call$0);
  47840. case 6:
  47841. // returning from await.
  47842. _0_0 = $async$result;
  47843. if (_0_0 != null) {
  47844. $async$returnValue = _0_0;
  47845. // goto return
  47846. $async$goto = 1;
  47847. break;
  47848. }
  47849. case 4:
  47850. // for update
  47851. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  47852. // goto for condition
  47853. $async$goto = 3;
  47854. break;
  47855. case 5:
  47856. // after for
  47857. $async$returnValue = null;
  47858. // goto return
  47859. $async$goto = 1;
  47860. break;
  47861. case 1:
  47862. // return
  47863. return A._asyncReturn($async$returnValue, $async$completer);
  47864. }
  47865. });
  47866. return A._asyncStartSync($async$call$0, $async$completer);
  47867. },
  47868. $signature: 200
  47869. };
  47870. A.AsyncImportCache__canonicalize_closure.prototype = {
  47871. call$0() {
  47872. var t1 = type$.nullable_Object;
  47873. 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);
  47874. },
  47875. $signature: 61
  47876. };
  47877. A.AsyncImportCache__canonicalize__closure.prototype = {
  47878. call$0() {
  47879. return this.importer.canonicalize$1(0, this.resolved);
  47880. },
  47881. $signature: 61
  47882. };
  47883. A.AsyncImportCache__canonicalize_closure0.prototype = {
  47884. call$0() {
  47885. return this.importer.canonicalize$1(0, this.resolved);
  47886. },
  47887. $signature: 61
  47888. };
  47889. A.AsyncImportCache_importCanonical_closure.prototype = {
  47890. call$0() {
  47891. var $async$goto = 0,
  47892. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47893. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  47894. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47895. if ($async$errorCode === 1)
  47896. return A._asyncRethrow($async$result, $async$completer);
  47897. while (true)
  47898. switch ($async$goto) {
  47899. case 0:
  47900. // Function start
  47901. t1 = $async$self.canonicalUrl;
  47902. t2 = A._Future$value($async$self.importer.load$1(0, t1), type$.nullable_ImporterResult);
  47903. $async$goto = 3;
  47904. return A._asyncAwait(t2, $async$call$0);
  47905. case 3:
  47906. // returning from await.
  47907. result = $async$result;
  47908. if (result == null) {
  47909. $async$returnValue = null;
  47910. // goto return
  47911. $async$goto = 1;
  47912. break;
  47913. }
  47914. t2 = $async$self.$this;
  47915. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  47916. t3 = result.contents;
  47917. t4 = result.syntax;
  47918. t1 = $async$self.originalUrl.resolveUri$1(t1);
  47919. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  47920. // goto return
  47921. $async$goto = 1;
  47922. break;
  47923. case 1:
  47924. // return
  47925. return A._asyncReturn($async$returnValue, $async$completer);
  47926. }
  47927. });
  47928. return A._asyncStartSync($async$call$0, $async$completer);
  47929. },
  47930. $signature: 457
  47931. };
  47932. A.AsyncImportCache_humanize_closure.prototype = {
  47933. call$1(result) {
  47934. return J.$eq$(result._1, this.canonicalUrl);
  47935. },
  47936. $signature: 456
  47937. };
  47938. A.AsyncImportCache_humanize_closure0.prototype = {
  47939. call$1(result) {
  47940. return result._2;
  47941. },
  47942. $signature: 452
  47943. };
  47944. A.AsyncImportCache_humanize_closure1.prototype = {
  47945. call$1(url) {
  47946. return url.get$path(url).length;
  47947. },
  47948. $signature: 107
  47949. };
  47950. A.AsyncImportCache_humanize_closure2.prototype = {
  47951. call$1(url) {
  47952. var t1 = $.$get$url(),
  47953. t2 = this.canonicalUrl;
  47954. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  47955. },
  47956. $signature: 44
  47957. };
  47958. A.AsyncBuiltInCallable.prototype = {
  47959. callbackFor$2(positional, names) {
  47960. return new A._Record_2(this._async_built_in$_arguments, this._async_built_in$_callback);
  47961. },
  47962. $isAsyncCallable: 1,
  47963. get$name(receiver) {
  47964. return this.name;
  47965. },
  47966. get$acceptsContent() {
  47967. return this.acceptsContent;
  47968. }
  47969. };
  47970. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  47971. call$1($arguments) {
  47972. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  47973. },
  47974. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  47975. var $async$goto = 0,
  47976. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  47977. $async$returnValue, $async$self = this, t1;
  47978. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47979. if ($async$errorCode === 1)
  47980. return A._asyncRethrow($async$result, $async$completer);
  47981. while (true)
  47982. switch ($async$goto) {
  47983. case 0:
  47984. // Function start
  47985. t1 = $async$self.callback.call$1($arguments);
  47986. $async$goto = 3;
  47987. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  47988. case 3:
  47989. // returning from await.
  47990. $async$returnValue = B.C__SassNull;
  47991. // goto return
  47992. $async$goto = 1;
  47993. break;
  47994. case 1:
  47995. // return
  47996. return A._asyncReturn($async$returnValue, $async$completer);
  47997. }
  47998. });
  47999. return A._asyncStartSync($async$call$1, $async$completer);
  48000. },
  48001. $signature: 218
  48002. };
  48003. A.BuiltInCallable.prototype = {
  48004. callbackFor$2(positional, names) {
  48005. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  48006. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  48007. overload = t1[_i];
  48008. t3 = overload._0;
  48009. if (t3.matches$2(positional, names))
  48010. return overload;
  48011. mismatchDistance = t3.$arguments.length - positional;
  48012. if (minMismatchDistance != null) {
  48013. t3 = Math.abs(mismatchDistance);
  48014. t4 = Math.abs(minMismatchDistance);
  48015. if (t3 > t4)
  48016. continue;
  48017. if (t3 === t4 && mismatchDistance < 0)
  48018. continue;
  48019. }
  48020. minMismatchDistance = mismatchDistance;
  48021. fuzzyMatch = overload;
  48022. }
  48023. if (fuzzyMatch != null)
  48024. return fuzzyMatch;
  48025. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  48026. },
  48027. withName$1($name) {
  48028. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  48029. },
  48030. $isCallable0: 1,
  48031. $isAsyncCallable: 1,
  48032. $isAsyncBuiltInCallable: 1,
  48033. get$name(receiver) {
  48034. return this.name;
  48035. },
  48036. get$acceptsContent() {
  48037. return this.acceptsContent;
  48038. }
  48039. };
  48040. A.BuiltInCallable$mixin_closure.prototype = {
  48041. call$1($arguments) {
  48042. this.callback.call$1($arguments);
  48043. return B.C__SassNull;
  48044. },
  48045. $signature: 6
  48046. };
  48047. A.PlainCssCallable.prototype = {
  48048. $eq(_, other) {
  48049. if (other == null)
  48050. return false;
  48051. return other instanceof A.PlainCssCallable && this.name === other.name;
  48052. },
  48053. get$hashCode(_) {
  48054. return B.JSString_methods.get$hashCode(this.name);
  48055. },
  48056. $isCallable0: 1,
  48057. $isAsyncCallable: 1,
  48058. get$name(receiver) {
  48059. return this.name;
  48060. }
  48061. };
  48062. A.UserDefinedCallable.prototype = {
  48063. get$name(_) {
  48064. return this.declaration.name;
  48065. },
  48066. $isCallable0: 1,
  48067. $isAsyncCallable: 1
  48068. };
  48069. A._compileStylesheet_closure.prototype = {
  48070. call$1(url) {
  48071. var t1;
  48072. if (url === "") {
  48073. t1 = this.stylesheet.span;
  48074. 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();
  48075. } else
  48076. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  48077. return t1;
  48078. },
  48079. $signature: 5
  48080. };
  48081. A.CompileResult.prototype = {};
  48082. A.Configuration.prototype = {
  48083. throughForward$1($forward) {
  48084. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  48085. newValues = this._configuration$_values;
  48086. if (newValues.get$isEmpty(newValues))
  48087. return B.Configuration_Map_empty_null;
  48088. _0_0 = $forward.prefix;
  48089. if (_0_0 != null)
  48090. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  48091. _1_0 = $forward.shownVariables;
  48092. if (_1_0 != null)
  48093. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  48094. else {
  48095. _2_0 = $forward.hiddenVariables;
  48096. if (_2_0 != null) {
  48097. t1 = _2_0._base.get$isNotEmpty(0);
  48098. hiddenVariables = _2_0;
  48099. } else {
  48100. hiddenVariables = null;
  48101. t1 = false;
  48102. }
  48103. if (t1)
  48104. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  48105. }
  48106. return this._withValues$1(newValues);
  48107. },
  48108. _withValues$1(values) {
  48109. var t1 = this.__originalConfiguration;
  48110. return new A.Configuration(values, t1 == null ? this : t1);
  48111. },
  48112. toString$0(_) {
  48113. var t2, t3,
  48114. t1 = A._setArrayType([], type$.JSArray_String);
  48115. 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();) {
  48116. t3 = t2.get$current(t2);
  48117. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  48118. }
  48119. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  48120. }
  48121. };
  48122. A.ExplicitConfiguration.prototype = {
  48123. _withValues$1(values) {
  48124. var t1 = this.__originalConfiguration;
  48125. if (t1 == null)
  48126. t1 = this;
  48127. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  48128. }
  48129. };
  48130. A.ConfiguredValue.prototype = {
  48131. toString$0(_) {
  48132. return A.serializeValue(this.value, true, true);
  48133. }
  48134. };
  48135. A.Deprecation.prototype = {
  48136. _enumToString$0() {
  48137. return "Deprecation." + this._name;
  48138. },
  48139. toString$0(_) {
  48140. return this.id;
  48141. }
  48142. };
  48143. A.Deprecation_fromId_closure.prototype = {
  48144. call$1(deprecation) {
  48145. return deprecation.id === this.id;
  48146. },
  48147. $signature: 450
  48148. };
  48149. A.Environment.prototype = {
  48150. closure$0() {
  48151. var t4, t5, t6, _this = this,
  48152. t1 = _this._forwardedModules,
  48153. t2 = _this._nestedForwardedModules,
  48154. t3 = _this._variables;
  48155. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  48156. t4 = _this._variableNodes;
  48157. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  48158. t5 = _this._functions;
  48159. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  48160. t6 = _this._mixins;
  48161. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  48162. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  48163. },
  48164. forwardModule$2(module, rule) {
  48165. var view, t1, t2, _this = this,
  48166. forwardedModules = _this._forwardedModules;
  48167. if (forwardedModules == null)
  48168. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48169. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  48170. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  48171. t2 = t1.__js_helper$_current;
  48172. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  48173. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  48174. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  48175. }
  48176. _this._allModules.push(module);
  48177. forwardedModules.$indexSet(0, view, rule);
  48178. },
  48179. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  48180. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  48181. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  48182. larger = oldMembers;
  48183. smaller = newMembers;
  48184. } else {
  48185. larger = newMembers;
  48186. smaller = oldMembers;
  48187. }
  48188. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  48189. t4 = t2.get$current(t2);
  48190. $name = t4._0;
  48191. small = t4._1;
  48192. large = larger.$index(0, $name);
  48193. if (large == null)
  48194. continue;
  48195. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  48196. continue;
  48197. if (t3)
  48198. $name = "$" + $name;
  48199. t2 = this._forwardedModules;
  48200. if (t2 == null)
  48201. span = null;
  48202. else {
  48203. t2 = t2.$index(0, oldModule);
  48204. span = t2 == null ? null : J.get$span$z(t2);
  48205. }
  48206. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  48207. if (span != null)
  48208. t2.$indexSet(0, span, "original @forward");
  48209. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  48210. }
  48211. },
  48212. importForwards$1(module) {
  48213. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  48214. forwarded = module._environment$_environment._forwardedModules;
  48215. if (forwarded == null)
  48216. return;
  48217. forwardedModules = _this._forwardedModules;
  48218. if (forwardedModules != null) {
  48219. t1 = type$.Module_Callable;
  48220. t2 = type$.AstNode;
  48221. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  48222. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  48223. t4 = t1.get$current(t1);
  48224. module = t4._0;
  48225. node = t4._1;
  48226. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  48227. t3.$indexSet(0, module, node);
  48228. }
  48229. forwarded = t3;
  48230. } else
  48231. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48232. t1 = type$.String;
  48233. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48234. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  48235. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  48236. t2.add$1(0, t4.get$current(t4));
  48237. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48238. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  48239. t5 = t4.__js_helper$_current;
  48240. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48241. t3.add$1(0, t5.get$current(t5));
  48242. }
  48243. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48244. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  48245. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48246. t1.add$1(0, t5.get$current(t5));
  48247. t4 = _this._variables;
  48248. t5 = t4.length;
  48249. if (t5 === 1) {
  48250. 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) {
  48251. t11 = t8[_i];
  48252. module = t11._0;
  48253. node = t11._1;
  48254. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48255. if (shadowed != null) {
  48256. t5.remove$1(0, module);
  48257. t11 = shadowed.variables;
  48258. if (t11.get$isEmpty(t11)) {
  48259. t11 = shadowed.functions;
  48260. if (t11.get$isEmpty(t11)) {
  48261. t11 = shadowed.mixins;
  48262. if (t11.get$isEmpty(t11)) {
  48263. t11 = shadowed._shadowed_view$_inner;
  48264. t11 = t11.get$css(t11);
  48265. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  48266. } else
  48267. t11 = false;
  48268. } else
  48269. t11 = false;
  48270. } else
  48271. t11 = false;
  48272. if (!t11)
  48273. t5.$indexSet(0, shadowed, node);
  48274. }
  48275. }
  48276. 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) {
  48277. t8 = t6[_i];
  48278. module = t8._0;
  48279. node = t8._1;
  48280. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48281. if (shadowed != null) {
  48282. forwardedModules.remove$1(0, module);
  48283. t8 = shadowed.variables;
  48284. if (t8.get$isEmpty(t8)) {
  48285. t8 = shadowed.functions;
  48286. if (t8.get$isEmpty(t8)) {
  48287. t8 = shadowed.mixins;
  48288. if (t8.get$isEmpty(t8)) {
  48289. t8 = shadowed._shadowed_view$_inner;
  48290. t8 = t8.get$css(t8);
  48291. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  48292. } else
  48293. t8 = false;
  48294. } else
  48295. t8 = false;
  48296. } else
  48297. t8 = false;
  48298. if (!t8)
  48299. forwardedModules.$indexSet(0, shadowed, node);
  48300. }
  48301. }
  48302. t5.addAll$1(0, forwarded);
  48303. forwardedModules.addAll$1(0, forwarded);
  48304. } else {
  48305. t6 = _this._nestedForwardedModules;
  48306. if (t6 == null) {
  48307. _length = t5 - 1;
  48308. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  48309. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  48310. _list[_i] = A._setArrayType([], t5);
  48311. _this._nestedForwardedModules = _list;
  48312. t5 = _list;
  48313. } else
  48314. t5 = t6;
  48315. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  48316. }
  48317. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48318. t8 = t2._collection$_current;
  48319. if (t8 == null)
  48320. t8 = t7._as(t8);
  48321. t5.remove$1(0, t8);
  48322. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  48323. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  48324. }
  48325. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48326. t6 = t2._collection$_current;
  48327. if (t6 == null)
  48328. t6 = t5._as(t6);
  48329. t3.remove$1(0, t6);
  48330. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  48331. }
  48332. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  48333. t5 = t1._collection$_current;
  48334. if (t5 == null)
  48335. t5 = t4._as(t5);
  48336. t2.remove$1(0, t5);
  48337. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  48338. }
  48339. },
  48340. getVariable$2$namespace($name, namespace) {
  48341. var t1, _0_0, _1_0, _this = this;
  48342. if (namespace != null)
  48343. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  48344. if (_this._lastVariableName === $name) {
  48345. t1 = _this._lastVariableIndex;
  48346. t1.toString;
  48347. t1 = J.$index$asx(_this._variables[t1], $name);
  48348. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48349. }
  48350. t1 = _this._variableIndices;
  48351. _0_0 = t1.$index(0, $name);
  48352. if (_0_0 != null) {
  48353. _this._lastVariableName = $name;
  48354. _this._lastVariableIndex = _0_0;
  48355. t1 = J.$index$asx(_this._variables[_0_0], $name);
  48356. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48357. } else {
  48358. _1_0 = _this._variableIndex$1($name);
  48359. if (_1_0 != null) {
  48360. _this._lastVariableName = $name;
  48361. _this._lastVariableIndex = _1_0;
  48362. t1.$indexSet(0, $name, _1_0);
  48363. t1 = J.$index$asx(_this._variables[_1_0], $name);
  48364. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48365. } else
  48366. return _this._getVariableFromGlobalModule$1($name);
  48367. }
  48368. },
  48369. getVariable$1($name) {
  48370. return this.getVariable$2$namespace($name, null);
  48371. },
  48372. _getVariableFromGlobalModule$1($name) {
  48373. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  48374. },
  48375. getVariableNode$2$namespace($name, namespace) {
  48376. var t1, _0_0, _1_0, _this = this;
  48377. if (namespace != null)
  48378. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  48379. if (_this._lastVariableName === $name) {
  48380. t1 = _this._lastVariableIndex;
  48381. t1.toString;
  48382. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  48383. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48384. }
  48385. t1 = _this._variableIndices;
  48386. _0_0 = t1.$index(0, $name);
  48387. if (_0_0 != null) {
  48388. _this._lastVariableName = $name;
  48389. _this._lastVariableIndex = _0_0;
  48390. t1 = J.$index$asx(_this._variableNodes[_0_0], $name);
  48391. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48392. } else {
  48393. _1_0 = _this._variableIndex$1($name);
  48394. if (_1_0 != null) {
  48395. _this._lastVariableName = $name;
  48396. _this._lastVariableIndex = _1_0;
  48397. t1.$indexSet(0, $name, _1_0);
  48398. t1 = J.$index$asx(_this._variableNodes[_1_0], $name);
  48399. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48400. } else
  48401. return _this._getVariableNodeFromGlobalModule$1($name);
  48402. }
  48403. },
  48404. _getVariableNodeFromGlobalModule$1($name) {
  48405. var t1, t2, _0_0;
  48406. 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();) {
  48407. t1 = t2._currentIterator;
  48408. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  48409. if (_0_0 != null)
  48410. return _0_0;
  48411. }
  48412. return null;
  48413. },
  48414. globalVariableExists$2$namespace($name, namespace) {
  48415. if (namespace != null)
  48416. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  48417. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  48418. return true;
  48419. return this._getVariableFromGlobalModule$1($name) != null;
  48420. },
  48421. globalVariableExists$1($name) {
  48422. return this.globalVariableExists$2$namespace($name, null);
  48423. },
  48424. _variableIndex$1($name) {
  48425. var t1, i;
  48426. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  48427. if (t1[i].containsKey$1($name))
  48428. return i;
  48429. return null;
  48430. },
  48431. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  48432. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  48433. if (namespace != null) {
  48434. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  48435. return;
  48436. }
  48437. if (global || _this._variables.length === 1) {
  48438. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  48439. t1 = _this._variables;
  48440. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  48441. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  48442. if (moduleWithName != null) {
  48443. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  48444. return;
  48445. }
  48446. }
  48447. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  48448. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  48449. return;
  48450. }
  48451. nestedForwardedModules = _this._nestedForwardedModules;
  48452. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  48453. for (t1 = A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  48454. t3 = t2.__internal$_current;
  48455. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  48456. t5 = t3.__internal$_current;
  48457. if (t5 == null)
  48458. t5 = t4._as(t5);
  48459. if (t5.get$variables().containsKey$1($name)) {
  48460. t5.setVariable$3($name, value, nodeWithSpan);
  48461. return;
  48462. }
  48463. }
  48464. }
  48465. if (_this._lastVariableName === $name) {
  48466. t1 = _this._lastVariableIndex;
  48467. t1.toString;
  48468. index = t1;
  48469. } else
  48470. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  48471. if (!_this._inSemiGlobalScope && index === 0) {
  48472. index = _this._variables.length - 1;
  48473. _this._variableIndices.$indexSet(0, $name, index);
  48474. }
  48475. _this._lastVariableName = $name;
  48476. _this._lastVariableIndex = index;
  48477. J.$indexSet$ax(_this._variables[index], $name, value);
  48478. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48479. },
  48480. setVariable$4$global($name, value, nodeWithSpan, global) {
  48481. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  48482. },
  48483. setLocalVariable$3($name, value, nodeWithSpan) {
  48484. var index, _this = this,
  48485. t1 = _this._variables,
  48486. t2 = t1.length;
  48487. _this._lastVariableName = $name;
  48488. index = _this._lastVariableIndex = t2 - 1;
  48489. _this._variableIndices.$indexSet(0, $name, index);
  48490. J.$indexSet$ax(t1[index], $name, value);
  48491. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48492. },
  48493. getFunction$2$namespace($name, namespace) {
  48494. var t1, _0_0, _1_0, _this = this;
  48495. if (namespace != null) {
  48496. t1 = _this._getModule$1(namespace);
  48497. return t1.get$functions(t1).$index(0, $name);
  48498. }
  48499. t1 = _this._functionIndices;
  48500. _0_0 = t1.$index(0, $name);
  48501. if (_0_0 != null) {
  48502. t1 = J.$index$asx(_this._functions[_0_0], $name);
  48503. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48504. } else {
  48505. _1_0 = _this._functionIndex$1($name);
  48506. if (_1_0 != null) {
  48507. t1.$indexSet(0, $name, _1_0);
  48508. t1 = J.$index$asx(_this._functions[_1_0], $name);
  48509. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48510. } else
  48511. return _this._getFunctionFromGlobalModule$1($name);
  48512. }
  48513. },
  48514. getFunction$1($name) {
  48515. return this.getFunction$2$namespace($name, null);
  48516. },
  48517. _getFunctionFromGlobalModule$1($name) {
  48518. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  48519. },
  48520. _functionIndex$1($name) {
  48521. var t1, i;
  48522. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  48523. if (t1[i].containsKey$1($name))
  48524. return i;
  48525. return null;
  48526. },
  48527. getMixin$2$namespace($name, namespace) {
  48528. var t1, _0_0, _1_0, _this = this;
  48529. if (namespace != null)
  48530. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  48531. t1 = _this._mixinIndices;
  48532. _0_0 = t1.$index(0, $name);
  48533. if (_0_0 != null) {
  48534. t1 = J.$index$asx(_this._mixins[_0_0], $name);
  48535. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48536. } else {
  48537. _1_0 = _this._mixinIndex$1($name);
  48538. if (_1_0 != null) {
  48539. t1.$indexSet(0, $name, _1_0);
  48540. t1 = J.$index$asx(_this._mixins[_1_0], $name);
  48541. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48542. } else
  48543. return _this._getMixinFromGlobalModule$1($name);
  48544. }
  48545. },
  48546. _getMixinFromGlobalModule$1($name) {
  48547. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  48548. },
  48549. _mixinIndex$1($name) {
  48550. var t1, i;
  48551. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  48552. if (t1[i].containsKey$1($name))
  48553. return i;
  48554. return null;
  48555. },
  48556. withContent$2($content, callback) {
  48557. var oldContent = this._content;
  48558. this._content = $content;
  48559. callback.call$0();
  48560. this._content = oldContent;
  48561. },
  48562. asMixin$1(callback) {
  48563. var oldInMixin = this._inMixin;
  48564. this._inMixin = true;
  48565. callback.call$0();
  48566. this._inMixin = oldInMixin;
  48567. },
  48568. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  48569. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  48570. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  48571. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  48572. _this._inSemiGlobalScope = semiGlobal;
  48573. if (!when)
  48574. try {
  48575. t1 = callback.call$0();
  48576. return t1;
  48577. } finally {
  48578. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48579. }
  48580. t1 = _this._variables;
  48581. t2 = type$.String;
  48582. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  48583. t3 = _this._variableNodes;
  48584. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  48585. t4 = _this._functions;
  48586. t5 = type$.Callable;
  48587. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48588. t6 = _this._mixins;
  48589. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48590. t5 = _this._nestedForwardedModules;
  48591. if (t5 != null)
  48592. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  48593. try {
  48594. t2 = callback.call$0();
  48595. return t2;
  48596. } finally {
  48597. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48598. _this._lastVariableIndex = _this._lastVariableName = null;
  48599. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  48600. $name = t1.get$current(t1);
  48601. t2.remove$1(0, $name);
  48602. }
  48603. B.JSArray_methods.removeLast$0(t3);
  48604. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  48605. name0 = t1.get$current(t1);
  48606. t2.remove$1(0, name0);
  48607. }
  48608. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  48609. name1 = t1.get$current(t1);
  48610. t2.remove$1(0, name1);
  48611. }
  48612. t1 = _this._nestedForwardedModules;
  48613. if (t1 != null)
  48614. t1.pop();
  48615. }
  48616. },
  48617. scope$1$1(callback) {
  48618. return this.scope$1$3$semiGlobal$when(callback, false, true);
  48619. },
  48620. scope$1$2$when(callback, when) {
  48621. return this.scope$1$3$semiGlobal$when(callback, false, when);
  48622. },
  48623. scope$1$2$semiGlobal(callback, semiGlobal) {
  48624. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  48625. },
  48626. toImplicitConfiguration$0() {
  48627. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  48628. t1 = type$.String,
  48629. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  48630. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  48631. values = t2[i];
  48632. nodes = t4[i];
  48633. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  48634. t6 = t5.get$current(t5);
  48635. $name = t6._0;
  48636. value = t6._1;
  48637. t6 = nodes.$index(0, $name);
  48638. t6.toString;
  48639. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  48640. }
  48641. }
  48642. return new A.Configuration(configuration, null);
  48643. },
  48644. toModule$3(css, preModuleComments, extensionStore) {
  48645. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  48646. },
  48647. toDummyModule$0() {
  48648. 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()));
  48649. },
  48650. _getModule$1(namespace) {
  48651. var _0_0 = this._environment$_modules.$index(0, namespace);
  48652. if (_0_0 != null)
  48653. return _0_0;
  48654. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  48655. },
  48656. _fromOneModule$1$3($name, type, callback) {
  48657. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  48658. _0_0 = this._nestedForwardedModules;
  48659. if (_0_0 != null)
  48660. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  48661. t3 = t2.__internal$_current;
  48662. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  48663. t5 = t3.__internal$_current;
  48664. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  48665. if (_1_0 != null)
  48666. return _1_0;
  48667. }
  48668. }
  48669. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  48670. _2_0 = callback.call$1(t1.__js_helper$_current);
  48671. if (_2_0 != null)
  48672. return _2_0;
  48673. }
  48674. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  48675. t4 = t2.__js_helper$_current;
  48676. valueInModule = callback.call$1(t4);
  48677. if (valueInModule == null)
  48678. continue;
  48679. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  48680. if (identityFromModule.$eq(0, identity))
  48681. continue;
  48682. if (value != null) {
  48683. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  48684. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  48685. t1 = t3.get$current(t3);
  48686. module = t1._0;
  48687. node = t1._1;
  48688. if (callback.call$1(module) != null)
  48689. t2.$indexSet(0, node.get$span(node), t4);
  48690. }
  48691. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  48692. }
  48693. identity = identityFromModule;
  48694. value = valueInModule;
  48695. }
  48696. return value;
  48697. },
  48698. _fromOneModule$3($name, type, callback) {
  48699. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  48700. }
  48701. };
  48702. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  48703. call$1(module) {
  48704. return module.get$variables().$index(0, this.name);
  48705. },
  48706. $signature: 440
  48707. };
  48708. A.Environment_setVariable_closure.prototype = {
  48709. call$0() {
  48710. var t1 = this.$this;
  48711. t1._lastVariableName = this.name;
  48712. return t1._lastVariableIndex = 0;
  48713. },
  48714. $signature: 10
  48715. };
  48716. A.Environment_setVariable_closure0.prototype = {
  48717. call$1(module) {
  48718. return module.get$variables().containsKey$1(this.name) ? module : null;
  48719. },
  48720. $signature: 438
  48721. };
  48722. A.Environment_setVariable_closure1.prototype = {
  48723. call$0() {
  48724. var t1 = this.$this,
  48725. t2 = t1._variableIndex$1(this.name);
  48726. return t2 == null ? t1._variables.length - 1 : t2;
  48727. },
  48728. $signature: 10
  48729. };
  48730. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  48731. call$1(module) {
  48732. return module.get$functions(module).$index(0, this.name);
  48733. },
  48734. $signature: 226
  48735. };
  48736. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  48737. call$1(module) {
  48738. return module.get$mixins().$index(0, this.name);
  48739. },
  48740. $signature: 226
  48741. };
  48742. A.Environment_toModule_closure.prototype = {
  48743. call$1(modules) {
  48744. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48745. },
  48746. $signature: 228
  48747. };
  48748. A.Environment_toDummyModule_closure.prototype = {
  48749. call$1(modules) {
  48750. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48751. },
  48752. $signature: 228
  48753. };
  48754. A._EnvironmentModule.prototype = {
  48755. get$url(_) {
  48756. var t1 = this.css;
  48757. t1 = t1.get$span(t1);
  48758. return t1.get$sourceUrl(t1);
  48759. },
  48760. setVariable$3($name, value, nodeWithSpan) {
  48761. var t1, t2,
  48762. _0_0 = this._modulesByVariable.$index(0, $name);
  48763. if (_0_0 != null) {
  48764. _0_0.setVariable$3($name, value, nodeWithSpan);
  48765. return;
  48766. }
  48767. t1 = this._environment$_environment;
  48768. t2 = t1._variables;
  48769. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  48770. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  48771. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  48772. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  48773. return;
  48774. },
  48775. variableIdentity$1($name) {
  48776. var module = this._modulesByVariable.$index(0, $name);
  48777. return module == null ? this : module.variableIdentity$1($name);
  48778. },
  48779. cloneCss$0() {
  48780. var _0_0, _this = this;
  48781. if (!_this.transitivelyContainsCss)
  48782. return _this;
  48783. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  48784. 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);
  48785. },
  48786. toString$0(_) {
  48787. var t1 = this.css,
  48788. t2 = t1.get$span(t1);
  48789. if (t2.get$sourceUrl(t2) == null)
  48790. t1 = "<unknown url>";
  48791. else {
  48792. t1 = t1.get$span(t1);
  48793. t1 = t1.get$sourceUrl(t1);
  48794. t2 = $.$get$context();
  48795. t1.toString;
  48796. t1 = t2.prettyUri$1(t1);
  48797. }
  48798. return t1;
  48799. },
  48800. $isModule0: 1,
  48801. get$upstream() {
  48802. return this.upstream;
  48803. },
  48804. get$variables() {
  48805. return this.variables;
  48806. },
  48807. get$variableNodes() {
  48808. return this.variableNodes;
  48809. },
  48810. get$functions(receiver) {
  48811. return this.functions;
  48812. },
  48813. get$mixins() {
  48814. return this.mixins;
  48815. },
  48816. get$extensionStore() {
  48817. return this.extensionStore;
  48818. },
  48819. get$css(receiver) {
  48820. return this.css;
  48821. },
  48822. get$preModuleComments() {
  48823. return this.preModuleComments;
  48824. },
  48825. get$transitivelyContainsCss() {
  48826. return this.transitivelyContainsCss;
  48827. },
  48828. get$transitivelyContainsExtensions() {
  48829. return this.transitivelyContainsExtensions;
  48830. }
  48831. };
  48832. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  48833. call$1(module) {
  48834. return module.get$variables();
  48835. },
  48836. $signature: 437
  48837. };
  48838. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  48839. call$1(module) {
  48840. return module.get$variableNodes();
  48841. },
  48842. $signature: 433
  48843. };
  48844. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  48845. call$1(module) {
  48846. return module.get$functions(module);
  48847. },
  48848. $signature: 240
  48849. };
  48850. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  48851. call$1(module) {
  48852. return module.get$mixins();
  48853. },
  48854. $signature: 240
  48855. };
  48856. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  48857. call$1(module) {
  48858. return module.get$transitivelyContainsCss();
  48859. },
  48860. $signature: 121
  48861. };
  48862. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  48863. call$1(module) {
  48864. return module.get$transitivelyContainsExtensions();
  48865. },
  48866. $signature: 121
  48867. };
  48868. A.SassException.prototype = {
  48869. get$trace(_) {
  48870. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  48871. },
  48872. get$span(_) {
  48873. return A.SourceSpanException.prototype.get$span.call(this, 0);
  48874. },
  48875. withAdditionalSpan$2(span, label) {
  48876. return A.MultiSpanSassException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  48877. },
  48878. withTrace$1(trace) {
  48879. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48880. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  48881. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  48882. },
  48883. withLoadedUrls$1(loadedUrls) {
  48884. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48885. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  48886. return new A.SassException(t2, this._span_exception$_message, t1);
  48887. },
  48888. toString$1$color(_, color) {
  48889. var t2, _i, frame, t3, _this = this,
  48890. buffer = new A.StringBuffer(""),
  48891. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  48892. buffer._contents = t1;
  48893. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  48894. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48895. frame = t1[_i];
  48896. if (J.get$length$asx(frame) === 0)
  48897. continue;
  48898. t3 = buffer._contents += "\n";
  48899. buffer._contents = t3 + (" " + A.S(frame));
  48900. }
  48901. t1 = buffer._contents;
  48902. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48903. },
  48904. toString$0(_) {
  48905. return this.toString$1$color(0, null);
  48906. },
  48907. toCssString$0() {
  48908. var commentMessage, stringMessage, rune,
  48909. t1 = $._glyphs,
  48910. t2 = $._glyphs = B.C_AsciiGlyphSet,
  48911. t3 = this.toString$1$color(0, false);
  48912. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  48913. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  48914. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  48915. stringMessage = new A.StringBuffer("");
  48916. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  48917. rune = t1._currentCodePoint;
  48918. if (rune > 127) {
  48919. stringMessage._contents += A.Primitives_stringFromCharCode(92);
  48920. stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  48921. stringMessage._contents += A.Primitives_stringFromCharCode(32);
  48922. } else
  48923. stringMessage._contents += A.Primitives_stringFromCharCode(rune);
  48924. }
  48925. 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}";
  48926. }
  48927. };
  48928. A.MultiSpanSassException.prototype = {
  48929. withAdditionalSpan$2(span, label) {
  48930. var _this = this,
  48931. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  48932. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  48933. t2.$indexSet(0, span, label);
  48934. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  48935. },
  48936. withTrace$1(trace) {
  48937. var _this = this;
  48938. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  48939. },
  48940. withLoadedUrls$1(loadedUrls) {
  48941. var _this = this;
  48942. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  48943. },
  48944. toString$1$color(_, color) {
  48945. var t1, t2, _i, frame, _this = this,
  48946. useColor = color === true && true,
  48947. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  48948. A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  48949. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48950. frame = t1[_i];
  48951. if (J.get$length$asx(frame) === 0)
  48952. continue;
  48953. buffer._contents += "\n";
  48954. buffer._contents += " " + A.S(frame);
  48955. }
  48956. t1 = buffer._contents;
  48957. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48958. },
  48959. toString$0(_) {
  48960. return this.toString$1$color(0, null);
  48961. },
  48962. get$primaryLabel() {
  48963. return this.primaryLabel;
  48964. },
  48965. get$secondarySpans() {
  48966. return this.secondarySpans;
  48967. }
  48968. };
  48969. A.SassRuntimeException.prototype = {
  48970. withAdditionalSpan$2(span, label) {
  48971. var _this = this;
  48972. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  48973. },
  48974. withLoadedUrls$1(loadedUrls) {
  48975. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48976. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  48977. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  48978. },
  48979. get$trace(receiver) {
  48980. return this.trace;
  48981. }
  48982. };
  48983. A.MultiSpanSassRuntimeException.prototype = {
  48984. withAdditionalSpan$2(span, label) {
  48985. var _this = this,
  48986. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  48987. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  48988. t2.$indexSet(0, span, label);
  48989. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  48990. },
  48991. withLoadedUrls$1(loadedUrls) {
  48992. var _this = this;
  48993. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  48994. },
  48995. $isSassRuntimeException: 1,
  48996. get$trace(receiver) {
  48997. return this.trace;
  48998. }
  48999. };
  49000. A.SassFormatException.prototype = {
  49001. get$source() {
  49002. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49003. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49004. },
  49005. withAdditionalSpan$2(span, label) {
  49006. return A.MultiSpanSassFormatException$(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  49007. },
  49008. withLoadedUrls$1(loadedUrls) {
  49009. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  49010. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  49011. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  49012. },
  49013. $isFormatException: 1,
  49014. $isSourceSpanFormatException: 1
  49015. };
  49016. A.MultiSpanSassFormatException.prototype = {
  49017. get$source() {
  49018. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49019. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49020. },
  49021. withAdditionalSpan$2(span, label) {
  49022. var _this = this,
  49023. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49024. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49025. t2.$indexSet(0, span, label);
  49026. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  49027. },
  49028. withLoadedUrls$1(loadedUrls) {
  49029. var _this = this;
  49030. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  49031. },
  49032. $isFormatException: 1,
  49033. $isSassFormatException: 1,
  49034. $isSourceSpanFormatException: 1,
  49035. $isMultiSourceSpanFormatException: 1
  49036. };
  49037. A.SassScriptException.prototype = {
  49038. withSpan$1(span) {
  49039. return new A.SassException(B.Set_empty, this.message, span);
  49040. },
  49041. toString$0(_) {
  49042. return this.message + string$.x0a_BUG_;
  49043. },
  49044. get$message(receiver) {
  49045. return this.message;
  49046. }
  49047. };
  49048. A.MultiSpanSassScriptException.prototype = {
  49049. withSpan$1(span) {
  49050. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  49051. }
  49052. };
  49053. A._writeSourceMap_closure.prototype = {
  49054. call$1(url) {
  49055. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  49056. },
  49057. $signature: 5
  49058. };
  49059. A.ExecutableOptions.prototype = {
  49060. get$interactive() {
  49061. var result, _this = this,
  49062. value = _this.__ExecutableOptions_interactive_FI;
  49063. if (value === $) {
  49064. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  49065. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  49066. _this.__ExecutableOptions_interactive_FI = result;
  49067. value = result;
  49068. }
  49069. return value;
  49070. },
  49071. get$color() {
  49072. var t1 = this._options;
  49073. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  49074. },
  49075. get$pkgImporters() {
  49076. var t2, t3, t4, _null = null,
  49077. t1 = A._setArrayType([], type$.JSArray_Importer);
  49078. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  49079. t2.get$current(t2);
  49080. t3 = new A.NodePackageImporter();
  49081. t4 = self.process;
  49082. if (t4 == null)
  49083. t4 = _null;
  49084. else {
  49085. t4 = J.get$release$x(t4);
  49086. t4 = t4 == null ? _null : J.get$name$x(t4);
  49087. }
  49088. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  49089. A.throwExpression(string$.The_No);
  49090. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49091. t1.push(t3);
  49092. }
  49093. return t1;
  49094. },
  49095. get$emitErrorCss() {
  49096. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  49097. if (t1 == null) {
  49098. this._ensureSources$0();
  49099. t1 = this._sourcesToDestinations;
  49100. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  49101. }
  49102. return t1;
  49103. },
  49104. _ensureSources$0() {
  49105. var t1, stdin, t2, t3, $directories, t4, t5, t6, colonArgs, positionalArgs, t7, t8, t9, message, target, source, destination, seen, _0_0, _this = this, _null = null,
  49106. _s18_ = 'Duplicate source "';
  49107. if (_this._sourcesToDestinations != null)
  49108. return;
  49109. t1 = _this._options;
  49110. stdin = A._asBool(t1.$index(0, "stdin"));
  49111. t2 = t1.rest;
  49112. if (t2.get$length(0) === 0 && !stdin)
  49113. A.ExecutableOptions__fail("Compile Sass to CSS.");
  49114. t3 = type$.String;
  49115. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49116. for (t4 = t2.$ti, t5 = t4._eval$1("ListIterator<ListBase.E>"), t6 = new A.ListIterator(t2, t2.get$length(0), t5), t4 = t4._eval$1("ListBase.E"), colonArgs = false, positionalArgs = false; t6.moveNext$0();) {
  49117. t7 = t6.__internal$_current;
  49118. if (t7 == null)
  49119. t7 = t4._as(t7);
  49120. t8 = t7.length;
  49121. if (t8 === 0)
  49122. A.ExecutableOptions__fail('Invalid argument "".');
  49123. if (A.stringContainsUnchecked(t7, ":", 0)) {
  49124. if (t8 > 2) {
  49125. t9 = t7.charCodeAt(0);
  49126. if (!(t9 >= 97 && t9 <= 122))
  49127. t9 = t9 >= 65 && t9 <= 90;
  49128. else
  49129. t9 = true;
  49130. t9 = t9 && t7.charCodeAt(1) === 58;
  49131. } else
  49132. t9 = false;
  49133. if (t9) {
  49134. if (2 > t8)
  49135. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  49136. t8 = A.stringContainsUnchecked(t7, ":", 2);
  49137. } else
  49138. t8 = true;
  49139. } else
  49140. t8 = false;
  49141. if (t8)
  49142. colonArgs = true;
  49143. else if (A.dirExists(t7))
  49144. $directories.add$1(0, t7);
  49145. else
  49146. positionalArgs = true;
  49147. }
  49148. if (positionalArgs || t2.get$length(0) === 0) {
  49149. if (colonArgs)
  49150. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  49151. else if (stdin) {
  49152. if (J.get$length$asx(t2._collection$_source) > 1)
  49153. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  49154. else if (A._asBool(t1.$index(0, "update")))
  49155. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  49156. else if (A._asBool(t1.$index(0, "watch")))
  49157. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  49158. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  49159. t2 = type$.dynamic;
  49160. t3 = type$.nullable_String;
  49161. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  49162. } else {
  49163. t3 = t2._collection$_source;
  49164. t4 = J.getInterceptor$asx(t3);
  49165. if (t4.get$length(t3) > 2)
  49166. A.ExecutableOptions__fail("Only two positional args may be passed.");
  49167. else if ($directories._collection$_length !== 0) {
  49168. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  49169. target = t2.get$last(t2);
  49170. A.ExecutableOptions__fail(J.$eq$($directories.get$first(0), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first(0)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first(0)) + ":" + target + "`.") : message);
  49171. } else {
  49172. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  49173. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  49174. if (destination == null)
  49175. if (A._asBool(t1.$index(0, "update")))
  49176. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  49177. else if (A._asBool(t1.$index(0, "watch")))
  49178. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  49179. t1 = A.PathMap__create(_null, type$.nullable_String);
  49180. t1.$indexSet(0, source, destination);
  49181. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49182. }
  49183. }
  49184. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49185. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  49186. return;
  49187. }
  49188. if (stdin)
  49189. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  49190. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49191. t1 = A.PathMap__create(_null, t3);
  49192. t6 = type$.PathMap_String;
  49193. t3 = A.PathMap__create(_null, t3);
  49194. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  49195. t5 = t2.__internal$_current;
  49196. if (t5 == null)
  49197. t5 = t4._as(t5);
  49198. if ($directories.contains$1(0, t5)) {
  49199. if (!seen.add$1(0, t5))
  49200. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  49201. t3.$indexSet(0, t5, t5);
  49202. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  49203. continue;
  49204. }
  49205. _0_0 = _this._splitSourceAndDestination$1(t5);
  49206. source = _0_0._0;
  49207. destination = _0_0._1;
  49208. if (!seen.add$1(0, source))
  49209. A.ExecutableOptions__fail(_s18_ + source + '".');
  49210. if (source === "-")
  49211. t1.$indexSet(0, _null, destination);
  49212. else if (A.dirExists(source)) {
  49213. t3.$indexSet(0, source, destination);
  49214. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  49215. } else
  49216. t1.$indexSet(0, source, destination);
  49217. }
  49218. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49219. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49220. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  49221. },
  49222. _splitSourceAndDestination$1(argument) {
  49223. var t1, i, t2, t3, nextColon;
  49224. for (t1 = argument.length, i = 0; i < t1; ++i) {
  49225. if (i === 1) {
  49226. t2 = i - 1;
  49227. if (t1 > t2 + 2) {
  49228. t3 = argument.charCodeAt(t2);
  49229. if (!(t3 >= 97 && t3 <= 122))
  49230. t3 = t3 >= 65 && t3 <= 90;
  49231. else
  49232. t3 = true;
  49233. t2 = t3 && argument.charCodeAt(t2 + 1) === 58;
  49234. } else
  49235. t2 = false;
  49236. } else
  49237. t2 = false;
  49238. if (t2)
  49239. continue;
  49240. if (argument.charCodeAt(i) === 58) {
  49241. t2 = i + 1;
  49242. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  49243. if (nextColon === i + 2)
  49244. if (t1 > t2 + 2) {
  49245. t1 = argument.charCodeAt(t2);
  49246. if (!(t1 >= 97 && t1 <= 122))
  49247. t1 = t1 >= 65 && t1 <= 90;
  49248. else
  49249. t1 = true;
  49250. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  49251. } else
  49252. t1 = false;
  49253. else
  49254. t1 = false;
  49255. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  49256. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  49257. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  49258. }
  49259. }
  49260. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  49261. },
  49262. _listSourceDirectory$2(source, destination) {
  49263. var t2, t3, t4, t5,
  49264. t1 = type$.String;
  49265. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49266. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  49267. t4 = t2.get$current(t2);
  49268. if (this._isEntrypoint$1(t4))
  49269. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  49270. else
  49271. t5 = false;
  49272. if (t5) {
  49273. t5 = $.$get$context();
  49274. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  49275. }
  49276. }
  49277. return t1;
  49278. },
  49279. _isEntrypoint$1(path) {
  49280. var extension,
  49281. t1 = $.$get$context().style;
  49282. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  49283. return false;
  49284. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  49285. return extension === ".scss" || extension === ".sass" || extension === ".css";
  49286. },
  49287. get$_writeToStdout() {
  49288. var t1, _this = this;
  49289. _this._ensureSources$0();
  49290. t1 = _this._sourcesToDestinations;
  49291. if (t1.get$length(t1) === 1) {
  49292. _this._ensureSources$0();
  49293. t1 = _this._sourcesToDestinations;
  49294. t1 = t1.get$values(t1);
  49295. t1 = t1.get$single(t1) == null;
  49296. } else
  49297. t1 = false;
  49298. return t1;
  49299. },
  49300. get$emitSourceMap() {
  49301. var _this = this,
  49302. _s10_ = "source-map",
  49303. _s15_ = "source-map-urls",
  49304. _s13_ = "embed-sources",
  49305. _s16_ = "embed-source-map",
  49306. t1 = _this._options;
  49307. if (!A._asBool(t1.$index(0, _s10_)))
  49308. if (t1.wasParsed$1(_s15_))
  49309. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  49310. else if (t1.wasParsed$1(_s13_))
  49311. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  49312. else if (t1.wasParsed$1(_s16_))
  49313. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  49314. if (!_this.get$_writeToStdout())
  49315. return A._asBool(t1.$index(0, _s10_));
  49316. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  49317. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  49318. if (A._asBool(t1.$index(0, _s16_)))
  49319. return A._asBool(t1.$index(0, _s10_));
  49320. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  49321. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  49322. else if (t1.wasParsed$1(_s15_))
  49323. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  49324. else if (A._asBool(t1.$index(0, _s13_)))
  49325. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  49326. else
  49327. return false;
  49328. },
  49329. sourceMapUrl$2(_, url, destination) {
  49330. var t1, path, t2, _null = null;
  49331. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  49332. return url;
  49333. t1 = $.$get$context();
  49334. path = t1.style.pathFromUri$1(A._parseUri(url));
  49335. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  49336. destination.toString;
  49337. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  49338. } else
  49339. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49340. return t1.toUri$1(t2);
  49341. },
  49342. get$fatalDeprecations() {
  49343. var t1 = this._fatalDeprecations;
  49344. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  49345. },
  49346. get$futureDeprecations() {
  49347. var t2, t3, t4,
  49348. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49349. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  49350. t3 = t2.get$current(t2);
  49351. t4 = A.Deprecation_fromId(t3);
  49352. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  49353. }
  49354. return t1;
  49355. },
  49356. _ifParsed$1($name) {
  49357. var t1 = this._options;
  49358. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  49359. }
  49360. };
  49361. A.ExecutableOptions__parser_closure.prototype = {
  49362. call$0() {
  49363. var _i, deprecation, $self, id, _0_4, t4, _0_4_isSet, description, _1_5, _1_5_isSet, _null = null,
  49364. t1 = type$.String,
  49365. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  49366. t3 = [],
  49367. 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);
  49368. parser.addOption$2$hide("precision", true);
  49369. parser.addFlag$2$hide("async", true);
  49370. t3.push(A.ExecutableOptions__separator("Input and Output"));
  49371. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  49372. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  49373. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  49374. t2 = type$.JSArray_String;
  49375. parser.addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp("pkg-importer", "p", A._setArrayType(["node"], t2), A.LinkedHashMap_LinkedHashMap$_literal(["node", "Load files like Node.js package resolution."], t1, t1), "Built-in importer(s) to use for pkg: URLs.", "TYPE");
  49376. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  49377. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  49378. 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.");
  49379. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  49380. t3.push(A.ExecutableOptions__separator("Source Maps"));
  49381. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  49382. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  49383. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  49384. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  49385. t3.push(A.ExecutableOptions__separator("Warnings"));
  49386. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  49387. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  49388. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  49389. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49390. for (_i = 0; _i < 16; ++_i) {
  49391. deprecation = B.List_GN8[_i];
  49392. $self = deprecation._deprecatedIn;
  49393. if (($self == null ? _null : A.Version___parse_tearOff($self)) != null) {
  49394. id = deprecation.id;
  49395. _0_4 = deprecation.description;
  49396. t4 = _0_4 != null;
  49397. _0_4_isSet = true;
  49398. } else {
  49399. _0_4 = _null;
  49400. id = _0_4;
  49401. _0_4_isSet = false;
  49402. t4 = false;
  49403. }
  49404. if (t4) {
  49405. description = _0_4_isSet ? _0_4 : deprecation.description;
  49406. t2.$indexSet(0, id, description == null ? A._asString(description) : description);
  49407. }
  49408. }
  49409. 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.");
  49410. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49411. for (_i = 0; _i < 16; ++_i) {
  49412. deprecation = B.List_GN8[_i];
  49413. $self = deprecation._deprecatedIn;
  49414. if (($self == null ? _null : A.Version___parse_tearOff($self)) == null) {
  49415. id = deprecation.id;
  49416. _1_5 = deprecation.description;
  49417. t2 = _1_5 != null;
  49418. _1_5_isSet = true;
  49419. } else {
  49420. _1_5 = _null;
  49421. id = _1_5;
  49422. _1_5_isSet = false;
  49423. t2 = false;
  49424. }
  49425. if (t2) {
  49426. description = _1_5_isSet ? _1_5 : deprecation.description;
  49427. t1.$indexSet(0, id, description == null ? A._asString(description) : description);
  49428. }
  49429. }
  49430. parser.addMultiOption$3$allowedHelp$help("future-deprecation", t1, "Opt in to a deprecation early.");
  49431. t3.push(A.ExecutableOptions__separator("Other"));
  49432. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  49433. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  49434. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  49435. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  49436. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  49437. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  49438. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  49439. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  49440. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  49441. return parser;
  49442. },
  49443. $signature: 429
  49444. };
  49445. A.ExecutableOptions_interactive_closure.prototype = {
  49446. call$0() {
  49447. var _0_0,
  49448. t1 = this.$this._options;
  49449. if (!A._asBool(t1.$index(0, "interactive")))
  49450. return false;
  49451. _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());
  49452. if (_0_0 != null)
  49453. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  49454. return true;
  49455. },
  49456. $signature: 26
  49457. };
  49458. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  49459. call$1(destination) {
  49460. return destination != null;
  49461. },
  49462. $signature: 180
  49463. };
  49464. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  49465. call$0() {
  49466. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  49467. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49468. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  49469. id = t1.get$current(t1);
  49470. _0_0 = A.Deprecation_fromId(id);
  49471. if (_0_0 != null) {
  49472. J.add$1$ax(deprecations, _0_0);
  49473. continue;
  49474. }
  49475. try {
  49476. argVersion = A.Version_Version$parse(id);
  49477. sassVersion = A.Version_Version$parse("1.71.1");
  49478. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  49479. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  49480. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  49481. } catch (exception) {
  49482. if (t2._is(A.unwrapException(exception)))
  49483. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  49484. else
  49485. throw exception;
  49486. }
  49487. }
  49488. return deprecations;
  49489. },
  49490. $signature: 427
  49491. };
  49492. A.UsageException.prototype = {$isException: 1,
  49493. get$message(receiver) {
  49494. return this.message;
  49495. }
  49496. };
  49497. A.watch_closure.prototype = {
  49498. call$1(dir) {
  49499. for (; !A.dirExists(dir);)
  49500. dir = $.$get$context().dirname$1(dir);
  49501. return this.dirWatcher.watch$1(0, dir);
  49502. },
  49503. $signature: 426
  49504. };
  49505. A._Watcher.prototype = {
  49506. _delete$1(path) {
  49507. var buffer, t1, exception;
  49508. try {
  49509. A.deleteFile(path);
  49510. buffer = new A.StringBuffer("");
  49511. t1 = this._watch$_options;
  49512. if (t1.get$color())
  49513. buffer._contents += "\x1b[33m";
  49514. buffer._contents += "Deleted " + path + ".";
  49515. if (t1.get$color())
  49516. buffer._contents += "\x1b[0m";
  49517. A.print(buffer);
  49518. } catch (exception) {
  49519. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  49520. throw exception;
  49521. }
  49522. },
  49523. watch$1(_, watcher) {
  49524. return this.watch$body$_Watcher(0, watcher);
  49525. },
  49526. watch$body$_Watcher(_, watcher) {
  49527. var $async$goto = 0,
  49528. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49529. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  49530. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49531. if ($async$errorCode === 1) {
  49532. $async$currentError = $async$result;
  49533. $async$goto = $async$handler;
  49534. }
  49535. while (true)
  49536. switch ($async$goto) {
  49537. case 0:
  49538. // Function start
  49539. t1 = watcher._group.__StreamGroup__controller_A;
  49540. t1 === $ && A.throwUnnamedLateFieldNI();
  49541. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  49542. $async$handler = 3;
  49543. t2 = $async$self._watch$_options._options;
  49544. case 6:
  49545. // for condition
  49546. $async$goto = 8;
  49547. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  49548. case 8:
  49549. // returning from await.
  49550. if (!$async$result) {
  49551. // goto after for
  49552. $async$goto = 7;
  49553. break;
  49554. }
  49555. $event = t1.get$current(0);
  49556. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  49557. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  49558. // goto for condition
  49559. $async$goto = 6;
  49560. break;
  49561. }
  49562. case 9:
  49563. // switch
  49564. switch ($event.type) {
  49565. case B.ChangeType_modify:
  49566. // goto case
  49567. $async$goto = 11;
  49568. break;
  49569. case B.ChangeType_add:
  49570. // goto case
  49571. $async$goto = 12;
  49572. break;
  49573. case B.ChangeType_remove:
  49574. // goto case
  49575. $async$goto = 13;
  49576. break;
  49577. default:
  49578. // goto after switch
  49579. $async$goto = 10;
  49580. break;
  49581. }
  49582. break;
  49583. case 11:
  49584. // case
  49585. $async$goto = 14;
  49586. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  49587. case 14:
  49588. // returning from await.
  49589. success = $async$result;
  49590. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  49591. $async$next = [1];
  49592. // goto finally
  49593. $async$goto = 4;
  49594. break;
  49595. }
  49596. // goto after switch
  49597. $async$goto = 10;
  49598. break;
  49599. case 12:
  49600. // case
  49601. $async$goto = 15;
  49602. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  49603. case 15:
  49604. // returning from await.
  49605. success0 = $async$result;
  49606. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49607. $async$next = [1];
  49608. // goto finally
  49609. $async$goto = 4;
  49610. break;
  49611. }
  49612. // goto after switch
  49613. $async$goto = 10;
  49614. break;
  49615. case 13:
  49616. // case
  49617. $async$goto = 16;
  49618. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  49619. case 16:
  49620. // returning from await.
  49621. success1 = $async$result;
  49622. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49623. $async$next = [1];
  49624. // goto finally
  49625. $async$goto = 4;
  49626. break;
  49627. }
  49628. // goto after switch
  49629. $async$goto = 10;
  49630. break;
  49631. case 10:
  49632. // after switch
  49633. // goto for condition
  49634. $async$goto = 6;
  49635. break;
  49636. case 7:
  49637. // after for
  49638. $async$next.push(5);
  49639. // goto finally
  49640. $async$goto = 4;
  49641. break;
  49642. case 3:
  49643. // uncaught
  49644. $async$next = [2];
  49645. case 4:
  49646. // finally
  49647. $async$handler = 2;
  49648. $async$goto = 17;
  49649. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  49650. case 17:
  49651. // returning from await.
  49652. // goto the next finally handler
  49653. $async$goto = $async$next.pop();
  49654. break;
  49655. case 5:
  49656. // after finally
  49657. case 1:
  49658. // return
  49659. return A._asyncReturn($async$returnValue, $async$completer);
  49660. case 2:
  49661. // rethrow
  49662. return A._asyncRethrow($async$currentError, $async$completer);
  49663. }
  49664. });
  49665. return A._asyncStartSync($async$watch$1, $async$completer);
  49666. },
  49667. _handleModify$1(path) {
  49668. return this._handleModify$body$_Watcher(path);
  49669. },
  49670. _handleModify$body$_Watcher(path) {
  49671. var $async$goto = 0,
  49672. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49673. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t1;
  49674. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49675. if ($async$errorCode === 1)
  49676. return A._asyncRethrow($async$result, $async$completer);
  49677. while (true)
  49678. switch ($async$goto) {
  49679. case 0:
  49680. // Function start
  49681. t1 = A.isNodeJs() ? self.process : null;
  49682. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49683. t1 = A.isNodeJs() ? self.process : null;
  49684. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49685. } else
  49686. t1 = true;
  49687. if (t1) {
  49688. t1 = $.$get$context();
  49689. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49690. t0 = t2;
  49691. t2 = t1;
  49692. t1 = t0;
  49693. } else {
  49694. t1 = $.$get$context();
  49695. t2 = t1.canonicalize$1(0, path);
  49696. t0 = t2;
  49697. t2 = t1;
  49698. t1 = t0;
  49699. }
  49700. url = t2.toUri$1(t1);
  49701. t1 = $async$self._graph;
  49702. _0_0 = t1._nodes.$index(0, url);
  49703. $async$goto = _0_0 != null ? 3 : 5;
  49704. break;
  49705. case 3:
  49706. // then
  49707. t1.reload$1(url);
  49708. $async$goto = 6;
  49709. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([_0_0], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  49710. case 6:
  49711. // returning from await.
  49712. $async$returnValue = $async$result;
  49713. // goto return
  49714. $async$goto = 1;
  49715. break;
  49716. // goto join
  49717. $async$goto = 4;
  49718. break;
  49719. case 5:
  49720. // else
  49721. $async$returnValue = $async$self._handleAdd$1(path);
  49722. // goto return
  49723. $async$goto = 1;
  49724. break;
  49725. case 4:
  49726. // join
  49727. case 1:
  49728. // return
  49729. return A._asyncReturn($async$returnValue, $async$completer);
  49730. }
  49731. });
  49732. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  49733. },
  49734. _handleAdd$1(path) {
  49735. return this._handleAdd$body$_Watcher(path);
  49736. },
  49737. _handleAdd$body$_Watcher(path) {
  49738. var $async$goto = 0,
  49739. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49740. $async$returnValue, $async$self = this, t1, success, t2, t3, t0, destination;
  49741. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49742. if ($async$errorCode === 1)
  49743. return A._asyncRethrow($async$result, $async$completer);
  49744. while (true)
  49745. switch ($async$goto) {
  49746. case 0:
  49747. // Function start
  49748. destination = $async$self._destinationFor$1(path);
  49749. $async$goto = destination != null ? 3 : 5;
  49750. break;
  49751. case 3:
  49752. // then
  49753. t1 = type$.nullable_String;
  49754. $async$goto = 6;
  49755. return A._asyncAwait(A.compileStylesheets($async$self._watch$_options, $async$self._graph, A.LinkedHashMap_LinkedHashMap$_literal([path, destination], t1, t1), true), $async$_handleAdd$1);
  49756. case 6:
  49757. // returning from await.
  49758. success = $async$result;
  49759. // goto join
  49760. $async$goto = 4;
  49761. break;
  49762. case 5:
  49763. // else
  49764. success = true;
  49765. case 4:
  49766. // join
  49767. t1 = $.$get$FilesystemImporter_cwd();
  49768. t2 = A.isNodeJs() ? self.process : null;
  49769. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  49770. t2 = A.isNodeJs() ? self.process : null;
  49771. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  49772. } else
  49773. t2 = true;
  49774. if (t2) {
  49775. t2 = $.$get$context();
  49776. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49777. t0 = t3;
  49778. t3 = t2;
  49779. t2 = t0;
  49780. } else {
  49781. t2 = $.$get$context();
  49782. t3 = t2.canonicalize$1(0, path);
  49783. t0 = t3;
  49784. t3 = t2;
  49785. t2 = t0;
  49786. }
  49787. $async$goto = 7;
  49788. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path))), $async$_handleAdd$1);
  49789. case 7:
  49790. // returning from await.
  49791. $async$returnValue = $async$result && success;
  49792. // goto return
  49793. $async$goto = 1;
  49794. break;
  49795. case 1:
  49796. // return
  49797. return A._asyncReturn($async$returnValue, $async$completer);
  49798. }
  49799. });
  49800. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  49801. },
  49802. _handleRemove$1(path) {
  49803. return this._handleRemove$body$_Watcher(path);
  49804. },
  49805. _handleRemove$body$_Watcher(path) {
  49806. var $async$goto = 0,
  49807. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49808. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t3, node, toRecompile, t1;
  49809. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49810. if ($async$errorCode === 1)
  49811. return A._asyncRethrow($async$result, $async$completer);
  49812. while (true)
  49813. switch ($async$goto) {
  49814. case 0:
  49815. // Function start
  49816. t1 = A.isNodeJs() ? self.process : null;
  49817. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49818. t1 = A.isNodeJs() ? self.process : null;
  49819. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49820. } else
  49821. t1 = true;
  49822. if (t1) {
  49823. t1 = $.$get$context();
  49824. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49825. t0 = t2;
  49826. t2 = t1;
  49827. t1 = t0;
  49828. } else {
  49829. t1 = $.$get$context();
  49830. t2 = t1.canonicalize$1(0, path);
  49831. t0 = t2;
  49832. t2 = t1;
  49833. t1 = t0;
  49834. }
  49835. url = t2.toUri$1(t1);
  49836. t1 = $async$self._graph;
  49837. t2 = t1._nodes;
  49838. if (t2.containsKey$1(url)) {
  49839. _0_0 = $async$self._destinationFor$1(path);
  49840. if (_0_0 != null)
  49841. $async$self._delete$1(_0_0);
  49842. }
  49843. t3 = $.$get$FilesystemImporter_cwd();
  49844. node = t2.remove$1(0, url);
  49845. t2 = node != null;
  49846. if (t2) {
  49847. t1._transitiveModificationTimes.clear$0(0);
  49848. t1.importCache.clearImport$1(url);
  49849. node._stylesheet_graph$_remove$0();
  49850. }
  49851. toRecompile = t1._recanonicalizeImports$2(t3, url);
  49852. if (t2)
  49853. toRecompile.addAll$1(0, node._downstream);
  49854. $async$goto = 3;
  49855. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  49856. case 3:
  49857. // returning from await.
  49858. $async$returnValue = $async$result;
  49859. // goto return
  49860. $async$goto = 1;
  49861. break;
  49862. case 1:
  49863. // return
  49864. return A._asyncReturn($async$returnValue, $async$completer);
  49865. }
  49866. });
  49867. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  49868. },
  49869. _debounceEvents$1(events) {
  49870. var t1 = type$.WatchEvent;
  49871. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  49872. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  49873. },
  49874. _recompileDownstream$1(nodes) {
  49875. return this._recompileDownstream$body$_Watcher(nodes);
  49876. },
  49877. _recompileDownstream$body$_Watcher(nodes) {
  49878. var $async$goto = 0,
  49879. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49880. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, allSucceeded, t6, t7, t8, sourcesToDestinations, success, _i, seen;
  49881. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49882. if ($async$errorCode === 1)
  49883. return A._asyncRethrow($async$result, $async$completer);
  49884. while (true)
  49885. switch ($async$goto) {
  49886. case 0:
  49887. // Function start
  49888. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  49889. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = type$.JSArray_StylesheetNode, t3 = $async$self._watch$_options, t4 = $async$self._graph, t5 = t3._options, allSucceeded = true;
  49890. case 3:
  49891. // for condition
  49892. if (!(t6 = J.getInterceptor$asx(nodes), t6.get$isNotEmpty(nodes))) {
  49893. // goto after for
  49894. $async$goto = 5;
  49895. break;
  49896. }
  49897. t7 = A._setArrayType([], t2);
  49898. for (t6 = t6.get$iterator(nodes); t6.moveNext$0();) {
  49899. t8 = t6.get$current(t6);
  49900. if (seen.add$1(0, t8))
  49901. t7.push(t8);
  49902. }
  49903. sourcesToDestinations = $async$self._sourceEntrypointsToDestinations$1(t7);
  49904. $async$goto = sourcesToDestinations.__js_helper$_length !== 0 ? 6 : 7;
  49905. break;
  49906. case 6:
  49907. // then
  49908. $async$goto = 8;
  49909. return A._asyncAwait(A.compileStylesheets(t3, t4, sourcesToDestinations, true), $async$_recompileDownstream$1);
  49910. case 8:
  49911. // returning from await.
  49912. success = $async$result;
  49913. if (!success && A._asBool(t5.$index(0, "stop-on-error"))) {
  49914. $async$returnValue = false;
  49915. // goto return
  49916. $async$goto = 1;
  49917. break;
  49918. }
  49919. allSucceeded = allSucceeded && success;
  49920. case 7:
  49921. // join
  49922. t6 = A._setArrayType([], t2);
  49923. for (t8 = t7.length, _i = 0; _i < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i)
  49924. B.JSArray_methods.addAll$1(t6, new A.UnmodifiableSetView0(t7[_i]._downstream, t1));
  49925. case 4:
  49926. // for update
  49927. nodes = t6;
  49928. // goto for condition
  49929. $async$goto = 3;
  49930. break;
  49931. case 5:
  49932. // after for
  49933. $async$returnValue = allSucceeded;
  49934. // goto return
  49935. $async$goto = 1;
  49936. break;
  49937. case 1:
  49938. // return
  49939. return A._asyncReturn($async$returnValue, $async$completer);
  49940. }
  49941. });
  49942. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  49943. },
  49944. _sourceEntrypointsToDestinations$1(nodes) {
  49945. var _i, url, source, _0_0,
  49946. t1 = type$.String,
  49947. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49948. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  49949. url = nodes[_i].canonicalUrl;
  49950. if (url.get$scheme() !== "file")
  49951. continue;
  49952. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  49953. _0_0 = this._destinationFor$1(source);
  49954. if (_0_0 != null)
  49955. entrypoints.$indexSet(0, source, _0_0);
  49956. }
  49957. return entrypoints;
  49958. },
  49959. _destinationFor$1(source) {
  49960. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  49961. t1 = this._watch$_options;
  49962. t1._ensureSources$0();
  49963. t2 = type$.String;
  49964. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  49965. if (_0_0 != null)
  49966. return _0_0;
  49967. t3 = $.$get$context();
  49968. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  49969. return null;
  49970. t1._ensureSources$0();
  49971. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  49972. t1 === $ && A.throwUnnamedLateFieldNI();
  49973. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  49974. t2 = t2.get$iterator(t2);
  49975. for (; t2.moveNext$0();) {
  49976. t1 = t2.get$current(t2);
  49977. sourceDir = t1._0;
  49978. destinationDir = t1._1;
  49979. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  49980. continue;
  49981. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  49982. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  49983. return destination;
  49984. }
  49985. return null;
  49986. }
  49987. };
  49988. A._Watcher__debounceEvents_closure.prototype = {
  49989. call$1(buffer) {
  49990. var t3, t4, t5, oldType, newType, _1_1,
  49991. t1 = type$.ChangeType,
  49992. t2 = A.PathMap__create(null, t1);
  49993. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  49994. t4 = t3.get$current(t3);
  49995. t5 = t4.path;
  49996. oldType = t2.$index(0, t5);
  49997. newType = t4.type;
  49998. $label0$0: {
  49999. if (oldType == null) {
  50000. t4 = newType;
  50001. break $label0$0;
  50002. }
  50003. if (B.ChangeType_remove === newType) {
  50004. t4 = B.ChangeType_remove;
  50005. break $label0$0;
  50006. }
  50007. if (B.ChangeType_add === oldType) {
  50008. t4 = B.ChangeType_add;
  50009. break $label0$0;
  50010. }
  50011. t4 = B.ChangeType_modify;
  50012. break $label0$0;
  50013. }
  50014. t2.$indexSet(0, t5, t4);
  50015. }
  50016. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  50017. 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();) {
  50018. t2 = t1.get$current(t1);
  50019. _1_1 = t2._0;
  50020. t4 = _1_1;
  50021. t4.toString;
  50022. _1_1.toString;
  50023. t3.push(new A.WatchEvent(t2._1, _1_1));
  50024. }
  50025. return t3;
  50026. },
  50027. $signature: 422
  50028. };
  50029. A.EmptyExtensionStore.prototype = {
  50030. get$_extensions() {
  50031. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  50032. },
  50033. get$_sourceSpecificity() {
  50034. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  50035. },
  50036. get$isEmpty(_) {
  50037. return true;
  50038. },
  50039. get$simpleSelectors() {
  50040. return B.C_EmptyUnmodifiableSet;
  50041. },
  50042. extensionsWhereTarget$1(callback) {
  50043. return B.List_empty5;
  50044. },
  50045. addExtensions$1(extenders) {
  50046. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  50047. },
  50048. clone$0() {
  50049. return B.Record2_EmptyExtensionStore_Map_empty;
  50050. },
  50051. $isExtensionStore: 1
  50052. };
  50053. A.Extension.prototype = {
  50054. toString$0(_) {
  50055. var t1 = this.extender.toString$0(0),
  50056. t2 = this.target.toString$0(0),
  50057. t3 = this.isOptional ? " !optional" : "";
  50058. return t1 + " {@extend " + t2 + t3 + "}";
  50059. }
  50060. };
  50061. A.Extender.prototype = {
  50062. assertCompatibleMediaContext$1(mediaContext) {
  50063. var expectedMediaContext,
  50064. extension = this._extension;
  50065. if (extension == null)
  50066. return;
  50067. expectedMediaContext = extension.mediaContext;
  50068. if (expectedMediaContext == null)
  50069. return;
  50070. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  50071. return;
  50072. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  50073. },
  50074. toString$0(_) {
  50075. return A.serializeSelector(this.selector, true);
  50076. }
  50077. };
  50078. A.ExtensionStore.prototype = {
  50079. get$isEmpty(_) {
  50080. return this._extensions.__js_helper$_length === 0;
  50081. },
  50082. get$simpleSelectors() {
  50083. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  50084. },
  50085. extensionsWhereTarget$1(callback) {
  50086. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  50087. },
  50088. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  50089. var $async$self = this;
  50090. return function() {
  50091. var callback = $async$callback;
  50092. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  50093. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  50094. if ($async$errorCode === 1) {
  50095. $async$currentError = $async$result;
  50096. $async$goto = $async$handler;
  50097. }
  50098. while (true)
  50099. switch ($async$goto) {
  50100. case 0:
  50101. // Function start
  50102. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  50103. case 2:
  50104. // for condition
  50105. if (!t1.moveNext$0()) {
  50106. // goto after for
  50107. $async$goto = 3;
  50108. break;
  50109. }
  50110. t2 = t1.get$current(t1);
  50111. simple = t2._0;
  50112. sources = t2._1;
  50113. if (!callback.call$1(simple)) {
  50114. // goto for condition
  50115. $async$goto = 2;
  50116. break;
  50117. }
  50118. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  50119. case 4:
  50120. // for condition
  50121. if (!t2.moveNext$0()) {
  50122. // goto after for
  50123. $async$goto = 5;
  50124. break;
  50125. }
  50126. t3 = t2.get$current(t2);
  50127. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  50128. break;
  50129. case 6:
  50130. // then
  50131. t3 = t3.unmerge$0();
  50132. $async$goto = 9;
  50133. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  50134. case 9:
  50135. // after yield
  50136. // goto join
  50137. $async$goto = 7;
  50138. break;
  50139. case 8:
  50140. // else
  50141. $async$goto = !t3.isOptional ? 10 : 11;
  50142. break;
  50143. case 10:
  50144. // then
  50145. $async$goto = 12;
  50146. return $async$iterator._async$_current = t3, 1;
  50147. case 12:
  50148. // after yield
  50149. case 11:
  50150. // join
  50151. case 7:
  50152. // join
  50153. // goto for condition
  50154. $async$goto = 4;
  50155. break;
  50156. case 5:
  50157. // after for
  50158. // goto for condition
  50159. $async$goto = 2;
  50160. break;
  50161. case 3:
  50162. // after for
  50163. // implicit return
  50164. return 0;
  50165. case 1:
  50166. // rethrow
  50167. return $async$iterator._datum = $async$currentError, 3;
  50168. }
  50169. };
  50170. };
  50171. },
  50172. addSelector$2(selector, mediaContext) {
  50173. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  50174. selector = selector;
  50175. originalSelector = selector;
  50176. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  50177. _this._originals.addAll$1(0, originalSelector.components);
  50178. t1 = _this._extensions;
  50179. if (t1.__js_helper$_length !== 0)
  50180. try {
  50181. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  50182. } catch (exception) {
  50183. t1 = A.unwrapException(exception);
  50184. if (t1 instanceof A.SassException) {
  50185. error = t1;
  50186. stackTrace = A.getTraceFromException(exception);
  50187. t1 = error;
  50188. t2 = J.getInterceptor$z(t1);
  50189. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  50190. t2 = error._span_exception$_message;
  50191. t3 = error;
  50192. t4 = J.getInterceptor$z(t3);
  50193. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  50194. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  50195. } else
  50196. throw exception;
  50197. }
  50198. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  50199. if (mediaContext != null)
  50200. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  50201. _this._registerSelector$2(selector, modifiableSelector);
  50202. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  50203. },
  50204. _registerSelector$2(list, selector) {
  50205. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2, t9, _0_2_isSet, selectorInPseudo;
  50206. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  50207. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  50208. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  50209. simple = t7[_i1];
  50210. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  50211. if (simple instanceof A.PseudoSelector) {
  50212. _0_2 = simple.selector;
  50213. t9 = _0_2 != null;
  50214. _0_2_isSet = true;
  50215. } else {
  50216. _0_2 = null;
  50217. _0_2_isSet = false;
  50218. t9 = false;
  50219. }
  50220. if (t9) {
  50221. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  50222. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  50223. }
  50224. }
  50225. },
  50226. addExtension$4(extender, target, extend, mediaContext) {
  50227. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  50228. selectors = _this._selectors.$index(0, target),
  50229. t1 = _this._extensionsByExtender,
  50230. existingExtensions = t1.$index(0, target),
  50231. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  50232. 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) {
  50233. complex = t2[_i];
  50234. if (complex.accept$1(B.C__IsUselessVisitor))
  50235. continue;
  50236. complex.get$specificity();
  50237. t11 = new A.Extender(complex, false);
  50238. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  50239. _0_0 = sources.$index(0, complex);
  50240. if (_0_0 != null) {
  50241. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  50242. continue;
  50243. }
  50244. sources.$indexSet(0, complex, extension);
  50245. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  50246. t12 = t11._async$_current;
  50247. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  50248. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  50249. }
  50250. if (!t4 || t8) {
  50251. if (newExtensions == null)
  50252. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  50253. newExtensions.$indexSet(0, complex, extension);
  50254. }
  50255. }
  50256. if (newExtensions == null)
  50257. return;
  50258. t1 = type$.SimpleSelector;
  50259. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  50260. if (t8) {
  50261. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  50262. if (additionalExtensions != null)
  50263. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  50264. }
  50265. if (!t4)
  50266. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  50267. },
  50268. _simpleSelectors$1(complex) {
  50269. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  50270. },
  50271. _simpleSelectors$body$ExtensionStore($async$complex) {
  50272. var $async$self = this;
  50273. return function() {
  50274. var complex = $async$complex;
  50275. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2, t6, _0_2_isSet, selector, t7, _i1;
  50276. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  50277. if ($async$errorCode === 1) {
  50278. $async$currentError = $async$result;
  50279. $async$goto = $async$handler;
  50280. }
  50281. while (true)
  50282. switch ($async$goto) {
  50283. case 0:
  50284. // Function start
  50285. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  50286. case 2:
  50287. // for condition
  50288. if (!(_i < t2)) {
  50289. // goto after for
  50290. $async$goto = 4;
  50291. break;
  50292. }
  50293. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  50294. case 5:
  50295. // for condition
  50296. if (!(_i0 < t5)) {
  50297. // goto after for
  50298. $async$goto = 7;
  50299. break;
  50300. }
  50301. simple = t4[_i0];
  50302. $async$goto = 8;
  50303. return $async$iterator._async$_current = simple, 1;
  50304. case 8:
  50305. // after yield
  50306. if (simple instanceof A.PseudoSelector) {
  50307. _0_2 = simple.selector;
  50308. t6 = _0_2 != null;
  50309. _0_2_isSet = true;
  50310. } else {
  50311. _0_2 = null;
  50312. _0_2_isSet = false;
  50313. t6 = false;
  50314. }
  50315. $async$goto = t6 ? 9 : 10;
  50316. break;
  50317. case 9:
  50318. // then
  50319. selector = _0_2_isSet ? _0_2 : simple.selector;
  50320. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  50321. case 11:
  50322. // for condition
  50323. if (!(_i1 < t7)) {
  50324. // goto after for
  50325. $async$goto = 13;
  50326. break;
  50327. }
  50328. $async$goto = 14;
  50329. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  50330. case 14:
  50331. // after yield
  50332. case 12:
  50333. // for update
  50334. ++_i1;
  50335. // goto for condition
  50336. $async$goto = 11;
  50337. break;
  50338. case 13:
  50339. // after for
  50340. case 10:
  50341. // join
  50342. case 6:
  50343. // for update
  50344. ++_i0;
  50345. // goto for condition
  50346. $async$goto = 5;
  50347. break;
  50348. case 7:
  50349. // after for
  50350. case 3:
  50351. // for update
  50352. ++_i;
  50353. // goto for condition
  50354. $async$goto = 2;
  50355. break;
  50356. case 4:
  50357. // after for
  50358. // implicit return
  50359. return 0;
  50360. case 1:
  50361. // rethrow
  50362. return $async$iterator._datum = $async$currentError, 3;
  50363. }
  50364. };
  50365. };
  50366. },
  50367. _extendExistingExtensions$2(extensions, newExtensions) {
  50368. 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, _i0, _i1;
  50369. 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) {
  50370. extension = t1[_i];
  50371. t7 = t6.$index(0, extension.target);
  50372. t7.toString;
  50373. selectors = null;
  50374. try {
  50375. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  50376. if (selectors == null)
  50377. continue;
  50378. } catch (exception) {
  50379. t8 = A.unwrapException(exception);
  50380. if (t8 instanceof A.SassException) {
  50381. error = t8;
  50382. stackTrace = A.getTraceFromException(exception);
  50383. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  50384. } else
  50385. throw exception;
  50386. }
  50387. t8 = J.get$first$ax(selectors);
  50388. t9 = extension.extender.selector;
  50389. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  50390. t8 = selectors;
  50391. t9 = A.instanceType(t8);
  50392. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  50393. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  50394. selectors = selectors0;
  50395. }
  50396. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  50397. t9 = t8.get$current(t8);
  50398. t10 = extension;
  50399. t11 = t10.target;
  50400. t12 = t10.span;
  50401. t13 = t10.mediaContext;
  50402. t10 = t10.isOptional;
  50403. t9.get$specificity();
  50404. t14 = new A.Extender(t9, false);
  50405. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  50406. _0_0 = t7.$index(0, t9);
  50407. if (_0_0 != null)
  50408. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  50409. else {
  50410. t7.$indexSet(0, t9, withExtender);
  50411. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  50412. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  50413. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  50414. if (newExtensions.containsKey$1(extension.target)) {
  50415. if (additionalExtensions == null)
  50416. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  50417. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  50418. }
  50419. }
  50420. }
  50421. }
  50422. return additionalExtensions;
  50423. },
  50424. _extendExistingSelectors$2(selectors, newExtensions) {
  50425. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  50426. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  50427. selector = t1.get$current(t1);
  50428. oldValue = selector.value;
  50429. try {
  50430. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  50431. } catch (exception) {
  50432. t3 = A.unwrapException(exception);
  50433. if (t3 instanceof A.SassException) {
  50434. error = t3;
  50435. stackTrace = A.getTraceFromException(exception);
  50436. t3 = selector.value.span.message$1(0, "");
  50437. t4 = error._span_exception$_message;
  50438. t5 = error;
  50439. t6 = J.getInterceptor$z(t5);
  50440. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  50441. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  50442. } else
  50443. throw exception;
  50444. }
  50445. if (oldValue === selector.value)
  50446. continue;
  50447. this._registerSelector$2(selector.value, selector);
  50448. }
  50449. },
  50450. addExtensions$1(extensionStores) {
  50451. 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, t16, extender, extension, _this = this, _null = null;
  50452. 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();) {
  50453. t12 = t1.get$current(t1);
  50454. if (t12.get$isEmpty(t12))
  50455. continue;
  50456. t11.addAll$1(0, t12.get$_sourceSpecificity());
  50457. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  50458. t13 = t12.get$current(t12);
  50459. target = t13._0;
  50460. newSources = t13._1;
  50461. if (target instanceof A.PlaceholderSelector) {
  50462. first = target.name.charCodeAt(0);
  50463. t13 = first === 45 || first === 95;
  50464. } else
  50465. t13 = false;
  50466. if (t13)
  50467. continue;
  50468. extensionsForTarget = t8.$index(0, target);
  50469. t13 = extensionsForTarget == null;
  50470. if (!t13) {
  50471. if (extensionsToExtend == null) {
  50472. extensionsToExtend = A._setArrayType([], t9);
  50473. t14 = extensionsToExtend;
  50474. } else
  50475. t14 = extensionsToExtend;
  50476. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  50477. }
  50478. selectorsForTarget = t7.$index(0, target);
  50479. t14 = selectorsForTarget != null;
  50480. if (t14) {
  50481. if (selectorsToExtend == null) {
  50482. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  50483. t15 = selectorsToExtend;
  50484. } else
  50485. t15 = selectorsToExtend;
  50486. t15.addAll$1(0, selectorsForTarget);
  50487. }
  50488. _2_0 = t4.$index(0, target);
  50489. if (_2_0 != null)
  50490. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  50491. t16 = t15.get$current(t15);
  50492. extender = t16._0;
  50493. extension = t16._1;
  50494. if (_2_0.containsKey$1(extender)) {
  50495. t16 = _2_0.$index(0, extender);
  50496. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  50497. _2_0.$indexSet(0, extender, extension);
  50498. } else
  50499. _2_0.$indexSet(0, extender, extension);
  50500. if (!t13 || t14) {
  50501. if (newExtensions == null) {
  50502. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50503. t16 = newExtensions;
  50504. } else
  50505. t16 = newExtensions;
  50506. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()), extender, extension);
  50507. }
  50508. }
  50509. else {
  50510. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50511. t15.addAll$1(0, newSources);
  50512. t4.$indexSet(0, target, t15);
  50513. if (!t13 || t14) {
  50514. if (newExtensions == null) {
  50515. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50516. t13 = newExtensions;
  50517. } else
  50518. t13 = newExtensions;
  50519. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50520. t14.addAll$1(0, newSources);
  50521. t13.$indexSet(0, target, t14);
  50522. }
  50523. }
  50524. }
  50525. }
  50526. if (newExtensions != null) {
  50527. if (extensionsToExtend != null)
  50528. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  50529. if (selectorsToExtend != null)
  50530. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  50531. }
  50532. },
  50533. _extendList$3(list, extensions, mediaQueryContext) {
  50534. var t1, t2, t3, extended, i, complex, result, t4;
  50535. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  50536. complex = t1[i];
  50537. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  50538. if (result == null) {
  50539. if (extended != null)
  50540. extended.push(complex);
  50541. } else {
  50542. if (extended == null)
  50543. if (i === 0)
  50544. extended = A._setArrayType([], t3);
  50545. else {
  50546. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  50547. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50548. }
  50549. B.JSArray_methods.addAll$1(extended, result);
  50550. }
  50551. }
  50552. if (extended == null)
  50553. return list;
  50554. t1 = this._originals;
  50555. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  50556. },
  50557. _extendList$2(list, extensions) {
  50558. return this._extendList$3(list, extensions, null);
  50559. },
  50560. _extendComplex$3(complex, extensions, mediaQueryContext) {
  50561. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  50562. t1 = complex.leadingCombinators,
  50563. t2 = t1.length;
  50564. if (t2 > 1)
  50565. return null;
  50566. isOriginal = this._originals.contains$1(0, complex);
  50567. 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) {
  50568. component = t3[i];
  50569. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  50570. if (extended == null) {
  50571. if (extendedNotExpanded != null)
  50572. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([component], t10), t8, t6)], t9));
  50573. } else if (extendedNotExpanded != null)
  50574. extendedNotExpanded.push(extended);
  50575. else if (i !== 0) {
  50576. t11 = A._arrayInstanceType(t3);
  50577. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  50578. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  50579. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  50580. } else if (t2)
  50581. extendedNotExpanded = A._setArrayType([extended], t5);
  50582. else {
  50583. t11 = A._setArrayType([], t9);
  50584. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  50585. t13 = t12.get$current(t12);
  50586. t14 = t13.leadingCombinators;
  50587. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  50588. t14 = t13.components;
  50589. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  50590. }
  50591. }
  50592. extendedNotExpanded = A._setArrayType([t11], t5);
  50593. }
  50594. }
  50595. if (extendedNotExpanded == null)
  50596. return null;
  50597. _box_0.first = true;
  50598. t1 = type$.ComplexSelector;
  50599. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  50600. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  50601. },
  50602. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  50603. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  50604. t1 = _this._mode,
  50605. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  50606. t2 = component.selector,
  50607. simples = t2.components;
  50608. 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) {
  50609. simple = simples[i];
  50610. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  50611. if (extended == null) {
  50612. if (options != null)
  50613. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  50614. } else {
  50615. if (options == null) {
  50616. options = A._setArrayType([], t4);
  50617. if (i !== 0) {
  50618. t12 = new A.SubListIterable(simples, 0, i, t8);
  50619. t12.SubListIterable$3(simples, 0, i, t9);
  50620. result = A.List_List$from(t12, false, t11);
  50621. result.fixed$length = Array;
  50622. result.immutable$list = Array;
  50623. t12 = result;
  50624. compound = new A.CompoundSelector(t12, t10);
  50625. if (t12.length === 0)
  50626. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  50627. result = A.List_List$from(B.List_empty1, false, t6);
  50628. result.fixed$length = Array;
  50629. result.immutable$list = Array;
  50630. t12 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  50631. _this._sourceSpecificityFor$1(compound);
  50632. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  50633. }
  50634. }
  50635. B.JSArray_methods.addAll$1(options, extended);
  50636. }
  50637. }
  50638. if (options == null)
  50639. return _null;
  50640. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  50641. return _null;
  50642. if (options.length === 1) {
  50643. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  50644. t4 = t1.get$current(t1);
  50645. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  50646. complex = t4.selector.withAdditionalCombinators$1(t2);
  50647. if (complex.accept$1(B.C__IsUselessVisitor))
  50648. continue;
  50649. if (result == null)
  50650. result = A._setArrayType([], t3);
  50651. result.push(complex);
  50652. }
  50653. return result;
  50654. }
  50655. extenderPaths = A.paths(options, type$.Extender);
  50656. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  50657. t1 = t1 === B.ExtendMode_replace_replace;
  50658. t4 = !t1;
  50659. if (t4)
  50660. 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));
  50661. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  50662. t5 = A._instanceType(t2);
  50663. t2 = new A.ListIterator(t2, t2.get$length(t2), t5._eval$1("ListIterator<ListIterable.E>"));
  50664. t6 = component.combinators;
  50665. t5 = t5._eval$1("ListIterable.E");
  50666. for (; t2.moveNext$0();) {
  50667. t1 = t2.__internal$_current;
  50668. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  50669. if (extended == null)
  50670. continue;
  50671. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  50672. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  50673. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  50674. t3.push(withCombinators);
  50675. }
  50676. }
  50677. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  50678. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  50679. },
  50680. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  50681. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  50682. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  50683. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  50684. t4 = t2.get$current(t2);
  50685. if (t4.isOriginal) {
  50686. if (originals == null)
  50687. originals = A._setArrayType([], t3);
  50688. t4 = t4.selector;
  50689. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  50690. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  50691. } else {
  50692. t4 = t4.selector;
  50693. if (t4.accept$1(B.C__IsUselessVisitor))
  50694. return _null;
  50695. else
  50696. toUnify._queue_list$_add$1(t4);
  50697. }
  50698. }
  50699. if (originals != null)
  50700. 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));
  50701. complexes = A.unifyComplex(toUnify, span);
  50702. if (complexes == null)
  50703. return _null;
  50704. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  50705. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  50706. return complexes;
  50707. },
  50708. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  50709. var _1_0,
  50710. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  50711. if (simple instanceof A.PseudoSelector && simple.selector != null && true) {
  50712. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  50713. if (_1_0 != null)
  50714. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  50715. }
  50716. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  50717. },
  50718. _extenderForSimple$1(simple) {
  50719. var t1 = simple.span;
  50720. 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);
  50721. this._sourceSpecificity.$index(0, simple);
  50722. return new A.Extender(t1, true);
  50723. },
  50724. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  50725. var extended, complexes, t1, result,
  50726. selector = pseudo.selector;
  50727. if (selector == null)
  50728. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  50729. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  50730. if (extended === selector)
  50731. return null;
  50732. complexes = extended.components;
  50733. t1 = pseudo.normalizedName === "not";
  50734. 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()))
  50735. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  50736. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  50737. if (t1 && selector.components.length === 1) {
  50738. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  50739. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  50740. return result.length === 0 ? null : result;
  50741. } else
  50742. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  50743. },
  50744. _trim$2(selectors, isOriginal) {
  50745. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  50746. if (selectors.length > 100)
  50747. return selectors;
  50748. result = A.QueueList$(null, type$.ComplexSelector);
  50749. $label0$0:
  50750. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  50751. _box_0 = {};
  50752. complex1 = selectors[i];
  50753. if (isOriginal.call$1(complex1)) {
  50754. for (j = 0; j < numOriginals; ++j)
  50755. if (J.$eq$(result.$index(0, j), complex1)) {
  50756. A.rotateSlice(result, 0, j + 1);
  50757. continue $label0$0;
  50758. }
  50759. ++numOriginals;
  50760. result.addFirst$1(complex1);
  50761. continue $label0$0;
  50762. }
  50763. _box_0.maxSpecificity = 0;
  50764. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  50765. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  50766. _box_0.maxSpecificity = maxSpecificity;
  50767. }
  50768. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  50769. continue $label0$0;
  50770. t3 = new A.SubListIterable(selectors, 0, i, t1);
  50771. t3.SubListIterable$3(selectors, 0, i, t2);
  50772. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  50773. continue $label0$0;
  50774. result.addFirst$1(complex1);
  50775. }
  50776. return result;
  50777. },
  50778. _sourceSpecificityFor$1(compound) {
  50779. var t1, t2, t3, specificity, _i, t4;
  50780. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  50781. t4 = t3.$index(0, t1[_i]);
  50782. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  50783. }
  50784. return specificity;
  50785. },
  50786. clone$0() {
  50787. var t2, t3, t4, _this = this,
  50788. t1 = type$.SimpleSelector,
  50789. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  50790. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  50791. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  50792. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  50793. t2 = type$.Extension;
  50794. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  50795. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  50796. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  50797. t1.addAll$1(0, _this._sourceSpecificity);
  50798. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  50799. t4.addAll$1(0, _this._originals);
  50800. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  50801. },
  50802. get$_extensions() {
  50803. return this._extensions;
  50804. },
  50805. get$_sourceSpecificity() {
  50806. return this._sourceSpecificity;
  50807. }
  50808. };
  50809. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  50810. call$1(extension) {
  50811. return !extension.isOptional;
  50812. },
  50813. $signature: 421
  50814. };
  50815. A.ExtensionStore__registerSelector_closure.prototype = {
  50816. call$0() {
  50817. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  50818. },
  50819. $signature: 420
  50820. };
  50821. A.ExtensionStore_addExtension_closure.prototype = {
  50822. call$0() {
  50823. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50824. },
  50825. $signature: 139
  50826. };
  50827. A.ExtensionStore_addExtension_closure0.prototype = {
  50828. call$0() {
  50829. return A._setArrayType([], type$.JSArray_Extension);
  50830. },
  50831. $signature: 255
  50832. };
  50833. A.ExtensionStore_addExtension_closure1.prototype = {
  50834. call$0() {
  50835. return this.complex.get$specificity();
  50836. },
  50837. $signature: 10
  50838. };
  50839. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  50840. call$0() {
  50841. return A._setArrayType([], type$.JSArray_Extension);
  50842. },
  50843. $signature: 255
  50844. };
  50845. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  50846. call$0() {
  50847. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50848. },
  50849. $signature: 139
  50850. };
  50851. A.ExtensionStore_addExtensions_closure.prototype = {
  50852. call$0() {
  50853. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50854. },
  50855. $signature: 139
  50856. };
  50857. A.ExtensionStore__extendComplex_closure.prototype = {
  50858. call$1(path) {
  50859. var t1 = this.complex;
  50860. 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);
  50861. },
  50862. $signature: 418
  50863. };
  50864. A.ExtensionStore__extendComplex__closure.prototype = {
  50865. call$1(outputComplex) {
  50866. var _this = this,
  50867. t1 = _this._box_0;
  50868. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  50869. _this.$this._originals.add$1(0, outputComplex);
  50870. t1.first = false;
  50871. return outputComplex;
  50872. },
  50873. $signature: 62
  50874. };
  50875. A.ExtensionStore__extendCompound_closure.prototype = {
  50876. call$1(extender) {
  50877. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  50878. },
  50879. $signature: 417
  50880. };
  50881. A.ExtensionStore__extendCompound_closure0.prototype = {
  50882. call$1(_) {
  50883. return false;
  50884. },
  50885. $signature: 18
  50886. };
  50887. A.ExtensionStore__extendCompound_closure1.prototype = {
  50888. call$1(complex) {
  50889. return complex.$eq(0, this.original);
  50890. },
  50891. $signature: 18
  50892. };
  50893. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  50894. call$1(simple) {
  50895. var t1, t2,
  50896. extensionsForSimple = this.extensions.$index(0, simple);
  50897. if (extensionsForSimple == null)
  50898. return null;
  50899. t1 = this.targetsUsed;
  50900. if (t1 != null)
  50901. t1.add$1(0, simple);
  50902. t1 = A._setArrayType([], type$.JSArray_Extender);
  50903. t2 = this.$this;
  50904. if (t2._mode !== B.ExtendMode_replace_replace)
  50905. t1.push(t2._extenderForSimple$1(simple));
  50906. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  50907. t1.push(t2.get$current(t2).extender);
  50908. return t1;
  50909. },
  50910. $signature: 414
  50911. };
  50912. A.ExtensionStore__extendSimple_closure.prototype = {
  50913. call$1(pseudo) {
  50914. var t1 = this.withoutPseudo.call$1(pseudo);
  50915. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  50916. },
  50917. $signature: 413
  50918. };
  50919. A.ExtensionStore__extendSimple_closure0.prototype = {
  50920. call$1(result) {
  50921. return A._setArrayType([result], type$.JSArray_List_Extender);
  50922. },
  50923. $signature: 410
  50924. };
  50925. A.ExtensionStore__extendPseudo_closure.prototype = {
  50926. call$1(complex) {
  50927. return complex.components.length > 1;
  50928. },
  50929. $signature: 18
  50930. };
  50931. A.ExtensionStore__extendPseudo_closure0.prototype = {
  50932. call$1(complex) {
  50933. return complex.components.length === 1;
  50934. },
  50935. $signature: 18
  50936. };
  50937. A.ExtensionStore__extendPseudo_closure1.prototype = {
  50938. call$1(complex) {
  50939. return complex.components.length <= 1;
  50940. },
  50941. $signature: 18
  50942. };
  50943. A.ExtensionStore__extendPseudo_closure2.prototype = {
  50944. call$1(complex) {
  50945. var innerPseudo, innerSelector,
  50946. t1 = complex.get$singleCompound();
  50947. if (t1 == null)
  50948. innerPseudo = null;
  50949. else {
  50950. t1 = t1.components;
  50951. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  50952. }
  50953. if (!(innerPseudo instanceof A.PseudoSelector))
  50954. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50955. innerSelector = innerPseudo.selector;
  50956. if (innerSelector == null)
  50957. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50958. t1 = this.pseudo;
  50959. switch (t1.normalizedName) {
  50960. case "not":
  50961. if (!B.Set_aAXJu.contains$1(0, innerPseudo.normalizedName))
  50962. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50963. return innerSelector.components;
  50964. case "is":
  50965. case "matches":
  50966. case "where":
  50967. case "any":
  50968. case "current":
  50969. case "nth-child":
  50970. case "nth-last-child":
  50971. if (innerPseudo.name !== t1.name)
  50972. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50973. if (innerPseudo.argument != t1.argument)
  50974. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50975. return innerSelector.components;
  50976. case "has":
  50977. case "host":
  50978. case "host-context":
  50979. case "slotted":
  50980. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50981. default:
  50982. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50983. }
  50984. },
  50985. $signature: 398
  50986. };
  50987. A.ExtensionStore__extendPseudo_closure3.prototype = {
  50988. call$1(complex) {
  50989. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  50990. },
  50991. $signature: 396
  50992. };
  50993. A.ExtensionStore__trim_closure.prototype = {
  50994. call$1(complex2) {
  50995. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  50996. },
  50997. $signature: 18
  50998. };
  50999. A.ExtensionStore__trim_closure0.prototype = {
  51000. call$1(complex2) {
  51001. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  51002. },
  51003. $signature: 18
  51004. };
  51005. A.ExtensionStore_clone_closure.prototype = {
  51006. call$2(simple, selectors) {
  51007. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  51008. t1 = type$.ModifiableBox_SelectorList,
  51009. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  51010. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  51011. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  51012. t7 = t2.get$current(t2);
  51013. newSelector = new A.ModifiableBox(t7.value, t1);
  51014. newSelectorSet.add$1(0, newSelector);
  51015. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  51016. _0_0 = t5.$index(0, t7);
  51017. if (_0_0 != null)
  51018. t6.$indexSet(0, newSelector, _0_0);
  51019. }
  51020. },
  51021. $signature: 393
  51022. };
  51023. A.unifyComplex_closure.prototype = {
  51024. call$1(complex) {
  51025. return complex.lineBreak;
  51026. },
  51027. $signature: 18
  51028. };
  51029. A._weaveParents_closure.prototype = {
  51030. call$2(group1, group2) {
  51031. var t1, unified;
  51032. if (B.C_ListEquality.equals$2(0, group1, group2))
  51033. return group1;
  51034. if (A._complexIsParentSuperselector(group1, group2))
  51035. return group2;
  51036. if (A._complexIsParentSuperselector(group2, group1))
  51037. return group1;
  51038. if (!A._mustUnify(group1, group2))
  51039. return null;
  51040. t1 = this.span;
  51041. 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);
  51042. if (unified == null)
  51043. t1 = null;
  51044. else {
  51045. t1 = A.IterableExtension_get_singleOrNull(unified);
  51046. t1 = t1 == null ? null : t1.components;
  51047. }
  51048. return t1;
  51049. },
  51050. $signature: 392
  51051. };
  51052. A._weaveParents_closure0.prototype = {
  51053. call$1(sequence) {
  51054. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  51055. },
  51056. $signature: 267
  51057. };
  51058. A._weaveParents_closure1.prototype = {
  51059. call$1(sequence) {
  51060. return sequence.get$length(0) === 0;
  51061. },
  51062. $signature: 267
  51063. };
  51064. A._weaveParents_closure2.prototype = {
  51065. call$1(choice) {
  51066. return J.get$isNotEmpty$asx(choice);
  51067. },
  51068. $signature: 391
  51069. };
  51070. A._mustUnify_closure.prototype = {
  51071. call$1(component) {
  51072. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  51073. },
  51074. $signature: 48
  51075. };
  51076. A._mustUnify__closure.prototype = {
  51077. call$1(simple) {
  51078. var t1;
  51079. if (!(simple instanceof A.IDSelector))
  51080. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  51081. else
  51082. t1 = true;
  51083. return t1 && this.uniqueSelectors.contains$1(0, simple);
  51084. },
  51085. $signature: 15
  51086. };
  51087. A.paths_closure.prototype = {
  51088. call$2(paths, choice) {
  51089. var t1 = this.T;
  51090. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  51091. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  51092. },
  51093. $signature() {
  51094. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  51095. }
  51096. };
  51097. A.paths__closure.prototype = {
  51098. call$1(option) {
  51099. var t1 = this.T;
  51100. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  51101. },
  51102. $signature() {
  51103. return this.T._eval$1("Iterable<List<0>>(0)");
  51104. }
  51105. };
  51106. A.paths___closure.prototype = {
  51107. call$1(path) {
  51108. var t1 = A.List_List$of(path, true, this.T);
  51109. t1.push(this.option);
  51110. return t1;
  51111. },
  51112. $signature() {
  51113. return this.T._eval$1("List<0>(List<0>)");
  51114. }
  51115. };
  51116. A.listIsSuperselector_closure.prototype = {
  51117. call$1(complex1) {
  51118. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  51119. },
  51120. $signature: 18
  51121. };
  51122. A.listIsSuperselector__closure.prototype = {
  51123. call$1(complex2) {
  51124. return complex2.isSuperselector$1(this.complex1);
  51125. },
  51126. $signature: 18
  51127. };
  51128. A.complexIsSuperselector_closure.prototype = {
  51129. call$1($parent) {
  51130. return $parent.combinators.length > 1;
  51131. },
  51132. $signature: 48
  51133. };
  51134. A.complexIsSuperselector_closure0.prototype = {
  51135. call$1(component) {
  51136. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  51137. },
  51138. $signature: 48
  51139. };
  51140. A._compatibleWithPreviousCombinator_closure.prototype = {
  51141. call$1(component) {
  51142. var t1 = component.combinators,
  51143. t2 = A.IterableExtension_get_firstOrNull(t1);
  51144. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt)) {
  51145. t1 = A.IterableExtension_get_firstOrNull(t1);
  51146. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF);
  51147. } else
  51148. t1 = true;
  51149. return t1;
  51150. },
  51151. $signature: 48
  51152. };
  51153. A._selectorPseudoIsSuperselector_closure.prototype = {
  51154. call$1(selector2) {
  51155. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51156. },
  51157. $signature: 66
  51158. };
  51159. A._selectorPseudoIsSuperselector_closure0.prototype = {
  51160. call$1(complex1) {
  51161. var t1, t2;
  51162. if (complex1.leadingCombinators.length === 0) {
  51163. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  51164. t2 = this.parents;
  51165. if (t2 != null)
  51166. B.JSArray_methods.addAll$1(t1, t2);
  51167. t2 = this.compound2;
  51168. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t2.span));
  51169. t1 = A.complexIsSuperselector(complex1.components, t1);
  51170. } else
  51171. t1 = false;
  51172. return t1;
  51173. },
  51174. $signature: 18
  51175. };
  51176. A._selectorPseudoIsSuperselector_closure1.prototype = {
  51177. call$1(selector2) {
  51178. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51179. },
  51180. $signature: 66
  51181. };
  51182. A._selectorPseudoIsSuperselector_closure2.prototype = {
  51183. call$1(selector2) {
  51184. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51185. },
  51186. $signature: 66
  51187. };
  51188. A._selectorPseudoIsSuperselector_closure3.prototype = {
  51189. call$1(complex) {
  51190. if (complex.accept$1(B._IsBogusVisitor_true))
  51191. return false;
  51192. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  51193. },
  51194. $signature: 18
  51195. };
  51196. A._selectorPseudoIsSuperselector__closure.prototype = {
  51197. call$1(simple2) {
  51198. var t1, _0_4, selector2, _this = this;
  51199. $label0$1: {
  51200. if (simple2 instanceof A.TypeSelector) {
  51201. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  51202. break $label0$1;
  51203. }
  51204. if (simple2 instanceof A.IDSelector) {
  51205. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  51206. break $label0$1;
  51207. }
  51208. if (simple2 instanceof A.PseudoSelector) {
  51209. _0_4 = simple2.selector;
  51210. if (_0_4 != null) {
  51211. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  51212. t1 = simple2.name === _this.pseudo1.name;
  51213. } else {
  51214. selector2 = null;
  51215. t1 = false;
  51216. }
  51217. } else {
  51218. selector2 = null;
  51219. t1 = false;
  51220. }
  51221. if (t1) {
  51222. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  51223. break $label0$1;
  51224. }
  51225. t1 = false;
  51226. break $label0$1;
  51227. }
  51228. return t1;
  51229. },
  51230. $signature: 15
  51231. };
  51232. A._selectorPseudoIsSuperselector___closure.prototype = {
  51233. call$1(simple1) {
  51234. var t1;
  51235. if (simple1 instanceof A.TypeSelector) {
  51236. t1 = this.simple2;
  51237. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  51238. } else
  51239. t1 = false;
  51240. return t1;
  51241. },
  51242. $signature: 15
  51243. };
  51244. A._selectorPseudoIsSuperselector___closure0.prototype = {
  51245. call$1(simple1) {
  51246. var t1;
  51247. if (simple1 instanceof A.IDSelector) {
  51248. t1 = this.simple2;
  51249. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  51250. } else
  51251. t1 = false;
  51252. return t1;
  51253. },
  51254. $signature: 15
  51255. };
  51256. A._selectorPseudoIsSuperselector_closure4.prototype = {
  51257. call$1(selector2) {
  51258. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  51259. return t1;
  51260. },
  51261. $signature: 66
  51262. };
  51263. A._selectorPseudoIsSuperselector_closure5.prototype = {
  51264. call$1(pseudo2) {
  51265. var t1, selector2;
  51266. if (!(pseudo2 instanceof A.PseudoSelector))
  51267. return false;
  51268. t1 = this.pseudo1;
  51269. if (pseudo2.name !== t1.name)
  51270. return false;
  51271. if (pseudo2.argument != t1.argument)
  51272. return false;
  51273. selector2 = pseudo2.selector;
  51274. if (selector2 == null)
  51275. return false;
  51276. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51277. },
  51278. $signature: 15
  51279. };
  51280. A._selectorPseudoArgs_closure.prototype = {
  51281. call$1(pseudo) {
  51282. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  51283. },
  51284. $signature: 271
  51285. };
  51286. A._selectorPseudoArgs_closure0.prototype = {
  51287. call$1(pseudo) {
  51288. return pseudo.selector;
  51289. },
  51290. $signature: 387
  51291. };
  51292. A.MergedExtension.prototype = {
  51293. unmerge$0() {
  51294. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  51295. },
  51296. unmerge$body$MergedExtension() {
  51297. var $async$self = this;
  51298. return function() {
  51299. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  51300. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  51301. if ($async$errorCode === 1) {
  51302. $async$currentError = $async$result;
  51303. $async$goto = $async$handler;
  51304. }
  51305. while (true)
  51306. switch ($async$goto) {
  51307. case 0:
  51308. // Function start
  51309. left = $async$self.left;
  51310. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  51311. break;
  51312. case 2:
  51313. // then
  51314. $async$goto = 5;
  51315. return $async$iterator._yieldStar$1(left.unmerge$0());
  51316. case 5:
  51317. // after yield
  51318. // goto join
  51319. $async$goto = 3;
  51320. break;
  51321. case 4:
  51322. // else
  51323. $async$goto = 6;
  51324. return $async$iterator._async$_current = left, 1;
  51325. case 6:
  51326. // after yield
  51327. case 3:
  51328. // join
  51329. right = $async$self.right;
  51330. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  51331. break;
  51332. case 7:
  51333. // then
  51334. $async$goto = 10;
  51335. return $async$iterator._yieldStar$1(right.unmerge$0());
  51336. case 10:
  51337. // after yield
  51338. // goto join
  51339. $async$goto = 8;
  51340. break;
  51341. case 9:
  51342. // else
  51343. $async$goto = 11;
  51344. return $async$iterator._async$_current = right, 1;
  51345. case 11:
  51346. // after yield
  51347. case 8:
  51348. // join
  51349. // implicit return
  51350. return 0;
  51351. case 1:
  51352. // rethrow
  51353. return $async$iterator._datum = $async$currentError, 3;
  51354. }
  51355. };
  51356. };
  51357. }
  51358. };
  51359. A.ExtendMode.prototype = {
  51360. _enumToString$0() {
  51361. return "ExtendMode." + this._name;
  51362. },
  51363. toString$0(_) {
  51364. return this.name;
  51365. }
  51366. };
  51367. A.globalFunctions_closure.prototype = {
  51368. call$1($arguments) {
  51369. var t1 = J.getInterceptor$asx($arguments);
  51370. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  51371. },
  51372. $signature: 6
  51373. };
  51374. A.global_closure0.prototype = {
  51375. call$1($arguments) {
  51376. return A._rgb("rgb", $arguments);
  51377. },
  51378. $signature: 6
  51379. };
  51380. A.global_closure1.prototype = {
  51381. call$1($arguments) {
  51382. return A._rgb("rgb", $arguments);
  51383. },
  51384. $signature: 6
  51385. };
  51386. A.global_closure2.prototype = {
  51387. call$1($arguments) {
  51388. return A._rgbTwoArg("rgb", $arguments);
  51389. },
  51390. $signature: 6
  51391. };
  51392. A.global_closure3.prototype = {
  51393. call$1($arguments) {
  51394. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51395. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  51396. },
  51397. $signature: 6
  51398. };
  51399. A.global_closure4.prototype = {
  51400. call$1($arguments) {
  51401. return A._rgb("rgba", $arguments);
  51402. },
  51403. $signature: 6
  51404. };
  51405. A.global_closure5.prototype = {
  51406. call$1($arguments) {
  51407. return A._rgb("rgba", $arguments);
  51408. },
  51409. $signature: 6
  51410. };
  51411. A.global_closure6.prototype = {
  51412. call$1($arguments) {
  51413. return A._rgbTwoArg("rgba", $arguments);
  51414. },
  51415. $signature: 6
  51416. };
  51417. A.global_closure7.prototype = {
  51418. call$1($arguments) {
  51419. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51420. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  51421. },
  51422. $signature: 6
  51423. };
  51424. A.global_closure8.prototype = {
  51425. call$1($arguments) {
  51426. var color, t2,
  51427. t1 = J.getInterceptor$asx($arguments),
  51428. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51429. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  51430. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51431. throw A.wrapException(string$.Only_oa);
  51432. return A._functionString("invert", t1.take$1($arguments, 1));
  51433. }
  51434. color = t1.$index($arguments, 0).assertColor$1("color");
  51435. t1 = color.get$red(0);
  51436. t2 = color.get$green(0);
  51437. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51438. },
  51439. $signature: 6
  51440. };
  51441. A.global_closure9.prototype = {
  51442. call$1($arguments) {
  51443. return A._hsl("hsl", $arguments);
  51444. },
  51445. $signature: 6
  51446. };
  51447. A.global_closure10.prototype = {
  51448. call$1($arguments) {
  51449. return A._hsl("hsl", $arguments);
  51450. },
  51451. $signature: 6
  51452. };
  51453. A.global_closure11.prototype = {
  51454. call$1($arguments) {
  51455. var t1 = J.getInterceptor$asx($arguments);
  51456. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51457. return A._functionString("hsl", $arguments);
  51458. else
  51459. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51460. },
  51461. $signature: 19
  51462. };
  51463. A.global_closure12.prototype = {
  51464. call$1($arguments) {
  51465. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51466. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  51467. },
  51468. $signature: 6
  51469. };
  51470. A.global_closure13.prototype = {
  51471. call$1($arguments) {
  51472. return A._hsl("hsla", $arguments);
  51473. },
  51474. $signature: 6
  51475. };
  51476. A.global_closure14.prototype = {
  51477. call$1($arguments) {
  51478. return A._hsl("hsla", $arguments);
  51479. },
  51480. $signature: 6
  51481. };
  51482. A.global_closure15.prototype = {
  51483. call$1($arguments) {
  51484. var t1 = J.getInterceptor$asx($arguments);
  51485. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51486. return A._functionString("hsla", $arguments);
  51487. else
  51488. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51489. },
  51490. $signature: 19
  51491. };
  51492. A.global_closure16.prototype = {
  51493. call$1($arguments) {
  51494. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51495. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  51496. },
  51497. $signature: 6
  51498. };
  51499. A.global_closure17.prototype = {
  51500. call$1($arguments) {
  51501. var t1 = J.getInterceptor$asx($arguments);
  51502. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51503. return A._functionString("grayscale", $arguments);
  51504. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51505. },
  51506. $signature: 6
  51507. };
  51508. A.global_closure18.prototype = {
  51509. call$1($arguments) {
  51510. var t1 = J.getInterceptor$asx($arguments),
  51511. color = t1.$index($arguments, 0).assertColor$1("color"),
  51512. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  51513. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  51514. },
  51515. $signature: 30
  51516. };
  51517. A.global_closure19.prototype = {
  51518. call$1($arguments) {
  51519. var t1 = J.getInterceptor$asx($arguments),
  51520. color = t1.$index($arguments, 0).assertColor$1("color"),
  51521. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51522. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51523. },
  51524. $signature: 30
  51525. };
  51526. A.global_closure20.prototype = {
  51527. call$1($arguments) {
  51528. var t1 = J.getInterceptor$asx($arguments),
  51529. color = t1.$index($arguments, 0).assertColor$1("color"),
  51530. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51531. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51532. },
  51533. $signature: 30
  51534. };
  51535. A.global_closure21.prototype = {
  51536. call$1($arguments) {
  51537. var t1 = J.getInterceptor$asx($arguments);
  51538. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51539. return A._functionString("saturate", $arguments);
  51540. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  51541. },
  51542. $signature: 19
  51543. };
  51544. A.global_closure22.prototype = {
  51545. call$1($arguments) {
  51546. var t1 = J.getInterceptor$asx($arguments),
  51547. color = t1.$index($arguments, 0).assertColor$1("color"),
  51548. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51549. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51550. },
  51551. $signature: 30
  51552. };
  51553. A.global_closure23.prototype = {
  51554. call$1($arguments) {
  51555. var t1 = J.getInterceptor$asx($arguments),
  51556. color = t1.$index($arguments, 0).assertColor$1("color"),
  51557. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51558. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51559. },
  51560. $signature: 30
  51561. };
  51562. A.global_closure24.prototype = {
  51563. call$1($arguments) {
  51564. var argument = J.$index$asx($arguments, 0);
  51565. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  51566. return A._functionString("alpha", $arguments);
  51567. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51568. },
  51569. $signature: 6
  51570. };
  51571. A.global_closure25.prototype = {
  51572. call$1($arguments) {
  51573. var t1,
  51574. argList = J.$index$asx($arguments, 0).get$asList();
  51575. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  51576. return A._functionString("alpha", $arguments);
  51577. t1 = argList.length;
  51578. if (t1 === 0)
  51579. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  51580. else
  51581. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  51582. },
  51583. $signature: 19
  51584. };
  51585. A.global__closure.prototype = {
  51586. call$1(argument) {
  51587. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51588. },
  51589. $signature: 69
  51590. };
  51591. A.global_closure26.prototype = {
  51592. call$1($arguments) {
  51593. var t1 = J.getInterceptor$asx($arguments);
  51594. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51595. return A._functionString("opacity", $arguments);
  51596. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51597. },
  51598. $signature: 6
  51599. };
  51600. A.module_closure1.prototype = {
  51601. call$1($arguments) {
  51602. var result, t2, color,
  51603. t1 = J.getInterceptor$asx($arguments),
  51604. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51605. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51606. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51607. throw A.wrapException(string$.Only_oa);
  51608. result = A._functionString("invert", t1.take$1($arguments, 1));
  51609. t1 = A.S(t1.$index($arguments, 0));
  51610. t2 = result.toString$0(0);
  51611. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_s4m);
  51612. return result;
  51613. }
  51614. color = t1.$index($arguments, 0).assertColor$1("color");
  51615. t1 = color.get$red(0);
  51616. t2 = color.get$green(0);
  51617. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51618. },
  51619. $signature: 6
  51620. };
  51621. A.module_closure2.prototype = {
  51622. call$1($arguments) {
  51623. var result, t2,
  51624. t1 = J.getInterceptor$asx($arguments);
  51625. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51626. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  51627. t1 = A.S(t1.$index($arguments, 0));
  51628. t2 = result.toString$0(0);
  51629. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_s4m);
  51630. return result;
  51631. }
  51632. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51633. },
  51634. $signature: 6
  51635. };
  51636. A.module_closure3.prototype = {
  51637. call$1($arguments) {
  51638. return A._hwb($arguments);
  51639. },
  51640. $signature: 6
  51641. };
  51642. A.module_closure4.prototype = {
  51643. call$1($arguments) {
  51644. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  51645. if (parsed instanceof A.SassString)
  51646. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  51647. else
  51648. return A._hwb(type$.List_Value._as(parsed));
  51649. },
  51650. $signature: 6
  51651. };
  51652. A.module_closure5.prototype = {
  51653. call$1($arguments) {
  51654. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  51655. },
  51656. $signature: 12
  51657. };
  51658. A.module_closure6.prototype = {
  51659. call$1($arguments) {
  51660. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  51661. },
  51662. $signature: 12
  51663. };
  51664. A.module_closure7.prototype = {
  51665. call$1($arguments) {
  51666. var result, t1,
  51667. argument = J.$index$asx($arguments, 0);
  51668. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  51669. result = A._functionString("alpha", $arguments);
  51670. t1 = result.toString$0(0);
  51671. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  51672. return result;
  51673. }
  51674. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51675. },
  51676. $signature: 6
  51677. };
  51678. A.module_closure8.prototype = {
  51679. call$1($arguments) {
  51680. var result,
  51681. t1 = J.getInterceptor$asx($arguments);
  51682. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  51683. result = A._functionString("alpha", $arguments);
  51684. t1 = result.toString$0(0);
  51685. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  51686. return result;
  51687. }
  51688. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  51689. },
  51690. $signature: 19
  51691. };
  51692. A.module__closure1.prototype = {
  51693. call$1(argument) {
  51694. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51695. },
  51696. $signature: 69
  51697. };
  51698. A.module_closure9.prototype = {
  51699. call$1($arguments) {
  51700. var result, t2,
  51701. t1 = J.getInterceptor$asx($arguments);
  51702. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51703. result = A._functionString("opacity", $arguments);
  51704. t1 = A.S(t1.$index($arguments, 0));
  51705. t2 = result.toString$0(0);
  51706. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_s4m);
  51707. return result;
  51708. }
  51709. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51710. },
  51711. $signature: 6
  51712. };
  51713. A._red_closure.prototype = {
  51714. call$1($arguments) {
  51715. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  51716. },
  51717. $signature: 12
  51718. };
  51719. A._green_closure.prototype = {
  51720. call$1($arguments) {
  51721. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  51722. },
  51723. $signature: 12
  51724. };
  51725. A._blue_closure.prototype = {
  51726. call$1($arguments) {
  51727. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  51728. },
  51729. $signature: 12
  51730. };
  51731. A._mix_closure.prototype = {
  51732. call$1($arguments) {
  51733. var t1 = J.getInterceptor$asx($arguments);
  51734. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  51735. },
  51736. $signature: 30
  51737. };
  51738. A._hue_closure.prototype = {
  51739. call$1($arguments) {
  51740. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  51741. },
  51742. $signature: 12
  51743. };
  51744. A._saturation_closure.prototype = {
  51745. call$1($arguments) {
  51746. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  51747. },
  51748. $signature: 12
  51749. };
  51750. A._lightness_closure.prototype = {
  51751. call$1($arguments) {
  51752. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  51753. },
  51754. $signature: 12
  51755. };
  51756. A._complement_closure.prototype = {
  51757. call$1($arguments) {
  51758. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  51759. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  51760. },
  51761. $signature: 30
  51762. };
  51763. A._adjust_closure.prototype = {
  51764. call$1($arguments) {
  51765. return A._updateComponents($arguments, true, false, false);
  51766. },
  51767. $signature: 30
  51768. };
  51769. A._scale_closure.prototype = {
  51770. call$1($arguments) {
  51771. return A._updateComponents($arguments, false, false, true);
  51772. },
  51773. $signature: 30
  51774. };
  51775. A._change_closure.prototype = {
  51776. call$1($arguments) {
  51777. return A._updateComponents($arguments, false, true, false);
  51778. },
  51779. $signature: 30
  51780. };
  51781. A._ieHexStr_closure.prototype = {
  51782. call$1($arguments) {
  51783. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  51784. t1 = new A._ieHexStr_closure_hexString();
  51785. return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(0))) + A.S(t1.call$1(color.get$green(0))) + A.S(t1.call$1(color.get$blue(0))), false);
  51786. },
  51787. $signature: 19
  51788. };
  51789. A._ieHexStr_closure_hexString.prototype = {
  51790. call$1(component) {
  51791. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  51792. },
  51793. $signature: 230
  51794. };
  51795. A._updateComponents_getParam.prototype = {
  51796. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  51797. var t2, t3, t4, _this = this,
  51798. t1 = _this.keywords.remove$1(0, $name),
  51799. number = t1 == null ? null : t1.assertNumber$1($name);
  51800. if (number == null)
  51801. return null;
  51802. t1 = _this.scale;
  51803. t2 = !t1;
  51804. if (t2 && checkUnitless)
  51805. if (number.get$hasUnits()) {
  51806. t3 = number.get$unitString();
  51807. t4 = number.unitSuggestion$1($name);
  51808. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_8WR);
  51809. }
  51810. if (t2 && checkPercent)
  51811. A._checkPercent(number, $name);
  51812. if (!t2 || assertPercent)
  51813. number.assertUnit$2("%", $name);
  51814. if (t1)
  51815. max = 100;
  51816. if (!t2 || assertPercent)
  51817. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  51818. else {
  51819. t1 = _this.change ? 0 : -max;
  51820. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  51821. }
  51822. return t1;
  51823. },
  51824. call$2($name, max) {
  51825. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  51826. },
  51827. call$3$checkUnitless($name, max, checkUnitless) {
  51828. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  51829. },
  51830. call$3$checkPercent($name, max, checkPercent) {
  51831. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  51832. },
  51833. call$3$assertPercent($name, max, assertPercent) {
  51834. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  51835. },
  51836. $signature: 227
  51837. };
  51838. A._updateComponents_closure.prototype = {
  51839. call$1(hue) {
  51840. return A._angleValue(hue, "hue");
  51841. },
  51842. $signature: 97
  51843. };
  51844. A._updateComponents_closure0.prototype = {
  51845. call$1($name) {
  51846. return "$" + $name;
  51847. },
  51848. $signature: 5
  51849. };
  51850. A._updateComponents_updateValue.prototype = {
  51851. call$3(current, param, max) {
  51852. var t1;
  51853. if (param == null)
  51854. return current;
  51855. if (this.change)
  51856. return param;
  51857. if (this.adjust)
  51858. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  51859. t1 = param > 0 ? max - current : current;
  51860. return current + t1 * (param / 100);
  51861. },
  51862. $signature: 202
  51863. };
  51864. A._updateComponents_updateRgb.prototype = {
  51865. call$2(current, param) {
  51866. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  51867. },
  51868. $signature: 197
  51869. };
  51870. A._functionString_closure.prototype = {
  51871. call$1(argument) {
  51872. return A.serializeValue(argument, false, true);
  51873. },
  51874. $signature: 386
  51875. };
  51876. A._removedColorFunction_closure.prototype = {
  51877. call$1($arguments) {
  51878. var t1 = this.name,
  51879. t2 = J.getInterceptor$asx($arguments),
  51880. t3 = A.S(t2.$index($arguments, 0)),
  51881. t4 = this.negative ? "-" : "";
  51882. 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));
  51883. },
  51884. $signature: 382
  51885. };
  51886. A._rgb_closure.prototype = {
  51887. call$1(alpha) {
  51888. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51889. },
  51890. $signature: 97
  51891. };
  51892. A._hsl_closure.prototype = {
  51893. call$1(alpha) {
  51894. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51895. },
  51896. $signature: 97
  51897. };
  51898. A._hwb_closure.prototype = {
  51899. call$1(alpha) {
  51900. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51901. },
  51902. $signature: 97
  51903. };
  51904. A._parseChannels_closure.prototype = {
  51905. call$1(value) {
  51906. return value.get$isVar();
  51907. },
  51908. $signature: 69
  51909. };
  51910. A._length_closure0.prototype = {
  51911. call$1($arguments) {
  51912. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  51913. },
  51914. $signature: 12
  51915. };
  51916. A._nth_closure.prototype = {
  51917. call$1($arguments) {
  51918. var t1 = J.getInterceptor$asx($arguments),
  51919. list = t1.$index($arguments, 0),
  51920. index = t1.$index($arguments, 1);
  51921. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  51922. },
  51923. $signature: 6
  51924. };
  51925. A._setNth_closure.prototype = {
  51926. call$1($arguments) {
  51927. var newList,
  51928. t1 = J.getInterceptor$asx($arguments),
  51929. list = t1.$index($arguments, 0),
  51930. index = t1.$index($arguments, 1),
  51931. value = t1.$index($arguments, 2);
  51932. t1 = list.get$asList();
  51933. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  51934. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  51935. return list.withListContents$1(newList);
  51936. },
  51937. $signature: 23
  51938. };
  51939. A._join_closure.prototype = {
  51940. call$1($arguments) {
  51941. var _0_1, _0_4, _0_3, _0_10, _0_40, _0_4_isSet, separator, bracketed, t2, _null = null,
  51942. t1 = J.getInterceptor$asx($arguments),
  51943. list1 = t1.$index($arguments, 0),
  51944. list2 = t1.$index($arguments, 1),
  51945. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  51946. bracketedParam = t1.$index($arguments, 3),
  51947. _1_0 = separatorParam._string$_text;
  51948. $label1$1: {
  51949. if ("auto" === _1_0) {
  51950. _0_1 = list1.get$separator(list1);
  51951. _0_4 = list2.get$separator(list2);
  51952. $label0$0: {
  51953. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  51954. t1 = _0_3;
  51955. _0_10 = _0_1;
  51956. if (t1) {
  51957. t1 = B.ListSeparator_undecided_null_undecided === _0_4;
  51958. _0_40 = _0_4;
  51959. _0_4_isSet = true;
  51960. } else {
  51961. _0_40 = _null;
  51962. _0_4_isSet = false;
  51963. t1 = false;
  51964. }
  51965. if (t1) {
  51966. t1 = B.ListSeparator_EVt;
  51967. break $label0$0;
  51968. }
  51969. if (_0_3) {
  51970. separator = _0_4_isSet ? _0_40 : _0_4;
  51971. t1 = true;
  51972. } else {
  51973. separator = _null;
  51974. t1 = false;
  51975. }
  51976. if (!t1)
  51977. separator = _0_10;
  51978. t1 = separator;
  51979. break $label0$0;
  51980. }
  51981. break $label1$1;
  51982. }
  51983. if ("space" === _1_0) {
  51984. t1 = B.ListSeparator_EVt;
  51985. break $label1$1;
  51986. }
  51987. if ("comma" === _1_0) {
  51988. t1 = B.ListSeparator_rXA;
  51989. break $label1$1;
  51990. }
  51991. if ("slash" === _1_0) {
  51992. t1 = B.ListSeparator_zg9;
  51993. break $label1$1;
  51994. }
  51995. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  51996. }
  51997. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  51998. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  51999. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  52000. return A.SassList$(t2, t1, bracketed);
  52001. },
  52002. $signature: 23
  52003. };
  52004. A._append_closure0.prototype = {
  52005. call$1($arguments) {
  52006. var t2,
  52007. t1 = J.getInterceptor$asx($arguments),
  52008. list = t1.$index($arguments, 0),
  52009. value = t1.$index($arguments, 1),
  52010. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  52011. $label0$0: {
  52012. if ("auto" === _0_0) {
  52013. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  52014. break $label0$0;
  52015. }
  52016. if ("space" === _0_0) {
  52017. t1 = B.ListSeparator_EVt;
  52018. break $label0$0;
  52019. }
  52020. if ("comma" === _0_0) {
  52021. t1 = B.ListSeparator_rXA;
  52022. break $label0$0;
  52023. }
  52024. if ("slash" === _0_0) {
  52025. t1 = B.ListSeparator_zg9;
  52026. break $label0$0;
  52027. }
  52028. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  52029. }
  52030. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  52031. t2.push(value);
  52032. return list.withListContents$2$separator(t2, t1);
  52033. },
  52034. $signature: 23
  52035. };
  52036. A._zip_closure.prototype = {
  52037. call$1($arguments) {
  52038. var results, result, _box_0 = {},
  52039. t1 = J.$index$asx($arguments, 0).get$asList(),
  52040. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  52041. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52042. if (lists.length === 0)
  52043. return B.SassList_Sof;
  52044. _box_0.i = 0;
  52045. results = A._setArrayType([], type$.JSArray_SassList);
  52046. 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));) {
  52047. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  52048. result.fixed$length = Array;
  52049. result.immutable$list = Array;
  52050. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  52051. ++_box_0.i;
  52052. }
  52053. return A.SassList$(results, B.ListSeparator_rXA, false);
  52054. },
  52055. $signature: 23
  52056. };
  52057. A._zip__closure.prototype = {
  52058. call$1(list) {
  52059. return list.get$asList();
  52060. },
  52061. $signature: 381
  52062. };
  52063. A._zip__closure0.prototype = {
  52064. call$1(list) {
  52065. return this._box_0.i !== J.get$length$asx(list);
  52066. },
  52067. $signature: 380
  52068. };
  52069. A._zip__closure1.prototype = {
  52070. call$1(list) {
  52071. return J.$index$asx(list, this._box_0.i);
  52072. },
  52073. $signature: 6
  52074. };
  52075. A._index_closure0.prototype = {
  52076. call$1($arguments) {
  52077. var t1 = J.getInterceptor$asx($arguments),
  52078. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  52079. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  52080. },
  52081. $signature: 6
  52082. };
  52083. A._separator_closure.prototype = {
  52084. call$1($arguments) {
  52085. var t1,
  52086. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  52087. $label0$0: {
  52088. if (B.ListSeparator_rXA === _0_0) {
  52089. t1 = new A.SassString("comma", false);
  52090. break $label0$0;
  52091. }
  52092. if (B.ListSeparator_zg9 === _0_0) {
  52093. t1 = new A.SassString("slash", false);
  52094. break $label0$0;
  52095. }
  52096. t1 = new A.SassString("space", false);
  52097. break $label0$0;
  52098. }
  52099. return t1;
  52100. },
  52101. $signature: 19
  52102. };
  52103. A._isBracketed_closure.prototype = {
  52104. call$1($arguments) {
  52105. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  52106. },
  52107. $signature: 21
  52108. };
  52109. A._slash_closure.prototype = {
  52110. call$1($arguments) {
  52111. var list = J.$index$asx($arguments, 0).get$asList();
  52112. if (list.length < 2)
  52113. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  52114. return A.SassList$(list, B.ListSeparator_zg9, false);
  52115. },
  52116. $signature: 23
  52117. };
  52118. A._get_closure.prototype = {
  52119. call$1($arguments) {
  52120. var value,
  52121. t1 = J.getInterceptor$asx($arguments),
  52122. map = t1.$index($arguments, 0).assertMap$1("map"),
  52123. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52124. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52125. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52126. value = map._map$_contents.$index(0, t1.get$current(t1));
  52127. if (!(value instanceof A.SassMap))
  52128. return B.C__SassNull;
  52129. }
  52130. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  52131. return t1 == null ? B.C__SassNull : t1;
  52132. },
  52133. $signature: 6
  52134. };
  52135. A._set_closure.prototype = {
  52136. call$1($arguments) {
  52137. var t1 = J.getInterceptor$asx($arguments);
  52138. return A._modify(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value), new A._set__closure0($arguments), true);
  52139. },
  52140. $signature: 6
  52141. };
  52142. A._set__closure0.prototype = {
  52143. call$1(_) {
  52144. return J.$index$asx(this.$arguments, 2);
  52145. },
  52146. $signature: 39
  52147. };
  52148. A._set_closure0.prototype = {
  52149. call$1($arguments) {
  52150. var keys, t1 = {},
  52151. t2 = J.getInterceptor$asx($arguments),
  52152. map = t2.$index($arguments, 0).assertMap$1("map"),
  52153. _0_0 = t2.$index($arguments, 1).get$asList(),
  52154. _0_1 = _0_0.length;
  52155. if (_0_1 <= 0)
  52156. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  52157. if (_0_1 === 1)
  52158. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  52159. keys = t1.value = null;
  52160. if (_0_1 >= 1) {
  52161. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  52162. t1.value = _0_0[_0_1 - 1];
  52163. t2 = true;
  52164. } else
  52165. t2 = false;
  52166. if (t2)
  52167. return A._modify(map, keys, new A._set__closure(t1), true);
  52168. throw A.wrapException("[BUG] Unreachable code");
  52169. },
  52170. $signature: 6
  52171. };
  52172. A._set__closure.prototype = {
  52173. call$1(_) {
  52174. return this._box_0.value;
  52175. },
  52176. $signature: 39
  52177. };
  52178. A._merge_closure.prototype = {
  52179. call$1($arguments) {
  52180. var t2,
  52181. t1 = J.getInterceptor$asx($arguments),
  52182. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52183. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  52184. t1 = type$.Value;
  52185. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  52186. t2.addAll$1(0, map2._map$_contents);
  52187. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52188. },
  52189. $signature: 34
  52190. };
  52191. A._merge_closure0.prototype = {
  52192. call$1($arguments) {
  52193. var keys, last, _null = null,
  52194. t1 = J.getInterceptor$asx($arguments),
  52195. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52196. _0_0 = t1.$index($arguments, 1).get$asList(),
  52197. _0_1 = _0_0.length;
  52198. if (_0_1 <= 0)
  52199. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  52200. if (_0_1 === 1)
  52201. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  52202. if (_0_1 >= 1) {
  52203. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  52204. last = _0_0[_0_1 - 1];
  52205. t1 = true;
  52206. } else {
  52207. last = _null;
  52208. keys = last;
  52209. t1 = false;
  52210. }
  52211. if (t1)
  52212. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  52213. throw A.wrapException("[BUG] Unreachable code");
  52214. },
  52215. $signature: 6
  52216. };
  52217. A._merge__closure.prototype = {
  52218. call$1(oldValue) {
  52219. var t1, t2,
  52220. nestedMap = oldValue.tryMap$0();
  52221. if (nestedMap == null)
  52222. return this.map2;
  52223. t1 = type$.Value;
  52224. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52225. t2.addAll$1(0, this.map2._map$_contents);
  52226. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52227. },
  52228. $signature: 379
  52229. };
  52230. A._deepMerge_closure.prototype = {
  52231. call$1($arguments) {
  52232. var t1 = J.getInterceptor$asx($arguments);
  52233. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  52234. },
  52235. $signature: 34
  52236. };
  52237. A._deepRemove_closure.prototype = {
  52238. call$1($arguments) {
  52239. var t1 = J.getInterceptor$asx($arguments),
  52240. map = t1.$index($arguments, 0).assertMap$1("map"),
  52241. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52242. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52243. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  52244. },
  52245. $signature: 6
  52246. };
  52247. A._deepRemove__closure.prototype = {
  52248. call$1(value) {
  52249. var t1, nestedMap, t2,
  52250. _0_0 = value.tryMap$0();
  52251. if (_0_0 != null) {
  52252. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  52253. nestedMap = _0_0;
  52254. } else {
  52255. nestedMap = null;
  52256. t1 = false;
  52257. }
  52258. if (t1) {
  52259. t1 = type$.Value;
  52260. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52261. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  52262. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52263. }
  52264. return value;
  52265. },
  52266. $signature: 39
  52267. };
  52268. A._remove_closure.prototype = {
  52269. call$1($arguments) {
  52270. return J.$index$asx($arguments, 0).assertMap$1("map");
  52271. },
  52272. $signature: 34
  52273. };
  52274. A._remove_closure0.prototype = {
  52275. call$1($arguments) {
  52276. var mutableMap, t3, _i,
  52277. t1 = J.getInterceptor$asx($arguments),
  52278. map = t1.$index($arguments, 0).assertMap$1("map"),
  52279. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52280. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52281. t1 = type$.Value;
  52282. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  52283. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  52284. mutableMap.remove$1(0, t2[_i]);
  52285. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52286. },
  52287. $signature: 34
  52288. };
  52289. A._keys_closure.prototype = {
  52290. call$1($arguments) {
  52291. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52292. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  52293. },
  52294. $signature: 23
  52295. };
  52296. A._values_closure.prototype = {
  52297. call$1($arguments) {
  52298. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52299. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  52300. },
  52301. $signature: 23
  52302. };
  52303. A._hasKey_closure.prototype = {
  52304. call$1($arguments) {
  52305. var value,
  52306. t1 = J.getInterceptor$asx($arguments),
  52307. map = t1.$index($arguments, 0).assertMap$1("map"),
  52308. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52309. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52310. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52311. value = map._map$_contents.$index(0, t1.get$current(t1));
  52312. if (!(value instanceof A.SassMap))
  52313. return B.SassBoolean_false;
  52314. }
  52315. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  52316. },
  52317. $signature: 21
  52318. };
  52319. A._modify_modifyNestedMap.prototype = {
  52320. call$1(map) {
  52321. var nestedMap, _this = this,
  52322. t1 = type$.Value,
  52323. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  52324. t2 = _this.keyIterator,
  52325. key = t2.get$current(t2);
  52326. if (!t2.moveNext$0()) {
  52327. t2 = mutableMap.$index(0, key);
  52328. if (t2 == null)
  52329. t2 = B.C__SassNull;
  52330. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  52331. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52332. }
  52333. t2 = mutableMap.$index(0, key);
  52334. nestedMap = t2 == null ? null : t2.tryMap$0();
  52335. t2 = nestedMap == null;
  52336. if (t2 && !_this.addNesting)
  52337. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52338. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  52339. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52340. },
  52341. $signature: 378
  52342. };
  52343. A.global_closure.prototype = {
  52344. call$1($arguments) {
  52345. var t1, t2,
  52346. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52347. if (number.hasUnit$1("%")) {
  52348. t1 = number.toString$0(0);
  52349. t2 = number.toString$0(0);
  52350. A.EvaluationContext_current().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_043);
  52351. }
  52352. t1 = number.get$numeratorUnits(number);
  52353. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  52354. },
  52355. $signature: 12
  52356. };
  52357. A.module_closure0.prototype = {
  52358. call$1(value) {
  52359. return Math.abs(value);
  52360. },
  52361. $signature: 37
  52362. };
  52363. A._ceil_closure.prototype = {
  52364. call$1(value) {
  52365. return B.JSNumber_methods.ceil$0(value);
  52366. },
  52367. $signature: 37
  52368. };
  52369. A._clamp_closure.prototype = {
  52370. call$1($arguments) {
  52371. var t1 = J.getInterceptor$asx($arguments),
  52372. min = t1.$index($arguments, 0).assertNumber$1("min"),
  52373. number = t1.$index($arguments, 1).assertNumber$1("number"),
  52374. max = t1.$index($arguments, 2).assertNumber$1("max");
  52375. number.convertValueToMatch$3(min, "number", "min");
  52376. max.convertValueToMatch$3(min, "max", "min");
  52377. if (min.greaterThanOrEquals$1(max).value)
  52378. return min;
  52379. if (min.greaterThanOrEquals$1(number).value)
  52380. return min;
  52381. if (number.greaterThanOrEquals$1(max).value)
  52382. return max;
  52383. return number;
  52384. },
  52385. $signature: 12
  52386. };
  52387. A._floor_closure.prototype = {
  52388. call$1(value) {
  52389. return B.JSNumber_methods.floor$0(value);
  52390. },
  52391. $signature: 37
  52392. };
  52393. A._max_closure.prototype = {
  52394. call$1($arguments) {
  52395. var t1, t2, max, _i, number;
  52396. 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) {
  52397. number = t1[_i].assertNumber$0();
  52398. if (max == null || max.lessThan$1(number).value)
  52399. max = number;
  52400. }
  52401. if (max != null)
  52402. return max;
  52403. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52404. },
  52405. $signature: 12
  52406. };
  52407. A._min_closure.prototype = {
  52408. call$1($arguments) {
  52409. var t1, t2, min, _i, number;
  52410. 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) {
  52411. number = t1[_i].assertNumber$0();
  52412. if (min == null || min.greaterThan$1(number).value)
  52413. min = number;
  52414. }
  52415. if (min != null)
  52416. return min;
  52417. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52418. },
  52419. $signature: 12
  52420. };
  52421. A._round_closure.prototype = {
  52422. call$1(number) {
  52423. return B.JSNumber_methods.round$0(number);
  52424. },
  52425. $signature: 37
  52426. };
  52427. A._hypot_closure.prototype = {
  52428. call$1($arguments) {
  52429. var subtotal, i, i0, t3, t4,
  52430. t1 = J.$index$asx($arguments, 0).get$asList(),
  52431. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  52432. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52433. t1 = numbers.length;
  52434. if (t1 === 0)
  52435. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52436. for (subtotal = 0, i = 0; i < t1; i = i0) {
  52437. i0 = i + 1;
  52438. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  52439. }
  52440. t1 = Math.sqrt(subtotal);
  52441. t2 = numbers[0];
  52442. t3 = J.getInterceptor$x(t2);
  52443. t4 = t3.get$numeratorUnits(t2);
  52444. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  52445. },
  52446. $signature: 12
  52447. };
  52448. A._hypot__closure.prototype = {
  52449. call$1(argument) {
  52450. return argument.assertNumber$0();
  52451. },
  52452. $signature: 377
  52453. };
  52454. A._log_closure.prototype = {
  52455. call$1($arguments) {
  52456. var base,
  52457. _s18_ = " to have no units.",
  52458. _null = null,
  52459. t1 = J.getInterceptor$asx($arguments),
  52460. number = t1.$index($arguments, 0).assertNumber$1("number");
  52461. if (number.get$hasUnits())
  52462. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  52463. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  52464. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  52465. base = t1.$index($arguments, 1).assertNumber$1("base");
  52466. if (base.get$hasUnits())
  52467. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  52468. else
  52469. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  52470. },
  52471. $signature: 12
  52472. };
  52473. A._pow_closure.prototype = {
  52474. call$1($arguments) {
  52475. var t1 = J.getInterceptor$asx($arguments);
  52476. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  52477. },
  52478. $signature: 12
  52479. };
  52480. A._atan2_closure.prototype = {
  52481. call$1($arguments) {
  52482. var t1 = J.getInterceptor$asx($arguments),
  52483. y = t1.$index($arguments, 0).assertNumber$1("y");
  52484. 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));
  52485. },
  52486. $signature: 12
  52487. };
  52488. A._compatible_closure.prototype = {
  52489. call$1($arguments) {
  52490. var t1 = J.getInterceptor$asx($arguments);
  52491. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  52492. },
  52493. $signature: 21
  52494. };
  52495. A._isUnitless_closure.prototype = {
  52496. call$1($arguments) {
  52497. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  52498. },
  52499. $signature: 21
  52500. };
  52501. A._unit_closure.prototype = {
  52502. call$1($arguments) {
  52503. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  52504. },
  52505. $signature: 19
  52506. };
  52507. A._percentage_closure.prototype = {
  52508. call$1($arguments) {
  52509. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52510. number.assertNoUnits$1("number");
  52511. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  52512. },
  52513. $signature: 12
  52514. };
  52515. A._randomFunction_closure.prototype = {
  52516. call$1($arguments) {
  52517. var limit, t2, t3, t4, limitScalar,
  52518. t1 = J.getInterceptor$asx($arguments);
  52519. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  52520. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  52521. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  52522. if (limit.get$hasUnits()) {
  52523. t1 = limit.toString$0(0);
  52524. t2 = limit.get$unitString();
  52525. t3 = limit.get$unitString();
  52526. t4 = limit.get$unitString();
  52527. 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);
  52528. }
  52529. limitScalar = limit.assertInt$1("limit");
  52530. if (limitScalar < 1)
  52531. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  52532. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  52533. },
  52534. $signature: 12
  52535. };
  52536. A._div_closure.prototype = {
  52537. call$1($arguments) {
  52538. var t1 = J.getInterceptor$asx($arguments),
  52539. number1 = t1.$index($arguments, 0),
  52540. number2 = t1.$index($arguments, 1);
  52541. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber)) {
  52542. t1 = A.EvaluationContext_current();
  52543. t1.warn$2(0, string$.math_d, null);
  52544. }
  52545. return number1.dividedBy$1(number2);
  52546. },
  52547. $signature: 6
  52548. };
  52549. A._singleArgumentMathFunc_closure.prototype = {
  52550. call$1($arguments) {
  52551. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  52552. },
  52553. $signature: 12
  52554. };
  52555. A._numberFunction_closure.prototype = {
  52556. call$1($arguments) {
  52557. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  52558. t1 = this.transform.call$1(number._number$_value),
  52559. t2 = number.get$numeratorUnits(number);
  52560. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  52561. },
  52562. $signature: 12
  52563. };
  52564. A.global_closure27.prototype = {
  52565. call$1($arguments) {
  52566. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  52567. },
  52568. $signature: 21
  52569. };
  52570. A.global_closure28.prototype = {
  52571. call$1($arguments) {
  52572. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  52573. },
  52574. $signature: 19
  52575. };
  52576. A.global_closure29.prototype = {
  52577. call$1($arguments) {
  52578. var t1 = J.getInterceptor$asx($arguments),
  52579. _0_0 = t1.$index($arguments, 0);
  52580. $label0$0: {
  52581. if (_0_0 instanceof A.SassArgumentList) {
  52582. t1 = "arglist";
  52583. break $label0$0;
  52584. }
  52585. if (_0_0 instanceof A.SassBoolean) {
  52586. t1 = "bool";
  52587. break $label0$0;
  52588. }
  52589. if (_0_0 instanceof A.SassColor) {
  52590. t1 = "color";
  52591. break $label0$0;
  52592. }
  52593. if (_0_0 instanceof A.SassList) {
  52594. t1 = "list";
  52595. break $label0$0;
  52596. }
  52597. if (_0_0 instanceof A.SassMap) {
  52598. t1 = "map";
  52599. break $label0$0;
  52600. }
  52601. if (B.C__SassNull === _0_0) {
  52602. t1 = "null";
  52603. break $label0$0;
  52604. }
  52605. if (_0_0 instanceof A.SassNumber) {
  52606. t1 = "number";
  52607. break $label0$0;
  52608. }
  52609. if (_0_0 instanceof A.SassFunction) {
  52610. t1 = "function";
  52611. break $label0$0;
  52612. }
  52613. if (_0_0 instanceof A.SassMixin) {
  52614. t1 = "mixin";
  52615. break $label0$0;
  52616. }
  52617. if (_0_0 instanceof A.SassCalculation) {
  52618. t1 = "calculation";
  52619. break $label0$0;
  52620. }
  52621. if (_0_0 instanceof A.SassString) {
  52622. t1 = "string";
  52623. break $label0$0;
  52624. }
  52625. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  52626. }
  52627. return new A.SassString(t1, false);
  52628. },
  52629. $signature: 19
  52630. };
  52631. A.global_closure30.prototype = {
  52632. call$1($arguments) {
  52633. var t2, t3, t4,
  52634. t1 = J.getInterceptor$asx($arguments),
  52635. _1_0 = t1.$index($arguments, 0);
  52636. if (_1_0 instanceof A.SassArgumentList) {
  52637. _1_0._wereKeywordsAccessed = true;
  52638. t1 = type$.Value;
  52639. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52640. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  52641. t4 = t3.get$current(t3);
  52642. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  52643. }
  52644. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52645. } else
  52646. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  52647. },
  52648. $signature: 34
  52649. };
  52650. A.local_closure.prototype = {
  52651. call$1($arguments) {
  52652. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  52653. },
  52654. $signature: 19
  52655. };
  52656. A.local_closure0.prototype = {
  52657. call$1($arguments) {
  52658. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  52659. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  52660. },
  52661. $signature: 23
  52662. };
  52663. A.local__closure.prototype = {
  52664. call$1(argument) {
  52665. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  52666. },
  52667. $signature: 372
  52668. };
  52669. A.local_closure1.prototype = {
  52670. call$1($arguments) {
  52671. var _0_2, acceptsContent, _0_2_isSet, t1, _0_5, _0_5_isSet, hasContent,
  52672. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  52673. _0_0 = mixin.callable;
  52674. $label0$0: {
  52675. if (type$.AsyncBuiltInCallable._is(_0_0)) {
  52676. _0_2 = _0_0.get$acceptsContent();
  52677. acceptsContent = _0_2;
  52678. _0_2_isSet = true;
  52679. t1 = true;
  52680. } else {
  52681. _0_2 = null;
  52682. _0_2_isSet = false;
  52683. acceptsContent = null;
  52684. t1 = false;
  52685. }
  52686. if (!t1)
  52687. if (_0_0 instanceof A.BuiltInCallable) {
  52688. acceptsContent = _0_2_isSet ? _0_2 : _0_0.acceptsContent;
  52689. t1 = true;
  52690. } else
  52691. t1 = false;
  52692. else
  52693. t1 = true;
  52694. if (t1) {
  52695. t1 = acceptsContent;
  52696. break $label0$0;
  52697. }
  52698. if (_0_0 instanceof A.UserDefinedCallable) {
  52699. _0_5 = _0_0.declaration;
  52700. t1 = _0_5 instanceof A.MixinRule;
  52701. _0_5_isSet = true;
  52702. } else {
  52703. _0_5 = null;
  52704. _0_5_isSet = false;
  52705. t1 = false;
  52706. }
  52707. if (t1) {
  52708. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  52709. hasContent = type$.MixinRule._as(t1).get$hasContent();
  52710. t1 = hasContent;
  52711. break $label0$0;
  52712. }
  52713. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  52714. }
  52715. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  52716. },
  52717. $signature: 21
  52718. };
  52719. A._nest_closure.prototype = {
  52720. call$1($arguments) {
  52721. var t1 = {},
  52722. selectors = J.$index$asx($arguments, 0).get$asList();
  52723. if (selectors.length === 0)
  52724. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52725. t1.first = true;
  52726. 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();
  52727. },
  52728. $signature: 23
  52729. };
  52730. A._nest__closure.prototype = {
  52731. call$1(selector) {
  52732. var t1 = this._box_0,
  52733. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  52734. t1.first = false;
  52735. return result;
  52736. },
  52737. $signature: 141
  52738. };
  52739. A._nest__closure0.prototype = {
  52740. call$2($parent, child) {
  52741. return child.resolveParentSelectors$1($parent);
  52742. },
  52743. $signature: 142
  52744. };
  52745. A._append_closure.prototype = {
  52746. call$1($arguments) {
  52747. var selectors = J.$index$asx($arguments, 0).get$asList();
  52748. if (selectors.length === 0)
  52749. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52750. 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();
  52751. },
  52752. $signature: 23
  52753. };
  52754. A._append__closure.prototype = {
  52755. call$1(selector) {
  52756. return A.SassApiValue_assertSelector(selector, false, null);
  52757. },
  52758. $signature: 141
  52759. };
  52760. A._append__closure0.prototype = {
  52761. call$2($parent, child) {
  52762. var t1 = child.components,
  52763. t2 = this.span;
  52764. 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);
  52765. },
  52766. $signature: 142
  52767. };
  52768. A._append___closure.prototype = {
  52769. call$1(complex) {
  52770. var _0_0, component, rest, t1, newCompound, t2, _null = null;
  52771. if (complex.leadingCombinators.length !== 0)
  52772. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52773. _0_0 = complex.components;
  52774. if (_0_0.length >= 1) {
  52775. component = _0_0[0];
  52776. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  52777. t1 = true;
  52778. } else {
  52779. rest = _null;
  52780. component = rest;
  52781. t1 = false;
  52782. }
  52783. if (!t1)
  52784. throw A.wrapException(A.StateError$("Pattern matching error"));
  52785. newCompound = A._prependParent(component.selector);
  52786. if (newCompound == null)
  52787. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52788. t1 = this.span;
  52789. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  52790. B.JSArray_methods.addAll$1(t2, rest);
  52791. return A.ComplexSelector$(B.List_empty1, t2, t1, false);
  52792. },
  52793. $signature: 62
  52794. };
  52795. A._extend_closure.prototype = {
  52796. call$1($arguments) {
  52797. var target, source,
  52798. _s8_ = "selector",
  52799. _s8_0 = "extendee",
  52800. _s8_1 = "extender",
  52801. t1 = J.getInterceptor$asx($arguments),
  52802. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52803. selector.assertNotBogus$1$name(_s8_);
  52804. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52805. target.assertNotBogus$1$name(_s8_0);
  52806. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  52807. source.assertNotBogus$1$name(_s8_1);
  52808. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  52809. },
  52810. $signature: 23
  52811. };
  52812. A._replace_closure.prototype = {
  52813. call$1($arguments) {
  52814. var target, source,
  52815. _s8_ = "selector",
  52816. _s8_0 = "original",
  52817. _s11_ = "replacement",
  52818. t1 = J.getInterceptor$asx($arguments),
  52819. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52820. selector.assertNotBogus$1$name(_s8_);
  52821. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52822. target.assertNotBogus$1$name(_s8_0);
  52823. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  52824. source.assertNotBogus$1$name(_s11_);
  52825. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  52826. },
  52827. $signature: 23
  52828. };
  52829. A._unify_closure.prototype = {
  52830. call$1($arguments) {
  52831. var selector2,
  52832. _s9_ = "selector1",
  52833. _s9_0 = "selector2",
  52834. t1 = J.getInterceptor$asx($arguments),
  52835. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  52836. selector1.assertNotBogus$1$name(_s9_);
  52837. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  52838. selector2.assertNotBogus$1$name(_s9_0);
  52839. t1 = selector1.unify$1(selector2);
  52840. t1 = t1 == null ? null : t1.get$asSassList();
  52841. return t1 == null ? B.C__SassNull : t1;
  52842. },
  52843. $signature: 6
  52844. };
  52845. A._isSuperselector_closure.prototype = {
  52846. call$1($arguments) {
  52847. var selector2,
  52848. t1 = J.getInterceptor$asx($arguments),
  52849. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  52850. selector1.assertNotBogus$1$name("super");
  52851. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  52852. selector2.assertNotBogus$1$name("sub");
  52853. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  52854. },
  52855. $signature: 21
  52856. };
  52857. A._simpleSelectors_closure.prototype = {
  52858. call$1($arguments) {
  52859. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  52860. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  52861. },
  52862. $signature: 23
  52863. };
  52864. A._simpleSelectors__closure.prototype = {
  52865. call$1(simple) {
  52866. return new A.SassString(A.serializeSelector(simple, true), false);
  52867. },
  52868. $signature: 363
  52869. };
  52870. A._parse_closure.prototype = {
  52871. call$1($arguments) {
  52872. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  52873. },
  52874. $signature: 23
  52875. };
  52876. A.module_closure.prototype = {
  52877. call$1($arguments) {
  52878. var limit, t2, chunks, i, lastEnd, match, t3,
  52879. t1 = J.getInterceptor$asx($arguments),
  52880. string = t1.$index($arguments, 0).assertString$1("string"),
  52881. separator = t1.$index($arguments, 1).assertString$1("separator");
  52882. t1 = t1.$index($arguments, 2).get$realNull();
  52883. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  52884. if (limit != null && limit < 1)
  52885. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  52886. t1 = string._string$_text;
  52887. if (t1.length === 0)
  52888. return B.SassList_Sof0;
  52889. else {
  52890. t2 = separator._string$_text;
  52891. if (t2.length === 0)
  52892. 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);
  52893. }
  52894. chunks = A._setArrayType([], type$.JSArray_String);
  52895. 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();) {
  52896. match = t2.__js_helper$_current;
  52897. t3 = match.start;
  52898. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  52899. lastEnd = t3 + match.pattern.length;
  52900. ++i;
  52901. if (i === limit)
  52902. break;
  52903. }
  52904. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  52905. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_rXA, true);
  52906. },
  52907. $signature: 23
  52908. };
  52909. A.module__closure.prototype = {
  52910. call$1(rune) {
  52911. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  52912. },
  52913. $signature: 362
  52914. };
  52915. A.module__closure0.prototype = {
  52916. call$1(chunk) {
  52917. return new A.SassString(chunk, this.string._hasQuotes);
  52918. },
  52919. $signature: 361
  52920. };
  52921. A._unquote_closure.prototype = {
  52922. call$1($arguments) {
  52923. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52924. if (!string._hasQuotes)
  52925. return string;
  52926. return new A.SassString(string._string$_text, false);
  52927. },
  52928. $signature: 19
  52929. };
  52930. A._quote_closure.prototype = {
  52931. call$1($arguments) {
  52932. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52933. if (string._hasQuotes)
  52934. return string;
  52935. return new A.SassString(string._string$_text, true);
  52936. },
  52937. $signature: 19
  52938. };
  52939. A._length_closure.prototype = {
  52940. call$1($arguments) {
  52941. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  52942. },
  52943. $signature: 12
  52944. };
  52945. A._insert_closure.prototype = {
  52946. call$1($arguments) {
  52947. var indexInt, codeUnitIndex, _s5_ = "index",
  52948. t1 = J.getInterceptor$asx($arguments),
  52949. string = t1.$index($arguments, 0).assertString$1("string"),
  52950. insert = t1.$index($arguments, 1).assertString$1("insert"),
  52951. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  52952. index.assertNoUnits$1(_s5_);
  52953. indexInt = index.assertInt$1(_s5_);
  52954. if (indexInt < 0)
  52955. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  52956. t1 = string._string$_text;
  52957. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  52958. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  52959. },
  52960. $signature: 19
  52961. };
  52962. A._index_closure.prototype = {
  52963. call$1($arguments) {
  52964. var t1 = J.getInterceptor$asx($arguments),
  52965. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  52966. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  52967. if (codeUnitIndex === -1)
  52968. return B.C__SassNull;
  52969. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  52970. },
  52971. $signature: 6
  52972. };
  52973. A._slice_closure.prototype = {
  52974. call$1($arguments) {
  52975. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  52976. _s8_ = "start-at",
  52977. t1 = J.getInterceptor$asx($arguments),
  52978. string = t1.$index($arguments, 0).assertString$1("string"),
  52979. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  52980. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  52981. start.assertNoUnits$1(_s8_);
  52982. end.assertNoUnits$1("end-at");
  52983. lengthInCodepoints = string.get$_sassLength();
  52984. endInt = end.assertInt$0();
  52985. if (endInt === 0)
  52986. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  52987. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  52988. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  52989. if (endCodepoint === lengthInCodepoints)
  52990. --endCodepoint;
  52991. if (endCodepoint < startCodepoint)
  52992. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  52993. t1 = string._string$_text;
  52994. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  52995. },
  52996. $signature: 19
  52997. };
  52998. A._toUpperCase_closure.prototype = {
  52999. call$1($arguments) {
  53000. var t1, t2, i, t3, t4,
  53001. string = J.$index$asx($arguments, 0).assertString$1("string");
  53002. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  53003. t4 = t1.charCodeAt(i);
  53004. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  53005. }
  53006. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  53007. },
  53008. $signature: 19
  53009. };
  53010. A._toLowerCase_closure.prototype = {
  53011. call$1($arguments) {
  53012. var t1, t2, i, t3, t4,
  53013. string = J.$index$asx($arguments, 0).assertString$1("string");
  53014. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  53015. t4 = t1.charCodeAt(i);
  53016. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  53017. }
  53018. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  53019. },
  53020. $signature: 19
  53021. };
  53022. A._uniqueId_closure.prototype = {
  53023. call$1($arguments) {
  53024. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  53025. $._previousUniqueId = t1;
  53026. if (t1 > Math.pow(36, 6))
  53027. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  53028. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  53029. },
  53030. $signature: 19
  53031. };
  53032. A.ImportCache.prototype = {
  53033. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  53034. var t1, relativeResult, _this = this;
  53035. if (A.isBrowser())
  53036. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  53037. else
  53038. t1 = false;
  53039. if (t1)
  53040. throw A.wrapException(string$.Custom);
  53041. if (baseImporter != null && url.get$scheme() === "") {
  53042. 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));
  53043. if (relativeResult != null)
  53044. return relativeResult;
  53045. }
  53046. return _this._canonicalizeCache.putIfAbsent$2(new A._Record_2_forImport(url, forImport), new A.ImportCache_canonicalize_closure0(_this, url, baseUrl, forImport));
  53047. },
  53048. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  53049. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  53050. },
  53051. _canonicalize$4(importer, url, baseUrl, forImport) {
  53052. var passContainingUrl, t1, result, _null = null,
  53053. canonicalize = forImport ? new A.ImportCache__canonicalize_closure(importer, url) : new A.ImportCache__canonicalize_closure0(importer, url);
  53054. if (baseUrl != null)
  53055. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  53056. else
  53057. passContainingUrl = false;
  53058. t1 = passContainingUrl ? baseUrl : _null;
  53059. result = A.withContainingUrl(t1, canonicalize, type$.nullable_Uri);
  53060. if (result == null)
  53061. return _null;
  53062. if (result.get$scheme() === "")
  53063. 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);
  53064. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  53065. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  53066. return new A._Record_3_originalUrl(importer, result, url);
  53067. },
  53068. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  53069. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  53070. },
  53071. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  53072. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  53073. },
  53074. importCanonical$2(importer, canonicalUrl) {
  53075. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  53076. },
  53077. humanize$1(canonicalUrl) {
  53078. var t1 = A.IterableNullableExtension_whereNotNull(this._canonicalizeCache.get$values(0), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl),
  53079. t2 = t1.$ti;
  53080. 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));
  53081. return t2 == null ? canonicalUrl : t2;
  53082. },
  53083. sourceMapUrl$1(_, canonicalUrl) {
  53084. var t1 = this._resultsCache.$index(0, canonicalUrl);
  53085. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  53086. return t1 == null ? canonicalUrl : t1;
  53087. },
  53088. clearCanonicalize$1(url) {
  53089. var t1 = this._canonicalizeCache;
  53090. t1.remove$1(0, new A._Record_2_forImport(url, false));
  53091. t1.remove$1(0, new A._Record_2_forImport(url, true));
  53092. this._relativeCanonicalizeCache.removeWhere$1(0, new A.ImportCache_clearCanonicalize_closure(url));
  53093. },
  53094. clearImport$1(canonicalUrl) {
  53095. this._resultsCache.remove$1(0, canonicalUrl);
  53096. this._importCache.remove$1(0, canonicalUrl);
  53097. }
  53098. };
  53099. A.ImportCache_canonicalize_closure.prototype = {
  53100. call$0() {
  53101. var _this = this,
  53102. t1 = _this.baseUrl,
  53103. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  53104. if (t2 == null)
  53105. t2 = _this.url;
  53106. return _this.$this._canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  53107. },
  53108. $signature: 111
  53109. };
  53110. A.ImportCache_canonicalize_closure0.prototype = {
  53111. call$0() {
  53112. var t1, t2, t3, t4, t5, t6, _i, _0_0, _this = this;
  53113. 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) {
  53114. _0_0 = t1._canonicalize$4(t2[_i], t4, t5, t6);
  53115. if (_0_0 != null)
  53116. return _0_0;
  53117. }
  53118. return null;
  53119. },
  53120. $signature: 111
  53121. };
  53122. A.ImportCache__canonicalize_closure.prototype = {
  53123. call$0() {
  53124. var t1 = type$.nullable_Object;
  53125. 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);
  53126. },
  53127. $signature: 55
  53128. };
  53129. A.ImportCache__canonicalize__closure.prototype = {
  53130. call$0() {
  53131. return this.importer.canonicalize$1(0, this.resolved);
  53132. },
  53133. $signature: 55
  53134. };
  53135. A.ImportCache__canonicalize_closure0.prototype = {
  53136. call$0() {
  53137. return this.importer.canonicalize$1(0, this.resolved);
  53138. },
  53139. $signature: 55
  53140. };
  53141. A.ImportCache_importCanonical_closure.prototype = {
  53142. call$0() {
  53143. var t2, t3, t4, t5, _this = this,
  53144. t1 = _this.canonicalUrl,
  53145. result = _this.importer.load$1(0, t1);
  53146. if (result == null)
  53147. return null;
  53148. t2 = _this.$this;
  53149. t2._resultsCache.$indexSet(0, t1, result);
  53150. t3 = result.contents;
  53151. t4 = result.syntax;
  53152. t5 = _this.originalUrl;
  53153. t1 = t5 == null ? t1 : t5.resolveUri$1(t1);
  53154. return A.Stylesheet_Stylesheet$parse(t3, t4, _this.quiet ? $.$get$Logger_quiet() : t2._logger, t1);
  53155. },
  53156. $signature: 91
  53157. };
  53158. A.ImportCache_humanize_closure.prototype = {
  53159. call$1(result) {
  53160. return J.$eq$(result._1, this.canonicalUrl);
  53161. },
  53162. $signature: 360
  53163. };
  53164. A.ImportCache_humanize_closure0.prototype = {
  53165. call$1(result) {
  53166. return result._2;
  53167. },
  53168. $signature: 355
  53169. };
  53170. A.ImportCache_humanize_closure1.prototype = {
  53171. call$1(url) {
  53172. return url.get$path(url).length;
  53173. },
  53174. $signature: 107
  53175. };
  53176. A.ImportCache_humanize_closure2.prototype = {
  53177. call$1(url) {
  53178. var t1 = $.$get$url(),
  53179. t2 = this.canonicalUrl;
  53180. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  53181. },
  53182. $signature: 44
  53183. };
  53184. A.ImportCache_clearCanonicalize_closure.prototype = {
  53185. call$2(key, _) {
  53186. return J.$eq$(key._values[0], this.url);
  53187. },
  53188. $signature: 354
  53189. };
  53190. A.Importer.prototype = {
  53191. modificationTime$1(url) {
  53192. return new A.DateTime(Date.now(), false);
  53193. },
  53194. couldCanonicalize$2(url, canonicalUrl) {
  53195. return true;
  53196. },
  53197. isNonCanonicalScheme$1(scheme) {
  53198. return false;
  53199. }
  53200. };
  53201. A.AsyncImporter.prototype = {};
  53202. A.FilesystemImporter.prototype = {
  53203. canonicalize$1(_, url) {
  53204. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  53205. return null;
  53206. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  53207. },
  53208. load$1(_, url) {
  53209. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  53210. t1 = A.readFile(path),
  53211. t2 = A.Syntax_forPath(path),
  53212. t3 = url.get$scheme();
  53213. if (t3 === "")
  53214. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  53215. return new A.ImporterResult(t1, url, t2);
  53216. },
  53217. modificationTime$1(url) {
  53218. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  53219. },
  53220. couldCanonicalize$2(url, canonicalUrl) {
  53221. var t1, t2, basename, canonicalBasename;
  53222. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  53223. return false;
  53224. if (canonicalUrl.get$scheme() !== "file")
  53225. return false;
  53226. t1 = $.$get$url();
  53227. t2 = t1.style;
  53228. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  53229. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  53230. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  53231. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  53232. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  53233. },
  53234. toString$0(_) {
  53235. return this._loadPath;
  53236. }
  53237. };
  53238. A.FilesystemImporter_canonicalize_closure.prototype = {
  53239. call$1(resolved) {
  53240. var t2, t0, _null = null,
  53241. t1 = A.isNodeJs() ? self.process : _null;
  53242. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  53243. t1 = A.isNodeJs() ? self.process : _null;
  53244. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  53245. } else
  53246. t1 = true;
  53247. if (t1) {
  53248. t1 = $.$get$context();
  53249. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  53250. t0 = t2;
  53251. t2 = t1;
  53252. t1 = t0;
  53253. } else {
  53254. t1 = $.$get$context();
  53255. t2 = t1.canonicalize$1(0, resolved);
  53256. t0 = t2;
  53257. t2 = t1;
  53258. t1 = t0;
  53259. }
  53260. return t2.toUri$1(t1);
  53261. },
  53262. $signature: 152
  53263. };
  53264. A.NoOpImporter.prototype = {};
  53265. A.NodePackageImporter.prototype = {
  53266. isNonCanonicalScheme$1(scheme) {
  53267. return scheme === "pkg";
  53268. },
  53269. canonicalize$1(_, url) {
  53270. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  53271. if (url.get$scheme() === "file")
  53272. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  53273. if (url.get$scheme() !== "pkg")
  53274. return _null;
  53275. if (url.get$hasAuthority())
  53276. throw A.wrapException(string$.A_pkg_h);
  53277. else {
  53278. t1 = $.$get$url();
  53279. t2 = t1.style;
  53280. if (t2.rootLength$1(url.get$path(url)) > 0)
  53281. throw A.wrapException("A pkg: URL's path must not begin with /.");
  53282. else if (url.get$path(url).length === 0)
  53283. throw A.wrapException("A pkg: URL must not have an empty path.");
  53284. else if (url.get$hasQuery() || url.get$hasFragment())
  53285. throw A.wrapException(string$.A_pkg_q);
  53286. }
  53287. t3 = A.containingUrl();
  53288. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  53289. t3 = A.containingUrl();
  53290. t3.toString;
  53291. t4 = $.$get$context();
  53292. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  53293. } else {
  53294. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  53295. t3 === $ && A.throwUnnamedLateFieldNI();
  53296. baseDirectory = t3;
  53297. }
  53298. packageName = null;
  53299. parts = t1.split$1(0, url.get$path(url));
  53300. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  53301. t4 = $.$get$context();
  53302. t3.toString;
  53303. t5 = t4.style;
  53304. $name = t5.pathFromUri$1(A._parseUri(t3));
  53305. if (B.JSString_methods.startsWith$1($name, "@"))
  53306. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  53307. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  53308. packageName = $name;
  53309. if (!J.startsWith$1$s(packageName, "."))
  53310. if (!J.contains$1$asx(packageName, "\\"))
  53311. if (!J.contains$1$asx(packageName, "%"))
  53312. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  53313. else
  53314. t1 = true;
  53315. else
  53316. t1 = true;
  53317. else
  53318. t1 = true;
  53319. if (t1)
  53320. return _null;
  53321. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  53322. if (packageRoot == null)
  53323. return _null;
  53324. jsonPath = A.join(packageRoot, "package.json", _null);
  53325. jsonString = A.readFile(jsonPath);
  53326. packageManifest = null;
  53327. try {
  53328. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  53329. } catch (exception) {
  53330. e = A.unwrapException(exception);
  53331. t1 = A.S(jsonPath);
  53332. t2 = A.S(packageName);
  53333. t3 = A.S(e);
  53334. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  53335. }
  53336. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  53337. if (_1_0 != null)
  53338. if (B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  53339. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  53340. else {
  53341. t1 = subpath == null ? "root" : subpath;
  53342. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  53343. }
  53344. if (subpath == null) {
  53345. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  53346. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  53347. }
  53348. subpathInRoot = A.join(packageRoot, subpath, _null);
  53349. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  53350. },
  53351. load$1(_, url) {
  53352. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  53353. },
  53354. _resolvePackageRoot$2(packageName, baseDirectory) {
  53355. var potentialPackage, t1;
  53356. for (; true;) {
  53357. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  53358. if (A.dirExists(potentialPackage))
  53359. return potentialPackage;
  53360. t1 = $.$get$context();
  53361. if (t1.split$1(0, baseDirectory).length === 1)
  53362. return null;
  53363. baseDirectory = t1.dirname$1(baseDirectory);
  53364. }
  53365. },
  53366. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  53367. var t1, sassValue, _1_0, styleValue, _null = null,
  53368. _0_0 = packageManifest.$index(0, "sass");
  53369. if (typeof _0_0 == "string") {
  53370. t1 = B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53371. sassValue = _0_0;
  53372. } else {
  53373. sassValue = _null;
  53374. t1 = false;
  53375. }
  53376. if (t1)
  53377. return A.join(packageRoot, sassValue, _null);
  53378. else {
  53379. _1_0 = packageManifest.$index(0, "style");
  53380. if (typeof _1_0 == "string") {
  53381. t1 = B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53382. styleValue = _1_0;
  53383. } else {
  53384. styleValue = _null;
  53385. t1 = false;
  53386. }
  53387. if (t1)
  53388. return A.join(packageRoot, styleValue, _null);
  53389. }
  53390. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  53391. },
  53392. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  53393. var _0_0, _1_0, _this = this,
  53394. exports = packageManifest.$index(0, "exports");
  53395. if (exports == null)
  53396. return null;
  53397. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  53398. if (_0_0 != null)
  53399. return _0_0;
  53400. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  53401. return null;
  53402. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  53403. if (_1_0 != null)
  53404. return _1_0;
  53405. return null;
  53406. },
  53407. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  53408. var t1, matches, _1_1, path;
  53409. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure0()))
  53410. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  53411. t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure2(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), type$.String);
  53412. matches = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  53413. $label0$1: {
  53414. _1_1 = matches.length;
  53415. if (_1_1 === 1) {
  53416. path = matches[0];
  53417. t1 = path;
  53418. break $label0$1;
  53419. }
  53420. if (_1_1 <= 0) {
  53421. t1 = null;
  53422. break $label0$1;
  53423. }
  53424. t1 = subpath == null ? "root" : subpath;
  53425. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  53426. }
  53427. return t1;
  53428. },
  53429. _compareExpansionKeys$2(keyA, keyB) {
  53430. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  53431. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  53432. t2 = B.JSString_methods.contains$1(keyB, "*"),
  53433. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  53434. if (baseLengthA > baseLengthB)
  53435. return -1;
  53436. if (baseLengthB > baseLengthA)
  53437. return 1;
  53438. if (!t1)
  53439. return 1;
  53440. if (!t2)
  53441. return -1;
  53442. t1 = keyA.length;
  53443. t2 = keyB.length;
  53444. if (t1 > t2)
  53445. return -1;
  53446. if (t2 > t1)
  53447. return 1;
  53448. return 0;
  53449. },
  53450. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  53451. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  53452. t1 = typeof exports == "string";
  53453. if (t1) {
  53454. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  53455. string = exports;
  53456. } else {
  53457. string = _null;
  53458. t2 = false;
  53459. }
  53460. if (t2)
  53461. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  53462. if (t1) {
  53463. t2 = patternMatch != null;
  53464. string = exports;
  53465. } else {
  53466. string = _null;
  53467. t2 = false;
  53468. }
  53469. if (t2) {
  53470. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  53471. t2 = $.$get$context();
  53472. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  53473. return A.fileExists(path) ? path : _null;
  53474. }
  53475. if (t1) {
  53476. string = exports;
  53477. t1 = true;
  53478. } else {
  53479. string = _null;
  53480. t1 = false;
  53481. }
  53482. if (t1) {
  53483. t1 = $.$get$context();
  53484. string.toString;
  53485. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  53486. }
  53487. if (type$.Map_String_dynamic._is(exports)) {
  53488. map = exports;
  53489. t1 = true;
  53490. } else {
  53491. map = _null;
  53492. t1 = false;
  53493. }
  53494. if (t1) {
  53495. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  53496. t2 = t1.get$current(t1);
  53497. key = t2._0;
  53498. value = t2._1;
  53499. if (!B.Set_gkcz.contains$1(0, key))
  53500. continue;
  53501. if (value == null)
  53502. continue;
  53503. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53504. if (_1_0 != null)
  53505. return _1_0;
  53506. }
  53507. return _null;
  53508. }
  53509. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  53510. return _null;
  53511. if (type$.List_dynamic._is(exports)) {
  53512. array = exports;
  53513. t1 = true;
  53514. } else {
  53515. array = _null;
  53516. t1 = false;
  53517. }
  53518. if (t1) {
  53519. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  53520. value = t1.get$current(t1);
  53521. if (value == null)
  53522. continue;
  53523. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53524. if (_2_0 != null)
  53525. return _2_0;
  53526. }
  53527. return _null;
  53528. }
  53529. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  53530. },
  53531. _packageTargetResolve$3(subpath, exports, packageRoot) {
  53532. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  53533. },
  53534. _getMainExport$1(exports) {
  53535. var t1, t2, map, _0_4, _0_4_isSet, $export;
  53536. $label0$0: {
  53537. if (typeof exports == "string") {
  53538. t1 = exports;
  53539. break $label0$0;
  53540. }
  53541. if (type$.List_String._is(exports)) {
  53542. t1 = exports;
  53543. break $label0$0;
  53544. }
  53545. t1 = type$.Map_String_dynamic._is(exports);
  53546. if (t1) {
  53547. t2 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  53548. map = exports;
  53549. } else {
  53550. map = null;
  53551. t2 = false;
  53552. }
  53553. if (t2) {
  53554. t1 = map;
  53555. break $label0$0;
  53556. }
  53557. if (t1) {
  53558. _0_4 = exports.$index(0, ".");
  53559. t1 = _0_4 == null;
  53560. if (t1)
  53561. t2 = exports.containsKey$1(".");
  53562. else
  53563. t2 = true;
  53564. if (t2)
  53565. t1 = !t1;
  53566. else
  53567. t1 = false;
  53568. _0_4_isSet = true;
  53569. } else {
  53570. _0_4 = null;
  53571. _0_4_isSet = false;
  53572. t1 = false;
  53573. }
  53574. if (t1) {
  53575. $export = _0_4_isSet ? _0_4 : J.$index$asx(exports, ".");
  53576. t1 = $export;
  53577. break $label0$0;
  53578. }
  53579. t1 = null;
  53580. break $label0$0;
  53581. }
  53582. return t1;
  53583. },
  53584. _exportsToCheck$2$addIndex(subpath, addIndex) {
  53585. var basename, dirname, t3, t4, _i, path,
  53586. t1 = type$.JSArray_String,
  53587. paths = A._setArrayType([], t1),
  53588. t2 = subpath == null;
  53589. if (t2 && addIndex)
  53590. subpath = "index";
  53591. else if (!t2 && addIndex)
  53592. subpath = A.join(subpath, "index", null);
  53593. if (subpath == null)
  53594. return A._setArrayType([null], type$.JSArray_nullable_String);
  53595. if (B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  53596. paths.push(subpath);
  53597. else
  53598. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  53599. t1 = $.$get$context();
  53600. t2 = t1.style;
  53601. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  53602. dirname = t1.dirname$1(subpath);
  53603. if (B.JSString_methods.startsWith$1(basename, "_"))
  53604. return paths;
  53605. t1 = A.List_List$of(paths, true, type$.nullable_String);
  53606. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  53607. path = paths[_i];
  53608. if (t4)
  53609. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  53610. else
  53611. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  53612. }
  53613. return t1;
  53614. },
  53615. _exportsToCheck$1(subpath) {
  53616. return this._exportsToCheck$2$addIndex(subpath, false);
  53617. }
  53618. };
  53619. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  53620. call$1(key) {
  53621. return B.JSString_methods.startsWith$1(key, ".");
  53622. },
  53623. $signature: 4
  53624. };
  53625. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  53626. call$1(key) {
  53627. return !B.JSString_methods.startsWith$1(key, ".");
  53628. },
  53629. $signature: 4
  53630. };
  53631. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  53632. call$1(key) {
  53633. return '"' + key + '"';
  53634. },
  53635. $signature: 5
  53636. };
  53637. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  53638. call$1(variant) {
  53639. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, patternBase, patternTrailer, t7, t8, target, _this = this, _null = null;
  53640. if (variant == null) {
  53641. t1 = _this.$this;
  53642. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  53643. } else {
  53644. t1 = _this.exports;
  53645. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  53646. return _null;
  53647. }
  53648. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  53649. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  53650. t1 = J.$index$asx(t1, matchKey);
  53651. if (t1 == null)
  53652. t1 = type$.Object._as(t1);
  53653. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  53654. }
  53655. t2 = A._setArrayType([], type$.JSArray_String);
  53656. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  53657. t5 = t4.get$current(t4);
  53658. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  53659. t2.push(t5);
  53660. }
  53661. t4 = _this.$this;
  53662. B.JSArray_methods.sort$1(t2, t4.get$_compareExpansionKeys());
  53663. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  53664. expansionKey = t2[_i];
  53665. _0_0 = expansionKey.split("*");
  53666. if (_0_0.length === 2) {
  53667. patternBase = _0_0[0];
  53668. patternTrailer = _0_0[1];
  53669. patternTrailer = patternTrailer;
  53670. t7 = true;
  53671. } else {
  53672. patternTrailer = _null;
  53673. patternBase = patternTrailer;
  53674. t7 = false;
  53675. }
  53676. if (!t7)
  53677. throw A.wrapException(A.StateError$("Pattern matching error"));
  53678. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  53679. continue;
  53680. if (matchKey === patternBase)
  53681. continue;
  53682. t7 = patternTrailer.length;
  53683. if (t7 !== 0)
  53684. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  53685. else
  53686. t8 = true;
  53687. if (t8) {
  53688. target = t3.$index(t1, expansionKey);
  53689. if (target == null)
  53690. continue;
  53691. return t4._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  53692. }
  53693. }
  53694. return _null;
  53695. },
  53696. $signature: 154
  53697. };
  53698. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  53699. call$1(mainExport) {
  53700. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  53701. },
  53702. $signature: 155
  53703. };
  53704. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  53705. call$1(key) {
  53706. return !B.JSString_methods.startsWith$1(key, ".");
  53707. },
  53708. $signature: 4
  53709. };
  53710. A.NodePackageImporter__getMainExport_closure.prototype = {
  53711. call$1(key) {
  53712. return B.JSString_methods.startsWith$1(key, ".");
  53713. },
  53714. $signature: 4
  53715. };
  53716. A.ImporterResult.prototype = {
  53717. get$sourceMapUrl(_) {
  53718. return this._sourceMapUrl;
  53719. }
  53720. };
  53721. A.resolveImportPath_closure.prototype = {
  53722. call$0() {
  53723. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  53724. },
  53725. $signature: 45
  53726. };
  53727. A.resolveImportPath_closure0.prototype = {
  53728. call$0() {
  53729. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  53730. },
  53731. $signature: 45
  53732. };
  53733. A._tryPathAsDirectory_closure.prototype = {
  53734. call$0() {
  53735. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  53736. },
  53737. $signature: 45
  53738. };
  53739. A._exactlyOne_closure.prototype = {
  53740. call$1(path) {
  53741. var t1 = $.$get$context();
  53742. return " " + t1.prettyUri$1(t1.toUri$1(path));
  53743. },
  53744. $signature: 5
  53745. };
  53746. A.InterpolationBuffer.prototype = {
  53747. writeCharCode$1(character) {
  53748. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  53749. return null;
  53750. },
  53751. addInterpolation$1(interpolation) {
  53752. var _0_4, _0_4_isSet, first, rest, _this = this,
  53753. toAdd = interpolation.contents,
  53754. t1 = toAdd.length;
  53755. if (t1 === 0)
  53756. return;
  53757. if (t1 >= 1) {
  53758. _0_4 = toAdd[0];
  53759. t1 = _0_4;
  53760. t1 = typeof t1 == "string";
  53761. _0_4_isSet = true;
  53762. } else {
  53763. _0_4 = null;
  53764. _0_4_isSet = false;
  53765. t1 = false;
  53766. }
  53767. if (t1) {
  53768. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  53769. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  53770. _this._interpolation_buffer$_text._contents += first;
  53771. toAdd = rest;
  53772. }
  53773. _this._flushText$0();
  53774. t1 = _this._interpolation_buffer$_contents;
  53775. B.JSArray_methods.addAll$1(t1, toAdd);
  53776. if (typeof B.JSArray_methods.get$last(t1) == "string")
  53777. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  53778. },
  53779. _flushText$0() {
  53780. var t1 = this._interpolation_buffer$_text,
  53781. t2 = t1._contents;
  53782. if (t2.length === 0)
  53783. return;
  53784. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53785. t1._contents = "";
  53786. },
  53787. interpolation$1(span) {
  53788. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  53789. t2 = this._interpolation_buffer$_text._contents;
  53790. if (t2.length !== 0)
  53791. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53792. return A.Interpolation$(t1, span);
  53793. },
  53794. toString$0(_) {
  53795. var t1, t2, _i, t3, element;
  53796. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53797. element = t1[_i];
  53798. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  53799. }
  53800. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  53801. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53802. }
  53803. };
  53804. A.InterpolationMap.prototype = {
  53805. mapException$1(error) {
  53806. var t3, t4, _this = this,
  53807. target = error.get$span(error),
  53808. source = _this.mapSpan$1(target),
  53809. startIndex = _this._indexInContents$1(target.get$start(target)),
  53810. endIndex = _this._indexInContents$1(target.get$end(target)),
  53811. t1 = _this._interpolation.contents,
  53812. t2 = error._span_exception$_message;
  53813. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  53814. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  53815. else {
  53816. t1 = type$.SourceSpan;
  53817. t3 = type$.String;
  53818. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  53819. error.get$source();
  53820. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  53821. }
  53822. },
  53823. mapSpan$1(target) {
  53824. var _0_10, t1, _0_20, t2, start, _0_2_isSet, end, _this = this, _null = null,
  53825. _0_1 = _this._mapLocation$1(target.get$start(target)),
  53826. _0_2 = _this._mapLocation$1(target.get$end(target));
  53827. $label0$0: {
  53828. _0_10 = _0_1;
  53829. t1 = type$.FileSpan;
  53830. if (t1._is(_0_1)) {
  53831. t1._as(_0_10);
  53832. _0_20 = _0_2;
  53833. t2 = t1._is(_0_2);
  53834. start = _0_10;
  53835. _0_1 = start;
  53836. _0_2_isSet = true;
  53837. } else {
  53838. start = _null;
  53839. _0_20 = start;
  53840. _0_1 = _0_10;
  53841. _0_2_isSet = false;
  53842. t2 = false;
  53843. }
  53844. if (t2) {
  53845. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  53846. break $label0$0;
  53847. }
  53848. if (t1._is(_0_1)) {
  53849. t1._as(_0_1);
  53850. if (_0_2_isSet)
  53851. t2 = _0_20;
  53852. else {
  53853. t2 = _0_2;
  53854. _0_20 = t2;
  53855. _0_2_isSet = true;
  53856. }
  53857. t2 = t2 instanceof A.FileLocation;
  53858. start = _0_1;
  53859. } else {
  53860. start = _null;
  53861. t2 = false;
  53862. }
  53863. if (t2) {
  53864. t1 = _0_2_isSet ? _0_20 : _0_2;
  53865. type$.FileLocation._as(t1);
  53866. t2 = _this._interpolation.span;
  53867. t1 = t2.get$file(t2).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  53868. break $label0$0;
  53869. }
  53870. if (_0_1 instanceof A.FileLocation) {
  53871. type$.FileLocation._as(_0_1);
  53872. if (_0_2_isSet)
  53873. t2 = _0_20;
  53874. else {
  53875. t2 = _0_2;
  53876. _0_20 = t2;
  53877. _0_2_isSet = true;
  53878. }
  53879. t2 = t1._is(t2);
  53880. start = _0_1;
  53881. } else {
  53882. start = _null;
  53883. t2 = false;
  53884. }
  53885. if (t2) {
  53886. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  53887. t1 = _this._interpolation.span;
  53888. t1 = t1.get$file(t1).span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  53889. break $label0$0;
  53890. }
  53891. if (_0_1 instanceof A.FileLocation) {
  53892. type$.FileLocation._as(_0_1);
  53893. if (_0_2_isSet)
  53894. t1 = _0_20;
  53895. else {
  53896. t1 = _0_2;
  53897. _0_20 = t1;
  53898. _0_2_isSet = true;
  53899. }
  53900. t1 = t1 instanceof A.FileLocation;
  53901. start = _0_1;
  53902. } else {
  53903. start = _null;
  53904. t1 = false;
  53905. }
  53906. if (t1) {
  53907. t1 = _0_2_isSet ? _0_20 : _0_2;
  53908. type$.FileLocation._as(t1);
  53909. t2 = _this._interpolation.span;
  53910. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  53911. break $label0$0;
  53912. }
  53913. t1 = A.throwExpression("[BUG] Unreachable");
  53914. }
  53915. return t1;
  53916. },
  53917. _mapLocation$1(target) {
  53918. var t4, previousLocation, _this = this,
  53919. index = _this._indexInContents$1(target),
  53920. t1 = _this._interpolation,
  53921. t2 = t1.contents,
  53922. _0_0 = t2[index],
  53923. t3 = type$.Expression;
  53924. if (t3._is(_0_0))
  53925. return _0_0.get$span(_0_0);
  53926. t4 = index === 0;
  53927. t1 = t1.span;
  53928. if (t4)
  53929. previousLocation = t1.get$start(t1);
  53930. else {
  53931. t1 = t1.get$file(t1);
  53932. t2 = t3._as(t2[index - 1]);
  53933. t2 = t2.get$span(t2);
  53934. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  53935. }
  53936. t1 = t4 ? 0 : _this._targetLocations[index - 1].get$offset();
  53937. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  53938. },
  53939. _indexInContents$1(target) {
  53940. var t1, t2, t3, i;
  53941. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  53942. if (t3 < t1[i].get$offset())
  53943. return i;
  53944. return this._interpolation.contents.length - 1;
  53945. },
  53946. _expandInterpolationSpanLeft$1(start) {
  53947. var i0, prev, char,
  53948. source = start.file._decodedChars,
  53949. i = start.offset - 1;
  53950. for (; i >= 0;) {
  53951. i0 = i - 1;
  53952. prev = source[i];
  53953. if (prev === 123) {
  53954. if (source[i0] === 35) {
  53955. i = i0;
  53956. break;
  53957. }
  53958. i = i0;
  53959. } else if (prev === 47) {
  53960. i = i0 - 1;
  53961. if (source[i0] === 42)
  53962. for (; true;) {
  53963. i0 = i - 1;
  53964. if (source[i] !== 42) {
  53965. i = i0;
  53966. continue;
  53967. }
  53968. i = i0;
  53969. do {
  53970. i0 = i - 1;
  53971. char = source[i];
  53972. if (char === 42) {
  53973. i = i0;
  53974. continue;
  53975. } else
  53976. break;
  53977. } while (true);
  53978. if (char === 47) {
  53979. i = i0;
  53980. break;
  53981. }
  53982. i = i0;
  53983. }
  53984. } else
  53985. i = i0;
  53986. }
  53987. return i;
  53988. },
  53989. _expandInterpolationSpanRight$1(end) {
  53990. var t1, i0, next, second, t2, char,
  53991. source = end.file._decodedChars,
  53992. i = end.offset;
  53993. for (t1 = source.length; i < t1;) {
  53994. i0 = i + 1;
  53995. next = source[i];
  53996. if (next === 125) {
  53997. i = i0;
  53998. break;
  53999. }
  54000. if (next === 47) {
  54001. i = i0 + 1;
  54002. second = source[i0];
  54003. if (second === 47) {
  54004. while (true) {
  54005. i0 = i + 1;
  54006. t2 = source[i];
  54007. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  54008. break;
  54009. i = i0;
  54010. }
  54011. i = i0;
  54012. } else if (second === 42)
  54013. for (; true;) {
  54014. i0 = i + 1;
  54015. if (source[i] !== 42) {
  54016. i = i0;
  54017. continue;
  54018. }
  54019. i = i0;
  54020. do {
  54021. i0 = i + 1;
  54022. char = source[i];
  54023. if (char === 42) {
  54024. i = i0;
  54025. continue;
  54026. } else
  54027. break;
  54028. } while (true);
  54029. if (char === 47) {
  54030. i = i0;
  54031. break;
  54032. }
  54033. i = i0;
  54034. }
  54035. } else
  54036. i = i0;
  54037. }
  54038. return i;
  54039. }
  54040. };
  54041. A.InterpolationMap_mapException_closure.prototype = {
  54042. call$1($content) {
  54043. return type$.Expression._is($content);
  54044. },
  54045. $signature: 71
  54046. };
  54047. A._realCasePath_helper.prototype = {
  54048. call$1(path) {
  54049. var dirname = $.$get$context().dirname$1(path);
  54050. if (dirname === path)
  54051. return path;
  54052. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  54053. },
  54054. $signature: 5
  54055. };
  54056. A._realCasePath_helper_closure.prototype = {
  54057. call$0() {
  54058. var matches, t1, _0_0, match, exception,
  54059. realDirname = this.helper.call$1(this.dirname),
  54060. t2 = this.path,
  54061. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  54062. try {
  54063. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  54064. t1 = null;
  54065. _0_0 = matches;
  54066. $label0$0: {
  54067. match = null;
  54068. if (J.get$length$asx(_0_0) === 1) {
  54069. match = J.$index$asx(_0_0, 0);
  54070. t1 = match;
  54071. break $label0$0;
  54072. }
  54073. t1 = A.join(realDirname, basename, null);
  54074. break $label0$0;
  54075. }
  54076. t1 = t1;
  54077. return t1;
  54078. } catch (exception) {
  54079. if (A.unwrapException(exception) instanceof A.FileSystemException)
  54080. return t2;
  54081. else
  54082. throw exception;
  54083. }
  54084. },
  54085. $signature: 27
  54086. };
  54087. A._realCasePath_helper__closure.prototype = {
  54088. call$1(realPath) {
  54089. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  54090. },
  54091. $signature: 4
  54092. };
  54093. A.FileSystemException.prototype = {
  54094. toString$0(_) {
  54095. var t1 = $.$get$context();
  54096. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  54097. },
  54098. get$message(receiver) {
  54099. return this.message;
  54100. }
  54101. };
  54102. A._readFile_closure.prototype = {
  54103. call$0() {
  54104. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  54105. },
  54106. $signature: 57
  54107. };
  54108. A.writeFile_closure.prototype = {
  54109. call$0() {
  54110. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  54111. },
  54112. $signature: 0
  54113. };
  54114. A.deleteFile_closure.prototype = {
  54115. call$0() {
  54116. return J.unlinkSync$1$x(A.fs(), this.path);
  54117. },
  54118. $signature: 0
  54119. };
  54120. A.readStdin_closure.prototype = {
  54121. call$1(result) {
  54122. this._box_0.contents = result;
  54123. this.completer.complete$1(result);
  54124. },
  54125. $signature: 90
  54126. };
  54127. A.readStdin_closure0.prototype = {
  54128. call$1(chunk) {
  54129. this.sink.add$1(0, type$.List_int._as(chunk));
  54130. },
  54131. call$0() {
  54132. return this.call$1(null);
  54133. },
  54134. "call*": "call$1",
  54135. $requiredArgCount: 0,
  54136. $defaultValues() {
  54137. return [null];
  54138. },
  54139. $signature: 89
  54140. };
  54141. A.readStdin_closure1.prototype = {
  54142. call$1(_) {
  54143. this.sink.close$0(0);
  54144. },
  54145. call$0() {
  54146. return this.call$1(null);
  54147. },
  54148. "call*": "call$1",
  54149. $requiredArgCount: 0,
  54150. $defaultValues() {
  54151. return [null];
  54152. },
  54153. $signature: 89
  54154. };
  54155. A.readStdin_closure2.prototype = {
  54156. call$1(e) {
  54157. A.printError("Failed to read from stdin");
  54158. A.printError(e);
  54159. e.toString;
  54160. this.completer.completeError$1(e);
  54161. },
  54162. call$0() {
  54163. return this.call$1(null);
  54164. },
  54165. "call*": "call$1",
  54166. $requiredArgCount: 0,
  54167. $defaultValues() {
  54168. return [null];
  54169. },
  54170. $signature: 89
  54171. };
  54172. A.fileExists_closure.prototype = {
  54173. call$0() {
  54174. var error, systemError, exception,
  54175. t1 = this.path;
  54176. if (!J.existsSync$1$x(A.fs(), t1))
  54177. return false;
  54178. try {
  54179. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  54180. return t1;
  54181. } catch (exception) {
  54182. error = A.unwrapException(exception);
  54183. systemError = type$.JsSystemError._as(error);
  54184. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54185. return false;
  54186. throw exception;
  54187. }
  54188. },
  54189. $signature: 26
  54190. };
  54191. A.dirExists_closure.prototype = {
  54192. call$0() {
  54193. var error, systemError, exception,
  54194. t1 = this.path;
  54195. if (!J.existsSync$1$x(A.fs(), t1))
  54196. return false;
  54197. try {
  54198. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  54199. return t1;
  54200. } catch (exception) {
  54201. error = A.unwrapException(exception);
  54202. systemError = type$.JsSystemError._as(error);
  54203. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54204. return false;
  54205. throw exception;
  54206. }
  54207. },
  54208. $signature: 26
  54209. };
  54210. A.ensureDir_closure.prototype = {
  54211. call$0() {
  54212. var error, systemError, exception, t1;
  54213. try {
  54214. J.mkdirSync$1$x(A.fs(), this.path);
  54215. } catch (exception) {
  54216. error = A.unwrapException(exception);
  54217. systemError = type$.JsSystemError._as(error);
  54218. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  54219. return;
  54220. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54221. throw exception;
  54222. t1 = this.path;
  54223. A.ensureDir($.$get$context().dirname$1(t1));
  54224. J.mkdirSync$1$x(A.fs(), t1);
  54225. }
  54226. },
  54227. $signature: 0
  54228. };
  54229. A.listDir_closure.prototype = {
  54230. call$0() {
  54231. var t1 = this.path;
  54232. if (!this.recursive)
  54233. 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());
  54234. else
  54235. return new A.listDir_closure_list().call$1(t1);
  54236. },
  54237. $signature: 161
  54238. };
  54239. A.listDir__closure.prototype = {
  54240. call$1(child) {
  54241. return A.join(this.path, A._asString(child), null);
  54242. },
  54243. $signature: 116
  54244. };
  54245. A.listDir__closure0.prototype = {
  54246. call$1(child) {
  54247. return !A.dirExists(child);
  54248. },
  54249. $signature: 4
  54250. };
  54251. A.listDir_closure_list.prototype = {
  54252. call$1($parent) {
  54253. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  54254. },
  54255. $signature: 162
  54256. };
  54257. A.listDir__list_closure.prototype = {
  54258. call$1(child) {
  54259. var path = A.join(this.parent, A._asString(child), null);
  54260. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  54261. },
  54262. $signature: 163
  54263. };
  54264. A.modificationTime_closure.prototype = {
  54265. call$0() {
  54266. var t2,
  54267. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  54268. if (Math.abs(t1) <= 864e13)
  54269. t2 = false;
  54270. else
  54271. t2 = true;
  54272. if (t2)
  54273. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  54274. A.checkNotNullable(false, "isUtc", type$.bool);
  54275. return new A.DateTime(t1, false);
  54276. },
  54277. $signature: 164
  54278. };
  54279. A.watchDir_closure.prototype = {
  54280. call$2(path, _) {
  54281. var t1 = this._box_0.controller;
  54282. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  54283. },
  54284. call$1(path) {
  54285. return this.call$2(path, null);
  54286. },
  54287. "call*": "call$2",
  54288. $requiredArgCount: 1,
  54289. $defaultValues() {
  54290. return [null];
  54291. },
  54292. $signature: 191
  54293. };
  54294. A.watchDir_closure0.prototype = {
  54295. call$2(path, _) {
  54296. var t1 = this._box_0.controller;
  54297. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  54298. },
  54299. call$1(path) {
  54300. return this.call$2(path, null);
  54301. },
  54302. "call*": "call$2",
  54303. $requiredArgCount: 1,
  54304. $defaultValues() {
  54305. return [null];
  54306. },
  54307. $signature: 191
  54308. };
  54309. A.watchDir_closure1.prototype = {
  54310. call$1(path) {
  54311. var t1 = this._box_0.controller;
  54312. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  54313. },
  54314. $signature: 90
  54315. };
  54316. A.watchDir_closure2.prototype = {
  54317. call$1(error) {
  54318. var t1 = this._box_0.controller;
  54319. return t1 == null ? null : t1.addError$1(error);
  54320. },
  54321. $signature: 87
  54322. };
  54323. A.watchDir_closure3.prototype = {
  54324. call$0() {
  54325. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  54326. this._box_0.controller = controller;
  54327. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  54328. },
  54329. $signature: 1
  54330. };
  54331. A.watchDir__closure.prototype = {
  54332. call$0() {
  54333. J.close$0$x(this.watcher);
  54334. },
  54335. $signature: 1
  54336. };
  54337. A.JSArray0.prototype = {};
  54338. A.Chokidar.prototype = {};
  54339. A.ChokidarOptions.prototype = {};
  54340. A.ChokidarWatcher.prototype = {};
  54341. A.JSFunction.prototype = {};
  54342. A.ImmutableList.prototype = {};
  54343. A.ImmutableMap.prototype = {};
  54344. A.NodeImporterResult.prototype = {};
  54345. A.RenderContext.prototype = {};
  54346. A.RenderContextOptions.prototype = {};
  54347. A.RenderContextResult.prototype = {};
  54348. A.RenderContextResultStats.prototype = {};
  54349. A.JSModule.prototype = {};
  54350. A.JSModuleRequire.prototype = {};
  54351. A.JSClass.prototype = {};
  54352. A.JSUrl.prototype = {};
  54353. A._PropertyDescriptor.prototype = {};
  54354. A._RequireMain.prototype = {};
  54355. A._QuietLogger.prototype = {
  54356. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54357. },
  54358. warn$1(_, message) {
  54359. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54360. },
  54361. warn$2$span(_, message, span) {
  54362. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54363. },
  54364. debug$2(_, message, span) {
  54365. }
  54366. };
  54367. A.DeprecationHandlingLogger.prototype = {
  54368. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54369. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  54370. },
  54371. warn$3$span$trace(_, message, span, trace) {
  54372. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54373. },
  54374. warn$2$span(_, message, span) {
  54375. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54376. },
  54377. warn$2$trace(_, message, trace) {
  54378. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54379. },
  54380. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  54381. var span0, t1, _0_3, _0_1, _0_3_isSet, t2, count, _this = this, _null = null;
  54382. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  54383. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  54384. $label0$0: {
  54385. if (span != null) {
  54386. span0 = span == null ? type$.FileSpan._as(span) : span;
  54387. t1 = trace != null;
  54388. _0_3 = trace;
  54389. _0_1 = span;
  54390. span = span0;
  54391. _0_3_isSet = true;
  54392. } else {
  54393. _0_3 = _null;
  54394. _0_1 = span;
  54395. span = _0_3;
  54396. _0_3_isSet = false;
  54397. t1 = false;
  54398. }
  54399. if (t1) {
  54400. if (_0_3_isSet)
  54401. trace = _0_3;
  54402. t1 = A.SassRuntimeException$(message, span, trace == null ? type$.Trace._as(trace) : trace, _null);
  54403. break $label0$0;
  54404. }
  54405. if (_0_1 != null) {
  54406. span = _0_1 == null ? type$.FileSpan._as(_0_1) : _0_1;
  54407. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  54408. } else {
  54409. span = _null;
  54410. t1 = false;
  54411. }
  54412. if (t1) {
  54413. t1 = A.SassException$(message, span, _null);
  54414. break $label0$0;
  54415. }
  54416. t1 = A.SassScriptException$(message, _null);
  54417. break $label0$0;
  54418. }
  54419. throw A.wrapException(t1);
  54420. }
  54421. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  54422. return;
  54423. if (_this.limitRepetition) {
  54424. t1 = _this._warningCounts;
  54425. t2 = t1.$index(0, deprecation);
  54426. count = (t2 == null ? 0 : t2) + 1;
  54427. t1.$indexSet(0, deprecation, count);
  54428. if (count > 5)
  54429. return;
  54430. }
  54431. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  54432. },
  54433. debug$2(_, message, span) {
  54434. return this._inner.debug$2(0, message, span);
  54435. },
  54436. summarize$1$js(js) {
  54437. var t1 = this._warningCounts.get$values(0),
  54438. t2 = A._instanceType(t1),
  54439. 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>")));
  54440. if (total > 0) {
  54441. t1 = js ? "" : string$.x0aRun_i;
  54442. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  54443. }
  54444. }
  54445. };
  54446. A.DeprecationHandlingLogger_summarize_closure.prototype = {
  54447. call$1(count) {
  54448. return count > 5;
  54449. },
  54450. $signature: 46
  54451. };
  54452. A.DeprecationHandlingLogger_summarize_closure0.prototype = {
  54453. call$1(count) {
  54454. return count - 5;
  54455. },
  54456. $signature: 168
  54457. };
  54458. A.StderrLogger.prototype = {
  54459. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54460. var t2,
  54461. result = new A.StringBuffer(""),
  54462. t1 = this.color;
  54463. if (t1) {
  54464. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  54465. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  54466. } else
  54467. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  54468. if (span == null)
  54469. t1 = result._contents = t2 + (": " + message + "\n");
  54470. else if (trace != null) {
  54471. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  54472. result._contents = t1;
  54473. } else {
  54474. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  54475. result._contents = t1;
  54476. }
  54477. if (trace != null)
  54478. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  54479. A.printError(result);
  54480. },
  54481. warn$1(_, message) {
  54482. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54483. },
  54484. warn$3$span$trace(_, message, span, trace) {
  54485. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54486. },
  54487. warn$2$span(_, message, span) {
  54488. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54489. },
  54490. warn$2$trace(_, message, trace) {
  54491. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54492. },
  54493. debug$2(_, message, span) {
  54494. var url, t3, t4,
  54495. t1 = span.file,
  54496. t2 = span._file$_start;
  54497. if (A.FileLocation$_(t1, t2).file.url == null)
  54498. url = "-";
  54499. else {
  54500. t3 = A.FileLocation$_(t1, t2).file.url;
  54501. t4 = $.$get$context();
  54502. t3.toString;
  54503. url = t4.prettyUri$1(t3);
  54504. }
  54505. t1 = A.FileLocation$_(t1, t2);
  54506. t1 = t1.file.getLine$1(t1.offset);
  54507. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  54508. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  54509. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  54510. }
  54511. };
  54512. A.TrackingLogger.prototype = {
  54513. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54514. this._emittedWarning = true;
  54515. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  54516. },
  54517. warn$3$span$trace(_, message, span, trace) {
  54518. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54519. },
  54520. warn$2$span(_, message, span) {
  54521. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54522. },
  54523. warn$2$trace(_, message, trace) {
  54524. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54525. },
  54526. debug$2(_, message, span) {
  54527. this._emittedDebug = true;
  54528. this._tracking$_logger.debug$2(0, message, span);
  54529. }
  54530. };
  54531. A.BuiltInModule.prototype = {
  54532. get$upstream() {
  54533. return B.List_empty7;
  54534. },
  54535. get$variableNodes() {
  54536. return B.Map_empty4;
  54537. },
  54538. get$extensionStore() {
  54539. return B.C_EmptyExtensionStore;
  54540. },
  54541. get$css(_) {
  54542. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  54543. },
  54544. get$preModuleComments() {
  54545. return B.Map_empty2;
  54546. },
  54547. get$transitivelyContainsCss() {
  54548. return false;
  54549. },
  54550. get$transitivelyContainsExtensions() {
  54551. return false;
  54552. },
  54553. setVariable$3($name, value, nodeWithSpan) {
  54554. if (!this.variables.containsKey$1($name))
  54555. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54556. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  54557. },
  54558. variableIdentity$1($name) {
  54559. return this;
  54560. },
  54561. cloneCss$0() {
  54562. return this;
  54563. },
  54564. $isModule0: 1,
  54565. get$url(receiver) {
  54566. return this.url;
  54567. },
  54568. get$functions(receiver) {
  54569. return this.functions;
  54570. },
  54571. get$mixins() {
  54572. return this.mixins;
  54573. },
  54574. get$variables() {
  54575. return this.variables;
  54576. }
  54577. };
  54578. A.ForwardedModuleView.prototype = {
  54579. get$url(_) {
  54580. var t1 = this._forwarded_view$_inner;
  54581. return t1.get$url(t1);
  54582. },
  54583. get$upstream() {
  54584. return this._forwarded_view$_inner.get$upstream();
  54585. },
  54586. get$extensionStore() {
  54587. return this._forwarded_view$_inner.get$extensionStore();
  54588. },
  54589. get$css(_) {
  54590. var t1 = this._forwarded_view$_inner;
  54591. return t1.get$css(t1);
  54592. },
  54593. get$preModuleComments() {
  54594. return this._forwarded_view$_inner.get$preModuleComments();
  54595. },
  54596. get$transitivelyContainsCss() {
  54597. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  54598. },
  54599. get$transitivelyContainsExtensions() {
  54600. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  54601. },
  54602. setVariable$3($name, value, nodeWithSpan) {
  54603. var t2, _1_0, _2_0,
  54604. _s19_ = "Undefined variable.",
  54605. t1 = this._rule,
  54606. _0_0 = t1.shownVariables;
  54607. if (_0_0 != null)
  54608. t2 = !_0_0._base.contains$1(0, $name);
  54609. else
  54610. t2 = false;
  54611. if (t2)
  54612. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54613. else {
  54614. _1_0 = t1.hiddenVariables;
  54615. if (_1_0 != null)
  54616. t2 = _1_0._base.contains$1(0, $name);
  54617. else
  54618. t2 = false;
  54619. if (t2)
  54620. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54621. }
  54622. _2_0 = t1.prefix;
  54623. if (_2_0 != null) {
  54624. if (!B.JSString_methods.startsWith$1($name, _2_0))
  54625. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54626. $name = B.JSString_methods.substring$1($name, _2_0.length);
  54627. }
  54628. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54629. },
  54630. variableIdentity$1($name) {
  54631. var _0_0 = this._rule.prefix;
  54632. if (_0_0 != null)
  54633. $name = B.JSString_methods.substring$1($name, _0_0.length);
  54634. return this._forwarded_view$_inner.variableIdentity$1($name);
  54635. },
  54636. $eq(_, other) {
  54637. if (other == null)
  54638. return false;
  54639. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  54640. },
  54641. get$hashCode(_) {
  54642. var t1 = this._forwarded_view$_inner;
  54643. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  54644. },
  54645. cloneCss$0() {
  54646. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  54647. },
  54648. toString$0(_) {
  54649. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  54650. },
  54651. $isModule0: 1,
  54652. get$variables() {
  54653. return this.variables;
  54654. },
  54655. get$variableNodes() {
  54656. return this.variableNodes;
  54657. },
  54658. get$functions(receiver) {
  54659. return this.functions;
  54660. },
  54661. get$mixins() {
  54662. return this.mixins;
  54663. }
  54664. };
  54665. A.ShadowedModuleView.prototype = {
  54666. get$url(_) {
  54667. var t1 = this._shadowed_view$_inner;
  54668. return t1.get$url(t1);
  54669. },
  54670. get$upstream() {
  54671. return this._shadowed_view$_inner.get$upstream();
  54672. },
  54673. get$extensionStore() {
  54674. return this._shadowed_view$_inner.get$extensionStore();
  54675. },
  54676. get$css(_) {
  54677. var t1 = this._shadowed_view$_inner;
  54678. return t1.get$css(t1);
  54679. },
  54680. get$preModuleComments() {
  54681. return this._shadowed_view$_inner.get$preModuleComments();
  54682. },
  54683. get$transitivelyContainsCss() {
  54684. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  54685. },
  54686. get$transitivelyContainsExtensions() {
  54687. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  54688. },
  54689. setVariable$3($name, value, nodeWithSpan) {
  54690. if (!this.variables.containsKey$1($name))
  54691. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54692. else
  54693. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54694. },
  54695. variableIdentity$1($name) {
  54696. return this._shadowed_view$_inner.variableIdentity$1($name);
  54697. },
  54698. $eq(_, other) {
  54699. var t1, t2, _this = this;
  54700. if (other == null)
  54701. return false;
  54702. if (other instanceof A.ShadowedModuleView)
  54703. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  54704. t1 = _this.variables;
  54705. t1 = t1.get$keys(t1);
  54706. t2 = other.variables;
  54707. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  54708. t1 = _this.functions;
  54709. t1 = t1.get$keys(t1);
  54710. t2 = other.functions;
  54711. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  54712. t1 = _this.mixins;
  54713. t1 = t1.get$keys(t1);
  54714. t2 = other.mixins;
  54715. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  54716. t1 = t2;
  54717. } else
  54718. t1 = false;
  54719. } else
  54720. t1 = false;
  54721. } else
  54722. t1 = false;
  54723. else
  54724. t1 = false;
  54725. return t1;
  54726. },
  54727. get$hashCode(_) {
  54728. var t1 = this._shadowed_view$_inner;
  54729. return t1.get$hashCode(t1);
  54730. },
  54731. cloneCss$0() {
  54732. var _this = this;
  54733. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  54734. },
  54735. toString$0(_) {
  54736. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  54737. },
  54738. $isModule0: 1,
  54739. get$variables() {
  54740. return this.variables;
  54741. },
  54742. get$variableNodes() {
  54743. return this.variableNodes;
  54744. },
  54745. get$functions(receiver) {
  54746. return this.functions;
  54747. },
  54748. get$mixins() {
  54749. return this.mixins;
  54750. }
  54751. };
  54752. A.AtRootQueryParser.prototype = {
  54753. parse$0() {
  54754. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  54755. }
  54756. };
  54757. A.AtRootQueryParser_parse_closure.prototype = {
  54758. call$0() {
  54759. var include, atRules,
  54760. t1 = this.$this,
  54761. t2 = t1.scanner;
  54762. t2.expectChar$1(40);
  54763. t1.whitespace$0();
  54764. include = t1.scanIdentifier$1("with");
  54765. if (!include)
  54766. t1.expectIdentifier$2$name("without", '"with" or "without"');
  54767. t1.whitespace$0();
  54768. t2.expectChar$1(58);
  54769. t1.whitespace$0();
  54770. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  54771. do {
  54772. atRules.add$1(0, t1.identifier$0().toLowerCase());
  54773. t1.whitespace$0();
  54774. } while (t1.lookingAtIdentifier$0());
  54775. t2.expectChar$1(41);
  54776. t2.expectDone$0();
  54777. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  54778. },
  54779. $signature: 353
  54780. };
  54781. A._disallowedFunctionNames_closure.prototype = {
  54782. call$1($function) {
  54783. return $function.name;
  54784. },
  54785. $signature: 352
  54786. };
  54787. A.CssParser.prototype = {
  54788. get$plainCss() {
  54789. return true;
  54790. },
  54791. silentComment$0() {
  54792. var t1 = this.scanner,
  54793. t2 = t1._string_scanner$_position;
  54794. this.super$Parser$silentComment();
  54795. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54796. },
  54797. atRule$2$root(child, root) {
  54798. var $name, _0_0, _this = this,
  54799. t1 = _this.scanner,
  54800. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54801. t1.expectChar$1(64);
  54802. $name = _this.interpolatedIdentifier$0();
  54803. _this.whitespace$0();
  54804. _0_0 = $name.get$asPlain();
  54805. $label0$0: {
  54806. 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)
  54807. _this._forbiddenAtRoot$1(start);
  54808. if ("import" === _0_0) {
  54809. t1 = _this._cssImportRule$1(start);
  54810. break $label0$0;
  54811. }
  54812. if ("media" === _0_0) {
  54813. t1 = _this.mediaRule$1(start);
  54814. break $label0$0;
  54815. }
  54816. if ("-moz-document" === _0_0) {
  54817. t1 = _this.mozDocumentRule$2(start, $name);
  54818. break $label0$0;
  54819. }
  54820. if ("supports" === _0_0) {
  54821. t1 = _this.supportsRule$1(start);
  54822. break $label0$0;
  54823. }
  54824. t1 = _this.unknownAtRule$2(start, $name);
  54825. break $label0$0;
  54826. }
  54827. return t1;
  54828. },
  54829. _forbiddenAtRoot$1(start) {
  54830. this.almostAnyValue$0();
  54831. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  54832. },
  54833. _cssImportRule$1(start) {
  54834. var t2, urlSpan, modifiers, _this = this,
  54835. t1 = _this.scanner,
  54836. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54837. _0_0 = t1.peekChar$0();
  54838. $label0$0: {
  54839. if (117 === _0_0 || 85 === _0_0) {
  54840. t2 = _this.dynamicUrl$0();
  54841. break $label0$0;
  54842. }
  54843. t2 = new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  54844. break $label0$0;
  54845. }
  54846. urlSpan = t1.spanFrom$1(urlStart);
  54847. _this.whitespace$0();
  54848. modifiers = _this.tryImportModifiers$0();
  54849. _this.expectStatementSeparator$1("@import rule");
  54850. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  54851. t1 = t1.spanFrom$1(start);
  54852. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  54853. },
  54854. parentheses$0() {
  54855. var expression,
  54856. t1 = this.scanner,
  54857. t2 = t1._string_scanner$_position;
  54858. t1.expectChar$1(40);
  54859. this.whitespace$0();
  54860. expression = this.expressionUntilComma$0();
  54861. t1.expectChar$1(41);
  54862. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54863. },
  54864. identifierLike$0() {
  54865. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  54866. t1 = _this.scanner,
  54867. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54868. identifier = _this.interpolatedIdentifier$0(),
  54869. plain = identifier.get$asPlain(),
  54870. lower = plain.toLowerCase(),
  54871. _0_0 = _this.trySpecialFunction$2(lower, start);
  54872. if (_0_0 != null)
  54873. return _0_0;
  54874. t2 = t1._string_scanner$_position;
  54875. if (t1.scanChar$1(46))
  54876. return _this.namespacedExpression$2(plain, start);
  54877. if (!t1.scanChar$1(40))
  54878. return new A.StringExpression(identifier, false);
  54879. allowEmptySecondArg = lower === "var";
  54880. $arguments = A._setArrayType([], type$.JSArray_Expression);
  54881. if (!t1.scanChar$1(41)) {
  54882. do {
  54883. _this.whitespace$0();
  54884. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  54885. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  54886. t4 = t3.offset;
  54887. t4 = A._FileSpan$(t3.file, t4, t4);
  54888. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  54889. break;
  54890. }
  54891. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  54892. _this.whitespace$0();
  54893. } while (t1.scanChar$1(44));
  54894. t1.expectChar$1(41);
  54895. }
  54896. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  54897. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  54898. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  54899. t3 = type$.Expression;
  54900. 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));
  54901. },
  54902. namespacedExpression$2(namespace, start) {
  54903. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  54904. this.error$2(0, string$.Modulen, expression.get$span(expression));
  54905. }
  54906. };
  54907. A.KeyframeSelectorParser.prototype = {
  54908. parse$0() {
  54909. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  54910. },
  54911. _percentage$0() {
  54912. var $self, _0_0,
  54913. t1 = this.scanner,
  54914. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  54915. second = t1.peekChar$0();
  54916. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  54917. t1.error$1(0, "Expected number.");
  54918. while (true) {
  54919. $self = t1.peekChar$0();
  54920. if (!($self != null && $self >= 48 && $self <= 57))
  54921. break;
  54922. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54923. }
  54924. if (t1.peekChar$0() === 46) {
  54925. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54926. while (true) {
  54927. $self = t1.peekChar$0();
  54928. if (!($self != null && $self >= 48 && $self <= 57))
  54929. break;
  54930. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54931. }
  54932. }
  54933. if (this.scanIdentChar$1(101)) {
  54934. t2 += A.Primitives_stringFromCharCode(101);
  54935. _0_0 = t1.peekChar$0();
  54936. if (43 === _0_0 || 45 === _0_0)
  54937. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54938. $self = t1.peekChar$0();
  54939. if (!($self != null && $self >= 48 && $self <= 57))
  54940. t1.error$1(0, "Expected digit.");
  54941. do {
  54942. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54943. $self = t1.peekChar$0();
  54944. } while ($self != null && $self >= 48 && $self <= 57);
  54945. }
  54946. t1.expectChar$1(37);
  54947. t2 += A.Primitives_stringFromCharCode(37);
  54948. return t2.charCodeAt(0) == 0 ? t2 : t2;
  54949. }
  54950. };
  54951. A.KeyframeSelectorParser_parse_closure.prototype = {
  54952. call$0() {
  54953. var selectors = A._setArrayType([], type$.JSArray_String),
  54954. t1 = this.$this,
  54955. t2 = t1.scanner;
  54956. do {
  54957. t1.whitespace$0();
  54958. if (t1.lookingAtIdentifier$0())
  54959. if (t1.scanIdentifier$1("from"))
  54960. selectors.push("from");
  54961. else {
  54962. t1.expectIdentifier$2$name("to", '"to" or "from"');
  54963. selectors.push("to");
  54964. }
  54965. else
  54966. selectors.push(t1._percentage$0());
  54967. t1.whitespace$0();
  54968. } while (t2.scanChar$1(44));
  54969. t2.expectDone$0();
  54970. return selectors;
  54971. },
  54972. $signature: 115
  54973. };
  54974. A.MediaQueryParser.prototype = {
  54975. parse$0() {
  54976. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  54977. },
  54978. _mediaQuery$0() {
  54979. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  54980. if (_this.scanner.peekChar$0() === 40) {
  54981. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  54982. _this.whitespace$0();
  54983. if (_this.scanIdentifier$1(_s3_)) {
  54984. _this.expectWhitespace$0();
  54985. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  54986. conjunction = true;
  54987. } else if (_this.scanIdentifier$1("or")) {
  54988. _this.expectWhitespace$0();
  54989. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  54990. conjunction = false;
  54991. } else
  54992. conjunction = true;
  54993. return A.CssMediaQuery$condition(conditions, conjunction);
  54994. }
  54995. identifier1 = _this.identifier$0();
  54996. if (A.equalsIgnoreCase(identifier1, "not")) {
  54997. _this.expectWhitespace$0();
  54998. if (!_this.lookingAtIdentifier$0())
  54999. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  55000. }
  55001. _this.whitespace$0();
  55002. if (!_this.lookingAtIdentifier$0())
  55003. return A.CssMediaQuery$type(identifier1, _null, _null);
  55004. identifier2 = _this.identifier$0();
  55005. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  55006. _this.expectWhitespace$0();
  55007. type = identifier1;
  55008. modifier = _null;
  55009. } else {
  55010. _this.whitespace$0();
  55011. if (_this.scanIdentifier$1(_s3_))
  55012. _this.expectWhitespace$0();
  55013. else
  55014. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  55015. type = identifier2;
  55016. modifier = identifier1;
  55017. }
  55018. if (_this.scanIdentifier$1("not")) {
  55019. _this.expectWhitespace$0();
  55020. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  55021. }
  55022. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  55023. },
  55024. _mediaLogicSequence$1(operator) {
  55025. var t1, t2, _this = this,
  55026. result = A._setArrayType([], type$.JSArray_String);
  55027. for (t1 = _this.scanner; true;) {
  55028. t1.expectChar$2$name(40, "media condition in parentheses");
  55029. t2 = _this.declarationValue$0();
  55030. t1.expectChar$1(41);
  55031. result.push("(" + t2 + ")");
  55032. _this.whitespace$0();
  55033. if (!_this.scanIdentifier$1(operator))
  55034. return result;
  55035. _this.expectWhitespace$0();
  55036. }
  55037. },
  55038. _mediaInParens$0() {
  55039. var t2,
  55040. t1 = this.scanner;
  55041. t1.expectChar$2$name(40, "media condition in parentheses");
  55042. t2 = this.declarationValue$0();
  55043. t1.expectChar$1(41);
  55044. return "(" + t2 + ")";
  55045. }
  55046. };
  55047. A.MediaQueryParser_parse_closure.prototype = {
  55048. call$0() {
  55049. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  55050. t1 = this.$this,
  55051. t2 = t1.scanner;
  55052. do {
  55053. t1.whitespace$0();
  55054. queries.push(t1._mediaQuery$0());
  55055. t1.whitespace$0();
  55056. } while (t2.scanChar$1(44));
  55057. t2.expectDone$0();
  55058. return queries;
  55059. },
  55060. $signature: 351
  55061. };
  55062. A.Parser.prototype = {
  55063. _parseIdentifier$0() {
  55064. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  55065. },
  55066. _isVariableDeclarationLike$0() {
  55067. var _this = this,
  55068. t1 = _this.scanner;
  55069. if (!t1.scanChar$1(36))
  55070. return false;
  55071. if (!_this.lookingAtIdentifier$0())
  55072. return false;
  55073. _this.identifier$0();
  55074. _this.whitespace$0();
  55075. return t1.scanChar$1(58);
  55076. },
  55077. whitespace$0() {
  55078. do
  55079. this.whitespaceWithoutComments$0();
  55080. while (this.scanComment$0());
  55081. },
  55082. whitespaceWithoutComments$0() {
  55083. var t3,
  55084. t1 = this.scanner,
  55085. t2 = t1.string.length;
  55086. while (true) {
  55087. if (t1._string_scanner$_position !== t2) {
  55088. t3 = t1.peekChar$0();
  55089. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  55090. } else
  55091. t3 = false;
  55092. if (!t3)
  55093. break;
  55094. t1.readChar$0();
  55095. }
  55096. },
  55097. spaces$0() {
  55098. var t3,
  55099. t1 = this.scanner,
  55100. t2 = t1.string.length;
  55101. while (true) {
  55102. if (t1._string_scanner$_position !== t2) {
  55103. t3 = t1.peekChar$0();
  55104. t3 = t3 === 32 || t3 === 9;
  55105. } else
  55106. t3 = false;
  55107. if (!t3)
  55108. break;
  55109. t1.readChar$0();
  55110. }
  55111. },
  55112. scanComment$0() {
  55113. var _0_0,
  55114. t1 = this.scanner;
  55115. if (t1.peekChar$0() !== 47)
  55116. return false;
  55117. _0_0 = t1.peekChar$1(1);
  55118. if (47 === _0_0) {
  55119. this.silentComment$0();
  55120. return true;
  55121. }
  55122. if (42 === _0_0) {
  55123. this.loudComment$0();
  55124. return true;
  55125. }
  55126. return false;
  55127. },
  55128. expectWhitespace$0() {
  55129. var t2, t3,
  55130. t1 = this.scanner;
  55131. if (t1._string_scanner$_position !== t1.string.length) {
  55132. t2 = t1.peekChar$0();
  55133. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  55134. t2 = t3;
  55135. } else
  55136. t2 = true;
  55137. if (t2)
  55138. t1.error$1(0, "Expected whitespace.");
  55139. this.whitespace$0();
  55140. },
  55141. silentComment$0() {
  55142. var t2, t3,
  55143. t1 = this.scanner;
  55144. t1.expect$1("//");
  55145. t2 = t1.string.length;
  55146. while (true) {
  55147. if (t1._string_scanner$_position !== t2) {
  55148. t3 = t1.peekChar$0();
  55149. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  55150. } else
  55151. t3 = false;
  55152. if (!t3)
  55153. break;
  55154. t1.readChar$0();
  55155. }
  55156. },
  55157. loudComment$0() {
  55158. var next,
  55159. t1 = this.scanner;
  55160. t1.expect$1("/*");
  55161. for (; true;) {
  55162. if (t1.readChar$0() !== 42)
  55163. continue;
  55164. do
  55165. next = t1.readChar$0();
  55166. while (next === 42);
  55167. if (next === 47)
  55168. break;
  55169. }
  55170. },
  55171. identifier$2$normalize$unit(normalize, unit) {
  55172. var t2, _0_0, _this = this,
  55173. _s20_ = "Expected identifier.",
  55174. text = new A.StringBuffer(""),
  55175. t1 = _this.scanner;
  55176. if (t1.scanChar$1(45)) {
  55177. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  55178. if (t1.scanChar$1(45)) {
  55179. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55180. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55181. t1 = text._contents;
  55182. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55183. }
  55184. } else
  55185. t2 = "";
  55186. $label0$0: {
  55187. _0_0 = t1.peekChar$0();
  55188. if (_0_0 == null)
  55189. t1.error$1(0, _s20_);
  55190. if (95 === _0_0 && normalize) {
  55191. t1.readChar$0();
  55192. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55193. break $label0$0;
  55194. }
  55195. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  55196. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  55197. break $label0$0;
  55198. }
  55199. if (92 === _0_0) {
  55200. text._contents = t2 + _this.escape$1$identifierStart(true);
  55201. break $label0$0;
  55202. }
  55203. t1.error$1(0, _s20_);
  55204. }
  55205. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55206. t1 = text._contents;
  55207. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55208. },
  55209. identifier$0() {
  55210. return this.identifier$2$normalize$unit(false, false);
  55211. },
  55212. identifier$1$normalize(normalize) {
  55213. return this.identifier$2$normalize$unit(normalize, false);
  55214. },
  55215. identifier$1$unit(unit) {
  55216. return this.identifier$2$normalize$unit(false, unit);
  55217. },
  55218. _identifierBody$3$normalize$unit(text, normalize, unit) {
  55219. var t1, _1_0, _0_0, t2;
  55220. for (t1 = this.scanner; true;) {
  55221. _1_0 = t1.peekChar$0();
  55222. if (_1_0 == null)
  55223. break;
  55224. if (45 === _1_0 && unit) {
  55225. _0_0 = t1.peekChar$1(1);
  55226. if (46 !== _0_0)
  55227. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  55228. else
  55229. t2 = true;
  55230. if (t2)
  55231. break;
  55232. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55233. continue;
  55234. }
  55235. if (95 === _1_0 && normalize) {
  55236. t1.readChar$0();
  55237. text._contents += A.Primitives_stringFromCharCode(45);
  55238. continue;
  55239. }
  55240. if (_1_0 !== 95) {
  55241. if (!(_1_0 >= 97 && _1_0 <= 122))
  55242. t2 = _1_0 >= 65 && _1_0 <= 90;
  55243. else
  55244. t2 = true;
  55245. t2 = t2 || _1_0 >= 128;
  55246. } else
  55247. t2 = true;
  55248. if (!t2)
  55249. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  55250. else
  55251. t2 = true;
  55252. if (t2) {
  55253. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55254. continue;
  55255. }
  55256. if (92 === _1_0) {
  55257. text._contents += this.escape$0();
  55258. continue;
  55259. }
  55260. break;
  55261. }
  55262. },
  55263. _identifierBody$1(text) {
  55264. return this._identifierBody$3$normalize$unit(text, false, false);
  55265. },
  55266. string$0() {
  55267. var buffer, _0_0, t2,
  55268. t1 = this.scanner,
  55269. quote = t1.readChar$0();
  55270. if (quote !== 39 && quote !== 34)
  55271. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  55272. buffer = new A.StringBuffer("");
  55273. for (; true;) {
  55274. _0_0 = t1.peekChar$0();
  55275. if (_0_0 === quote) {
  55276. t1.readChar$0();
  55277. break;
  55278. }
  55279. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55280. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  55281. if (92 === _0_0) {
  55282. t2 = t1.peekChar$1(1);
  55283. if (t2 === 10 || t2 === 13 || t2 === 12) {
  55284. t1.readChar$0();
  55285. t1.readChar$0();
  55286. } else
  55287. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  55288. continue;
  55289. }
  55290. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55291. }
  55292. t1 = buffer._contents;
  55293. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55294. },
  55295. declarationValue$1$allowEmpty(allowEmpty) {
  55296. var t1, t2, wroteNewline, next, start, end, t3, _0_0, _this = this,
  55297. buffer = new A.StringBuffer(""),
  55298. brackets = A._setArrayType([], type$.JSArray_int);
  55299. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  55300. next = t1.peekChar$0();
  55301. if (next == null)
  55302. break;
  55303. if (92 === next) {
  55304. buffer._contents += _this.escape$1$identifierStart(true);
  55305. wroteNewline = false;
  55306. continue;
  55307. }
  55308. if (34 === next || 39 === next) {
  55309. start = t1._string_scanner$_position;
  55310. t2.call$0();
  55311. end = t1._string_scanner$_position;
  55312. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55313. wroteNewline = false;
  55314. continue;
  55315. }
  55316. if (47 === next) {
  55317. if (t1.peekChar$1(1) === 42) {
  55318. t3 = _this.get$loudComment();
  55319. start = t1._string_scanner$_position;
  55320. t3.call$0();
  55321. end = t1._string_scanner$_position;
  55322. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55323. } else
  55324. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55325. wroteNewline = false;
  55326. continue;
  55327. }
  55328. if (32 === next || 9 === next) {
  55329. if (!wroteNewline) {
  55330. t3 = t1.peekChar$1(1);
  55331. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  55332. } else
  55333. t3 = true;
  55334. if (t3)
  55335. buffer._contents += A.Primitives_stringFromCharCode(32);
  55336. t1.readChar$0();
  55337. continue;
  55338. }
  55339. if (10 === next || 13 === next || 12 === next) {
  55340. t3 = t1.peekChar$1(-1);
  55341. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  55342. buffer._contents += "\n";
  55343. t1.readChar$0();
  55344. wroteNewline = true;
  55345. continue;
  55346. }
  55347. if (40 === next || 123 === next || 91 === next) {
  55348. buffer._contents += A.Primitives_stringFromCharCode(next);
  55349. brackets.push(A.opposite(t1.readChar$0()));
  55350. wroteNewline = false;
  55351. continue;
  55352. }
  55353. if (41 === next || 125 === next || 93 === next) {
  55354. if (brackets.length === 0)
  55355. break;
  55356. buffer._contents += A.Primitives_stringFromCharCode(next);
  55357. t1.expectChar$1(brackets.pop());
  55358. wroteNewline = false;
  55359. continue;
  55360. }
  55361. if (59 === next) {
  55362. if (brackets.length === 0)
  55363. break;
  55364. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55365. continue;
  55366. }
  55367. if (117 === next || 85 === next) {
  55368. _0_0 = _this.tryUrl$0();
  55369. if (_0_0 != null)
  55370. buffer._contents += _0_0;
  55371. else
  55372. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55373. wroteNewline = false;
  55374. continue;
  55375. }
  55376. if (_this.lookingAtIdentifier$0())
  55377. buffer._contents += _this.identifier$0();
  55378. else
  55379. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55380. wroteNewline = false;
  55381. }
  55382. if (brackets.length !== 0)
  55383. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  55384. if (!allowEmpty && buffer._contents.length === 0)
  55385. t1.error$1(0, "Expected token.");
  55386. t1 = buffer._contents;
  55387. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55388. },
  55389. declarationValue$0() {
  55390. return this.declarationValue$1$allowEmpty(false);
  55391. },
  55392. tryUrl$0() {
  55393. var buffer, _0_0, t2, _this = this,
  55394. t1 = _this.scanner,
  55395. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55396. if (!_this.scanIdentifier$1("url"))
  55397. return null;
  55398. if (!t1.scanChar$1(40)) {
  55399. t1.set$state(start);
  55400. return null;
  55401. }
  55402. _this.whitespace$0();
  55403. buffer = new A.StringBuffer("");
  55404. buffer._contents = "" + "url(";
  55405. for (; true;) {
  55406. _0_0 = t1.peekChar$0();
  55407. if (_0_0 == null)
  55408. break;
  55409. if (92 === _0_0) {
  55410. buffer._contents += _this.escape$0();
  55411. continue;
  55412. }
  55413. if (37 !== _0_0)
  55414. if (38 !== _0_0)
  55415. if (35 !== _0_0)
  55416. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  55417. else
  55418. t2 = true;
  55419. else
  55420. t2 = true;
  55421. else
  55422. t2 = true;
  55423. if (t2) {
  55424. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55425. continue;
  55426. }
  55427. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  55428. _this.whitespace$0();
  55429. if (t1.peekChar$0() !== 41)
  55430. break;
  55431. continue;
  55432. }
  55433. if (41 === _0_0) {
  55434. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  55435. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55436. }
  55437. break;
  55438. }
  55439. t1.set$state(start);
  55440. return null;
  55441. },
  55442. variableName$0() {
  55443. this.scanner.expectChar$1(36);
  55444. return this.identifier$1$normalize(true);
  55445. },
  55446. escape$1$identifierStart(identifierStart) {
  55447. var value, _0_0, i, next, t2, exception,
  55448. _s25_ = "Expected escape sequence.",
  55449. t1 = this.scanner,
  55450. start = t1._string_scanner$_position;
  55451. t1.expectChar$1(92);
  55452. value = 0;
  55453. $label0$1: {
  55454. _0_0 = t1.peekChar$0();
  55455. if (_0_0 == null)
  55456. t1.error$1(0, _s25_);
  55457. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55458. t1.error$1(0, _s25_);
  55459. if (A.CharacterExtension_get_isHex(_0_0)) {
  55460. for (i = 0; i < 6; ++i) {
  55461. next = t1.peekChar$0();
  55462. if (next != null) {
  55463. if (!(next >= 48 && next <= 57))
  55464. if (!(next >= 97 && next <= 102))
  55465. t2 = next >= 65 && next <= 70;
  55466. else
  55467. t2 = true;
  55468. else
  55469. t2 = true;
  55470. t2 = !t2;
  55471. } else
  55472. t2 = true;
  55473. if (t2)
  55474. break;
  55475. value *= 16;
  55476. value += A.asHex(t1.readChar$0());
  55477. }
  55478. this.scanCharIf$1(new A.Parser_escape_closure());
  55479. break $label0$1;
  55480. }
  55481. value = t1.readChar$0();
  55482. }
  55483. if (identifierStart) {
  55484. t2 = value;
  55485. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  55486. } else {
  55487. t2 = value;
  55488. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  55489. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  55490. else
  55491. t2 = true;
  55492. }
  55493. if (t2)
  55494. try {
  55495. t2 = A.Primitives_stringFromCharCode(value);
  55496. return t2;
  55497. } catch (exception) {
  55498. if (type$.RangeError._is(A.unwrapException(exception)))
  55499. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  55500. else
  55501. throw exception;
  55502. }
  55503. else {
  55504. if (!(value <= 31))
  55505. if (!J.$eq$(value, 127))
  55506. if (identifierStart) {
  55507. t1 = value;
  55508. t1 = t1 >= 48 && t1 <= 57;
  55509. } else
  55510. t1 = false;
  55511. else
  55512. t1 = true;
  55513. else
  55514. t1 = true;
  55515. if (t1) {
  55516. t1 = "" + A.Primitives_stringFromCharCode(92);
  55517. if (value > 15)
  55518. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  55519. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  55520. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55521. } else
  55522. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  55523. }
  55524. },
  55525. escape$0() {
  55526. return this.escape$1$identifierStart(false);
  55527. },
  55528. scanCharIf$1(condition) {
  55529. var t1 = this.scanner;
  55530. if (!condition.call$1(t1.peekChar$0()))
  55531. return false;
  55532. t1.readChar$0();
  55533. return true;
  55534. },
  55535. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  55536. var t3,
  55537. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  55538. t2 = this.scanner,
  55539. _0_0 = t2.peekChar$0();
  55540. if (_0_0 != null) {
  55541. t3 = t1.call$1(_0_0);
  55542. t3 = t3;
  55543. } else
  55544. t3 = false;
  55545. if (t3) {
  55546. t2.readChar$0();
  55547. return true;
  55548. }
  55549. if (92 === _0_0) {
  55550. t3 = t2._string_scanner$_position;
  55551. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  55552. return true;
  55553. t2.set$state(new A._SpanScannerState(t2, t3));
  55554. }
  55555. return false;
  55556. },
  55557. scanIdentChar$1(char) {
  55558. return this.scanIdentChar$2$caseSensitive(char, false);
  55559. },
  55560. expectIdentChar$1(letter) {
  55561. var t1;
  55562. if (this.scanIdentChar$2$caseSensitive(letter, false))
  55563. return;
  55564. t1 = this.scanner;
  55565. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  55566. },
  55567. lookingAtIdentifier$1($forward) {
  55568. var t1, _1_0, t2, _0_0;
  55569. if ($forward == null)
  55570. $forward = 0;
  55571. t1 = this.scanner;
  55572. _1_0 = t1.peekChar$1($forward);
  55573. $label0$0: {
  55574. if (A._isInt(_1_0))
  55575. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  55576. else
  55577. t2 = false;
  55578. if (t2 || 92 === _1_0) {
  55579. t1 = true;
  55580. break $label0$0;
  55581. }
  55582. if (45 === _1_0) {
  55583. _0_0 = t1.peekChar$1($forward + 1);
  55584. $label1$1: {
  55585. if (A._isInt(_0_0))
  55586. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  55587. else
  55588. t1 = false;
  55589. if (t1 || 92 === _0_0 || 45 === _0_0) {
  55590. t1 = true;
  55591. break $label1$1;
  55592. }
  55593. t1 = false;
  55594. break $label1$1;
  55595. }
  55596. break $label0$0;
  55597. }
  55598. t1 = false;
  55599. break $label0$0;
  55600. }
  55601. return t1;
  55602. },
  55603. lookingAtIdentifier$0() {
  55604. return this.lookingAtIdentifier$1(null);
  55605. },
  55606. lookingAtIdentifierBody$0() {
  55607. var t1,
  55608. next = this.scanner.peekChar$0();
  55609. if (next != null) {
  55610. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  55611. t1 = next >= 48 && next <= 57 || next === 45;
  55612. else
  55613. t1 = true;
  55614. t1 = t1 || next === 92;
  55615. } else
  55616. t1 = false;
  55617. return t1;
  55618. },
  55619. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  55620. var t1, t2, _this = this;
  55621. if (!_this.lookingAtIdentifier$0())
  55622. return false;
  55623. t1 = _this.scanner;
  55624. t2 = t1._string_scanner$_position;
  55625. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  55626. return true;
  55627. else {
  55628. t1.set$state(new A._SpanScannerState(t1, t2));
  55629. return false;
  55630. }
  55631. },
  55632. scanIdentifier$1(text) {
  55633. return this.scanIdentifier$2$caseSensitive(text, false);
  55634. },
  55635. _consumeIdentifier$2(text, caseSensitive) {
  55636. var t1, t2, t3;
  55637. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  55638. t3 = t1.__internal$_current;
  55639. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  55640. return false;
  55641. }
  55642. return true;
  55643. },
  55644. expectIdentifier$2$name(text, $name) {
  55645. var t1, start, t2, t3, t4, t5, t6;
  55646. if ($name == null)
  55647. $name = '"' + text + '"';
  55648. t1 = this.scanner;
  55649. start = t1._string_scanner$_position;
  55650. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  55651. t6 = t2.__internal$_current;
  55652. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  55653. continue;
  55654. t1.error$2$position(0, t5, start);
  55655. }
  55656. if (!this.lookingAtIdentifierBody$0())
  55657. return;
  55658. t1.error$2$position(0, t4, start);
  55659. },
  55660. expectIdentifier$1(text) {
  55661. return this.expectIdentifier$2$name(text, null);
  55662. },
  55663. rawText$1(consumer) {
  55664. var t1 = this.scanner,
  55665. start = t1._string_scanner$_position;
  55666. consumer.call$0();
  55667. return t1.substring$1(0, start);
  55668. },
  55669. spanFrom$1(state) {
  55670. var span = this.scanner.spanFrom$1(state);
  55671. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  55672. },
  55673. error$3(_, message, span, trace) {
  55674. var exception = new A.StringScannerException(this.scanner.string, message, span);
  55675. if (trace == null)
  55676. throw A.wrapException(exception);
  55677. else
  55678. A.throwWithTrace(exception, this.get$error(this), trace);
  55679. },
  55680. error$2(_, message, span) {
  55681. return this.error$3(0, message, span, null);
  55682. },
  55683. withErrorMessage$1$2(message, callback) {
  55684. var error, stackTrace, t1, exception;
  55685. try {
  55686. t1 = callback.call$0();
  55687. return t1;
  55688. } catch (exception) {
  55689. t1 = A.unwrapException(exception);
  55690. if (type$.SourceSpanFormatException._is(t1)) {
  55691. error = t1;
  55692. stackTrace = A.getTraceFromException(exception);
  55693. t1 = J.get$span$z(error);
  55694. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  55695. } else
  55696. throw exception;
  55697. }
  55698. },
  55699. withErrorMessage$2(message, callback) {
  55700. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  55701. },
  55702. wrapSpanFormatException$1$1(callback) {
  55703. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  55704. _s8_ = "expected";
  55705. try {
  55706. try {
  55707. t3 = callback.call$0();
  55708. return t3;
  55709. } catch (exception) {
  55710. t3 = A.unwrapException(exception);
  55711. if (type$.SourceSpanFormatException._is(t3)) {
  55712. error = t3;
  55713. stackTrace = A.getTraceFromException(exception);
  55714. map = _this._interpolationMap;
  55715. if (map == null)
  55716. throw exception;
  55717. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  55718. } else
  55719. throw exception;
  55720. }
  55721. } catch (exception) {
  55722. t3 = A.unwrapException(exception);
  55723. if (type$.SourceSpanFormatException._is(t3)) {
  55724. error0 = t3;
  55725. stackTrace0 = A.getTraceFromException(exception);
  55726. span = J.get$span$z(error0);
  55727. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  55728. span = _this._adjustExceptionSpan$1(span);
  55729. t1 = error0._span_exception$_message;
  55730. t2 = span;
  55731. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error0, stackTrace0);
  55732. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  55733. error1 = t3;
  55734. stackTrace1 = A.getTraceFromException(exception);
  55735. span0 = J.get$span$z(error1);
  55736. t3 = type$.FileSpan;
  55737. t4 = type$.String;
  55738. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  55739. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  55740. span0 = _this._adjustExceptionSpan$1(span0);
  55741. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  55742. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55743. t2 = t3.get$current(t3);
  55744. span1 = null;
  55745. description = null;
  55746. _0_0 = t2;
  55747. span1 = _0_0._0;
  55748. description = _0_0._1;
  55749. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span1), description);
  55750. }
  55751. secondarySpans = t1;
  55752. }
  55753. A.throwWithTrace(A.MultiSpanSassFormatException$(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  55754. } else
  55755. throw exception;
  55756. }
  55757. },
  55758. wrapSpanFormatException$1(callback) {
  55759. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  55760. },
  55761. _adjustExceptionSpan$1(span) {
  55762. var start, t1;
  55763. if (span.get$length(span) > 0)
  55764. return span;
  55765. start = this._firstNewlineBefore$1(span.get$start(span));
  55766. if (start.$eq(0, span.get$start(span)))
  55767. t1 = span;
  55768. else {
  55769. t1 = start.offset;
  55770. t1 = A._FileSpan$(start.file, t1, t1);
  55771. }
  55772. return t1;
  55773. },
  55774. _firstNewlineBefore$1($location) {
  55775. var lastNewline, codeUnit,
  55776. t1 = $location.file,
  55777. t2 = $location.offset,
  55778. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  55779. index = t2 - 1;
  55780. for (lastNewline = null; index >= 0;) {
  55781. codeUnit = text.charCodeAt(index);
  55782. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  55783. if (lastNewline == null)
  55784. t1 = $location;
  55785. else {
  55786. t2 = new A.FileLocation(t1, lastNewline);
  55787. t2.FileLocation$_$2(t1, lastNewline);
  55788. t1 = t2;
  55789. }
  55790. return t1;
  55791. }
  55792. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  55793. lastNewline = index;
  55794. --index;
  55795. }
  55796. return $location;
  55797. }
  55798. };
  55799. A.Parser__parseIdentifier_closure.prototype = {
  55800. call$0() {
  55801. var t1 = this.$this,
  55802. result = t1.identifier$0();
  55803. t1.scanner.expectDone$0();
  55804. return result;
  55805. },
  55806. $signature: 27
  55807. };
  55808. A.Parser_escape_closure.prototype = {
  55809. call$1(char) {
  55810. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  55811. },
  55812. $signature: 28
  55813. };
  55814. A.Parser_scanIdentChar_matches.prototype = {
  55815. call$1(actual) {
  55816. var t1 = this.char;
  55817. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  55818. },
  55819. $signature: 46
  55820. };
  55821. A.Parser_spanFrom_closure.prototype = {
  55822. call$0() {
  55823. return this.$this._interpolationMap.mapSpan$1(this.span);
  55824. },
  55825. $signature: 25
  55826. };
  55827. A.SassParser.prototype = {
  55828. get$currentIndentation() {
  55829. return this._currentIndentation;
  55830. },
  55831. get$indented() {
  55832. return true;
  55833. },
  55834. styleRuleSelector$0() {
  55835. var t4,
  55836. t1 = this.scanner,
  55837. t2 = t1._string_scanner$_position,
  55838. t3 = new A.StringBuffer(""),
  55839. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  55840. do {
  55841. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  55842. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  55843. } 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()));
  55844. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55845. },
  55846. expectStatementSeparator$1($name) {
  55847. var t1, _this = this;
  55848. if (!_this.atEndOfStatement$0())
  55849. _this._expectNewline$0();
  55850. if (_this._peekIndentation$0() <= _this._currentIndentation)
  55851. return;
  55852. t1 = $name == null ? "here" : "beneath a " + $name;
  55853. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  55854. },
  55855. expectStatementSeparator$0() {
  55856. return this.expectStatementSeparator$1(null);
  55857. },
  55858. atEndOfStatement$0() {
  55859. var t1 = this.scanner.peekChar$0();
  55860. if (t1 == null)
  55861. t1 = null;
  55862. else
  55863. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  55864. return t1 !== false;
  55865. },
  55866. lookingAtChildren$0() {
  55867. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  55868. },
  55869. importArgument$0() {
  55870. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  55871. $label0$0: {
  55872. t1 = _this.scanner;
  55873. _0_0 = t1.peekChar$0();
  55874. if (117 === _0_0 || 85 === _0_0) {
  55875. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55876. if (_this.scanIdentifier$1("url"))
  55877. if (t1.scanChar$1(40)) {
  55878. t1.set$state(start);
  55879. return _this.super$StylesheetParser$importArgument();
  55880. } else
  55881. t1.set$state(start);
  55882. break $label0$0;
  55883. }
  55884. if (39 === _0_0 || 34 === _0_0)
  55885. return _this.super$StylesheetParser$importArgument();
  55886. }
  55887. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55888. next = t1.peekChar$0();
  55889. while (true) {
  55890. if (next != null)
  55891. if (next !== 44)
  55892. if (next !== 59)
  55893. t2 = !(next === 10 || next === 13 || next === 12);
  55894. else
  55895. t2 = false;
  55896. else
  55897. t2 = false;
  55898. else
  55899. t2 = false;
  55900. if (!t2)
  55901. break;
  55902. t1.readChar$0();
  55903. next = t1.peekChar$0();
  55904. }
  55905. url = t1.substring$1(0, start.position);
  55906. span = t1.spanFrom$1(start);
  55907. if (_this.isPlainImportUrl$1(url))
  55908. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  55909. else
  55910. try {
  55911. t1 = _this.parseImportUrl$1(url);
  55912. return new A.DynamicImport(t1, span);
  55913. } catch (exception) {
  55914. t1 = A.unwrapException(exception);
  55915. if (type$.FormatException._is(t1)) {
  55916. innerError = t1;
  55917. stackTrace = A.getTraceFromException(exception);
  55918. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  55919. } else
  55920. throw exception;
  55921. }
  55922. },
  55923. scanElse$1(ifIndentation) {
  55924. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  55925. if (_this._peekIndentation$0() !== ifIndentation)
  55926. return false;
  55927. t1 = _this.scanner;
  55928. t2 = t1._string_scanner$_position;
  55929. startIndentation = _this._currentIndentation;
  55930. startNextIndentation = _this._nextIndentation;
  55931. startNextIndentationEnd = _this._nextIndentationEnd;
  55932. _this._readIndentation$0();
  55933. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  55934. return true;
  55935. t1.set$state(new A._SpanScannerState(t1, t2));
  55936. _this._currentIndentation = startIndentation;
  55937. _this._nextIndentation = startNextIndentation;
  55938. _this._nextIndentationEnd = startNextIndentationEnd;
  55939. return false;
  55940. },
  55941. children$1(_, child) {
  55942. var children = A._setArrayType([], type$.JSArray_Statement);
  55943. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  55944. return children;
  55945. },
  55946. statements$1(statement) {
  55947. var statements, t2, _1_0,
  55948. t1 = this.scanner,
  55949. _0_0 = t1.peekChar$0();
  55950. if (9 === _0_0 || 32 === _0_0)
  55951. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  55952. statements = A._setArrayType([], type$.JSArray_Statement);
  55953. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  55954. _1_0 = this._child$1(statement);
  55955. if (_1_0 != null)
  55956. statements.push(_1_0);
  55957. this._readIndentation$0();
  55958. }
  55959. return statements;
  55960. },
  55961. _child$1(child) {
  55962. var _0_0, _this = this,
  55963. t1 = _this.scanner,
  55964. _1_0 = t1.peekChar$0();
  55965. $label0$0: {
  55966. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  55967. t1 = null;
  55968. break $label0$0;
  55969. }
  55970. if (36 === _1_0) {
  55971. t1 = _this.variableDeclarationWithoutNamespace$0();
  55972. break $label0$0;
  55973. }
  55974. if (47 === _1_0) {
  55975. _0_0 = t1.peekChar$1(1);
  55976. $label1$1: {
  55977. if (47 === _0_0) {
  55978. t1 = _this._silentComment$0();
  55979. break $label1$1;
  55980. }
  55981. if (42 === _0_0) {
  55982. t1 = _this._loudComment$0();
  55983. break $label1$1;
  55984. }
  55985. t1 = child.call$0();
  55986. break $label1$1;
  55987. }
  55988. break $label0$0;
  55989. }
  55990. t1 = child.call$0();
  55991. break $label0$0;
  55992. }
  55993. return t1;
  55994. },
  55995. _silentComment$0() {
  55996. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  55997. t1 = _this.scanner,
  55998. t2 = t1._string_scanner$_position;
  55999. t1.expect$1("//");
  56000. buffer = new A.StringBuffer("");
  56001. parentIndentation = _this._currentIndentation;
  56002. t3 = t1.string.length;
  56003. t4 = 1 + parentIndentation;
  56004. t5 = 2 + parentIndentation;
  56005. $label0$0:
  56006. do {
  56007. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  56008. for (i = commentPrefix.length; true;) {
  56009. t6 = buffer._contents += commentPrefix;
  56010. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  56011. t6 += A.Primitives_stringFromCharCode(32);
  56012. buffer._contents = t6;
  56013. }
  56014. while (true) {
  56015. if (t1._string_scanner$_position !== t3) {
  56016. t7 = t1.peekChar$0();
  56017. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  56018. } else
  56019. t7 = false;
  56020. if (!t7)
  56021. break;
  56022. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56023. buffer._contents = t6;
  56024. }
  56025. buffer._contents = t6 + "\n";
  56026. if (_this._peekIndentation$0() < parentIndentation)
  56027. break $label0$0;
  56028. if (_this._peekIndentation$0() === parentIndentation) {
  56029. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  56030. _this._readIndentation$0();
  56031. break;
  56032. }
  56033. _this._readIndentation$0();
  56034. }
  56035. } while (t1.scan$1("//"));
  56036. t3 = buffer._contents;
  56037. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56038. },
  56039. _loudComment$0() {
  56040. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  56041. t1 = _this.scanner,
  56042. t2 = t1._string_scanner$_position;
  56043. t1.expect$1("/*");
  56044. t3 = new A.StringBuffer("");
  56045. t4 = A._setArrayType([], type$.JSArray_Object);
  56046. buffer = new A.InterpolationBuffer(t3, t4);
  56047. t3._contents = "" + "/*";
  56048. parentIndentation = _this._currentIndentation;
  56049. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  56050. if (first) {
  56051. beginningOfComment = t1._string_scanner$_position;
  56052. _this.spaces$0();
  56053. t7 = t1.peekChar$0();
  56054. if (t7 === 10 || t7 === 13 || t7 === 12) {
  56055. _this._readIndentation$0();
  56056. t3._contents += A.Primitives_stringFromCharCode(32);
  56057. } else {
  56058. end = t1._string_scanner$_position;
  56059. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  56060. }
  56061. } else {
  56062. t7 = t3._contents += "\n";
  56063. t3._contents = t7 + " * ";
  56064. }
  56065. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i)
  56066. t3._contents += A.Primitives_stringFromCharCode(32);
  56067. for (; t1._string_scanner$_position !== t6;) {
  56068. _0_0 = t1.peekChar$0();
  56069. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  56070. break;
  56071. if (35 === _0_0) {
  56072. if (t1.peekChar$1(1) === 123) {
  56073. t7 = _this.singleInterpolation$0();
  56074. buffer._flushText$0();
  56075. t4.push(t7);
  56076. } else
  56077. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56078. continue;
  56079. }
  56080. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56081. }
  56082. if (_this._peekIndentation$0() <= parentIndentation)
  56083. break;
  56084. for (; _this._lookingAtDoubleNewline$0();) {
  56085. _this._expectNewline$0();
  56086. t7 = t3._contents += "\n";
  56087. t3._contents = t7 + " *";
  56088. }
  56089. _this._readIndentation$0();
  56090. }
  56091. t4 = t3._contents;
  56092. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  56093. t3._contents += " */";
  56094. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  56095. },
  56096. whitespaceWithoutComments$0() {
  56097. var t1, t2, next;
  56098. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  56099. next = t1.peekChar$0();
  56100. if (next !== 9 && next !== 32)
  56101. break;
  56102. t1.readChar$0();
  56103. }
  56104. },
  56105. loudComment$0() {
  56106. var next,
  56107. t1 = this.scanner;
  56108. t1.expect$1("/*");
  56109. for (; true;) {
  56110. next = t1.readChar$0();
  56111. if (next === 10 || next === 13 || next === 12)
  56112. t1.error$1(0, "expected */.");
  56113. if (next !== 42)
  56114. continue;
  56115. do
  56116. next = t1.readChar$0();
  56117. while (next === 42);
  56118. if (next === 47)
  56119. break;
  56120. }
  56121. },
  56122. _expectNewline$0() {
  56123. var t1 = this.scanner,
  56124. _0_0 = t1.peekChar$0();
  56125. if (59 === _0_0)
  56126. t1.error$1(0, string$.semico);
  56127. if (13 === _0_0) {
  56128. t1.readChar$0();
  56129. if (t1.peekChar$0() === 10)
  56130. t1.readChar$0();
  56131. return;
  56132. }
  56133. if (10 === _0_0 || 12 === _0_0) {
  56134. t1.readChar$0();
  56135. return;
  56136. }
  56137. t1.error$1(0, "expected newline.");
  56138. },
  56139. _lookingAtDoubleNewline$0() {
  56140. var _0_0,
  56141. t1 = this.scanner,
  56142. _1_0 = t1.peekChar$0();
  56143. $label1$1: {
  56144. if (13 === _1_0) {
  56145. _0_0 = t1.peekChar$1(1);
  56146. $label0$0: {
  56147. if (10 === _0_0) {
  56148. t1 = t1.peekChar$1(2);
  56149. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56150. break $label0$0;
  56151. }
  56152. if (13 === _0_0 || 12 === _0_0) {
  56153. t1 = true;
  56154. break $label0$0;
  56155. }
  56156. t1 = false;
  56157. break $label0$0;
  56158. }
  56159. break $label1$1;
  56160. }
  56161. if (10 === _1_0 || 12 === _1_0) {
  56162. t1 = t1.peekChar$1(1);
  56163. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56164. break $label1$1;
  56165. }
  56166. t1 = false;
  56167. break $label1$1;
  56168. }
  56169. return t1;
  56170. },
  56171. _whileIndentedLower$1(body) {
  56172. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  56173. parentIndentation = _this._currentIndentation;
  56174. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  56175. indentation = _this._readIndentation$0();
  56176. if (childIndentation == null)
  56177. childIndentation = indentation;
  56178. if (childIndentation !== indentation) {
  56179. t3 = t1._string_scanner$_position;
  56180. t4 = t2.getColumn$1(t3);
  56181. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  56182. }
  56183. body.call$0();
  56184. }
  56185. },
  56186. _readIndentation$0() {
  56187. var t1, _this = this,
  56188. currentIndentation = _this._nextIndentation;
  56189. if (currentIndentation == null)
  56190. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  56191. _this._currentIndentation = currentIndentation;
  56192. t1 = _this._nextIndentationEnd;
  56193. t1.toString;
  56194. _this.scanner.set$state(t1);
  56195. _this._nextIndentationEnd = _this._nextIndentation = null;
  56196. return currentIndentation;
  56197. },
  56198. _peekIndentation$0() {
  56199. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  56200. _0_0 = _this._nextIndentation;
  56201. if (_0_0 != null)
  56202. return _0_0;
  56203. t1 = _this.scanner;
  56204. t2 = t1._string_scanner$_position;
  56205. t3 = t1.string.length;
  56206. if (t2 === t3) {
  56207. _this._nextIndentation = 0;
  56208. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  56209. return 0;
  56210. }
  56211. start = new A._SpanScannerState(t1, t2);
  56212. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  56213. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  56214. containsTab = A._Cell$();
  56215. containsSpace = A._Cell$();
  56216. nextIndentation = A._Cell$();
  56217. t2 = nextIndentation.__late_helper$_name;
  56218. do {
  56219. containsSpace._value = containsTab._value = false;
  56220. nextIndentation._value = 0;
  56221. for (; true;) {
  56222. $label0$0: {
  56223. _1_0 = t1.peekChar$0();
  56224. if (32 === _1_0) {
  56225. containsSpace._value = true;
  56226. break $label0$0;
  56227. }
  56228. if (9 === _1_0) {
  56229. containsTab._value = true;
  56230. break $label0$0;
  56231. }
  56232. break;
  56233. }
  56234. t4 = nextIndentation._value;
  56235. if (t4 === nextIndentation)
  56236. A.throwExpression(A.LateError$localNI(t2));
  56237. nextIndentation._value = t4 + 1;
  56238. t1.readChar$0();
  56239. }
  56240. t4 = t1._string_scanner$_position;
  56241. if (t4 === t3) {
  56242. _this._nextIndentation = 0;
  56243. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  56244. t1.set$state(start);
  56245. return 0;
  56246. }
  56247. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  56248. t2 = containsTab._readLocal$0();
  56249. t3 = containsSpace._readLocal$0();
  56250. if (t2) {
  56251. if (t3) {
  56252. t2 = t1._string_scanner$_position;
  56253. t3 = t1._sourceFile;
  56254. t4 = t3.getColumn$1(t2);
  56255. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56256. } else if (_this._spaces === true) {
  56257. t2 = t1._string_scanner$_position;
  56258. t3 = t1._sourceFile;
  56259. t4 = t3.getColumn$1(t2);
  56260. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56261. }
  56262. } else if (t3 && _this._spaces === false) {
  56263. t2 = t1._string_scanner$_position;
  56264. t3 = t1._sourceFile;
  56265. t4 = t3.getColumn$1(t2);
  56266. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56267. }
  56268. _this._nextIndentation = nextIndentation._readLocal$0();
  56269. if (nextIndentation._readLocal$0() > 0)
  56270. if (_this._spaces == null)
  56271. _this._spaces = containsSpace._readLocal$0();
  56272. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56273. t1.set$state(start);
  56274. return nextIndentation._readLocal$0();
  56275. }
  56276. };
  56277. A.SassParser_styleRuleSelector_closure.prototype = {
  56278. call$1(char) {
  56279. return char === 10 || char === 13 || char === 12;
  56280. },
  56281. $signature: 28
  56282. };
  56283. A.SassParser_children_closure.prototype = {
  56284. call$0() {
  56285. var _0_0 = this.$this._child$1(this.child);
  56286. if (_0_0 != null)
  56287. this.children.push(_0_0);
  56288. },
  56289. $signature: 0
  56290. };
  56291. A.SassParser__peekIndentation_closure.prototype = {
  56292. call$1(char) {
  56293. return char === 10 || char === 13 || char === 12;
  56294. },
  56295. $signature: 28
  56296. };
  56297. A.SassParser__peekIndentation_closure0.prototype = {
  56298. call$1(char) {
  56299. return char === 10 || char === 13 || char === 12;
  56300. },
  56301. $signature: 28
  56302. };
  56303. A.ScssParser.prototype = {
  56304. get$indented() {
  56305. return false;
  56306. },
  56307. get$currentIndentation() {
  56308. return 0;
  56309. },
  56310. styleRuleSelector$0() {
  56311. return this.almostAnyValue$0();
  56312. },
  56313. expectStatementSeparator$1($name) {
  56314. var t1, _0_0;
  56315. this.whitespaceWithoutComments$0();
  56316. t1 = this.scanner;
  56317. if (t1._string_scanner$_position === t1.string.length)
  56318. return;
  56319. _0_0 = t1.peekChar$0();
  56320. if (59 === _0_0 || 125 === _0_0)
  56321. return;
  56322. t1.expectChar$1(59);
  56323. },
  56324. expectStatementSeparator$0() {
  56325. return this.expectStatementSeparator$1(null);
  56326. },
  56327. atEndOfStatement$0() {
  56328. var next = this.scanner.peekChar$0();
  56329. return next == null || next === 59 || next === 125 || next === 123;
  56330. },
  56331. lookingAtChildren$0() {
  56332. return this.scanner.peekChar$0() === 123;
  56333. },
  56334. scanElse$1(ifIndentation) {
  56335. var t3, _this = this,
  56336. t1 = _this.scanner,
  56337. t2 = t1._string_scanner$_position;
  56338. _this.whitespace$0();
  56339. t3 = t1._string_scanner$_position;
  56340. if (t1.scanChar$1(64)) {
  56341. if (_this.scanIdentifier$2$caseSensitive("else", true))
  56342. return true;
  56343. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  56344. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_JAZ, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  56345. t1.set$position(t1._string_scanner$_position - 2);
  56346. return true;
  56347. }
  56348. }
  56349. t1.set$state(new A._SpanScannerState(t1, t2));
  56350. return false;
  56351. },
  56352. children$1(_, child) {
  56353. var children, _this = this,
  56354. t1 = _this.scanner;
  56355. t1.expectChar$1(123);
  56356. _this.whitespaceWithoutComments$0();
  56357. children = A._setArrayType([], type$.JSArray_Statement);
  56358. for (; true;)
  56359. switch (t1.peekChar$0()) {
  56360. case 36:
  56361. children.push(_this.variableDeclarationWithoutNamespace$0());
  56362. break;
  56363. case 47:
  56364. switch (t1.peekChar$1(1)) {
  56365. case 47:
  56366. children.push(_this._scss$_silentComment$0());
  56367. _this.whitespaceWithoutComments$0();
  56368. break;
  56369. case 42:
  56370. children.push(_this._scss$_loudComment$0());
  56371. _this.whitespaceWithoutComments$0();
  56372. break;
  56373. default:
  56374. children.push(child.call$0());
  56375. }
  56376. break;
  56377. case 59:
  56378. t1.readChar$0();
  56379. _this.whitespaceWithoutComments$0();
  56380. break;
  56381. case 125:
  56382. t1.expectChar$1(125);
  56383. return children;
  56384. default:
  56385. children.push(child.call$0());
  56386. }
  56387. },
  56388. statements$1(statement) {
  56389. var t1, t2, _0_0, _1_0, _this = this,
  56390. statements = A._setArrayType([], type$.JSArray_Statement);
  56391. _this.whitespaceWithoutComments$0();
  56392. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  56393. switch (t1.peekChar$0()) {
  56394. case 36:
  56395. statements.push(_this.variableDeclarationWithoutNamespace$0());
  56396. break;
  56397. case 47:
  56398. switch (t1.peekChar$1(1)) {
  56399. case 47:
  56400. statements.push(_this._scss$_silentComment$0());
  56401. _this.whitespaceWithoutComments$0();
  56402. break;
  56403. case 42:
  56404. statements.push(_this._scss$_loudComment$0());
  56405. _this.whitespaceWithoutComments$0();
  56406. break;
  56407. default:
  56408. _0_0 = statement.call$0();
  56409. if (_0_0 != null)
  56410. statements.push(_0_0);
  56411. }
  56412. break;
  56413. case 59:
  56414. t1.readChar$0();
  56415. _this.whitespaceWithoutComments$0();
  56416. break;
  56417. default:
  56418. _1_0 = statement.call$0();
  56419. if (_1_0 != null)
  56420. statements.push(_1_0);
  56421. }
  56422. return statements;
  56423. },
  56424. _scss$_silentComment$0() {
  56425. var t2, t3, _this = this,
  56426. t1 = _this.scanner,
  56427. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56428. t1.expect$1("//");
  56429. t2 = t1.string.length;
  56430. do {
  56431. while (true) {
  56432. if (t1._string_scanner$_position !== t2) {
  56433. t3 = t1.readChar$0();
  56434. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  56435. } else
  56436. t3 = false;
  56437. if (!t3)
  56438. break;
  56439. }
  56440. if (t1._string_scanner$_position === t2)
  56441. break;
  56442. _this.spaces$0();
  56443. } while (t1.scan$1("//"));
  56444. if (_this.get$plainCss())
  56445. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  56446. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  56447. },
  56448. _scss$_loudComment$0() {
  56449. var t3, t4, buffer, t5, endPosition, t6, result,
  56450. t1 = this.scanner,
  56451. t2 = t1._string_scanner$_position;
  56452. t1.expect$1("/*");
  56453. t3 = new A.StringBuffer("");
  56454. t4 = A._setArrayType([], type$.JSArray_Object);
  56455. buffer = new A.InterpolationBuffer(t3, t4);
  56456. t3._contents = "" + "/*";
  56457. $label0$1:
  56458. for (; true;)
  56459. switch (t1.peekChar$0()) {
  56460. case 35:
  56461. if (t1.peekChar$1(1) === 123) {
  56462. t5 = this.singleInterpolation$0();
  56463. buffer._flushText$0();
  56464. t4.push(t5);
  56465. } else
  56466. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56467. break;
  56468. case 42:
  56469. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56470. if (t1.peekChar$0() !== 47)
  56471. continue $label0$1;
  56472. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56473. endPosition = t1._string_scanner$_position;
  56474. t5 = t1._sourceFile;
  56475. t6 = new A._SpanScannerState(t1, t2).position;
  56476. t1 = new A._FileSpan(t5, t6, endPosition);
  56477. t1._FileSpan$3(t5, t6, endPosition);
  56478. t6 = type$.Object;
  56479. t5 = A.List_List$of(t4, true, t6);
  56480. t2 = t3._contents;
  56481. if (t2.length !== 0)
  56482. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56483. result = A.List_List$from(t5, false, t6);
  56484. result.fixed$length = Array;
  56485. result.immutable$list = Array;
  56486. t2 = new A.Interpolation(result, t1);
  56487. t2.Interpolation$2(t5, t1);
  56488. return new A.LoudComment(t2);
  56489. case 13:
  56490. t1.readChar$0();
  56491. if (t1.peekChar$0() !== 10)
  56492. t3._contents += A.Primitives_stringFromCharCode(10);
  56493. break;
  56494. case 12:
  56495. t1.readChar$0();
  56496. t3._contents += A.Primitives_stringFromCharCode(10);
  56497. break;
  56498. default:
  56499. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  56500. }
  56501. }
  56502. };
  56503. A.SelectorParser.prototype = {
  56504. parse$0() {
  56505. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  56506. },
  56507. parseCompoundSelector$0() {
  56508. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  56509. },
  56510. _selectorList$0() {
  56511. var t4, t5, lineBreak, _this = this,
  56512. t1 = _this.scanner,
  56513. t2 = t1._string_scanner$_position,
  56514. t3 = t1._sourceFile,
  56515. previousLine = t3.getLine$1(t2),
  56516. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  56517. _this.whitespace$0();
  56518. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  56519. _this.whitespace$0();
  56520. if (t1.peekChar$0() === 44)
  56521. continue;
  56522. t5 = t1._string_scanner$_position;
  56523. if (t5 === t4)
  56524. break;
  56525. lineBreak = t3.getLine$1(t5) !== previousLine;
  56526. if (lineBreak)
  56527. previousLine = t3.getLine$1(t1._string_scanner$_position);
  56528. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  56529. }
  56530. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56531. },
  56532. _complexSelector$1$lineBreak(lineBreak) {
  56533. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  56534. t1 = _this.scanner,
  56535. t2 = t1._string_scanner$_position,
  56536. componentStart = new A._SpanScannerState(t1, t2),
  56537. t3 = type$.JSArray_CssValue_Combinator,
  56538. combinators = A._setArrayType([], t3),
  56539. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  56540. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  56541. _this.whitespace$0();
  56542. _0_0 = t1.peekChar$0();
  56543. if (43 === _0_0) {
  56544. t5 = t1._string_scanner$_position;
  56545. t1.readChar$0();
  56546. combinators.push(new A.CssValue(B.Combinator_4QF, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56547. continue;
  56548. }
  56549. if (62 === _0_0) {
  56550. t5 = t1._string_scanner$_position;
  56551. t1.readChar$0();
  56552. combinators.push(new A.CssValue(B.Combinator_Cht, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56553. continue;
  56554. }
  56555. if (126 === _0_0) {
  56556. t5 = t1._string_scanner$_position;
  56557. t1.readChar$0();
  56558. combinators.push(new A.CssValue(B.Combinator_Htt, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56559. continue;
  56560. }
  56561. if (_0_0 == null)
  56562. break;
  56563. if (91 !== _0_0)
  56564. if (46 !== _0_0)
  56565. if (35 !== _0_0)
  56566. if (37 !== _0_0)
  56567. if (58 !== _0_0)
  56568. if (38 !== _0_0)
  56569. if (42 !== _0_0)
  56570. if (124 !== _0_0)
  56571. t5 = _this.lookingAtIdentifier$0();
  56572. else
  56573. t5 = true;
  56574. else
  56575. t5 = true;
  56576. else
  56577. t5 = true;
  56578. else
  56579. t5 = true;
  56580. else
  56581. t5 = true;
  56582. else
  56583. t5 = true;
  56584. else
  56585. t5 = true;
  56586. else
  56587. t5 = true;
  56588. if (t5) {
  56589. if (lastCompound != null) {
  56590. t5 = _this.spanFrom$1(componentStart);
  56591. result = A.List_List$from(combinators, false, t4);
  56592. result.fixed$length = Array;
  56593. result.immutable$list = Array;
  56594. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  56595. } else if (combinators.length !== 0) {
  56596. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56597. initialCombinators = combinators;
  56598. }
  56599. lastCompound = _this._compoundSelector$0();
  56600. combinators = A._setArrayType([], t3);
  56601. if (t1.peekChar$0() === 38)
  56602. t1.error$1(0, string$.x22x26__ma);
  56603. continue;
  56604. }
  56605. break;
  56606. }
  56607. if (lastCompound != null) {
  56608. t3 = _this.spanFrom$1(componentStart);
  56609. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  56610. } else if (combinators.length !== 0)
  56611. initialCombinators = combinators;
  56612. else
  56613. t1.error$1(0, "expected selector.");
  56614. t3 = initialCombinators == null ? B.List_empty1 : initialCombinators;
  56615. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  56616. },
  56617. _complexSelector$0() {
  56618. return this._complexSelector$1$lineBreak(false);
  56619. },
  56620. _compoundSelector$0() {
  56621. var t3, _this = this,
  56622. t1 = _this.scanner,
  56623. t2 = t1._string_scanner$_position,
  56624. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  56625. while (true) {
  56626. t3 = t1.peekChar$0();
  56627. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  56628. break;
  56629. components.push(_this._simpleSelector$1$allowParent(false));
  56630. }
  56631. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56632. },
  56633. _simpleSelector$1$allowParent(allowParent) {
  56634. var t2, $name, text, t3, suffix, _this = this,
  56635. t1 = _this.scanner,
  56636. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56637. if (allowParent == null)
  56638. allowParent = _this._allowParent;
  56639. switch (t1.peekChar$0()) {
  56640. case 91:
  56641. return _this._attributeSelector$0();
  56642. case 46:
  56643. t2 = t1._string_scanner$_position;
  56644. t1.expectChar$1(46);
  56645. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56646. case 35:
  56647. t2 = t1._string_scanner$_position;
  56648. t1.expectChar$1(35);
  56649. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56650. case 37:
  56651. t2 = t1._string_scanner$_position;
  56652. t1.expectChar$1(37);
  56653. $name = _this.identifier$0();
  56654. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56655. if (!_this._allowPlaceholder)
  56656. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  56657. return new A.PlaceholderSelector($name, t2);
  56658. case 58:
  56659. return _this._pseudoSelector$0();
  56660. case 38:
  56661. t2 = t1._string_scanner$_position;
  56662. t1.expectChar$1(38);
  56663. if (_this.lookingAtIdentifierBody$0()) {
  56664. text = new A.StringBuffer("");
  56665. _this._identifierBody$1(text);
  56666. if (text._contents.length === 0)
  56667. t1.error$1(0, "Expected identifier body.");
  56668. t3 = text._contents;
  56669. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  56670. } else
  56671. suffix = null;
  56672. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56673. if (!allowParent)
  56674. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  56675. return new A.ParentSelector(suffix, t2);
  56676. default:
  56677. return _this._typeOrUniversalSelector$0();
  56678. }
  56679. },
  56680. _simpleSelector$0() {
  56681. return this._simpleSelector$1$allowParent(null);
  56682. },
  56683. _attributeSelector$0() {
  56684. var $name, operator, next, value, modifier, _this = this, _null = null,
  56685. t1 = _this.scanner,
  56686. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56687. t1.expectChar$1(91);
  56688. _this.whitespace$0();
  56689. $name = _this._attributeName$0();
  56690. _this.whitespace$0();
  56691. if (t1.scanChar$1(93))
  56692. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  56693. operator = _this._attributeOperator$0();
  56694. _this.whitespace$0();
  56695. next = t1.peekChar$0();
  56696. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  56697. _this.whitespace$0();
  56698. next = t1.peekChar$0();
  56699. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  56700. t1.expectChar$1(93);
  56701. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  56702. },
  56703. _attributeName$0() {
  56704. var nameOrNamespace, _this = this,
  56705. t1 = _this.scanner;
  56706. if (t1.scanChar$1(42)) {
  56707. t1.expectChar$1(124);
  56708. return new A.QualifiedName(_this.identifier$0(), "*");
  56709. }
  56710. if (t1.scanChar$1(124))
  56711. return new A.QualifiedName(_this.identifier$0(), "");
  56712. nameOrNamespace = _this.identifier$0();
  56713. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  56714. return new A.QualifiedName(nameOrNamespace, null);
  56715. t1.readChar$0();
  56716. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  56717. },
  56718. _attributeOperator$0() {
  56719. var t1 = this.scanner,
  56720. t2 = t1._string_scanner$_position;
  56721. switch (t1.readChar$0()) {
  56722. case 61:
  56723. return B.AttributeOperator_ES6;
  56724. case 126:
  56725. t1.expectChar$1(61);
  56726. return B.AttributeOperator_r60;
  56727. case 124:
  56728. t1.expectChar$1(61);
  56729. return B.AttributeOperator_ivT;
  56730. case 94:
  56731. t1.expectChar$1(61);
  56732. return B.AttributeOperator_eot;
  56733. case 36:
  56734. t1.expectChar$1(61);
  56735. return B.AttributeOperator_BGd;
  56736. case 42:
  56737. t1.expectChar$1(61);
  56738. return B.AttributeOperator_8aB;
  56739. default:
  56740. t1.error$2$position(0, 'Expected "]".', t2);
  56741. }
  56742. },
  56743. _pseudoSelector$0() {
  56744. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  56745. t1 = _this.scanner,
  56746. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56747. t1.expectChar$1(58);
  56748. element = t1.scanChar$1(58);
  56749. $name = _this.identifier$0();
  56750. if (!t1.scanChar$1(40))
  56751. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  56752. _this.whitespace$0();
  56753. unvendored = A.unvendor($name);
  56754. if (element)
  56755. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  56756. selector = _this._selectorList$0();
  56757. argument = _null;
  56758. } else {
  56759. argument = _this.declarationValue$1$allowEmpty(true);
  56760. selector = _null;
  56761. }
  56762. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  56763. selector = _this._selectorList$0();
  56764. argument = _null;
  56765. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  56766. argument = _this._aNPlusB$0();
  56767. _this.whitespace$0();
  56768. t2 = t1.peekChar$1(-1);
  56769. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  56770. _this.expectIdentifier$1("of");
  56771. argument += " of";
  56772. _this.whitespace$0();
  56773. selector = _this._selectorList$0();
  56774. } else
  56775. selector = _null;
  56776. } else {
  56777. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  56778. selector = _null;
  56779. }
  56780. t1.expectChar$1(41);
  56781. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  56782. },
  56783. _aNPlusB$0() {
  56784. var t1, _0_0, t2, $self, next, _this = this;
  56785. $label0$0: {
  56786. t1 = _this.scanner;
  56787. _0_0 = t1.peekChar$0();
  56788. if (101 === _0_0 || 69 === _0_0) {
  56789. _this.expectIdentifier$1("even");
  56790. return "even";
  56791. }
  56792. if (111 === _0_0 || 79 === _0_0) {
  56793. _this.expectIdentifier$1("odd");
  56794. return "odd";
  56795. }
  56796. if (43 === _0_0 || 45 === _0_0) {
  56797. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  56798. break $label0$0;
  56799. }
  56800. t2 = "";
  56801. }
  56802. $self = t1.peekChar$0();
  56803. if ($self != null && $self >= 48 && $self <= 57) {
  56804. do {
  56805. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56806. $self = t1.peekChar$0();
  56807. } while ($self != null && $self >= 48 && $self <= 57);
  56808. _this.whitespace$0();
  56809. if (!_this.scanIdentChar$1(110))
  56810. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56811. } else
  56812. _this.expectIdentChar$1(110);
  56813. t2 += A.Primitives_stringFromCharCode(110);
  56814. _this.whitespace$0();
  56815. next = t1.peekChar$0();
  56816. if (next !== 43 && next !== 45)
  56817. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56818. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56819. _this.whitespace$0();
  56820. $self = t1.peekChar$0();
  56821. if (!($self != null && $self >= 48 && $self <= 57))
  56822. t1.error$1(0, "Expected a number.");
  56823. do {
  56824. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56825. $self = t1.peekChar$0();
  56826. } while ($self != null && $self >= 48 && $self <= 57);
  56827. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56828. },
  56829. _typeOrUniversalSelector$0() {
  56830. var nameOrNamespace, _this = this,
  56831. t1 = _this.scanner,
  56832. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56833. if (t1.scanChar$1(42)) {
  56834. if (!t1.scanChar$1(124))
  56835. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  56836. 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));
  56837. } else if (t1.scanChar$1(124))
  56838. 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));
  56839. nameOrNamespace = _this.identifier$0();
  56840. if (!t1.scanChar$1(124))
  56841. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  56842. else if (t1.scanChar$1(42))
  56843. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  56844. else
  56845. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  56846. }
  56847. };
  56848. A.SelectorParser_parse_closure.prototype = {
  56849. call$0() {
  56850. var t1 = this.$this,
  56851. selector = t1._selectorList$0();
  56852. t1 = t1.scanner;
  56853. if (t1._string_scanner$_position !== t1.string.length)
  56854. t1.error$1(0, "expected selector.");
  56855. return selector;
  56856. },
  56857. $signature: 350
  56858. };
  56859. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  56860. call$0() {
  56861. var t1 = this.$this,
  56862. compound = t1._compoundSelector$0();
  56863. t1 = t1.scanner;
  56864. if (t1._string_scanner$_position !== t1.string.length)
  56865. t1.error$1(0, "expected selector.");
  56866. return compound;
  56867. },
  56868. $signature: 349
  56869. };
  56870. A.StylesheetParser.prototype = {
  56871. parse$0() {
  56872. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  56873. },
  56874. parseArgumentDeclaration$0() {
  56875. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  56876. },
  56877. parseVariableDeclaration$0() {
  56878. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  56879. },
  56880. parseUseRule$0() {
  56881. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  56882. },
  56883. _parseSingleProduction$1$1(production, $T) {
  56884. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  56885. },
  56886. _statement$1$root(root) {
  56887. var t2, _this = this,
  56888. t1 = _this.scanner,
  56889. _0_0 = t1.peekChar$0();
  56890. if (64 === _0_0)
  56891. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  56892. if (43 === _0_0) {
  56893. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  56894. return _this._styleRule$0();
  56895. _this._isUseAllowed = false;
  56896. t2 = t1._string_scanner$_position;
  56897. t1.readChar$0();
  56898. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  56899. }
  56900. if (61 === _0_0) {
  56901. if (!_this.get$indented())
  56902. return _this._styleRule$0();
  56903. _this._isUseAllowed = false;
  56904. t2 = t1._string_scanner$_position;
  56905. t1.readChar$0();
  56906. _this.whitespace$0();
  56907. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  56908. }
  56909. if (125 === _0_0)
  56910. t1.error$2$length(0, 'unmatched "}".', 1);
  56911. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  56912. },
  56913. _statement$0() {
  56914. return this._statement$1$root(false);
  56915. },
  56916. _variableDeclarationWithNamespace$0() {
  56917. var t1 = this.scanner,
  56918. t2 = t1._string_scanner$_position,
  56919. namespace = this.identifier$0();
  56920. t1.expectChar$1(46);
  56921. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  56922. },
  56923. variableDeclarationWithoutNamespace$2(namespace, start_) {
  56924. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  56925. precedingComment = _this.lastSilentComment;
  56926. _this.lastSilentComment = null;
  56927. if (start_ == null) {
  56928. t1 = _this.scanner;
  56929. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56930. } else
  56931. start = start_;
  56932. $name = _this.variableName$0();
  56933. t1 = namespace != null;
  56934. if (t1)
  56935. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  56936. if (_this.get$plainCss())
  56937. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  56938. _this.whitespace$0();
  56939. t2 = _this.scanner;
  56940. t2.expectChar$1(58);
  56941. _this.whitespace$0();
  56942. value = _this._expression$0();
  56943. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  56944. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  56945. $label0$0: {
  56946. _0_0 = _this.identifier$0();
  56947. if ("default" === _0_0) {
  56948. if (guarded) {
  56949. endPosition = t2._string_scanner$_position;
  56950. t4 = t2._sourceFile;
  56951. t5 = flagStart.position;
  56952. t6 = new A._FileSpan(t4, t5, endPosition);
  56953. t6._FileSpan$3(t4, t5, endPosition);
  56954. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_Auo, string$.x21defau, t6, null);
  56955. }
  56956. guarded = true;
  56957. break $label0$0;
  56958. }
  56959. if ("global" === _0_0) {
  56960. if (t1) {
  56961. endPosition = t2._string_scanner$_position;
  56962. t4 = t2._sourceFile;
  56963. t5 = flagStart.position;
  56964. t6 = new A._FileSpan(t4, t5, endPosition);
  56965. t6._FileSpan$3(t4, t5, endPosition);
  56966. _this.error$2(0, string$.x21globai, t6);
  56967. } else if (global) {
  56968. endPosition = t2._string_scanner$_position;
  56969. t4 = t2._sourceFile;
  56970. t5 = flagStart.position;
  56971. t6 = new A._FileSpan(t4, t5, endPosition);
  56972. t6._FileSpan$3(t4, t5, endPosition);
  56973. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_Auo, string$.x21globas, t6, null);
  56974. }
  56975. global = true;
  56976. break $label0$0;
  56977. }
  56978. endPosition = t2._string_scanner$_position;
  56979. t4 = t2._sourceFile;
  56980. t5 = flagStart.position;
  56981. t6 = new A._FileSpan(t4, t5, endPosition);
  56982. t6._FileSpan$3(t4, t5, endPosition);
  56983. _this.error$2(0, "Invalid flag name.", t6);
  56984. }
  56985. _this.whitespace$0();
  56986. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  56987. }
  56988. _this.expectStatementSeparator$1("variable declaration");
  56989. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  56990. if (global)
  56991. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  56992. return declaration;
  56993. },
  56994. variableDeclarationWithoutNamespace$0() {
  56995. return this.variableDeclarationWithoutNamespace$2(null, null);
  56996. },
  56997. _variableDeclarationOrStyleRule$0() {
  56998. var t1, t2, variableOrInterpolation, t3, _this = this;
  56999. if (_this.get$plainCss())
  57000. return _this._styleRule$0();
  57001. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57002. return _this._styleRule$0();
  57003. if (!_this.lookingAtIdentifier$0())
  57004. return _this._styleRule$0();
  57005. t1 = _this.scanner;
  57006. t2 = t1._string_scanner$_position;
  57007. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57008. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57009. t1 = variableOrInterpolation;
  57010. else {
  57011. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  57012. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57013. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  57014. t1 = t2;
  57015. }
  57016. return t1;
  57017. },
  57018. _declarationOrStyleRule$0() {
  57019. var t1, t2, declarationOrBuffer, _this = this;
  57020. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  57021. return _this._propertyOrVariableDeclaration$0();
  57022. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57023. return _this._styleRule$0();
  57024. t1 = _this.scanner;
  57025. t2 = t1._string_scanner$_position;
  57026. declarationOrBuffer = _this._declarationOrBuffer$0();
  57027. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  57028. },
  57029. _declarationOrBuffer$0() {
  57030. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  57031. t2 = _this.scanner,
  57032. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  57033. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  57034. if (_this._lookingAtPotentialPropertyHack$0()) {
  57035. t3 = t2.readChar$0();
  57036. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  57037. t3 = _this.rawText$1(_this.get$whitespace());
  57038. nameBuffer._interpolation_buffer$_text._contents += t3;
  57039. startsWithPunctuation = true;
  57040. } else
  57041. startsWithPunctuation = false;
  57042. if (!_this._lookingAtInterpolatedIdentifier$0())
  57043. return nameBuffer;
  57044. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  57045. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57046. return variableOrInterpolation;
  57047. else
  57048. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57049. _this._isUseAllowed = false;
  57050. if (t2.matches$1("/*")) {
  57051. t3 = _this.rawText$1(_this.get$loudComment());
  57052. nameBuffer._interpolation_buffer$_text._contents += t3;
  57053. }
  57054. midBuffer = new A.StringBuffer("");
  57055. t3 = _this.get$whitespace();
  57056. midBuffer._contents += _this.rawText$1(t3);
  57057. t4 = t2._string_scanner$_position;
  57058. if (!t2.scanChar$1(58)) {
  57059. if (midBuffer._contents.length !== 0)
  57060. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  57061. return nameBuffer;
  57062. }
  57063. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  57064. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  57065. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  57066. t1 = _this._interpolatedDeclarationValue$0();
  57067. _this.expectStatementSeparator$1("custom property");
  57068. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  57069. }
  57070. if (t2.scanChar$1(58)) {
  57071. t1 = nameBuffer;
  57072. t2 = t1._interpolation_buffer$_text;
  57073. t2._contents += A.S(midBuffer);
  57074. t2._contents += A.Primitives_stringFromCharCode(58);
  57075. return t1;
  57076. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  57077. t1 = nameBuffer;
  57078. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  57079. return t1;
  57080. }
  57081. postColonWhitespace = _this.rawText$1(t3);
  57082. if (_this.lookingAtChildren$0())
  57083. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  57084. midBuffer._contents += postColonWhitespace;
  57085. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  57086. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57087. t3 = t1.value = null;
  57088. try {
  57089. t3 = t1.value = _this._expression$0();
  57090. if (_this.lookingAtChildren$0()) {
  57091. if (couldBeSelector)
  57092. _this.expectStatementSeparator$0();
  57093. } else if (!_this.atEndOfStatement$0())
  57094. _this.expectStatementSeparator$0();
  57095. } catch (exception) {
  57096. if (type$.FormatException._is(A.unwrapException(exception))) {
  57097. if (!couldBeSelector)
  57098. throw exception;
  57099. t2.set$state(beforeDeclaration);
  57100. additional = _this.almostAnyValue$0();
  57101. if (!_this.get$indented() && t2.peekChar$0() === 59)
  57102. throw exception;
  57103. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  57104. nameBuffer.addInterpolation$1(additional);
  57105. return nameBuffer;
  57106. } else
  57107. throw exception;
  57108. }
  57109. if (_this.lookingAtChildren$0())
  57110. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  57111. else {
  57112. _this.expectStatementSeparator$0();
  57113. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  57114. }
  57115. },
  57116. _variableDeclarationOrInterpolation$0() {
  57117. var t1, start, identifier, t2, buffer, _this = this;
  57118. if (!_this.lookingAtIdentifier$0())
  57119. return _this.interpolatedIdentifier$0();
  57120. t1 = _this.scanner;
  57121. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57122. identifier = _this.identifier$0();
  57123. if (t1.matches$1(".$")) {
  57124. t1.readChar$0();
  57125. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  57126. } else {
  57127. t2 = new A.StringBuffer("");
  57128. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57129. t2._contents = "" + identifier;
  57130. if (_this._lookingAtInterpolatedIdentifierBody$0())
  57131. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57132. return buffer.interpolation$1(t1.spanFrom$1(start));
  57133. }
  57134. },
  57135. _styleRule$2(buffer, start_) {
  57136. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  57137. _this._isUseAllowed = false;
  57138. if (start_ == null) {
  57139. t2 = _this.scanner;
  57140. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57141. } else
  57142. start = start_;
  57143. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  57144. if (buffer != null) {
  57145. buffer.addInterpolation$1(interpolation);
  57146. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  57147. } else
  57148. t2 = interpolation;
  57149. if (t2.contents.length === 0)
  57150. _this.scanner.error$1(0, 'expected "}".');
  57151. wasInStyleRule = _this._inStyleRule;
  57152. _this._inStyleRule = true;
  57153. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  57154. },
  57155. _styleRule$0() {
  57156. return this._styleRule$2(null, null);
  57157. },
  57158. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  57159. var t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  57160. _s48_ = string$.Nested,
  57161. t1 = {},
  57162. t2 = _this.scanner,
  57163. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57164. t1.name = null;
  57165. if (_this._lookingAtPotentialPropertyHack$0()) {
  57166. t3 = new A.StringBuffer("");
  57167. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  57168. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  57169. t3._contents += _this.rawText$1(_this.get$whitespace());
  57170. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57171. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  57172. } else if (!_this.get$plainCss()) {
  57173. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57174. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57175. return variableOrInterpolation;
  57176. else {
  57177. type$.Interpolation._as(variableOrInterpolation);
  57178. t1.name = variableOrInterpolation;
  57179. }
  57180. t3 = variableOrInterpolation;
  57181. } else {
  57182. $name = _this.interpolatedIdentifier$0();
  57183. t1.name = $name;
  57184. t3 = $name;
  57185. }
  57186. _this.whitespace$0();
  57187. t2.expectChar$1(58);
  57188. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  57189. t1 = _this._interpolatedDeclarationValue$0();
  57190. _this.expectStatementSeparator$1("custom property");
  57191. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  57192. }
  57193. _this.whitespace$0();
  57194. if (_this.lookingAtChildren$0()) {
  57195. if (_this.get$plainCss())
  57196. t2.error$1(0, _s48_);
  57197. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  57198. }
  57199. value = _this._expression$0();
  57200. if (_this.lookingAtChildren$0()) {
  57201. if (_this.get$plainCss())
  57202. t2.error$1(0, _s48_);
  57203. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  57204. } else {
  57205. _this.expectStatementSeparator$0();
  57206. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  57207. }
  57208. },
  57209. _propertyOrVariableDeclaration$0() {
  57210. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  57211. },
  57212. _declarationChild$0() {
  57213. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  57214. },
  57215. atRule$2$root(child, root) {
  57216. var $name, wasUseAllowed, value, optional, _this = this,
  57217. t1 = _this.scanner,
  57218. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57219. t1.expectChar$2$name(64, "@-rule");
  57220. $name = _this.interpolatedIdentifier$0();
  57221. _this.whitespace$0();
  57222. wasUseAllowed = _this._isUseAllowed;
  57223. _this._isUseAllowed = false;
  57224. switch ($name.get$asPlain()) {
  57225. case "at-root":
  57226. return _this._atRootRule$1(start);
  57227. case "content":
  57228. return _this._contentRule$1(start);
  57229. case "debug":
  57230. return _this._debugRule$1(start);
  57231. case "each":
  57232. return _this._eachRule$2(start, child);
  57233. case "else":
  57234. return _this._disallowedAtRule$1(start);
  57235. case "error":
  57236. return _this._errorRule$1(start);
  57237. case "extend":
  57238. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  57239. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  57240. value = _this.almostAnyValue$0();
  57241. optional = t1.scanChar$1(33);
  57242. if (optional)
  57243. _this.expectIdentifier$1("optional");
  57244. _this.expectStatementSeparator$1("@extend rule");
  57245. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  57246. case "for":
  57247. return _this._forRule$2(start, child);
  57248. case "forward":
  57249. _this._isUseAllowed = wasUseAllowed;
  57250. if (!root)
  57251. _this._disallowedAtRule$1(start);
  57252. return _this._forwardRule$1(start);
  57253. case "function":
  57254. return _this._functionRule$1(start);
  57255. case "if":
  57256. return _this._ifRule$2(start, child);
  57257. case "import":
  57258. return _this._importRule$1(start);
  57259. case "include":
  57260. return _this._includeRule$1(start);
  57261. case "media":
  57262. return _this.mediaRule$1(start);
  57263. case "mixin":
  57264. return _this._mixinRule$1(start);
  57265. case "-moz-document":
  57266. return _this.mozDocumentRule$2(start, $name);
  57267. case "return":
  57268. return _this._disallowedAtRule$1(start);
  57269. case "supports":
  57270. return _this.supportsRule$1(start);
  57271. case "use":
  57272. _this._isUseAllowed = wasUseAllowed;
  57273. if (!root)
  57274. _this._disallowedAtRule$1(start);
  57275. return _this._useRule$1(start);
  57276. case "warn":
  57277. return _this._warnRule$1(start);
  57278. case "while":
  57279. return _this._whileRule$2(start, child);
  57280. default:
  57281. return _this.unknownAtRule$2(start, $name);
  57282. }
  57283. },
  57284. _declarationAtRule$0() {
  57285. var _this = this,
  57286. t1 = _this.scanner,
  57287. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57288. _0_0 = _this._plainAtRuleName$0();
  57289. $label0$0: {
  57290. if ("content" === _0_0) {
  57291. t1 = _this._contentRule$1(start);
  57292. break $label0$0;
  57293. }
  57294. if ("debug" === _0_0) {
  57295. t1 = _this._debugRule$1(start);
  57296. break $label0$0;
  57297. }
  57298. if ("each" === _0_0) {
  57299. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  57300. break $label0$0;
  57301. }
  57302. if ("else" === _0_0)
  57303. _this._disallowedAtRule$1(start);
  57304. if ("error" === _0_0) {
  57305. t1 = _this._errorRule$1(start);
  57306. break $label0$0;
  57307. }
  57308. if ("for" === _0_0) {
  57309. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  57310. break $label0$0;
  57311. }
  57312. if ("if" === _0_0) {
  57313. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  57314. break $label0$0;
  57315. }
  57316. if ("include" === _0_0) {
  57317. t1 = _this._includeRule$1(start);
  57318. break $label0$0;
  57319. }
  57320. if ("warn" === _0_0) {
  57321. t1 = _this._warnRule$1(start);
  57322. break $label0$0;
  57323. }
  57324. if ("while" === _0_0) {
  57325. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  57326. break $label0$0;
  57327. }
  57328. t1 = _this._disallowedAtRule$1(start);
  57329. }
  57330. return t1;
  57331. },
  57332. _functionChild$0() {
  57333. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  57334. t1 = _this.scanner;
  57335. if (t1.peekChar$0() !== 64) {
  57336. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57337. try {
  57338. t2 = _this._variableDeclarationWithNamespace$0();
  57339. return t2;
  57340. } catch (exception) {
  57341. t2 = A.unwrapException(exception);
  57342. t3 = type$.SourceSpanFormatException;
  57343. if (t3._is(t2)) {
  57344. variableDeclarationError = t2;
  57345. stackTrace = A.getTraceFromException(exception);
  57346. t1.set$state(state);
  57347. statement = null;
  57348. try {
  57349. statement = _this._declarationOrStyleRule$0();
  57350. } catch (exception) {
  57351. if (t3._is(A.unwrapException(exception)))
  57352. throw A.wrapException(variableDeclarationError);
  57353. else
  57354. throw exception;
  57355. }
  57356. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  57357. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  57358. } else
  57359. throw exception;
  57360. }
  57361. }
  57362. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57363. _0_0 = _this._plainAtRuleName$0();
  57364. $label0$0: {
  57365. if ("debug" === _0_0) {
  57366. t1 = _this._debugRule$1(start);
  57367. break $label0$0;
  57368. }
  57369. if ("each" === _0_0) {
  57370. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  57371. break $label0$0;
  57372. }
  57373. if ("else" === _0_0)
  57374. _this._disallowedAtRule$1(start);
  57375. if ("error" === _0_0) {
  57376. t1 = _this._errorRule$1(start);
  57377. break $label0$0;
  57378. }
  57379. if ("for" === _0_0) {
  57380. t1 = _this._forRule$2(start, _this.get$_functionChild());
  57381. break $label0$0;
  57382. }
  57383. if ("if" === _0_0) {
  57384. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  57385. break $label0$0;
  57386. }
  57387. if ("return" === _0_0) {
  57388. value = _this._expression$0();
  57389. _this.expectStatementSeparator$1("@return rule");
  57390. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  57391. break $label0$0;
  57392. }
  57393. if ("warn" === _0_0) {
  57394. t1 = _this._warnRule$1(start);
  57395. break $label0$0;
  57396. }
  57397. if ("while" === _0_0) {
  57398. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  57399. break $label0$0;
  57400. }
  57401. t1 = _this._disallowedAtRule$1(start);
  57402. }
  57403. return t1;
  57404. },
  57405. _plainAtRuleName$0() {
  57406. this.scanner.expectChar$2$name(64, "@-rule");
  57407. var $name = this.identifier$0();
  57408. this.whitespace$0();
  57409. return $name;
  57410. },
  57411. _atRootRule$1(start) {
  57412. var t2, t3, t4, buffer, t5, query, _this = this,
  57413. t1 = _this.scanner;
  57414. if (t1.peekChar$0() === 40) {
  57415. t2 = t1._string_scanner$_position;
  57416. t3 = new A.StringBuffer("");
  57417. t4 = A._setArrayType([], type$.JSArray_Object);
  57418. buffer = new A.InterpolationBuffer(t3, t4);
  57419. t1.expectChar$1(40);
  57420. t3._contents += A.Primitives_stringFromCharCode(40);
  57421. _this.whitespace$0();
  57422. t5 = _this._expression$0();
  57423. buffer._flushText$0();
  57424. t4.push(t5);
  57425. if (t1.scanChar$1(58)) {
  57426. _this.whitespace$0();
  57427. t3._contents += A.Primitives_stringFromCharCode(58);
  57428. t3._contents += A.Primitives_stringFromCharCode(32);
  57429. t5 = _this._expression$0();
  57430. buffer._flushText$0();
  57431. t4.push(t5);
  57432. }
  57433. t1.expectChar$1(41);
  57434. _this.whitespace$0();
  57435. t3._contents += A.Primitives_stringFromCharCode(41);
  57436. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57437. _this.whitespace$0();
  57438. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  57439. } else if (_this.lookingAtChildren$0())
  57440. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  57441. else
  57442. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  57443. },
  57444. _contentRule$1(start) {
  57445. var t1, $arguments, t2, t3, _this = this;
  57446. if (!_this._stylesheet$_inMixin)
  57447. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  57448. _this.whitespace$0();
  57449. t1 = _this.scanner;
  57450. if (t1.peekChar$0() === 40)
  57451. $arguments = _this._argumentInvocation$1$mixin(true);
  57452. else {
  57453. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57454. t3 = t2.offset;
  57455. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  57456. }
  57457. _this.expectStatementSeparator$1("@content rule");
  57458. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  57459. },
  57460. _debugRule$1(start) {
  57461. var value = this._expression$0();
  57462. this.expectStatementSeparator$1("@debug rule");
  57463. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  57464. },
  57465. _eachRule$2(start, child) {
  57466. var variables, t1, _this = this,
  57467. wasInControlDirective = _this._inControlDirective;
  57468. _this._inControlDirective = true;
  57469. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  57470. _this.whitespace$0();
  57471. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  57472. _this.whitespace$0();
  57473. t1.expectChar$1(36);
  57474. variables.push(_this.identifier$1$normalize(true));
  57475. _this.whitespace$0();
  57476. }
  57477. _this.expectIdentifier$1("in");
  57478. _this.whitespace$0();
  57479. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  57480. },
  57481. _errorRule$1(start) {
  57482. var value = this._expression$0();
  57483. this.expectStatementSeparator$1("@error rule");
  57484. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  57485. },
  57486. _functionRule$1(start) {
  57487. var $name, $arguments, _0_0, _this = this,
  57488. precedingComment = _this.lastSilentComment;
  57489. _this.lastSilentComment = null;
  57490. $name = _this.identifier$1$normalize(true);
  57491. _this.whitespace$0();
  57492. $arguments = _this._argumentDeclaration$0();
  57493. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  57494. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  57495. else if (_this._inControlDirective)
  57496. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  57497. _0_0 = A.unvendor($name);
  57498. 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)
  57499. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  57500. _this.whitespace$0();
  57501. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  57502. },
  57503. _forRule$2(start, child) {
  57504. var variable, from, _this = this, t1 = {},
  57505. wasInControlDirective = _this._inControlDirective;
  57506. _this._inControlDirective = true;
  57507. variable = _this.variableName$0();
  57508. _this.whitespace$0();
  57509. _this.expectIdentifier$1("from");
  57510. _this.whitespace$0();
  57511. t1.exclusive = null;
  57512. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  57513. if (t1.exclusive == null)
  57514. _this.scanner.error$1(0, 'Expected "to" or "through".');
  57515. _this.whitespace$0();
  57516. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  57517. },
  57518. _forwardRule$1(start) {
  57519. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  57520. url = _this._urlString$0();
  57521. _this.whitespace$0();
  57522. if (_this.scanIdentifier$1("as")) {
  57523. _this.whitespace$0();
  57524. prefix = _this.identifier$1$normalize(true);
  57525. _this.scanner.expectChar$1(42);
  57526. _this.whitespace$0();
  57527. } else
  57528. prefix = _null;
  57529. if (_this.scanIdentifier$1("show")) {
  57530. _0_0 = _this._memberList$0();
  57531. shownMixinsAndFunctions = _0_0._0;
  57532. shownVariables = _0_0._1;
  57533. hiddenVariables = _null;
  57534. hiddenMixinsAndFunctions = hiddenVariables;
  57535. } else {
  57536. if (_this.scanIdentifier$1("hide")) {
  57537. _1_0 = _this._memberList$0();
  57538. hiddenMixinsAndFunctions = _1_0._0;
  57539. hiddenVariables = _1_0._1;
  57540. } else {
  57541. hiddenVariables = _null;
  57542. hiddenMixinsAndFunctions = hiddenVariables;
  57543. }
  57544. shownVariables = _null;
  57545. shownMixinsAndFunctions = shownVariables;
  57546. }
  57547. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  57548. _this.expectStatementSeparator$1("@forward rule");
  57549. span = _this.scanner.spanFrom$1(start);
  57550. if (!_this._isUseAllowed)
  57551. _this.error$2(0, string$.x40forwa, span);
  57552. if (shownMixinsAndFunctions != null) {
  57553. shownVariables.toString;
  57554. t1 = type$.String;
  57555. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  57556. t3 = type$.UnmodifiableSetView_String;
  57557. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  57558. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57559. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  57560. } else if (hiddenMixinsAndFunctions != null) {
  57561. hiddenVariables.toString;
  57562. t1 = type$.String;
  57563. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  57564. t3 = type$.UnmodifiableSetView_String;
  57565. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  57566. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57567. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  57568. } else
  57569. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  57570. },
  57571. _memberList$0() {
  57572. var _this = this,
  57573. t1 = type$.String,
  57574. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  57575. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  57576. t1 = _this.scanner;
  57577. do {
  57578. _this.whitespace$0();
  57579. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  57580. _this.whitespace$0();
  57581. } while (t1.scanChar$1(44));
  57582. return new A._Record_2(identifiers, variables);
  57583. },
  57584. _ifRule$2(start, child) {
  57585. var condition, children, clauses, lastClause, span, _this = this,
  57586. ifIndentation = _this.get$currentIndentation(),
  57587. wasInControlDirective = _this._inControlDirective;
  57588. _this._inControlDirective = true;
  57589. condition = _this._expression$0();
  57590. children = _this.children$1(0, child);
  57591. _this.whitespaceWithoutComments$0();
  57592. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  57593. while (true) {
  57594. if (!_this.scanElse$1(ifIndentation)) {
  57595. lastClause = null;
  57596. break;
  57597. }
  57598. _this.whitespace$0();
  57599. if (_this.scanIdentifier$1("if")) {
  57600. _this.whitespace$0();
  57601. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  57602. } else {
  57603. lastClause = A.ElseClause$(_this.children$1(0, child));
  57604. break;
  57605. }
  57606. }
  57607. _this._inControlDirective = wasInControlDirective;
  57608. span = _this.scanner.spanFrom$1(start);
  57609. _this.whitespaceWithoutComments$0();
  57610. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  57611. },
  57612. _importRule$1(start) {
  57613. var argument, t3, _this = this,
  57614. imports = A._setArrayType([], type$.JSArray_Import),
  57615. t1 = _this.scanner,
  57616. t2 = _this.logger;
  57617. do {
  57618. _this.whitespace$0();
  57619. argument = _this.importArgument$0();
  57620. t3 = argument instanceof A.DynamicImport;
  57621. if (t3)
  57622. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_B8J, string$.Sass__, argument.span, null);
  57623. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  57624. _this._disallowedAtRule$1(start);
  57625. imports.push(argument);
  57626. _this.whitespace$0();
  57627. } while (t1.scanChar$1(44));
  57628. _this.expectStatementSeparator$1("@import rule");
  57629. t1 = t1.spanFrom$1(start);
  57630. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  57631. },
  57632. importArgument$0() {
  57633. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  57634. t1 = _this.scanner,
  57635. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57636. _0_0 = t1.peekChar$0();
  57637. if (117 === _0_0 || 85 === _0_0) {
  57638. url = _this.dynamicUrl$0();
  57639. _this.whitespace$0();
  57640. modifiers = _this.tryImportModifiers$0();
  57641. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  57642. }
  57643. url = _this.string$0();
  57644. urlSpan = t1.spanFrom$1(start);
  57645. _this.whitespace$0();
  57646. modifiers = _this.tryImportModifiers$0();
  57647. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  57648. t2 = urlSpan;
  57649. 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));
  57650. } else
  57651. try {
  57652. t1 = _this.parseImportUrl$1(url);
  57653. return new A.DynamicImport(t1, urlSpan);
  57654. } catch (exception) {
  57655. t1 = A.unwrapException(exception);
  57656. if (type$.FormatException._is(t1)) {
  57657. innerError = t1;
  57658. stackTrace = A.getTraceFromException(exception);
  57659. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  57660. } else
  57661. throw exception;
  57662. }
  57663. },
  57664. parseImportUrl$1(url) {
  57665. var t1 = $.$get$windows();
  57666. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  57667. return t1.toUri$1(url).toString$0(0);
  57668. A.Uri_parse(url);
  57669. return url;
  57670. },
  57671. isPlainImportUrl$1(url) {
  57672. var _0_0, t1;
  57673. if (url.length < 5)
  57674. return false;
  57675. if (B.JSString_methods.endsWith$1(url, ".css"))
  57676. return true;
  57677. _0_0 = url.charCodeAt(0);
  57678. $label0$0: {
  57679. if (47 === _0_0) {
  57680. t1 = url.charCodeAt(1) === 47;
  57681. break $label0$0;
  57682. }
  57683. if (104 === _0_0) {
  57684. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  57685. break $label0$0;
  57686. }
  57687. t1 = false;
  57688. break $label0$0;
  57689. }
  57690. return t1;
  57691. },
  57692. tryImportModifiers$0() {
  57693. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  57694. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  57695. return null;
  57696. t1 = _this.scanner;
  57697. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57698. t2 = new A.StringBuffer("");
  57699. t3 = A._setArrayType([], type$.JSArray_Object);
  57700. buffer = new A.InterpolationBuffer(t2, t3);
  57701. for (; true;)
  57702. if (_this._lookingAtInterpolatedIdentifier$0()) {
  57703. if (!(t3.length === 0 && t2._contents.length === 0))
  57704. t2._contents += A.Primitives_stringFromCharCode(32);
  57705. identifier = _this.interpolatedIdentifier$0();
  57706. buffer.addInterpolation$1(identifier);
  57707. t4 = identifier.get$asPlain();
  57708. $name = t4 == null ? null : t4.toLowerCase();
  57709. if ($name !== "and" && t1.scanChar$1(40)) {
  57710. if ($name === "supports") {
  57711. query = _this._importSupportsQuery$0();
  57712. t4 = !(query instanceof A.SupportsDeclaration);
  57713. if (t4)
  57714. t2._contents += A.Primitives_stringFromCharCode(40);
  57715. buffer._flushText$0();
  57716. t3.push(new A.SupportsExpression(query));
  57717. if (t4)
  57718. t2._contents += A.Primitives_stringFromCharCode(41);
  57719. } else {
  57720. t2._contents += A.Primitives_stringFromCharCode(40);
  57721. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  57722. t2._contents += A.Primitives_stringFromCharCode(41);
  57723. }
  57724. t1.expectChar$1(41);
  57725. _this.whitespace$0();
  57726. } else {
  57727. _this.whitespace$0();
  57728. if (t1.scanChar$1(44)) {
  57729. t2._contents += ", ";
  57730. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57731. endPosition = t1._string_scanner$_position;
  57732. t4 = t1._sourceFile;
  57733. t5 = start.position;
  57734. t1 = new A._FileSpan(t4, t5, endPosition);
  57735. t1._FileSpan$3(t4, t5, endPosition);
  57736. t5 = type$.Object;
  57737. t4 = A.List_List$of(t3, true, t5);
  57738. t3 = t2._contents;
  57739. if (t3.length !== 0)
  57740. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  57741. result = A.List_List$from(t4, false, t5);
  57742. result.fixed$length = Array;
  57743. result.immutable$list = Array;
  57744. t2 = new A.Interpolation(result, t1);
  57745. t2.Interpolation$2(t4, t1);
  57746. return t2;
  57747. }
  57748. }
  57749. } else if (t1.peekChar$0() === 40) {
  57750. if (!(t3.length === 0 && t2._contents.length === 0))
  57751. t2._contents += A.Primitives_stringFromCharCode(32);
  57752. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57753. endPosition = t1._string_scanner$_position;
  57754. t1 = t1._sourceFile;
  57755. t4 = start.position;
  57756. t5 = new A._FileSpan(t1, t4, endPosition);
  57757. t5._FileSpan$3(t1, t4, endPosition);
  57758. t4 = type$.Object;
  57759. t3 = A.List_List$of(t3, true, t4);
  57760. t1 = t2._contents;
  57761. if (t1.length !== 0)
  57762. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57763. result = A.List_List$from(t3, false, t4);
  57764. result.fixed$length = Array;
  57765. result.immutable$list = Array;
  57766. t1 = new A.Interpolation(result, t5);
  57767. t1.Interpolation$2(t3, t5);
  57768. return t1;
  57769. } else {
  57770. endPosition = t1._string_scanner$_position;
  57771. t1 = t1._sourceFile;
  57772. t4 = start.position;
  57773. t5 = new A._FileSpan(t1, t4, endPosition);
  57774. t5._FileSpan$3(t1, t4, endPosition);
  57775. t4 = type$.Object;
  57776. t3 = A.List_List$of(t3, true, t4);
  57777. t1 = t2._contents;
  57778. if (t1.length !== 0)
  57779. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57780. result = A.List_List$from(t3, false, t4);
  57781. result.fixed$length = Array;
  57782. result.immutable$list = Array;
  57783. t1 = new A.Interpolation(result, t5);
  57784. t1.Interpolation$2(t3, t5);
  57785. return t1;
  57786. }
  57787. },
  57788. _importSupportsQuery$0() {
  57789. var t1, t2, _0_0, $name, _this = this;
  57790. if (_this.scanIdentifier$1("not")) {
  57791. _this.whitespace$0();
  57792. t1 = _this.scanner;
  57793. t2 = t1._string_scanner$_position;
  57794. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57795. } else {
  57796. t1 = _this.scanner;
  57797. if (t1.peekChar$0() === 40)
  57798. return _this._supportsCondition$0();
  57799. else {
  57800. _0_0 = _this._tryImportSupportsFunction$0();
  57801. if (_0_0 != null)
  57802. return _0_0;
  57803. t2 = t1._string_scanner$_position;
  57804. $name = _this._expression$0();
  57805. t1.expectChar$1(58);
  57806. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  57807. }
  57808. }
  57809. },
  57810. _tryImportSupportsFunction$0() {
  57811. var t1, start, $name, value, _this = this;
  57812. if (!_this._lookingAtInterpolatedIdentifier$0())
  57813. return null;
  57814. t1 = _this.scanner;
  57815. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57816. $name = _this.interpolatedIdentifier$0();
  57817. if (!t1.scanChar$1(40)) {
  57818. t1.set$state(start);
  57819. return null;
  57820. }
  57821. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  57822. t1.expectChar$1(41);
  57823. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  57824. },
  57825. _includeRule$1(start) {
  57826. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  57827. $name = _this.identifier$0(),
  57828. t1 = _this.scanner;
  57829. if (t1.scanChar$1(46)) {
  57830. name0 = _this._publicIdentifier$0();
  57831. namespace = $name;
  57832. $name = name0;
  57833. } else {
  57834. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  57835. namespace = _null;
  57836. }
  57837. _this.whitespace$0();
  57838. if (t1.peekChar$0() === 40)
  57839. $arguments = _this._argumentInvocation$1$mixin(true);
  57840. else {
  57841. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57842. t3 = t2.offset;
  57843. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  57844. }
  57845. _this.whitespace$0();
  57846. if (_this.scanIdentifier$1("using")) {
  57847. _this.whitespace$0();
  57848. contentArguments = _this._argumentDeclaration$0();
  57849. _this.whitespace$0();
  57850. } else
  57851. contentArguments = _null;
  57852. t2 = contentArguments == null;
  57853. if (!t2 || _this.lookingAtChildren$0()) {
  57854. if (t2) {
  57855. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57856. t3 = t2.offset;
  57857. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  57858. } else
  57859. contentArguments_ = contentArguments;
  57860. wasInContentBlock = _this._inContentBlock;
  57861. _this._inContentBlock = true;
  57862. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  57863. _this._inContentBlock = wasInContentBlock;
  57864. } else {
  57865. _this.expectStatementSeparator$0();
  57866. $content = _null;
  57867. }
  57868. t1 = t1.spanFrom$2(start, start);
  57869. t2 = $content == null ? $arguments : $content;
  57870. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  57871. },
  57872. mediaRule$1(start) {
  57873. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  57874. },
  57875. _mixinRule$1(start) {
  57876. var $name, t1, $arguments, t2, t3, _this = this,
  57877. precedingComment = _this.lastSilentComment;
  57878. _this.lastSilentComment = null;
  57879. $name = _this.identifier$1$normalize(true);
  57880. _this.whitespace$0();
  57881. t1 = _this.scanner;
  57882. if (t1.peekChar$0() === 40)
  57883. $arguments = _this._argumentDeclaration$0();
  57884. else {
  57885. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57886. t3 = t2.offset;
  57887. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  57888. }
  57889. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  57890. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  57891. else if (_this._inControlDirective)
  57892. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  57893. _this.whitespace$0();
  57894. _this._stylesheet$_inMixin = true;
  57895. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  57896. },
  57897. mozDocumentRule$2(start, $name) {
  57898. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  57899. t1 = _this.scanner,
  57900. t2 = t1._string_scanner$_position,
  57901. t3 = new A.StringBuffer(""),
  57902. t4 = A._setArrayType([], type$.JSArray_Object),
  57903. buffer = new A.InterpolationBuffer(t3, t4);
  57904. _box_0.needsDeprecationWarning = false;
  57905. for (t5 = _this.get$whitespace(); true;) {
  57906. if (t1.peekChar$0() === 35) {
  57907. t6 = _this.singleInterpolation$0();
  57908. buffer._flushText$0();
  57909. t4.push(t6);
  57910. _box_0.needsDeprecationWarning = true;
  57911. } else {
  57912. t6 = t1._string_scanner$_position;
  57913. identifier = _this.identifier$0();
  57914. $label0$0: {
  57915. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  57916. _0_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  57917. if (_0_0 != null)
  57918. buffer.addInterpolation$1(_0_0);
  57919. else {
  57920. t1.expectChar$1(40);
  57921. _this.whitespace$0();
  57922. argument = _this.interpolatedString$0();
  57923. t1.expectChar$1(41);
  57924. t3._contents += identifier;
  57925. t3._contents += A.Primitives_stringFromCharCode(40);
  57926. buffer.addInterpolation$1(argument.asInterpolation$0());
  57927. t3._contents += A.Primitives_stringFromCharCode(41);
  57928. }
  57929. t6 = t3._contents;
  57930. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  57931. 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("")'))
  57932. _box_0.needsDeprecationWarning = true;
  57933. break $label0$0;
  57934. }
  57935. if ("regexp" === identifier) {
  57936. t3._contents += "regexp(";
  57937. t1.expectChar$1(40);
  57938. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  57939. t1.expectChar$1(41);
  57940. t3._contents += A.Primitives_stringFromCharCode(41);
  57941. _box_0.needsDeprecationWarning = true;
  57942. break $label0$0;
  57943. }
  57944. endPosition = t1._string_scanner$_position;
  57945. t7 = t1._sourceFile;
  57946. t8 = new A._FileSpan(t7, t6, endPosition);
  57947. t8._FileSpan$3(t7, t6, endPosition);
  57948. _this.error$2(0, "Invalid function name.", t8);
  57949. }
  57950. }
  57951. _this.whitespace$0();
  57952. if (!t1.scanChar$1(44))
  57953. break;
  57954. t3._contents += A.Primitives_stringFromCharCode(44);
  57955. start0 = t1._string_scanner$_position;
  57956. t5.call$0();
  57957. end = t1._string_scanner$_position;
  57958. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  57959. }
  57960. 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)))));
  57961. },
  57962. supportsRule$1(start) {
  57963. var _this = this,
  57964. condition = _this._supportsCondition$0();
  57965. _this.whitespace$0();
  57966. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  57967. },
  57968. _useRule$1(start) {
  57969. var namespace, configuration, span, t1, _this = this,
  57970. _s9_ = "@use rule",
  57971. url = _this._urlString$0();
  57972. _this.whitespace$0();
  57973. namespace = _this._useNamespace$2(url, start);
  57974. _this.whitespace$0();
  57975. configuration = _this._stylesheet$_configuration$0();
  57976. _this.expectStatementSeparator$1(_s9_);
  57977. span = _this.scanner.spanFrom$1(start);
  57978. if (!_this._isUseAllowed)
  57979. _this.error$2(0, string$.x40use_r, span);
  57980. _this.expectStatementSeparator$1(_s9_);
  57981. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  57982. t1.UseRule$4$configuration(url, namespace, span, configuration);
  57983. return t1;
  57984. },
  57985. _useNamespace$2(url, start) {
  57986. var namespace, basename, dot, t1, exception, _this = this;
  57987. if (_this.scanIdentifier$1("as")) {
  57988. _this.whitespace$0();
  57989. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  57990. }
  57991. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  57992. dot = B.JSString_methods.indexOf$1(basename, ".");
  57993. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  57994. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  57995. try {
  57996. t1 = A.SpanScanner$(namespace, null);
  57997. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  57998. return t1;
  57999. } catch (exception) {
  58000. if (type$.SassFormatException._is(A.unwrapException(exception)))
  58001. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  58002. else
  58003. throw exception;
  58004. }
  58005. },
  58006. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  58007. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  58008. if (!_this.scanIdentifier$1("with"))
  58009. return null;
  58010. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58011. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  58012. _this.whitespace$0();
  58013. t1 = _this.scanner;
  58014. t1.expectChar$1(40);
  58015. for (; true;) {
  58016. _this.whitespace$0();
  58017. t2 = t1._string_scanner$_position;
  58018. t1.expectChar$1(36);
  58019. $name = _this.identifier$1$normalize(true);
  58020. _this.whitespace$0();
  58021. t1.expectChar$1(58);
  58022. _this.whitespace$0();
  58023. expression = _this.expressionUntilComma$0();
  58024. t3 = t1._string_scanner$_position;
  58025. if (allowGuarded && t1.scanChar$1(33))
  58026. if (_this.identifier$0() === "default") {
  58027. _this.whitespace$0();
  58028. guarded = true;
  58029. } else {
  58030. endPosition = t1._string_scanner$_position;
  58031. t4 = t1._sourceFile;
  58032. t5 = new A._FileSpan(t4, t3, endPosition);
  58033. t5._FileSpan$3(t4, t3, endPosition);
  58034. _this.error$2(0, "Invalid flag name.", t5);
  58035. guarded = false;
  58036. }
  58037. else
  58038. guarded = false;
  58039. endPosition = t1._string_scanner$_position;
  58040. t3 = t1._sourceFile;
  58041. span = new A._FileSpan(t3, t2, endPosition);
  58042. span._FileSpan$3(t3, t2, endPosition);
  58043. if (variableNames.contains$1(0, $name))
  58044. _this.error$2(0, string$.The_sa, span);
  58045. variableNames.add$1(0, $name);
  58046. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  58047. if (!t1.scanChar$1(44))
  58048. break;
  58049. _this.whitespace$0();
  58050. if (!_this._lookingAtExpression$0())
  58051. break;
  58052. }
  58053. t1.expectChar$1(41);
  58054. return configuration;
  58055. },
  58056. _stylesheet$_configuration$0() {
  58057. return this._stylesheet$_configuration$1$allowGuarded(false);
  58058. },
  58059. _warnRule$1(start) {
  58060. var value = this._expression$0();
  58061. this.expectStatementSeparator$1("@warn rule");
  58062. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  58063. },
  58064. _whileRule$2(start, child) {
  58065. var _this = this,
  58066. wasInControlDirective = _this._inControlDirective;
  58067. _this._inControlDirective = true;
  58068. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  58069. },
  58070. unknownAtRule$2(start, $name) {
  58071. var t2, t3, rule, _this = this, t1 = {},
  58072. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  58073. _this._stylesheet$_inUnknownAtRule = true;
  58074. t1.value = null;
  58075. t2 = _this.scanner;
  58076. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  58077. if (_this.lookingAtChildren$0())
  58078. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  58079. else {
  58080. _this.expectStatementSeparator$0();
  58081. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  58082. }
  58083. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  58084. return rule;
  58085. },
  58086. _disallowedAtRule$1(start) {
  58087. this.almostAnyValue$0();
  58088. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  58089. },
  58090. _argumentDeclaration$0() {
  58091. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  58092. t1 = _this.scanner,
  58093. t2 = t1._string_scanner$_position;
  58094. t1.expectChar$1(40);
  58095. _this.whitespace$0();
  58096. $arguments = A._setArrayType([], type$.JSArray_Argument);
  58097. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58098. while (true) {
  58099. if (!(t1.peekChar$0() === 36)) {
  58100. restArgument = null;
  58101. break;
  58102. }
  58103. t3 = t1._string_scanner$_position;
  58104. t1.expectChar$1(36);
  58105. $name = _this.identifier$1$normalize(true);
  58106. _this.whitespace$0();
  58107. if (t1.scanChar$1(58)) {
  58108. _this.whitespace$0();
  58109. defaultValue = _this.expressionUntilComma$0();
  58110. } else {
  58111. if (t1.scanChar$1(46)) {
  58112. t1.expectChar$1(46);
  58113. t1.expectChar$1(46);
  58114. _this.whitespace$0();
  58115. restArgument = $name;
  58116. break;
  58117. }
  58118. defaultValue = null;
  58119. }
  58120. endPosition = t1._string_scanner$_position;
  58121. t4 = t1._sourceFile;
  58122. t5 = new A._FileSpan(t4, t3, endPosition);
  58123. t5._FileSpan$3(t4, t3, endPosition);
  58124. $arguments.push(new A.Argument($name, defaultValue, t5));
  58125. if (!named.add$1(0, $name))
  58126. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  58127. if (!t1.scanChar$1(44)) {
  58128. restArgument = null;
  58129. break;
  58130. }
  58131. _this.whitespace$0();
  58132. }
  58133. t1.expectChar$1(41);
  58134. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58135. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  58136. },
  58137. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  58138. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  58139. t1 = _this.scanner,
  58140. t2 = t1._string_scanner$_position;
  58141. t1.expectChar$1(40);
  58142. _this.whitespace$0();
  58143. positional = A._setArrayType([], type$.JSArray_Expression);
  58144. t3 = type$.String;
  58145. t4 = type$.Expression;
  58146. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58147. t5 = !mixin;
  58148. rest = _null;
  58149. while (true) {
  58150. if (!_this._lookingAtExpression$0()) {
  58151. keywordRest = _null;
  58152. break;
  58153. }
  58154. expression = _this.expressionUntilComma$1$singleEquals(t5);
  58155. _this.whitespace$0();
  58156. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  58157. _this.whitespace$0();
  58158. t6 = expression.name;
  58159. if (named.containsKey$1(t6))
  58160. _this.error$2(0, "Duplicate argument.", expression.span);
  58161. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  58162. } else if (t1.scanChar$1(46)) {
  58163. t1.expectChar$1(46);
  58164. t1.expectChar$1(46);
  58165. if (rest != null) {
  58166. _this.whitespace$0();
  58167. keywordRest = expression;
  58168. break;
  58169. }
  58170. rest = expression;
  58171. } else if (named.__js_helper$_length !== 0)
  58172. _this.error$2(0, string$.Positi, expression.get$span(expression));
  58173. else
  58174. positional.push(expression);
  58175. _this.whitespace$0();
  58176. if (!t1.scanChar$1(44)) {
  58177. keywordRest = _null;
  58178. break;
  58179. }
  58180. _this.whitespace$0();
  58181. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  58182. t5 = t1._sourceFile;
  58183. t6 = t1._string_scanner$_position;
  58184. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  58185. t7 = new A._FileSpan(t5, t6, t6);
  58186. t7._FileSpan$3(t5, t6, t6);
  58187. t6 = A._setArrayType([""], type$.JSArray_Object);
  58188. result = A.List_List$from(t6, false, type$.Object);
  58189. result.fixed$length = Array;
  58190. result.immutable$list = Array;
  58191. t5 = new A.Interpolation(result, t7);
  58192. t5.Interpolation$2(t6, t7);
  58193. positional.push(new A.StringExpression(t5, false));
  58194. keywordRest = _null;
  58195. break;
  58196. }
  58197. }
  58198. t1.expectChar$1(41);
  58199. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58200. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  58201. },
  58202. _argumentInvocation$0() {
  58203. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  58204. },
  58205. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  58206. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  58207. },
  58208. _argumentInvocation$1$mixin(mixin) {
  58209. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  58210. },
  58211. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  58212. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _1_0, t4, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  58213. _s20_ = "Expected expression.",
  58214. _box_0 = {},
  58215. t1 = until != null;
  58216. if (t1 && until.call$0())
  58217. _this.scanner.error$1(0, _s20_);
  58218. if (bracketList) {
  58219. t2 = _this.scanner;
  58220. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58221. t2.expectChar$1(91);
  58222. _this.whitespace$0();
  58223. if (t2.scanChar$1(93)) {
  58224. t1 = A._setArrayType([], type$.JSArray_Expression);
  58225. t2 = t2.spanFrom$1(beforeBracket);
  58226. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58227. }
  58228. } else
  58229. beforeBracket = null;
  58230. t2 = _this.scanner;
  58231. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58232. wasInParentheses = _this._inParentheses;
  58233. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  58234. _box_0.allowSlash = true;
  58235. _box_0.singleExpression_ = _this._singleExpression$0();
  58236. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  58237. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  58238. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  58239. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  58240. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  58241. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  58242. for (t3 = type$.JSArray_Expression; true;) {
  58243. _this.whitespace$0();
  58244. if (t1 && until.call$0())
  58245. break;
  58246. _3_0 = t2.peekChar$0();
  58247. if (_3_0 == null)
  58248. break;
  58249. if (40 === _3_0) {
  58250. addSingleExpression.call$1(_this.parentheses$0());
  58251. continue;
  58252. }
  58253. if (91 === _3_0) {
  58254. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  58255. continue;
  58256. }
  58257. if (36 === _3_0) {
  58258. addSingleExpression.call$1(_this._variable$0());
  58259. continue;
  58260. }
  58261. if (38 === _3_0) {
  58262. addSingleExpression.call$1(_this._selector$0());
  58263. continue;
  58264. }
  58265. if (39 === _3_0 || 34 === _3_0) {
  58266. addSingleExpression.call$1(_this.interpolatedString$0());
  58267. continue;
  58268. }
  58269. if (35 === _3_0) {
  58270. addSingleExpression.call$1(_this._hashExpression$0());
  58271. continue;
  58272. }
  58273. if (61 === _3_0) {
  58274. t2.readChar$0();
  58275. if (singleEquals && t2.peekChar$0() !== 61)
  58276. addOperator.call$1(B.BinaryOperator_2jN);
  58277. else {
  58278. t2.expectChar$1(61);
  58279. addOperator.call$1(B.BinaryOperator_ql5);
  58280. }
  58281. continue;
  58282. }
  58283. if (33 === _3_0) {
  58284. $label0$1: {
  58285. _1_0 = t2.peekChar$1(1);
  58286. if (61 === _1_0) {
  58287. t2.readChar$0();
  58288. t2.readChar$0();
  58289. addOperator.call$1(B.BinaryOperator_ViB);
  58290. break $label0$1;
  58291. }
  58292. if (_1_0 != null)
  58293. if (105 !== _1_0)
  58294. if (73 !== _1_0)
  58295. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  58296. else
  58297. t4 = true;
  58298. else
  58299. t4 = true;
  58300. else
  58301. t4 = true;
  58302. if (t4) {
  58303. addSingleExpression.call$1(_this._importantExpression$0());
  58304. break $label0$1;
  58305. }
  58306. break;
  58307. }
  58308. continue;
  58309. }
  58310. if (60 === _3_0) {
  58311. t2.readChar$0();
  58312. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg : B.BinaryOperator_U8c);
  58313. continue;
  58314. }
  58315. if (62 === _3_0) {
  58316. t2.readChar$0();
  58317. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg : B.BinaryOperator_cIH);
  58318. continue;
  58319. }
  58320. if (42 === _3_0) {
  58321. t2.readChar$0();
  58322. addOperator.call$1(B.BinaryOperator_qN2);
  58323. continue;
  58324. }
  58325. _3_28 = 43 === _3_0;
  58326. if (_3_28 && _box_0.singleExpression_ == null) {
  58327. addSingleExpression.call$1(_this._unaryOperation$0());
  58328. continue;
  58329. }
  58330. if (_3_28) {
  58331. t2.readChar$0();
  58332. addOperator.call$1(B.BinaryOperator_anB);
  58333. continue;
  58334. }
  58335. if (45 === _3_0) {
  58336. _2_0 = t2.peekChar$1(1);
  58337. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  58338. if (_box_0.singleExpression_ != null) {
  58339. t4 = t2.peekChar$1(-1);
  58340. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  58341. } else
  58342. t4 = true;
  58343. else
  58344. t4 = false;
  58345. if (t4)
  58346. addSingleExpression.call$1(_this._number$0());
  58347. else if (_this._lookingAtInterpolatedIdentifier$0())
  58348. addSingleExpression.call$1(_this.identifierLike$0());
  58349. else if (_box_0.singleExpression_ == null)
  58350. addSingleExpression.call$1(_this._unaryOperation$0());
  58351. else {
  58352. t2.readChar$0();
  58353. addOperator.call$1(B.BinaryOperator_olz);
  58354. }
  58355. continue;
  58356. }
  58357. _3_32 = 47 === _3_0;
  58358. if (_3_32 && _box_0.singleExpression_ == null) {
  58359. addSingleExpression.call$1(_this._unaryOperation$0());
  58360. continue;
  58361. }
  58362. if (_3_32) {
  58363. t2.readChar$0();
  58364. addOperator.call$1(B.BinaryOperator_t8B);
  58365. continue;
  58366. }
  58367. if (37 === _3_0) {
  58368. t2.readChar$0();
  58369. addOperator.call$1(B.BinaryOperator_OTG);
  58370. continue;
  58371. }
  58372. if (_3_0 >= 48 && _3_0 <= 57) {
  58373. addSingleExpression.call$1(_this._number$0());
  58374. continue;
  58375. }
  58376. _3_40 = 46 === _3_0;
  58377. if (_3_40 && t2.peekChar$1(1) === 46)
  58378. break;
  58379. if (_3_40) {
  58380. addSingleExpression.call$1(_this._number$0());
  58381. continue;
  58382. }
  58383. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  58384. addOperator.call$1(B.BinaryOperator_SNp);
  58385. continue;
  58386. }
  58387. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  58388. addOperator.call$1(B.BinaryOperator_M6L);
  58389. continue;
  58390. }
  58391. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  58392. addSingleExpression.call$1(_this._unicodeRange$0());
  58393. continue;
  58394. }
  58395. if (!(_3_0 >= 97 && _3_0 <= 122))
  58396. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  58397. else
  58398. t4 = true;
  58399. if (t4) {
  58400. addSingleExpression.call$1(_this.identifierLike$0());
  58401. continue;
  58402. }
  58403. if (44 === _3_0) {
  58404. if (_this._inParentheses) {
  58405. _this._inParentheses = false;
  58406. if (_box_0.allowSlash) {
  58407. resetState.call$0();
  58408. continue;
  58409. }
  58410. }
  58411. commaExpressions = _box_0.commaExpressions_;
  58412. if (commaExpressions == null)
  58413. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  58414. if (_box_0.singleExpression_ == null)
  58415. t2.error$1(0, _s20_);
  58416. resolveSpaceExpressions.call$0();
  58417. t4 = _box_0.singleExpression_;
  58418. t4.toString;
  58419. commaExpressions.push(t4);
  58420. t2.readChar$0();
  58421. _box_0.allowSlash = true;
  58422. _box_0.singleExpression_ = null;
  58423. continue;
  58424. }
  58425. break;
  58426. }
  58427. if (bracketList)
  58428. t2.expectChar$1(93);
  58429. commaExpressions = _box_0.commaExpressions_;
  58430. spaceExpressions = _box_0.spaceExpressions_;
  58431. if (commaExpressions != null) {
  58432. resolveSpaceExpressions.call$0();
  58433. _this._inParentheses = wasInParentheses;
  58434. singleExpression = _box_0.singleExpression_;
  58435. if (singleExpression != null)
  58436. commaExpressions.push(singleExpression);
  58437. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  58438. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  58439. } else if (bracketList && spaceExpressions != null) {
  58440. resolveOperations.call$0();
  58441. t1 = _box_0.singleExpression_;
  58442. t1.toString;
  58443. spaceExpressions.push(t1);
  58444. beforeBracket.toString;
  58445. t2 = t2.spanFrom$1(beforeBracket);
  58446. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  58447. } else {
  58448. resolveSpaceExpressions.call$0();
  58449. if (bracketList) {
  58450. t1 = _box_0.singleExpression_;
  58451. t1.toString;
  58452. t3 = A._setArrayType([t1], t3);
  58453. beforeBracket.toString;
  58454. t2 = t2.spanFrom$1(beforeBracket);
  58455. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58456. }
  58457. t1 = _box_0.singleExpression_;
  58458. t1.toString;
  58459. return t1;
  58460. }
  58461. },
  58462. _expression$0() {
  58463. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  58464. },
  58465. _expression$2$singleEquals$until(singleEquals, until) {
  58466. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  58467. },
  58468. _expression$1$bracketList(bracketList) {
  58469. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  58470. },
  58471. _expression$1$until(until) {
  58472. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  58473. },
  58474. expressionUntilComma$1$singleEquals(singleEquals) {
  58475. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  58476. },
  58477. expressionUntilComma$0() {
  58478. return this.expressionUntilComma$1$singleEquals(false);
  58479. },
  58480. _isSlashOperand$1(expression) {
  58481. var t1;
  58482. if (!(expression instanceof A.NumberExpression))
  58483. if (!(expression instanceof A.FunctionExpression))
  58484. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  58485. else
  58486. t1 = true;
  58487. else
  58488. t1 = true;
  58489. return t1;
  58490. },
  58491. _singleExpression$0() {
  58492. var next, t2, _this = this,
  58493. _s20_ = "Expected expression.",
  58494. t1 = _this.scanner,
  58495. _0_0 = t1.peekChar$0();
  58496. $label0$0: {
  58497. if (_0_0 == null)
  58498. t1.error$1(0, _s20_);
  58499. if (40 === _0_0) {
  58500. t1 = _this.parentheses$0();
  58501. break $label0$0;
  58502. }
  58503. if (47 === _0_0) {
  58504. t1 = _this._unaryOperation$0();
  58505. break $label0$0;
  58506. }
  58507. if (46 === _0_0) {
  58508. t1 = _this._number$0();
  58509. break $label0$0;
  58510. }
  58511. if (91 === _0_0) {
  58512. t1 = _this._expression$1$bracketList(true);
  58513. break $label0$0;
  58514. }
  58515. if (36 === _0_0) {
  58516. t1 = _this._variable$0();
  58517. break $label0$0;
  58518. }
  58519. if (38 === _0_0) {
  58520. t1 = _this._selector$0();
  58521. break $label0$0;
  58522. }
  58523. if (39 === _0_0 || 34 === _0_0) {
  58524. t1 = _this.interpolatedString$0();
  58525. break $label0$0;
  58526. }
  58527. if (35 === _0_0) {
  58528. t1 = _this._hashExpression$0();
  58529. break $label0$0;
  58530. }
  58531. if (43 === _0_0) {
  58532. next = t1.peekChar$1(1);
  58533. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  58534. break $label0$0;
  58535. }
  58536. if (45 === _0_0) {
  58537. t1 = _this._minusExpression$0();
  58538. break $label0$0;
  58539. }
  58540. if (33 === _0_0) {
  58541. t1 = _this._importantExpression$0();
  58542. break $label0$0;
  58543. }
  58544. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  58545. t1 = _this._unicodeRange$0();
  58546. break $label0$0;
  58547. }
  58548. if (_0_0 >= 48 && _0_0 <= 57) {
  58549. t1 = _this._number$0();
  58550. break $label0$0;
  58551. }
  58552. if (!(_0_0 >= 97 && _0_0 <= 122))
  58553. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  58554. else
  58555. t2 = true;
  58556. if (t2) {
  58557. t1 = _this.identifierLike$0();
  58558. break $label0$0;
  58559. }
  58560. t1 = t1.error$1(0, _s20_);
  58561. }
  58562. return t1;
  58563. },
  58564. parentheses$0() {
  58565. var start, first, expressions, t1, t2, _this = this,
  58566. wasInParentheses = _this._inParentheses;
  58567. _this._inParentheses = true;
  58568. try {
  58569. t1 = _this.scanner;
  58570. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58571. t1.expectChar$1(40);
  58572. _this.whitespace$0();
  58573. if (!_this._lookingAtExpression$0()) {
  58574. t1.expectChar$1(41);
  58575. t2 = A._setArrayType([], type$.JSArray_Expression);
  58576. t1 = t1.spanFrom$1(start);
  58577. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  58578. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  58579. }
  58580. first = _this.expressionUntilComma$0();
  58581. if (t1.scanChar$1(58)) {
  58582. _this.whitespace$0();
  58583. t1 = _this._stylesheet$_map$2(first, start);
  58584. return t1;
  58585. }
  58586. if (!t1.scanChar$1(44)) {
  58587. t1.expectChar$1(41);
  58588. t1 = t1.spanFrom$1(start);
  58589. return new A.ParenthesizedExpression(first, t1);
  58590. }
  58591. _this.whitespace$0();
  58592. expressions = A._setArrayType([first], type$.JSArray_Expression);
  58593. for (; true;) {
  58594. if (!_this._lookingAtExpression$0())
  58595. break;
  58596. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  58597. if (!t1.scanChar$1(44))
  58598. break;
  58599. _this.whitespace$0();
  58600. }
  58601. t1.expectChar$1(41);
  58602. t1 = t1.spanFrom$1(start);
  58603. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  58604. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  58605. } finally {
  58606. _this._inParentheses = wasInParentheses;
  58607. }
  58608. },
  58609. _stylesheet$_map$2(first, start) {
  58610. var t1, key, _this = this,
  58611. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  58612. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  58613. _this.whitespace$0();
  58614. if (!_this._lookingAtExpression$0())
  58615. break;
  58616. key = _this.expressionUntilComma$0();
  58617. t1.expectChar$1(58);
  58618. _this.whitespace$0();
  58619. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  58620. }
  58621. t1.expectChar$1(41);
  58622. t1 = t1.spanFrom$1(start);
  58623. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  58624. },
  58625. _hashExpression$0() {
  58626. var start, t2, identifier, buffer, _this = this,
  58627. t1 = _this.scanner;
  58628. if (t1.peekChar$1(1) === 123)
  58629. return _this.identifierLike$0();
  58630. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58631. t1.expectChar$1(35);
  58632. t2 = t1.peekChar$0();
  58633. if (t2 == null)
  58634. t2 = null;
  58635. else
  58636. t2 = t2 >= 48 && t2 <= 57;
  58637. if (t2 === true)
  58638. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58639. t2 = t1._string_scanner$_position;
  58640. identifier = _this.interpolatedIdentifier$0();
  58641. if (_this._isHexColor$1(identifier)) {
  58642. t1.set$state(new A._SpanScannerState(t1, t2));
  58643. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58644. }
  58645. t2 = new A.StringBuffer("");
  58646. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  58647. t2._contents += A.Primitives_stringFromCharCode(35);
  58648. buffer.addInterpolation$1(identifier);
  58649. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  58650. },
  58651. _hexColorContents$1(start) {
  58652. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  58653. digit1 = _this._hexDigit$0(),
  58654. digit2 = _this._hexDigit$0(),
  58655. digit3 = _this._hexDigit$0(),
  58656. t1 = _this.scanner,
  58657. $self = t1.peekChar$0();
  58658. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  58659. red = (digit1 << 4 >>> 0) + digit1;
  58660. green = (digit2 << 4 >>> 0) + digit2;
  58661. blue = (digit3 << 4 >>> 0) + digit3;
  58662. alpha = null;
  58663. } else {
  58664. digit4 = _this._hexDigit$0();
  58665. $self = t1.peekChar$0();
  58666. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  58667. t3 = digit1 << 4 >>> 0;
  58668. t4 = digit3 << 4 >>> 0;
  58669. if (!t2) {
  58670. red = t3 + digit1;
  58671. green = (digit2 << 4 >>> 0) + digit2;
  58672. blue = t4 + digit3;
  58673. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  58674. } else {
  58675. red = t3 + digit2;
  58676. green = t4 + digit4;
  58677. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  58678. $self = t1.peekChar$0();
  58679. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  58680. }
  58681. }
  58682. t2 = alpha == null;
  58683. t3 = t2 ? 1 : alpha;
  58684. return A.SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  58685. },
  58686. _isHexColor$1(interpolation) {
  58687. var _0_2, t1,
  58688. plain = interpolation.get$asPlain();
  58689. if (typeof plain == "string") {
  58690. _0_2 = plain.length;
  58691. if (3 !== _0_2)
  58692. if (4 !== _0_2)
  58693. if (6 !== _0_2)
  58694. t1 = 8 === _0_2;
  58695. else
  58696. t1 = true;
  58697. else
  58698. t1 = true;
  58699. else
  58700. t1 = true;
  58701. } else
  58702. t1 = false;
  58703. if (t1) {
  58704. t1 = new A.CodeUnits(plain);
  58705. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  58706. } else
  58707. return false;
  58708. },
  58709. _hexDigit$0() {
  58710. var t1 = this.scanner,
  58711. t2 = t1.peekChar$0();
  58712. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  58713. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  58714. },
  58715. _minusExpression$0() {
  58716. var _this = this,
  58717. _0_0 = _this.scanner.peekChar$1(1);
  58718. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  58719. return _this._number$0();
  58720. if (_this._lookingAtInterpolatedIdentifier$0())
  58721. return _this.identifierLike$0();
  58722. return _this._unaryOperation$0();
  58723. },
  58724. _importantExpression$0() {
  58725. var t1 = this.scanner,
  58726. t2 = t1._string_scanner$_position;
  58727. t1.readChar$0();
  58728. this.whitespace$0();
  58729. this.expectIdentifier$1("important");
  58730. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58731. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  58732. },
  58733. _unaryOperation$0() {
  58734. var _this = this,
  58735. t1 = _this.scanner,
  58736. t2 = t1._string_scanner$_position,
  58737. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  58738. if (operator == null)
  58739. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  58740. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  58741. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  58742. _this.whitespace$0();
  58743. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58744. },
  58745. _unaryOperatorFor$1(character) {
  58746. var t1;
  58747. $label0$0: {
  58748. if (43 === character) {
  58749. t1 = B.UnaryOperator_gg4;
  58750. break $label0$0;
  58751. }
  58752. if (45 === character) {
  58753. t1 = B.UnaryOperator_TLI;
  58754. break $label0$0;
  58755. }
  58756. if (47 === character) {
  58757. t1 = B.UnaryOperator_Ix1;
  58758. break $label0$0;
  58759. }
  58760. t1 = null;
  58761. break $label0$0;
  58762. }
  58763. return t1;
  58764. },
  58765. _number$0() {
  58766. var number, unit, _this = this,
  58767. t1 = _this.scanner,
  58768. t2 = t1._string_scanner$_position,
  58769. first = t1.peekChar$0(),
  58770. t3 = first !== 43;
  58771. if (!t3 || first === 45)
  58772. t1.readChar$0();
  58773. if (t1.peekChar$0() !== 46)
  58774. _this._consumeNaturalNumber$0();
  58775. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  58776. _this._tryExponent$0();
  58777. number = A.double_parse(t1.substring$1(0, t2));
  58778. if (t1.scanChar$1(37))
  58779. unit = "%";
  58780. else {
  58781. if (_this.lookingAtIdentifier$0())
  58782. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  58783. else
  58784. t3 = false;
  58785. unit = t3 ? _this.identifier$1$unit(true) : null;
  58786. }
  58787. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58788. },
  58789. _consumeNaturalNumber$0() {
  58790. var $self,
  58791. t1 = this.scanner,
  58792. t2 = t1.readChar$0();
  58793. if (!(t2 >= 48 && t2 <= 57))
  58794. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  58795. while (true) {
  58796. $self = t1.peekChar$0();
  58797. if (!($self != null && $self >= 48 && $self <= 57))
  58798. break;
  58799. t1.readChar$0();
  58800. }
  58801. },
  58802. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  58803. var $self,
  58804. t1 = this.scanner;
  58805. if (t1.peekChar$0() !== 46)
  58806. return;
  58807. $self = t1.peekChar$1(1);
  58808. if (!($self != null && $self >= 48 && $self <= 57)) {
  58809. if (allowTrailingDot)
  58810. return;
  58811. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  58812. }
  58813. t1.readChar$0();
  58814. while (true) {
  58815. $self = t1.peekChar$0();
  58816. if (!($self != null && $self >= 48 && $self <= 57))
  58817. break;
  58818. t1.readChar$0();
  58819. }
  58820. },
  58821. _tryExponent$0() {
  58822. var next, $self,
  58823. t1 = this.scanner,
  58824. first = t1.peekChar$0();
  58825. if (first !== 101 && first !== 69)
  58826. return;
  58827. next = t1.peekChar$1(1);
  58828. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  58829. return;
  58830. t1.readChar$0();
  58831. if (43 === next || 45 === next)
  58832. t1.readChar$0();
  58833. $self = t1.peekChar$0();
  58834. if (!($self != null && $self >= 48 && $self <= 57))
  58835. t1.error$1(0, "Expected digit.");
  58836. while (true) {
  58837. $self = t1.peekChar$0();
  58838. if (!($self != null && $self >= 48 && $self <= 57))
  58839. break;
  58840. t1.readChar$0();
  58841. }
  58842. },
  58843. _unicodeRange$0() {
  58844. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  58845. _s26_ = "Expected at most 6 digits.",
  58846. t1 = _this.scanner,
  58847. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58848. _this.expectIdentChar$1(117);
  58849. t1.expectChar$1(43);
  58850. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  58851. ++firstRangeLength;
  58852. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  58853. ++firstRangeLength;
  58854. if (firstRangeLength === 0)
  58855. t1.error$1(0, 'Expected hex digit or "?".');
  58856. else if (firstRangeLength > 6)
  58857. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  58858. else if (hasQuestionMark) {
  58859. t2 = t1.substring$1(0, start.position);
  58860. t1 = t1.spanFrom$1(start);
  58861. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  58862. }
  58863. if (t1.scanChar$1(45)) {
  58864. t2 = t1._string_scanner$_position;
  58865. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  58866. ++secondRangeLength;
  58867. if (secondRangeLength === 0)
  58868. t1.error$1(0, "Expected hex digit.");
  58869. else if (secondRangeLength > 6)
  58870. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58871. }
  58872. if (_this._lookingAtInterpolatedIdentifierBody$0())
  58873. t1.error$1(0, "Expected end of identifier.");
  58874. t2 = t1.substring$1(0, start.position);
  58875. t1 = t1.spanFrom$1(start);
  58876. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  58877. },
  58878. _variable$0() {
  58879. var _this = this,
  58880. t1 = _this.scanner,
  58881. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  58882. $name = _this.variableName$0();
  58883. if (_this.get$plainCss())
  58884. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  58885. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  58886. },
  58887. _selector$0() {
  58888. var t1, start, _this = this;
  58889. if (_this.get$plainCss())
  58890. _this.scanner.error$2$length(0, string$.The_pa, 1);
  58891. t1 = _this.scanner;
  58892. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58893. t1.expectChar$1(38);
  58894. if (t1.scanChar$1(38)) {
  58895. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  58896. t1.set$position(t1._string_scanner$_position - 1);
  58897. }
  58898. return new A.SelectorExpression(t1.spanFrom$1(start));
  58899. },
  58900. interpolatedString$0() {
  58901. var t3, t4, buffer, _0_0, second, t5,
  58902. t1 = this.scanner,
  58903. t2 = t1._string_scanner$_position,
  58904. quote = t1.readChar$0();
  58905. if (quote !== 39 && quote !== 34)
  58906. t1.error$2$position(0, "Expected string.", t2);
  58907. t3 = new A.StringBuffer("");
  58908. t4 = A._setArrayType([], type$.JSArray_Object);
  58909. buffer = new A.InterpolationBuffer(t3, t4);
  58910. for (; true;) {
  58911. _0_0 = t1.peekChar$0();
  58912. if (_0_0 === quote) {
  58913. t1.readChar$0();
  58914. break;
  58915. }
  58916. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58917. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58918. if (92 === _0_0) {
  58919. second = t1.peekChar$1(1);
  58920. if (second === 10 || second === 13 || second === 12) {
  58921. t1.readChar$0();
  58922. t1.readChar$0();
  58923. if (second === 13)
  58924. t1.scanChar$1(10);
  58925. } else
  58926. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58927. continue;
  58928. }
  58929. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  58930. t5 = this.singleInterpolation$0();
  58931. buffer._flushText$0();
  58932. t4.push(t5);
  58933. continue;
  58934. }
  58935. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  58936. }
  58937. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  58938. },
  58939. identifierLike$0() {
  58940. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  58941. t1 = _this.scanner,
  58942. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  58943. identifier = _this.interpolatedIdentifier$0(),
  58944. plain = identifier.get$asPlain(),
  58945. lower = A._Cell$(),
  58946. t2 = plain != null;
  58947. if (t2) {
  58948. if (plain === "if" && t1.peekChar$0() === 40) {
  58949. invocation = _this._argumentInvocation$0();
  58950. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  58951. } else if (plain === "not") {
  58952. _this.whitespace$0();
  58953. expression = _this._singleExpression$0();
  58954. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  58955. }
  58956. lower._value = plain.toLowerCase();
  58957. if (t1.peekChar$0() !== 40) {
  58958. switch (plain) {
  58959. case "false":
  58960. return new A.BooleanExpression(false, identifier.span);
  58961. case "null":
  58962. return new A.NullExpression(identifier.span);
  58963. case "true":
  58964. return new A.BooleanExpression(true, identifier.span);
  58965. }
  58966. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  58967. if (_0_0 != null) {
  58968. t1 = identifier.span;
  58969. return new A.ColorExpression(A.SassColor$rgbInternal(_0_0.get$red(0), _0_0.get$green(0), _0_0.get$blue(0), _0_0._alpha, new A.SpanColorFormat(t1)), t1);
  58970. }
  58971. }
  58972. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  58973. if (_1_0 != null)
  58974. return _1_0;
  58975. }
  58976. _2_0 = t1.peekChar$0();
  58977. _2_2 = 46 === _2_0;
  58978. if (_2_2 && t1.peekChar$1(1) === 46)
  58979. return new A.StringExpression(identifier, false);
  58980. if (_2_2) {
  58981. t1.readChar$0();
  58982. if (t2)
  58983. return _this.namespacedExpression$2(plain, start);
  58984. _this.error$2(0, string$.Interpn, identifier.span);
  58985. }
  58986. _2_4 = 40 === _2_0;
  58987. if (_2_4 && t2)
  58988. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  58989. if (_2_4)
  58990. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  58991. return new A.StringExpression(identifier, false);
  58992. },
  58993. namespacedExpression$2(namespace, start) {
  58994. var $name, _this = this,
  58995. t1 = _this.scanner;
  58996. if (t1.peekChar$0() === 36) {
  58997. $name = _this.variableName$0();
  58998. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  58999. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  59000. }
  59001. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59002. },
  59003. trySpecialFunction$2($name, start) {
  59004. var t1, buffer, t2, next, t3, _this = this,
  59005. normalized = A.unvendor($name);
  59006. $label0$0: {
  59007. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  59008. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  59009. else
  59010. t1 = true;
  59011. if (t1) {
  59012. t1 = new A.StringBuffer("");
  59013. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59014. t1._contents = "" + $name;
  59015. t1._contents += A.Primitives_stringFromCharCode(40);
  59016. break $label0$0;
  59017. }
  59018. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  59019. t1 = new A.StringBuffer("");
  59020. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59021. t1._contents = "" + $name;
  59022. t1._contents += A.Primitives_stringFromCharCode(58);
  59023. t2 = _this.scanner;
  59024. next = t2.peekChar$0();
  59025. while (true) {
  59026. if (next != null) {
  59027. if (!(next >= 97 && next <= 122))
  59028. t3 = next >= 65 && next <= 90;
  59029. else
  59030. t3 = true;
  59031. t3 = t3 || next === 46;
  59032. } else
  59033. t3 = false;
  59034. if (!t3)
  59035. break;
  59036. t1._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  59037. next = t2.peekChar$0();
  59038. }
  59039. t2.expectChar$1(40);
  59040. t1._contents += A.Primitives_stringFromCharCode(40);
  59041. break $label0$0;
  59042. }
  59043. if ("url" === normalized)
  59044. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  59045. return null;
  59046. }
  59047. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  59048. t1 = _this.scanner;
  59049. t1.expectChar$1(41);
  59050. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  59051. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  59052. },
  59053. _tryUrlContents$2$name(start, $name) {
  59054. var t3, t4, buffer, _0_0, _0_6, t5, endPosition, result, _this = this,
  59055. t1 = _this.scanner,
  59056. t2 = t1._string_scanner$_position;
  59057. if (!t1.scanChar$1(40))
  59058. return null;
  59059. _this.whitespaceWithoutComments$0();
  59060. t3 = new A.StringBuffer("");
  59061. t4 = A._setArrayType([], type$.JSArray_Object);
  59062. buffer = new A.InterpolationBuffer(t3, t4);
  59063. t3._contents = "" + ($name == null ? "url" : $name);
  59064. t3._contents += A.Primitives_stringFromCharCode(40);
  59065. for (; true;) {
  59066. _0_0 = t1.peekChar$0();
  59067. if (_0_0 == null)
  59068. break;
  59069. if (92 === _0_0) {
  59070. t3._contents += _this.escape$0();
  59071. continue;
  59072. }
  59073. _0_6 = 35 === _0_0;
  59074. if (_0_6 && t1.peekChar$1(1) === 123) {
  59075. t5 = _this.singleInterpolation$0();
  59076. buffer._flushText$0();
  59077. t4.push(t5);
  59078. continue;
  59079. }
  59080. if (33 !== _0_0)
  59081. if (37 !== _0_0)
  59082. if (38 !== _0_0)
  59083. if (!_0_6)
  59084. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  59085. else
  59086. t5 = true;
  59087. else
  59088. t5 = true;
  59089. else
  59090. t5 = true;
  59091. else
  59092. t5 = true;
  59093. if (t5) {
  59094. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59095. continue;
  59096. }
  59097. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  59098. _this.whitespaceWithoutComments$0();
  59099. if (t1.peekChar$0() !== 41)
  59100. break;
  59101. continue;
  59102. }
  59103. if (41 === _0_0) {
  59104. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59105. endPosition = t1._string_scanner$_position;
  59106. t2 = t1._sourceFile;
  59107. t5 = start.position;
  59108. t1 = new A._FileSpan(t2, t5, endPosition);
  59109. t1._FileSpan$3(t2, t5, endPosition);
  59110. t5 = type$.Object;
  59111. t2 = A.List_List$of(t4, true, t5);
  59112. t4 = t3._contents;
  59113. if (t4.length !== 0)
  59114. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  59115. result = A.List_List$from(t2, false, t5);
  59116. result.fixed$length = Array;
  59117. result.immutable$list = Array;
  59118. t3 = new A.Interpolation(result, t1);
  59119. t3.Interpolation$2(t2, t1);
  59120. return t3;
  59121. }
  59122. break;
  59123. }
  59124. t1.set$state(new A._SpanScannerState(t1, t2));
  59125. return null;
  59126. },
  59127. _tryUrlContents$1(start) {
  59128. return this._tryUrlContents$2$name(start, null);
  59129. },
  59130. dynamicUrl$0() {
  59131. var _0_0, _this = this,
  59132. t1 = _this.scanner,
  59133. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59134. _this.expectIdentifier$1("url");
  59135. _0_0 = _this._tryUrlContents$1(start);
  59136. if (_0_0 != null)
  59137. return new A.StringExpression(_0_0, false);
  59138. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59139. },
  59140. almostAnyValue$1$omitComments(omitComments) {
  59141. var t4, t5, t6, _1_0, commentStart, end, t7, _0_0, _this = this,
  59142. t1 = _this.scanner,
  59143. t2 = t1._string_scanner$_position,
  59144. t3 = new A.StringBuffer(""),
  59145. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59146. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  59147. $label0$0: {
  59148. _1_0 = t1.peekChar$0();
  59149. if (92 === _1_0) {
  59150. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59151. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59152. break $label0$0;
  59153. }
  59154. if (34 === _1_0 || 39 === _1_0) {
  59155. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59156. break $label0$0;
  59157. }
  59158. if (47 === _1_0) {
  59159. commentStart = t1._string_scanner$_position;
  59160. if (_this.scanComment$0()) {
  59161. if (t6) {
  59162. end = t1._string_scanner$_position;
  59163. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  59164. }
  59165. } else
  59166. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59167. break $label0$0;
  59168. }
  59169. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  59170. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59171. break $label0$0;
  59172. }
  59173. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  59174. if (_this.get$indented())
  59175. break;
  59176. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59177. break $label0$0;
  59178. }
  59179. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  59180. break;
  59181. if (117 === _1_0 || 85 === _1_0) {
  59182. t7 = t1._string_scanner$_position;
  59183. if (!_this.scanIdentifier$1("url")) {
  59184. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59185. continue;
  59186. }
  59187. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  59188. if (_0_0 != null)
  59189. buffer.addInterpolation$1(_0_0);
  59190. else {
  59191. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  59192. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  59193. t1._string_scanner$_position = t7;
  59194. t1._lastMatch = null;
  59195. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59196. }
  59197. break $label0$0;
  59198. }
  59199. if (_1_0 == null)
  59200. break;
  59201. t7 = _this.lookingAtIdentifier$0();
  59202. if (t7) {
  59203. t3._contents += _this.identifier$0();
  59204. break $label0$0;
  59205. }
  59206. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59207. }
  59208. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59209. },
  59210. almostAnyValue$0() {
  59211. return this.almostAnyValue$1$omitComments(false);
  59212. },
  59213. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  59214. var t4, t5, t6, t7, wroteNewline, _1_0, t8, start, end, _1_14, t9, _1_14_isSet, _1_18, _1_20, _1_20_isSet, _1_18_isSet, bracket, _0_0, _this = this, _null = null,
  59215. t1 = _this.scanner,
  59216. t2 = t1._string_scanner$_position,
  59217. t3 = new A.StringBuffer(""),
  59218. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  59219. brackets = A._setArrayType([], type$.JSArray_int);
  59220. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  59221. $label0$0: {
  59222. _1_0 = t1.peekChar$0();
  59223. if (92 === _1_0) {
  59224. t3._contents += _this.escape$1$identifierStart(true);
  59225. wroteNewline = false;
  59226. break $label0$0;
  59227. }
  59228. if (34 === _1_0 || 39 === _1_0) {
  59229. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59230. wroteNewline = false;
  59231. break $label0$0;
  59232. }
  59233. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  59234. t8 = _this.get$loudComment();
  59235. start = t1._string_scanner$_position;
  59236. t8.call$0();
  59237. end = t1._string_scanner$_position;
  59238. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  59239. wroteNewline = false;
  59240. break $label0$0;
  59241. }
  59242. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  59243. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59244. wroteNewline = false;
  59245. break $label0$0;
  59246. }
  59247. t8 = 32 !== _1_0;
  59248. if (t8) {
  59249. _1_14 = 9 === _1_0;
  59250. t9 = _1_14;
  59251. _1_14_isSet = true;
  59252. } else {
  59253. _1_14 = _null;
  59254. _1_14_isSet = false;
  59255. t9 = true;
  59256. }
  59257. if (t9)
  59258. if (!wroteNewline) {
  59259. t9 = t1.peekChar$1(1);
  59260. t9 = t9 === 32 || t9 === 9 || t9 === 10 || t9 === 13 || t9 === 12;
  59261. } else
  59262. t9 = false;
  59263. else
  59264. t9 = false;
  59265. if (t9) {
  59266. t1.readChar$0();
  59267. break $label0$0;
  59268. }
  59269. if (t8)
  59270. t8 = _1_14_isSet ? _1_14 : 9 === _1_0;
  59271. else
  59272. t8 = true;
  59273. if (t8) {
  59274. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59275. break $label0$0;
  59276. }
  59277. t8 = 10 !== _1_0;
  59278. if (t8) {
  59279. _1_18 = 13 === _1_0;
  59280. if (!_1_18) {
  59281. _1_20 = 12 === _1_0;
  59282. t9 = _1_20;
  59283. _1_20_isSet = true;
  59284. } else {
  59285. _1_20 = _null;
  59286. _1_20_isSet = false;
  59287. t9 = true;
  59288. }
  59289. _1_18_isSet = true;
  59290. } else {
  59291. _1_20 = _null;
  59292. _1_18 = _1_20;
  59293. _1_18_isSet = false;
  59294. _1_20_isSet = false;
  59295. t9 = true;
  59296. }
  59297. if (t9 && _this.get$indented())
  59298. break;
  59299. if (t8)
  59300. if (!(_1_18_isSet ? _1_18 : 13 === _1_0))
  59301. t8 = _1_20_isSet ? _1_20 : 12 === _1_0;
  59302. else
  59303. t8 = true;
  59304. else
  59305. t8 = true;
  59306. if (t8) {
  59307. t8 = t1.peekChar$1(-1);
  59308. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  59309. t3._contents += "\n";
  59310. t1.readChar$0();
  59311. wroteNewline = true;
  59312. break $label0$0;
  59313. }
  59314. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  59315. bracket = t1.readChar$0();
  59316. t3._contents += A.Primitives_stringFromCharCode(bracket);
  59317. brackets.push(A.opposite(bracket));
  59318. wroteNewline = false;
  59319. break $label0$0;
  59320. }
  59321. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  59322. if (brackets.length === 0)
  59323. break;
  59324. bracket = brackets.pop();
  59325. t1.expectChar$1(bracket);
  59326. t3._contents += A.Primitives_stringFromCharCode(bracket);
  59327. wroteNewline = false;
  59328. break $label0$0;
  59329. }
  59330. if (59 === _1_0) {
  59331. if (t7 && brackets.length === 0)
  59332. break;
  59333. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59334. wroteNewline = false;
  59335. break $label0$0;
  59336. }
  59337. if (58 === _1_0) {
  59338. if (t6 && brackets.length === 0)
  59339. break;
  59340. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59341. wroteNewline = false;
  59342. break $label0$0;
  59343. }
  59344. if (117 === _1_0 || 85 === _1_0) {
  59345. t8 = t1._string_scanner$_position;
  59346. if (!_this.scanIdentifier$1("url")) {
  59347. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59348. wroteNewline = false;
  59349. continue;
  59350. }
  59351. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  59352. if (_0_0 != null)
  59353. buffer.addInterpolation$1(_0_0);
  59354. else {
  59355. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  59356. A.throwExpression(A.ArgumentError$("Invalid position " + t8, _null));
  59357. t1._string_scanner$_position = t8;
  59358. t1._lastMatch = null;
  59359. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59360. }
  59361. wroteNewline = false;
  59362. break $label0$0;
  59363. }
  59364. if (_1_0 == null)
  59365. break;
  59366. t8 = _this.lookingAtIdentifier$0();
  59367. if (t8) {
  59368. t3._contents += _this.identifier$0();
  59369. wroteNewline = false;
  59370. break $label0$0;
  59371. }
  59372. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59373. wroteNewline = false;
  59374. }
  59375. if (brackets.length !== 0)
  59376. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  59377. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  59378. t1.error$1(0, "Expected token.");
  59379. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59380. },
  59381. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  59382. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  59383. },
  59384. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  59385. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  59386. },
  59387. _interpolatedDeclarationValue$0() {
  59388. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  59389. },
  59390. interpolatedIdentifier$0() {
  59391. var _0_0, _this = this,
  59392. _s20_ = "Expected identifier.",
  59393. t1 = _this.scanner,
  59394. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59395. t2 = new A.StringBuffer(""),
  59396. t3 = A._setArrayType([], type$.JSArray_Object),
  59397. buffer = new A.InterpolationBuffer(t2, t3);
  59398. if (t1.scanChar$1(45)) {
  59399. t2._contents += A.Primitives_stringFromCharCode(45);
  59400. if (t1.scanChar$1(45)) {
  59401. t2._contents += A.Primitives_stringFromCharCode(45);
  59402. _this._interpolatedIdentifierBody$1(buffer);
  59403. return buffer.interpolation$1(t1.spanFrom$1(start));
  59404. }
  59405. }
  59406. $label0$0: {
  59407. _0_0 = t1.peekChar$0();
  59408. if (_0_0 == null)
  59409. t1.error$1(0, _s20_);
  59410. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  59411. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59412. break $label0$0;
  59413. }
  59414. if (92 === _0_0) {
  59415. t2._contents += _this.escape$1$identifierStart(true);
  59416. break $label0$0;
  59417. }
  59418. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  59419. t2 = _this.singleInterpolation$0();
  59420. buffer._flushText$0();
  59421. t3.push(t2);
  59422. break $label0$0;
  59423. }
  59424. t1.error$1(0, _s20_);
  59425. }
  59426. _this._interpolatedIdentifierBody$1(buffer);
  59427. return buffer.interpolation$1(t1.spanFrom$1(start));
  59428. },
  59429. _interpolatedIdentifierBody$1(buffer) {
  59430. var t1, t2, t3, _0_0, t4;
  59431. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  59432. _0_0 = t2.peekChar$0();
  59433. if (_0_0 == null)
  59434. break;
  59435. if (95 !== _0_0)
  59436. if (45 !== _0_0) {
  59437. if (!(_0_0 >= 97 && _0_0 <= 122))
  59438. t4 = _0_0 >= 65 && _0_0 <= 90;
  59439. else
  59440. t4 = true;
  59441. if (!t4)
  59442. t4 = _0_0 >= 48 && _0_0 <= 57;
  59443. else
  59444. t4 = true;
  59445. t4 = t4 || _0_0 >= 128;
  59446. } else
  59447. t4 = true;
  59448. else
  59449. t4 = true;
  59450. if (t4) {
  59451. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  59452. continue;
  59453. }
  59454. if (92 === _0_0) {
  59455. t3._contents += this.escape$0();
  59456. continue;
  59457. }
  59458. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  59459. t4 = this.singleInterpolation$0();
  59460. buffer._flushText$0();
  59461. t1.push(t4);
  59462. continue;
  59463. }
  59464. break;
  59465. }
  59466. },
  59467. singleInterpolation$0() {
  59468. var contents, _this = this,
  59469. t1 = _this.scanner,
  59470. t2 = t1._string_scanner$_position;
  59471. t1.expect$1("#{");
  59472. _this.whitespace$0();
  59473. contents = _this._expression$0();
  59474. t1.expectChar$1(125);
  59475. if (_this.get$plainCss())
  59476. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59477. return contents;
  59478. },
  59479. _mediaQueryList$0() {
  59480. var _this = this,
  59481. t1 = _this.scanner,
  59482. t2 = t1._string_scanner$_position,
  59483. t3 = new A.StringBuffer(""),
  59484. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59485. for (; true;) {
  59486. _this.whitespace$0();
  59487. _this._stylesheet$_mediaQuery$1(buffer);
  59488. _this.whitespace$0();
  59489. if (!t1.scanChar$1(44))
  59490. break;
  59491. t3._contents += A.Primitives_stringFromCharCode(44);
  59492. t3._contents += A.Primitives_stringFromCharCode(32);
  59493. }
  59494. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59495. },
  59496. _stylesheet$_mediaQuery$1(buffer) {
  59497. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  59498. if (_this.scanner.peekChar$0() === 40) {
  59499. _this._stylesheet$_mediaInParens$1(buffer);
  59500. _this.whitespace$0();
  59501. if (_this.scanIdentifier$1(_s3_)) {
  59502. buffer._interpolation_buffer$_text._contents += " and ";
  59503. _this.expectWhitespace$0();
  59504. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59505. } else if (_this.scanIdentifier$1("or")) {
  59506. buffer._interpolation_buffer$_text._contents += " or ";
  59507. _this.expectWhitespace$0();
  59508. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59509. }
  59510. return;
  59511. }
  59512. identifier1 = _this.interpolatedIdentifier$0();
  59513. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  59514. _this.expectWhitespace$0();
  59515. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  59516. buffer._interpolation_buffer$_text._contents += "not ";
  59517. _this._mediaOrInterp$1(buffer);
  59518. return;
  59519. }
  59520. }
  59521. _this.whitespace$0();
  59522. buffer.addInterpolation$1(identifier1);
  59523. if (!_this._lookingAtInterpolatedIdentifier$0())
  59524. return;
  59525. t1 = buffer._interpolation_buffer$_text;
  59526. t1._contents += A.Primitives_stringFromCharCode(32);
  59527. identifier2 = _this.interpolatedIdentifier$0();
  59528. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  59529. _this.expectWhitespace$0();
  59530. t1._contents += " and ";
  59531. } else {
  59532. _this.whitespace$0();
  59533. buffer.addInterpolation$1(identifier2);
  59534. if (_this.scanIdentifier$1(_s3_)) {
  59535. _this.expectWhitespace$0();
  59536. t1._contents += " and ";
  59537. } else
  59538. return;
  59539. }
  59540. if (_this.scanIdentifier$1("not")) {
  59541. _this.expectWhitespace$0();
  59542. t1._contents += "not ";
  59543. _this._mediaOrInterp$1(buffer);
  59544. return;
  59545. }
  59546. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59547. return;
  59548. },
  59549. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  59550. var t1, t2, _this = this;
  59551. for (t1 = buffer._interpolation_buffer$_text; true;) {
  59552. _this._mediaOrInterp$1(buffer);
  59553. _this.whitespace$0();
  59554. if (!_this.scanIdentifier$1(operator))
  59555. return;
  59556. _this.expectWhitespace$0();
  59557. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  59558. t1._contents = t2 + operator;
  59559. t1._contents += A.Primitives_stringFromCharCode(32);
  59560. }
  59561. },
  59562. _mediaOrInterp$1(buffer) {
  59563. var interpolation;
  59564. if (this.scanner.peekChar$0() === 35) {
  59565. interpolation = this.singleInterpolation$0();
  59566. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  59567. } else
  59568. this._stylesheet$_mediaInParens$1(buffer);
  59569. },
  59570. _stylesheet$_mediaInParens$1(buffer) {
  59571. var t2, t3, t4, next, t5, _this = this,
  59572. t1 = _this.scanner;
  59573. t1.expectChar$2$name(40, "media condition in parentheses");
  59574. t2 = buffer._interpolation_buffer$_text;
  59575. t2._contents += A.Primitives_stringFromCharCode(40);
  59576. _this.whitespace$0();
  59577. if (t1.peekChar$0() === 40) {
  59578. _this._stylesheet$_mediaInParens$1(buffer);
  59579. _this.whitespace$0();
  59580. if (_this.scanIdentifier$1("and")) {
  59581. t2._contents += " and ";
  59582. _this.expectWhitespace$0();
  59583. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  59584. } else if (_this.scanIdentifier$1("or")) {
  59585. t2._contents += " or ";
  59586. _this.expectWhitespace$0();
  59587. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59588. }
  59589. } else if (_this.scanIdentifier$1("not")) {
  59590. t2._contents += "not ";
  59591. _this.expectWhitespace$0();
  59592. _this._mediaOrInterp$1(buffer);
  59593. } else {
  59594. t3 = _this._expressionUntilComparison$0();
  59595. buffer._flushText$0();
  59596. t4 = buffer._interpolation_buffer$_contents;
  59597. t4.push(t3);
  59598. if (t1.scanChar$1(58)) {
  59599. _this.whitespace$0();
  59600. t2._contents += A.Primitives_stringFromCharCode(58);
  59601. t2._contents += A.Primitives_stringFromCharCode(32);
  59602. t3 = _this._expression$0();
  59603. buffer._flushText$0();
  59604. t4.push(t3);
  59605. } else {
  59606. next = t1.peekChar$0();
  59607. t3 = 60 !== next;
  59608. if (!t3 || 62 === next || 61 === next) {
  59609. t2._contents += A.Primitives_stringFromCharCode(32);
  59610. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  59611. if ((!t3 || 62 === next) && t1.scanChar$1(61))
  59612. t2._contents += A.Primitives_stringFromCharCode(61);
  59613. t2._contents += A.Primitives_stringFromCharCode(32);
  59614. _this.whitespace$0();
  59615. t5 = _this._expressionUntilComparison$0();
  59616. buffer._flushText$0();
  59617. t4.push(t5);
  59618. if (!t3 || 62 === next) {
  59619. next.toString;
  59620. t3 = t1.scanChar$1(next);
  59621. } else
  59622. t3 = false;
  59623. if (t3) {
  59624. t2._contents += A.Primitives_stringFromCharCode(32);
  59625. t2._contents += A.Primitives_stringFromCharCode(next);
  59626. if (t1.scanChar$1(61))
  59627. t2._contents += A.Primitives_stringFromCharCode(61);
  59628. t2._contents += A.Primitives_stringFromCharCode(32);
  59629. _this.whitespace$0();
  59630. t3 = _this._expressionUntilComparison$0();
  59631. buffer._flushText$0();
  59632. t4.push(t3);
  59633. }
  59634. }
  59635. }
  59636. }
  59637. t1.expectChar$1(41);
  59638. _this.whitespace$0();
  59639. t2._contents += A.Primitives_stringFromCharCode(41);
  59640. },
  59641. _expressionUntilComparison$0() {
  59642. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  59643. },
  59644. _supportsCondition$0() {
  59645. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  59646. t1 = _this.scanner,
  59647. t2 = t1._string_scanner$_position;
  59648. if (_this.scanIdentifier$1("not")) {
  59649. _this.whitespace$0();
  59650. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59651. }
  59652. condition = _this._supportsConditionInParens$0();
  59653. _this.whitespace$0();
  59654. for (operator = null; _this.lookingAtIdentifier$0();) {
  59655. if (operator != null)
  59656. _this.expectIdentifier$1(operator);
  59657. else if (_this.scanIdentifier$1("or"))
  59658. operator = "or";
  59659. else {
  59660. _this.expectIdentifier$1("and");
  59661. operator = "and";
  59662. }
  59663. _this.whitespace$0();
  59664. right = _this._supportsConditionInParens$0();
  59665. endPosition = t1._string_scanner$_position;
  59666. t3 = t1._sourceFile;
  59667. t4 = new A._FileSpan(t3, t2, endPosition);
  59668. t4._FileSpan$3(t3, t2, endPosition);
  59669. condition = new A.SupportsOperation(condition, right, operator, t4);
  59670. lowerOperator = operator.toLowerCase();
  59671. if (lowerOperator !== "and" && lowerOperator !== "or")
  59672. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  59673. _this.whitespace$0();
  59674. }
  59675. return condition;
  59676. },
  59677. _supportsConditionInParens$0() {
  59678. var $name, nameStart, wasInParentheses, identifier, operation, _1_0, contents, identifier0, t2, $arguments, _0_0, _0_4, _0_4_isSet, condition, exception, declaration, _this = this, _null = null,
  59679. t1 = _this.scanner,
  59680. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59681. if (_this._lookingAtInterpolatedIdentifier$0()) {
  59682. identifier0 = _this.interpolatedIdentifier$0();
  59683. t2 = identifier0.get$asPlain();
  59684. if ((t2 == null ? _null : t2.toLowerCase()) === "not")
  59685. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  59686. if (t1.scanChar$1(40)) {
  59687. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  59688. t1.expectChar$1(41);
  59689. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  59690. } else {
  59691. _0_0 = identifier0.contents;
  59692. if (_0_0.length === 1) {
  59693. _0_4 = _0_0[0];
  59694. t2 = _0_4;
  59695. t2 = type$.Expression._is(t2);
  59696. _0_4_isSet = true;
  59697. } else {
  59698. _0_4 = _null;
  59699. _0_4_isSet = false;
  59700. t2 = false;
  59701. }
  59702. if (t2) {
  59703. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  59704. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  59705. } else
  59706. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  59707. }
  59708. }
  59709. t1.expectChar$1(40);
  59710. _this.whitespace$0();
  59711. if (_this.scanIdentifier$1("not")) {
  59712. _this.whitespace$0();
  59713. condition = _this._supportsConditionInParens$0();
  59714. t1.expectChar$1(41);
  59715. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  59716. } else if (t1.peekChar$0() === 40) {
  59717. condition = _this._supportsCondition$0();
  59718. t1.expectChar$1(41);
  59719. return condition;
  59720. }
  59721. $name = null;
  59722. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59723. wasInParentheses = _this._inParentheses;
  59724. try {
  59725. $name = _this._expression$0();
  59726. t1.expectChar$1(58);
  59727. } catch (exception) {
  59728. if (type$.FormatException._is(A.unwrapException(exception))) {
  59729. t1.set$state(nameStart);
  59730. _this._inParentheses = wasInParentheses;
  59731. identifier = _this.interpolatedIdentifier$0();
  59732. operation = null;
  59733. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  59734. if (_1_0 != null) {
  59735. operation = _1_0;
  59736. t1.expectChar$1(41);
  59737. return operation;
  59738. }
  59739. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  59740. t2.addInterpolation$1(identifier);
  59741. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  59742. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  59743. if (t1.peekChar$0() === 58)
  59744. throw exception;
  59745. t1.expectChar$1(41);
  59746. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  59747. } else
  59748. throw exception;
  59749. }
  59750. declaration = _this._supportsDeclarationValue$2($name, start);
  59751. t1.expectChar$1(41);
  59752. return declaration;
  59753. },
  59754. _supportsDeclarationValue$2($name, start) {
  59755. var t1, value, _this = this;
  59756. if ($name instanceof A.StringExpression)
  59757. if (!$name.hasQuotes)
  59758. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  59759. else
  59760. t1 = false;
  59761. else
  59762. t1 = false;
  59763. if (t1)
  59764. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  59765. else {
  59766. _this.whitespace$0();
  59767. value = _this._expression$0();
  59768. }
  59769. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  59770. },
  59771. _trySupportsOperation$2(interpolation, start) {
  59772. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  59773. t1 = interpolation.contents;
  59774. if (t1.length !== 1)
  59775. return _null;
  59776. expression = B.JSArray_methods.get$first(t1);
  59777. if (!type$.Expression._is(expression))
  59778. return _null;
  59779. t1 = _this.scanner;
  59780. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59781. _this.whitespace$0();
  59782. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  59783. if (operator != null)
  59784. _this.expectIdentifier$1(operator);
  59785. else if (_this.scanIdentifier$1("and"))
  59786. operator = "and";
  59787. else {
  59788. if (!_this.scanIdentifier$1("or")) {
  59789. if (beforeWhitespace._scanner !== t1)
  59790. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  59791. t2 = beforeWhitespace.position;
  59792. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  59793. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  59794. t1._string_scanner$_position = t2;
  59795. return t1._lastMatch = null;
  59796. }
  59797. operator = "or";
  59798. }
  59799. _this.whitespace$0();
  59800. right = _this._supportsConditionInParens$0();
  59801. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  59802. endPosition = t1._string_scanner$_position;
  59803. t5 = t1._sourceFile;
  59804. t6 = new A._FileSpan(t5, t2, endPosition);
  59805. t6._FileSpan$3(t5, t2, endPosition);
  59806. operation = new A.SupportsOperation(t4, right, operator, t6);
  59807. lowerOperator = operator.toLowerCase();
  59808. if (lowerOperator !== "and" && lowerOperator !== "or")
  59809. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  59810. _this.whitespace$0();
  59811. }
  59812. return operation;
  59813. },
  59814. _lookingAtInterpolatedIdentifier$0() {
  59815. var _0_0,
  59816. t1 = this.scanner,
  59817. _1_0 = t1.peekChar$0();
  59818. $label0$0: {
  59819. if (_1_0 == null) {
  59820. t1 = false;
  59821. break $label0$0;
  59822. }
  59823. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  59824. t1 = true;
  59825. break $label0$0;
  59826. }
  59827. if (35 === _1_0) {
  59828. t1 = t1.peekChar$1(1) === 123;
  59829. break $label0$0;
  59830. }
  59831. if (45 === _1_0) {
  59832. _0_0 = t1.peekChar$1(1);
  59833. $label1$1: {
  59834. if (_0_0 == null) {
  59835. t1 = false;
  59836. break $label1$1;
  59837. }
  59838. if (35 === _0_0) {
  59839. t1 = t1.peekChar$1(2) === 123;
  59840. break $label1$1;
  59841. }
  59842. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  59843. t1 = true;
  59844. break $label1$1;
  59845. }
  59846. t1 = false;
  59847. break $label1$1;
  59848. }
  59849. break $label0$0;
  59850. }
  59851. t1 = false;
  59852. break $label0$0;
  59853. }
  59854. return t1;
  59855. },
  59856. _lookingAtPotentialPropertyHack$0() {
  59857. var t1 = this.scanner,
  59858. _0_0 = t1.peekChar$0();
  59859. $label0$0: {
  59860. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  59861. t1 = true;
  59862. break $label0$0;
  59863. }
  59864. if (35 === _0_0) {
  59865. t1 = t1.peekChar$1(1) !== 123;
  59866. break $label0$0;
  59867. }
  59868. t1 = false;
  59869. break $label0$0;
  59870. }
  59871. return t1;
  59872. },
  59873. _lookingAtInterpolatedIdentifierBody$0() {
  59874. var t2,
  59875. t1 = this.scanner,
  59876. _0_0 = t1.peekChar$0();
  59877. $label0$0: {
  59878. if (_0_0 == null) {
  59879. t1 = false;
  59880. break $label0$0;
  59881. }
  59882. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  59883. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  59884. else
  59885. t2 = true;
  59886. if (t2 || 92 === _0_0) {
  59887. t1 = true;
  59888. break $label0$0;
  59889. }
  59890. if (35 === _0_0) {
  59891. t1 = t1.peekChar$1(1) === 123;
  59892. break $label0$0;
  59893. }
  59894. t1 = false;
  59895. break $label0$0;
  59896. }
  59897. return t1;
  59898. },
  59899. _lookingAtExpression$0() {
  59900. var _0_0,
  59901. t1 = this.scanner,
  59902. _1_0 = t1.peekChar$0();
  59903. $label0$0: {
  59904. if (_1_0 == null) {
  59905. t1 = false;
  59906. break $label0$0;
  59907. }
  59908. if (46 === _1_0) {
  59909. t1 = t1.peekChar$1(1) !== 46;
  59910. break $label0$0;
  59911. }
  59912. if (33 === _1_0) {
  59913. _0_0 = t1.peekChar$1(1);
  59914. $label1$1: {
  59915. if (_0_0 != null)
  59916. if (105 !== _0_0)
  59917. if (73 !== _0_0)
  59918. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  59919. else
  59920. t1 = true;
  59921. else
  59922. t1 = true;
  59923. else
  59924. t1 = true;
  59925. if (t1) {
  59926. t1 = true;
  59927. break $label1$1;
  59928. }
  59929. t1 = false;
  59930. break $label1$1;
  59931. }
  59932. break $label0$0;
  59933. }
  59934. if (40 !== _1_0)
  59935. if (47 !== _1_0)
  59936. if (91 !== _1_0)
  59937. if (39 !== _1_0)
  59938. if (34 !== _1_0)
  59939. if (35 !== _1_0)
  59940. if (43 !== _1_0)
  59941. if (45 !== _1_0)
  59942. if (92 !== _1_0)
  59943. if (36 !== _1_0)
  59944. if (38 !== _1_0)
  59945. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  59946. t1 = _1_0 >= 48 && _1_0 <= 57;
  59947. else
  59948. t1 = true;
  59949. else
  59950. t1 = true;
  59951. else
  59952. t1 = true;
  59953. else
  59954. t1 = true;
  59955. else
  59956. t1 = true;
  59957. else
  59958. t1 = true;
  59959. else
  59960. t1 = true;
  59961. else
  59962. t1 = true;
  59963. else
  59964. t1 = true;
  59965. else
  59966. t1 = true;
  59967. else
  59968. t1 = true;
  59969. else
  59970. t1 = true;
  59971. if (t1) {
  59972. t1 = true;
  59973. break $label0$0;
  59974. }
  59975. t1 = false;
  59976. break $label0$0;
  59977. }
  59978. return t1;
  59979. },
  59980. _withChildren$1$3(child, start, create) {
  59981. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  59982. this.whitespaceWithoutComments$0();
  59983. return result;
  59984. },
  59985. _withChildren$3(child, start, create) {
  59986. return this._withChildren$1$3(child, start, create, type$.dynamic);
  59987. },
  59988. _urlString$0() {
  59989. var innerError, stackTrace, t2, exception,
  59990. t1 = this.scanner,
  59991. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59992. url = this.string$0();
  59993. try {
  59994. t2 = A.Uri_parse(url);
  59995. return t2;
  59996. } catch (exception) {
  59997. t2 = A.unwrapException(exception);
  59998. if (type$.FormatException._is(t2)) {
  59999. innerError = t2;
  60000. stackTrace = A.getTraceFromException(exception);
  60001. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  60002. } else
  60003. throw exception;
  60004. }
  60005. },
  60006. _publicIdentifier$0() {
  60007. var _this = this,
  60008. t1 = _this.scanner,
  60009. t2 = t1._string_scanner$_position,
  60010. result = _this.identifier$1$normalize(true);
  60011. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  60012. return result;
  60013. },
  60014. _assertPublic$2(identifier, span) {
  60015. var first = identifier.charCodeAt(0);
  60016. if (!(first === 45 || first === 95))
  60017. return;
  60018. this.error$2(0, string$.Privat, span.call$0());
  60019. },
  60020. get$plainCss() {
  60021. return false;
  60022. }
  60023. };
  60024. A.StylesheetParser_parse_closure.prototype = {
  60025. call$0() {
  60026. var statements, t4,
  60027. t1 = this.$this,
  60028. t2 = t1.scanner,
  60029. t3 = t2._string_scanner$_position;
  60030. t2.scanChar$1(65279);
  60031. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  60032. t2.expectDone$0();
  60033. t4 = t1._globalVariables.get$values(0);
  60034. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  60035. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  60036. },
  60037. $signature: 344
  60038. };
  60039. A.StylesheetParser_parse__closure.prototype = {
  60040. call$0() {
  60041. var t1 = this.$this;
  60042. if (t1.scanner.scan$1("@charset")) {
  60043. t1.whitespace$0();
  60044. t1.string$0();
  60045. return null;
  60046. }
  60047. return t1._statement$1$root(true);
  60048. },
  60049. $signature: 343
  60050. };
  60051. A.StylesheetParser_parse__closure0.prototype = {
  60052. call$1(declaration) {
  60053. var t1 = declaration.expression;
  60054. return A.VariableDeclaration$(declaration.name, new A.NullExpression(t1.get$span(t1)), declaration.span, null, false, true, null);
  60055. },
  60056. $signature: 342
  60057. };
  60058. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  60059. call$0() {
  60060. var $arguments,
  60061. t1 = this.$this,
  60062. t2 = t1.scanner;
  60063. t2.expectChar$2$name(64, "@-rule");
  60064. t1.identifier$0();
  60065. t1.whitespace$0();
  60066. t1.identifier$0();
  60067. $arguments = t1._argumentDeclaration$0();
  60068. t1.whitespace$0();
  60069. t2.expectChar$1(123);
  60070. return $arguments;
  60071. },
  60072. $signature: 341
  60073. };
  60074. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  60075. call$0() {
  60076. var t1 = this.$this;
  60077. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  60078. },
  60079. $signature: 184
  60080. };
  60081. A.StylesheetParser_parseUseRule_closure.prototype = {
  60082. call$0() {
  60083. var t1 = this.$this,
  60084. t2 = t1.scanner,
  60085. t3 = t2._string_scanner$_position;
  60086. t2.expectChar$2$name(64, "@-rule");
  60087. t1.expectIdentifier$1("use");
  60088. t1.whitespace$0();
  60089. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  60090. },
  60091. $signature: 340
  60092. };
  60093. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  60094. call$0() {
  60095. var result = this.production.call$0();
  60096. this.$this.scanner.expectDone$0();
  60097. return result;
  60098. },
  60099. $signature() {
  60100. return this.T._eval$1("0()");
  60101. }
  60102. };
  60103. A.StylesheetParser__statement_closure.prototype = {
  60104. call$0() {
  60105. return this.$this._statement$0();
  60106. },
  60107. $signature: 132
  60108. };
  60109. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  60110. call$0() {
  60111. return this.$this.scanner.spanFrom$1(this.start);
  60112. },
  60113. $signature: 25
  60114. };
  60115. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  60116. call$0() {
  60117. return this.declaration;
  60118. },
  60119. $signature: 184
  60120. };
  60121. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  60122. call$2(children, span) {
  60123. return A.Declaration$nested(this.name, children, span, null);
  60124. },
  60125. $signature: 81
  60126. };
  60127. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  60128. call$2(children, span) {
  60129. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  60130. },
  60131. $signature: 81
  60132. };
  60133. A.StylesheetParser__styleRule_closure.prototype = {
  60134. call$2(children, span) {
  60135. var _this = this,
  60136. t1 = _this.$this;
  60137. if (t1.get$indented() && children.length === 0)
  60138. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  60139. t1._inStyleRule = _this.wasInStyleRule;
  60140. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  60141. },
  60142. $signature: 338
  60143. };
  60144. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  60145. call$2(children, span) {
  60146. return A.Declaration$nested(this._box_0.name, children, span, null);
  60147. },
  60148. $signature: 81
  60149. };
  60150. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  60151. call$2(children, span) {
  60152. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  60153. },
  60154. $signature: 81
  60155. };
  60156. A.StylesheetParser__atRootRule_closure.prototype = {
  60157. call$2(children, span) {
  60158. return A.AtRootRule$(children, span, this.query);
  60159. },
  60160. $signature: 188
  60161. };
  60162. A.StylesheetParser__atRootRule_closure0.prototype = {
  60163. call$2(children, span) {
  60164. return A.AtRootRule$(children, span, null);
  60165. },
  60166. $signature: 188
  60167. };
  60168. A.StylesheetParser__eachRule_closure.prototype = {
  60169. call$2(children, span) {
  60170. var _this = this;
  60171. _this.$this._inControlDirective = _this.wasInControlDirective;
  60172. return A.EachRule$(_this.variables, _this.list, children, span);
  60173. },
  60174. $signature: 337
  60175. };
  60176. A.StylesheetParser__functionRule_closure.prototype = {
  60177. call$2(children, span) {
  60178. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  60179. },
  60180. $signature: 335
  60181. };
  60182. A.StylesheetParser__forRule_closure.prototype = {
  60183. call$0() {
  60184. var t1 = this.$this;
  60185. if (!t1.lookingAtIdentifier$0())
  60186. return false;
  60187. if (t1.scanIdentifier$1("to"))
  60188. return this._box_0.exclusive = true;
  60189. else if (t1.scanIdentifier$1("through")) {
  60190. this._box_0.exclusive = false;
  60191. return true;
  60192. } else
  60193. return false;
  60194. },
  60195. $signature: 26
  60196. };
  60197. A.StylesheetParser__forRule_closure0.prototype = {
  60198. call$2(children, span) {
  60199. var t1, _this = this;
  60200. _this.$this._inControlDirective = _this.wasInControlDirective;
  60201. t1 = _this._box_0.exclusive;
  60202. t1.toString;
  60203. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  60204. },
  60205. $signature: 334
  60206. };
  60207. A.StylesheetParser__memberList_closure.prototype = {
  60208. call$0() {
  60209. var t1 = this.$this;
  60210. if (t1.scanner.peekChar$0() === 36)
  60211. this.variables.add$1(0, t1.variableName$0());
  60212. else
  60213. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  60214. },
  60215. $signature: 1
  60216. };
  60217. A.StylesheetParser__includeRule_closure.prototype = {
  60218. call$2(children, span) {
  60219. return A.ContentBlock$(this.contentArguments_, children, span);
  60220. },
  60221. $signature: 333
  60222. };
  60223. A.StylesheetParser_mediaRule_closure.prototype = {
  60224. call$2(children, span) {
  60225. return A.MediaRule$(this.query, children, span);
  60226. },
  60227. $signature: 332
  60228. };
  60229. A.StylesheetParser__mixinRule_closure.prototype = {
  60230. call$2(children, span) {
  60231. var _this = this;
  60232. _this.$this._stylesheet$_inMixin = false;
  60233. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  60234. },
  60235. $signature: 330
  60236. };
  60237. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  60238. call$2(children, span) {
  60239. var _this = this;
  60240. if (_this._box_0.needsDeprecationWarning)
  60241. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_gJ9, string$.x40_moz_, span, null);
  60242. return A.AtRule$(_this.name, span, children, _this.value);
  60243. },
  60244. $signature: 195
  60245. };
  60246. A.StylesheetParser_supportsRule_closure.prototype = {
  60247. call$2(children, span) {
  60248. return A.SupportsRule$(this.condition, children, span);
  60249. },
  60250. $signature: 328
  60251. };
  60252. A.StylesheetParser__whileRule_closure.prototype = {
  60253. call$2(children, span) {
  60254. this.$this._inControlDirective = this.wasInControlDirective;
  60255. return A.WhileRule$(this.condition, children, span);
  60256. },
  60257. $signature: 327
  60258. };
  60259. A.StylesheetParser_unknownAtRule_closure.prototype = {
  60260. call$2(children, span) {
  60261. return A.AtRule$(this.name, span, children, this._box_0.value);
  60262. },
  60263. $signature: 195
  60264. };
  60265. A.StylesheetParser__expression_resetState.prototype = {
  60266. call$0() {
  60267. var t2,
  60268. t1 = this._box_0;
  60269. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  60270. t2 = this.$this;
  60271. t2.scanner.set$state(this.start);
  60272. t1.allowSlash = true;
  60273. t1.singleExpression_ = t2._singleExpression$0();
  60274. },
  60275. $signature: 0
  60276. };
  60277. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  60278. call$0() {
  60279. var t2, t3, t4, t5, t6, t7, _this = this,
  60280. t1 = _this._box_0,
  60281. operator = t1.operators_.pop(),
  60282. left = t1.operands_.pop(),
  60283. right = t1.singleExpression_;
  60284. if (right == null) {
  60285. t2 = _this.$this.scanner;
  60286. t3 = operator.operator.length;
  60287. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  60288. }
  60289. if (t1.allowSlash) {
  60290. t2 = _this.$this;
  60291. t2 = !t2._inParentheses && operator === B.BinaryOperator_t8B && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  60292. } else
  60293. t2 = false;
  60294. if (t2)
  60295. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_t8B, left, right, true);
  60296. else {
  60297. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  60298. t2 = t1.allowSlash = false;
  60299. if (B.BinaryOperator_anB === operator || B.BinaryOperator_olz === operator) {
  60300. t3 = _this.$this;
  60301. t4 = t3.scanner.string;
  60302. t5 = right.get$span(right);
  60303. t5 = t5.get$start(t5);
  60304. t6 = right.get$span(right);
  60305. t7 = operator.operator;
  60306. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  60307. t2 = left.get$span(left);
  60308. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  60309. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  60310. }
  60311. if (t2) {
  60312. t2 = left.toString$0(0);
  60313. t4 = right.toString$0(0);
  60314. t5 = left.toString$0(0);
  60315. t6 = right.toString$0(0);
  60316. t1 = t1.singleExpression_;
  60317. 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);
  60318. }
  60319. }
  60320. }
  60321. },
  60322. $signature: 0
  60323. };
  60324. A.StylesheetParser__expression_resolveOperations.prototype = {
  60325. call$0() {
  60326. var t1,
  60327. operators = this._box_0.operators_;
  60328. if (operators == null)
  60329. return;
  60330. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  60331. t1.call$0();
  60332. },
  60333. $signature: 0
  60334. };
  60335. A.StylesheetParser__expression_addSingleExpression.prototype = {
  60336. call$1(expression) {
  60337. var t2, spaceExpressions, _this = this,
  60338. t1 = _this._box_0;
  60339. if (t1.singleExpression_ != null) {
  60340. t2 = _this.$this;
  60341. if (t2._inParentheses) {
  60342. t2._inParentheses = false;
  60343. if (t1.allowSlash) {
  60344. _this.resetState.call$0();
  60345. return;
  60346. }
  60347. }
  60348. spaceExpressions = t1.spaceExpressions_;
  60349. if (spaceExpressions == null)
  60350. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  60351. _this.resolveOperations.call$0();
  60352. t2 = t1.singleExpression_;
  60353. t2.toString;
  60354. spaceExpressions.push(t2);
  60355. t1.allowSlash = true;
  60356. }
  60357. t1.singleExpression_ = expression;
  60358. },
  60359. $signature: 326
  60360. };
  60361. A.StylesheetParser__expression_addOperator.prototype = {
  60362. call$1(operator) {
  60363. var t2, t3, operators, operands, t4, singleExpression,
  60364. t1 = this.$this;
  60365. if (t1.get$plainCss() && operator !== B.BinaryOperator_2jN && operator !== B.BinaryOperator_anB && operator !== B.BinaryOperator_olz && operator !== B.BinaryOperator_qN2 && operator !== B.BinaryOperator_t8B) {
  60366. t2 = t1.scanner;
  60367. t3 = operator.operator.length;
  60368. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  60369. }
  60370. t2 = this._box_0;
  60371. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B;
  60372. operators = t2.operators_;
  60373. if (operators == null)
  60374. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  60375. operands = t2.operands_;
  60376. if (operands == null)
  60377. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  60378. t3 = this.resolveOneOperation;
  60379. t4 = operator.precedence;
  60380. while (true) {
  60381. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  60382. break;
  60383. t3.call$0();
  60384. }
  60385. operators.push(operator);
  60386. singleExpression = t2.singleExpression_;
  60387. if (singleExpression == null) {
  60388. t3 = t1.scanner;
  60389. t4 = operator.operator.length;
  60390. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  60391. }
  60392. operands.push(singleExpression);
  60393. t1.whitespace$0();
  60394. t2.singleExpression_ = t1._singleExpression$0();
  60395. },
  60396. $signature: 325
  60397. };
  60398. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  60399. call$0() {
  60400. var t1, spaceExpressions, singleExpression, t2;
  60401. this.resolveOperations.call$0();
  60402. t1 = this._box_0;
  60403. spaceExpressions = t1.spaceExpressions_;
  60404. if (spaceExpressions == null)
  60405. return;
  60406. singleExpression = t1.singleExpression_;
  60407. if (singleExpression == null)
  60408. this.$this.scanner.error$1(0, "Expected expression.");
  60409. spaceExpressions.push(singleExpression);
  60410. t2 = B.JSArray_methods.get$first(spaceExpressions);
  60411. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  60412. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  60413. t1.spaceExpressions_ = null;
  60414. },
  60415. $signature: 0
  60416. };
  60417. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  60418. call$0() {
  60419. return this.$this.scanner.peekChar$0() === 44;
  60420. },
  60421. $signature: 26
  60422. };
  60423. A.StylesheetParser__isHexColor_closure.prototype = {
  60424. call$1(char) {
  60425. return A.CharacterExtension_get_isHex(char);
  60426. },
  60427. $signature: 46
  60428. };
  60429. A.StylesheetParser__unicodeRange_closure.prototype = {
  60430. call$1(char) {
  60431. return char != null && A.CharacterExtension_get_isHex(char);
  60432. },
  60433. $signature: 28
  60434. };
  60435. A.StylesheetParser__unicodeRange_closure0.prototype = {
  60436. call$1(char) {
  60437. return char != null && A.CharacterExtension_get_isHex(char);
  60438. },
  60439. $signature: 28
  60440. };
  60441. A.StylesheetParser_namespacedExpression_closure.prototype = {
  60442. call$0() {
  60443. return this.$this.scanner.spanFrom$1(this.start);
  60444. },
  60445. $signature: 25
  60446. };
  60447. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  60448. call$1(contents) {
  60449. return new A.StringExpression(contents, false);
  60450. },
  60451. $signature: 323
  60452. };
  60453. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  60454. call$0() {
  60455. var t1 = this.$this.scanner,
  60456. _0_0 = t1.peekChar$0();
  60457. $label0$0: {
  60458. if (61 === _0_0) {
  60459. t1 = t1.peekChar$1(1) !== 61;
  60460. break $label0$0;
  60461. }
  60462. if (60 === _0_0 || 62 === _0_0) {
  60463. t1 = true;
  60464. break $label0$0;
  60465. }
  60466. t1 = false;
  60467. break $label0$0;
  60468. }
  60469. return t1;
  60470. },
  60471. $signature: 26
  60472. };
  60473. A.StylesheetParser__publicIdentifier_closure.prototype = {
  60474. call$0() {
  60475. return this.$this.scanner.spanFrom$1(this.start);
  60476. },
  60477. $signature: 25
  60478. };
  60479. A.StylesheetGraph.prototype = {
  60480. modifiedSince$3(url, since, baseImporter) {
  60481. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  60482. if (node == null)
  60483. return true;
  60484. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
  60485. },
  60486. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  60487. var importer, canonicalUrl, _this = this,
  60488. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  60489. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  60490. importer = result._0;
  60491. canonicalUrl = result._1;
  60492. _this.addCanonical$3(importer, canonicalUrl, result._2);
  60493. return _this._nodes.$index(0, canonicalUrl);
  60494. } else
  60495. return null;
  60496. },
  60497. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  60498. var stylesheet, _this = this,
  60499. t1 = _this._nodes;
  60500. if (t1.$index(0, canonicalUrl) != null)
  60501. return B.Set_empty3;
  60502. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  60503. if (stylesheet == null)
  60504. return B.Set_empty3;
  60505. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  60506. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  60507. },
  60508. addCanonical$3(importer, canonicalUrl, originalUrl) {
  60509. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  60510. },
  60511. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  60512. var t6, t7, t8, t9, t10,
  60513. t1 = type$.Uri,
  60514. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  60515. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60516. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60517. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60518. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60519. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  60520. t6 = type$.UnmodifiableSetView_Uri;
  60521. t2 = new A.UnmodifiableSetView0(t2, t6);
  60522. t3 = new A.UnmodifiableSetView0(t3, t6);
  60523. t4 = new A.UnmodifiableSetView0(t4, t6);
  60524. t7 = type$.nullable_StylesheetNode;
  60525. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60526. 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();) {
  60527. t10 = t9.get$current(t9);
  60528. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  60529. }
  60530. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60531. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  60532. t3 = t2.get$current(0);
  60533. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  60534. }
  60535. return new A._Record_2_imports_modules(t1, t8);
  60536. },
  60537. reload$1(canonicalUrl) {
  60538. var stylesheet, upstream, _this = this,
  60539. node = _this._nodes.$index(0, canonicalUrl);
  60540. if (node == null)
  60541. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  60542. _this._transitiveModificationTimes.clear$0(0);
  60543. _this.importCache.clearImport$1(canonicalUrl);
  60544. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  60545. if (stylesheet == null)
  60546. return false;
  60547. node._stylesheet = stylesheet;
  60548. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  60549. node._replaceUpstream$2(upstream._1, upstream._0);
  60550. return true;
  60551. },
  60552. _recanonicalizeImports$2(importer, canonicalUrl) {
  60553. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  60554. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  60555. for (t1 = _this._nodes.get$values(0).get$iterator(0), t2 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode, t3 = type$.Uri, t4 = type$.nullable_StylesheetNode; t1.moveNext$0();) {
  60556. t5 = t1.get$current(0);
  60557. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  60558. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  60559. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  60560. changed.add$1(0, t5);
  60561. 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));
  60562. }
  60563. }
  60564. if (changed._collection$_length !== 0)
  60565. _this._transitiveModificationTimes.clear$0(0);
  60566. return changed;
  60567. },
  60568. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  60569. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  60570. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  60571. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  60572. t1 = type$.Uri;
  60573. t2 = type$.nullable_StylesheetNode;
  60574. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  60575. 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();) {
  60576. t6 = t1.get$current(t1);
  60577. url = null;
  60578. url = t6._0;
  60579. upstream = t6._1;
  60580. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  60581. continue;
  60582. t3.clearCanonicalize$1(url);
  60583. result = null;
  60584. try {
  60585. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  60586. } catch (exception) {
  60587. }
  60588. t6 = result;
  60589. newCanonicalUrl = t6 == null ? null : t6._1;
  60590. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  60591. continue;
  60592. t6 = url;
  60593. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  60594. }
  60595. return newMap;
  60596. },
  60597. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  60598. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  60599. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  60600. if (result == null)
  60601. return null;
  60602. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  60603. t1.importer = result._0;
  60604. canonicalUrl = t1.canonicalUrl = result._1;
  60605. t1.originalUrl = result._2;
  60606. t2 = _this._nodes;
  60607. _1_0 = t2.$index(0, canonicalUrl);
  60608. if (_1_0 != null)
  60609. return _1_0;
  60610. if (active.contains$1(0, canonicalUrl))
  60611. return null;
  60612. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  60613. if (stylesheet == null)
  60614. return null;
  60615. active.add$1(0, t1.canonicalUrl);
  60616. t3 = t1.importer;
  60617. t4 = t1.canonicalUrl;
  60618. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  60619. active.remove$1(0, t1.canonicalUrl);
  60620. t2.$indexSet(0, t1.canonicalUrl, node);
  60621. return node;
  60622. },
  60623. _nodeFor$4(url, baseImporter, baseUrl, active) {
  60624. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  60625. },
  60626. _ignoreErrors$1$1(callback) {
  60627. var t1, exception;
  60628. try {
  60629. t1 = callback.call$0();
  60630. return t1;
  60631. } catch (exception) {
  60632. return null;
  60633. }
  60634. },
  60635. _ignoreErrors$1(callback) {
  60636. return this._ignoreErrors$1$1(callback, type$.dynamic);
  60637. }
  60638. };
  60639. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  60640. call$1(node) {
  60641. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  60642. },
  60643. $signature: 319
  60644. };
  60645. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  60646. call$0() {
  60647. var t2, t3, upstreamTime,
  60648. t1 = this.node,
  60649. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  60650. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  60651. t3 = t1._currentIterator;
  60652. t3 = t3.get$current(t3);
  60653. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  60654. if (upstreamTime._core$_value > latest._core$_value)
  60655. latest = upstreamTime;
  60656. }
  60657. return latest;
  60658. },
  60659. $signature: 164
  60660. };
  60661. A.StylesheetGraph__add_closure.prototype = {
  60662. call$0() {
  60663. var _this = this;
  60664. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  60665. },
  60666. $signature: 111
  60667. };
  60668. A.StylesheetGraph_addCanonical_closure.prototype = {
  60669. call$0() {
  60670. var _this = this;
  60671. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  60672. },
  60673. $signature: 91
  60674. };
  60675. A.StylesheetGraph_reload_closure.prototype = {
  60676. call$0() {
  60677. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  60678. },
  60679. $signature: 91
  60680. };
  60681. A.StylesheetGraph__nodeFor_closure.prototype = {
  60682. call$0() {
  60683. var _this = this;
  60684. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  60685. },
  60686. $signature: 111
  60687. };
  60688. A.StylesheetGraph__nodeFor_closure0.prototype = {
  60689. call$0() {
  60690. var t1 = this._box_0;
  60691. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  60692. },
  60693. $signature: 91
  60694. };
  60695. A.StylesheetNode.prototype = {
  60696. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  60697. var t1, t2;
  60698. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second); t1.moveNext$0();) {
  60699. t2 = t1._currentIterator;
  60700. t2 = t2.get$current(t2);
  60701. if (t2 != null)
  60702. t2._downstream.add$1(0, this);
  60703. }
  60704. },
  60705. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  60706. var t3, oldUpstream, newUpstreamSet, _this = this,
  60707. t1 = type$.nullable_StylesheetNode,
  60708. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  60709. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  60710. t3 = type$.StylesheetNode;
  60711. oldUpstream = A.SetExtension_removeNull(t2, t3);
  60712. t1 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(0), t1);
  60713. t1.addAll$1(0, newUpstreamImports.get$values(0));
  60714. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  60715. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60716. t1.get$current(t1)._downstream.remove$1(0, _this);
  60717. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60718. t1.get$current(t1)._downstream.add$1(0, _this);
  60719. _this._upstream = newUpstream;
  60720. _this._upstreamImports = newUpstreamImports;
  60721. },
  60722. _stylesheet_graph$_remove$0() {
  60723. var t1, t2, t3, t4, _i, url, _this = this;
  60724. for (t1 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), type$.nullable_StylesheetNode), t1.addAll$1(0, _this._upstreamImports.get$values(0)), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  60725. t3 = t1._collection$_current;
  60726. if (t3 == null)
  60727. t3 = t2._as(t3);
  60728. if (t3 == null)
  60729. continue;
  60730. t3._downstream.remove$1(0, _this);
  60731. }
  60732. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  60733. t2 = t1.get$current(0);
  60734. 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) {
  60735. url = t4[_i];
  60736. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  60737. t2._upstream.$indexSet(0, url, null);
  60738. break;
  60739. }
  60740. }
  60741. 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) {
  60742. url = t4[_i];
  60743. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  60744. t2._upstreamImports.$indexSet(0, url, null);
  60745. break;
  60746. }
  60747. }
  60748. }
  60749. },
  60750. toString$0(_) {
  60751. var t1 = this._stylesheet.span;
  60752. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  60753. return t1 == null ? "<unknown>" : t1;
  60754. }
  60755. };
  60756. A.Syntax.prototype = {
  60757. _enumToString$0() {
  60758. return "Syntax." + this._name;
  60759. },
  60760. toString$0(_) {
  60761. return this._syntax$_name;
  60762. }
  60763. };
  60764. A.Box.prototype = {
  60765. $eq(_, other) {
  60766. if (other == null)
  60767. return false;
  60768. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  60769. },
  60770. get$hashCode(_) {
  60771. return A.Primitives_objectHashCode(this._box$_inner);
  60772. }
  60773. };
  60774. A.ModifiableBox.prototype = {};
  60775. A.LazyFileSpan.prototype = {
  60776. get$span(_) {
  60777. var t1 = this._lazy_file_span$_span;
  60778. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  60779. },
  60780. compareTo$1(_, other) {
  60781. return this.get$span(0).compareTo$1(0, other);
  60782. },
  60783. get$context(_) {
  60784. var t1 = this.get$span(0);
  60785. return t1.get$context(t1);
  60786. },
  60787. get$end(_) {
  60788. var t1 = this.get$span(0);
  60789. return t1.get$end(t1);
  60790. },
  60791. expand$1(_, other) {
  60792. return this.get$span(0).expand$1(0, other);
  60793. },
  60794. get$file(_) {
  60795. var t1 = this.get$span(0);
  60796. return t1.get$file(t1);
  60797. },
  60798. highlight$1$color(color) {
  60799. return this.get$span(0).highlight$1$color(color);
  60800. },
  60801. get$length(_) {
  60802. var t1 = this.get$span(0);
  60803. return t1.get$length(t1);
  60804. },
  60805. message$2$color(_, message, color) {
  60806. return this.get$span(0).message$2$color(0, message, color);
  60807. },
  60808. message$1(_, message) {
  60809. return this.message$2$color(0, message, null);
  60810. },
  60811. get$sourceUrl(_) {
  60812. var t1 = this.get$span(0);
  60813. return t1.get$sourceUrl(t1);
  60814. },
  60815. get$start(_) {
  60816. var t1 = this.get$span(0);
  60817. return t1.get$start(t1);
  60818. },
  60819. get$text() {
  60820. return this.get$span(0).get$text();
  60821. },
  60822. $isComparable: 1,
  60823. $isFileSpan: 1,
  60824. $isSourceSpan: 1,
  60825. $isSourceSpanWithContext: 1
  60826. };
  60827. A.LimitedMapView.prototype = {
  60828. get$keys(_) {
  60829. return this._limited_map_view$_keys;
  60830. },
  60831. get$length(_) {
  60832. return this._limited_map_view$_keys._collection$_length;
  60833. },
  60834. get$isEmpty(_) {
  60835. return this._limited_map_view$_keys._collection$_length === 0;
  60836. },
  60837. get$isNotEmpty(_) {
  60838. return this._limited_map_view$_keys._collection$_length !== 0;
  60839. },
  60840. $index(_, key) {
  60841. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  60842. },
  60843. containsKey$1(key) {
  60844. return this._limited_map_view$_keys.contains$1(0, key);
  60845. },
  60846. remove$1(_, key) {
  60847. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  60848. }
  60849. };
  60850. A.MapExtensions_get_pairs_closure.prototype = {
  60851. call$1(e) {
  60852. return new A._Record_2(e.key, e.value);
  60853. },
  60854. $signature() {
  60855. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  60856. }
  60857. };
  60858. A.MergedMapView.prototype = {
  60859. get$keys(_) {
  60860. var t1 = this._mapsByKey;
  60861. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  60862. },
  60863. get$length(_) {
  60864. return this._mapsByKey.__js_helper$_length;
  60865. },
  60866. get$isEmpty(_) {
  60867. return this._mapsByKey.__js_helper$_length === 0;
  60868. },
  60869. get$isNotEmpty(_) {
  60870. return this._mapsByKey.__js_helper$_length !== 0;
  60871. },
  60872. MergedMapView$1(maps, $K, $V) {
  60873. var t1, t2, t3, _i, map, t4, t5, t6;
  60874. 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) {
  60875. map = maps[_i];
  60876. if (t3._is(map))
  60877. for (t4 = map._mapsByKey.get$values(0), t5 = A._instanceType(t4), t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")), t5 = t5._rest[1]; t4.moveNext$0();) {
  60878. t6 = t4.__internal$_current;
  60879. if (t6 == null)
  60880. t6 = t5._as(t6);
  60881. A.setAll(t2, t6.get$keys(t6), t6);
  60882. }
  60883. else
  60884. A.setAll(t2, map.get$keys(map), map);
  60885. }
  60886. },
  60887. $index(_, key) {
  60888. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  60889. return t1 == null ? null : t1.$index(0, key);
  60890. },
  60891. $indexSet(_, key, value) {
  60892. var _0_0 = this._mapsByKey.$index(0, key);
  60893. if (_0_0 != null)
  60894. _0_0.$indexSet(0, key, value);
  60895. else
  60896. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  60897. },
  60898. remove$1(_, key) {
  60899. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  60900. },
  60901. containsKey$1(key) {
  60902. return this._mapsByKey.containsKey$1(key);
  60903. }
  60904. };
  60905. A.MultiDirWatcher.prototype = {
  60906. watch$1(_, directory) {
  60907. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, existingWatcher, future, completer;
  60908. 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) {
  60909. t5 = t2[_i];
  60910. _0_1 = t5._0;
  60911. _0_1.toString;
  60912. existingWatcher = t5._1;
  60913. if (!isParentOfExistingDir) {
  60914. t5 = $.$get$context();
  60915. t5 = t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  60916. } else
  60917. t5 = false;
  60918. if (t5) {
  60919. t1 = new A._Future($.Zone__current, type$._Future_void);
  60920. t1._asyncComplete$1(null);
  60921. return t1;
  60922. }
  60923. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  60924. t1.remove$1(0, _0_1);
  60925. t4.remove$1(0, existingWatcher);
  60926. isParentOfExistingDir = true;
  60927. }
  60928. }
  60929. future = A.watchDir(directory, this._poll);
  60930. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  60931. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  60932. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  60933. t1.$indexSet(0, directory, t2);
  60934. t4.add$1(0, t2);
  60935. return future;
  60936. }
  60937. };
  60938. A.MultiSpan.prototype = {
  60939. get$start(_) {
  60940. var t1 = this._multi_span$_primary;
  60941. return t1.get$start(t1);
  60942. },
  60943. get$end(_) {
  60944. var t1 = this._multi_span$_primary;
  60945. return t1.get$end(t1);
  60946. },
  60947. get$text() {
  60948. return this._multi_span$_primary.get$text();
  60949. },
  60950. get$context(_) {
  60951. var t1 = this._multi_span$_primary;
  60952. return t1.get$context(t1);
  60953. },
  60954. get$file(_) {
  60955. var t1 = this._multi_span$_primary;
  60956. return t1.get$file(t1);
  60957. },
  60958. get$length(_) {
  60959. var t1 = this._multi_span$_primary;
  60960. return t1.get$length(t1);
  60961. },
  60962. get$sourceUrl(_) {
  60963. var t1 = this._multi_span$_primary;
  60964. return t1.get$sourceUrl(t1);
  60965. },
  60966. compareTo$1(_, other) {
  60967. return this._multi_span$_primary.compareTo$1(0, other);
  60968. },
  60969. toString$0(_) {
  60970. return this._multi_span$_primary.toString$0(0);
  60971. },
  60972. expand$1(_, other) {
  60973. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  60974. },
  60975. highlight$1$color(color) {
  60976. var t1 = color === true || false;
  60977. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  60978. },
  60979. message$2$color(_, message, color) {
  60980. var t1 = J.$eq$(color, true) || typeof color == "string",
  60981. t2 = typeof color == "string" ? color : null;
  60982. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  60983. },
  60984. message$1(_, message) {
  60985. return this.message$2$color(0, message, null);
  60986. },
  60987. $isComparable: 1,
  60988. $isFileSpan: 1,
  60989. $isSourceSpan: 1,
  60990. $isSourceSpanWithContext: 1
  60991. };
  60992. A.NoSourceMapBuffer.prototype = {
  60993. get$length(_) {
  60994. return this._no_source_map_buffer$_buffer._contents.length;
  60995. },
  60996. forSpan$1$2(span, callback) {
  60997. return callback.call$0();
  60998. },
  60999. forSpan$2(span, callback) {
  61000. return this.forSpan$1$2(span, callback, type$.dynamic);
  61001. },
  61002. write$1(_, object) {
  61003. this._no_source_map_buffer$_buffer._contents += A.S(object);
  61004. return null;
  61005. },
  61006. writeCharCode$1(charCode) {
  61007. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  61008. return null;
  61009. },
  61010. toString$0(_) {
  61011. var t1 = this._no_source_map_buffer$_buffer._contents;
  61012. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61013. },
  61014. buildSourceMap$1$prefix(prefix) {
  61015. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  61016. }
  61017. };
  61018. A.PrefixedMapView.prototype = {
  61019. get$keys(_) {
  61020. return new A._PrefixedKeys(this);
  61021. },
  61022. get$length(_) {
  61023. var t1 = this._prefixed_map_view$_map;
  61024. return t1.get$length(t1);
  61025. },
  61026. get$isEmpty(_) {
  61027. var t1 = this._prefixed_map_view$_map;
  61028. return t1.get$isEmpty(t1);
  61029. },
  61030. get$isNotEmpty(_) {
  61031. var t1 = this._prefixed_map_view$_map;
  61032. return t1.get$isNotEmpty(t1);
  61033. },
  61034. $index(_, key) {
  61035. 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;
  61036. },
  61037. containsKey$1(key) {
  61038. 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));
  61039. }
  61040. };
  61041. A._PrefixedKeys.prototype = {
  61042. get$length(_) {
  61043. var t1 = this._view._prefixed_map_view$_map;
  61044. return t1.get$length(t1);
  61045. },
  61046. get$iterator(_) {
  61047. var t1 = this._view._prefixed_map_view$_map;
  61048. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  61049. return t1.get$iterator(t1);
  61050. },
  61051. contains$1(_, key) {
  61052. return this._view.containsKey$1(key);
  61053. }
  61054. };
  61055. A._PrefixedKeys_iterator_closure.prototype = {
  61056. call$1(key) {
  61057. return this.$this._view._prefix + key;
  61058. },
  61059. $signature: 5
  61060. };
  61061. A.PublicMemberMapView.prototype = {
  61062. get$keys(_) {
  61063. var t1 = this._public_member_map_view$_inner;
  61064. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  61065. },
  61066. containsKey$1(key) {
  61067. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  61068. },
  61069. $index(_, key) {
  61070. if (typeof key == "string" && A.isPublic(key))
  61071. return this._public_member_map_view$_inner.$index(0, key);
  61072. return null;
  61073. }
  61074. };
  61075. A.SourceMapBuffer.prototype = {
  61076. get$_targetLocation() {
  61077. var t1 = this._source_map_buffer$_buffer._contents,
  61078. t2 = this._line;
  61079. return A.SourceLocation$(t1.length, this._column, t2, null);
  61080. },
  61081. get$length(_) {
  61082. return this._source_map_buffer$_buffer._contents.length;
  61083. },
  61084. forSpan$1$2(span, callback) {
  61085. var t1, _this = this,
  61086. wasInSpan = _this._inSpan;
  61087. _this._inSpan = true;
  61088. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  61089. try {
  61090. t1 = callback.call$0();
  61091. return t1;
  61092. } finally {
  61093. _this._inSpan = wasInSpan;
  61094. }
  61095. },
  61096. forSpan$2(span, callback) {
  61097. return this.forSpan$1$2(span, callback, type$.dynamic);
  61098. },
  61099. _addEntry$2(source, target) {
  61100. var entry, t2,
  61101. t1 = this._entries;
  61102. if (t1.length !== 0) {
  61103. entry = B.JSArray_methods.get$last(t1);
  61104. t2 = entry.source;
  61105. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  61106. return;
  61107. if (entry.target.offset === target.offset)
  61108. return;
  61109. }
  61110. t1.push(new A.Entry(source, target, null));
  61111. },
  61112. write$1(_, object) {
  61113. var t1, i,
  61114. string = J.toString$0$(object);
  61115. this._source_map_buffer$_buffer._contents += string;
  61116. for (t1 = string.length, i = 0; i < t1; ++i)
  61117. if (string.charCodeAt(i) === 10)
  61118. this._source_map_buffer$_writeLine$0();
  61119. else
  61120. ++this._column;
  61121. },
  61122. writeCharCode$1(charCode) {
  61123. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  61124. if (charCode === 10)
  61125. this._source_map_buffer$_writeLine$0();
  61126. else
  61127. ++this._column;
  61128. },
  61129. _source_map_buffer$_writeLine$0() {
  61130. var _this = this,
  61131. t1 = _this._entries;
  61132. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  61133. t1.pop();
  61134. ++_this._line;
  61135. _this._column = 0;
  61136. if (_this._inSpan)
  61137. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  61138. },
  61139. toString$0(_) {
  61140. var t1 = this._source_map_buffer$_buffer._contents;
  61141. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61142. },
  61143. buildSourceMap$1$prefix(prefix) {
  61144. var i, t2, prefixColumn, _box_0 = {},
  61145. t1 = prefix.length;
  61146. if (t1 === 0)
  61147. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  61148. _box_0.prefixColumn = _box_0.prefixLines = 0;
  61149. for (i = 0, t2 = 0; i < t1; ++i)
  61150. if (prefix.charCodeAt(i) === 10) {
  61151. ++_box_0.prefixLines;
  61152. _box_0.prefixColumn = 0;
  61153. t2 = 0;
  61154. } else {
  61155. prefixColumn = t2 + 1;
  61156. _box_0.prefixColumn = prefixColumn;
  61157. t2 = prefixColumn;
  61158. }
  61159. t2 = this._entries;
  61160. 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>")));
  61161. }
  61162. };
  61163. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  61164. call$1(entry) {
  61165. var t1 = entry.target,
  61166. t2 = t1.line,
  61167. t3 = this._box_0,
  61168. t4 = t3.prefixLines;
  61169. t3 = t2 === 0 ? t3.prefixColumn : 0;
  61170. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  61171. },
  61172. $signature: 204
  61173. };
  61174. A.UnprefixedMapView.prototype = {
  61175. get$keys(_) {
  61176. return new A._UnprefixedKeys(this);
  61177. },
  61178. $index(_, key) {
  61179. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  61180. },
  61181. containsKey$1(key) {
  61182. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  61183. },
  61184. remove$1(_, key) {
  61185. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  61186. }
  61187. };
  61188. A._UnprefixedKeys.prototype = {
  61189. get$iterator(_) {
  61190. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  61191. 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);
  61192. return t1.get$iterator(t1);
  61193. },
  61194. contains$1(_, key) {
  61195. return this._unprefixed_map_view$_view.containsKey$1(key);
  61196. }
  61197. };
  61198. A._UnprefixedKeys_iterator_closure.prototype = {
  61199. call$1(key) {
  61200. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  61201. },
  61202. $signature: 4
  61203. };
  61204. A._UnprefixedKeys_iterator_closure0.prototype = {
  61205. call$1(key) {
  61206. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  61207. },
  61208. $signature: 5
  61209. };
  61210. A.indent_closure.prototype = {
  61211. call$1(line) {
  61212. return B.JSString_methods.$mul(" ", this.indentation) + line;
  61213. },
  61214. $signature: 5
  61215. };
  61216. A.flattenVertically_closure.prototype = {
  61217. call$1(inner) {
  61218. return A.QueueList_QueueList$from(inner, this.T);
  61219. },
  61220. $signature() {
  61221. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  61222. }
  61223. };
  61224. A.flattenVertically_closure0.prototype = {
  61225. call$1(queue) {
  61226. this.result.push(queue.removeFirst$0());
  61227. return queue.get$length(0) === 0;
  61228. },
  61229. $signature() {
  61230. return this.T._eval$1("bool(QueueList<0>)");
  61231. }
  61232. };
  61233. A.longestCommonSubsequence_backtrack.prototype = {
  61234. call$2(i, j) {
  61235. var selection, t1, _this = this;
  61236. if (i === -1 || j === -1)
  61237. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  61238. selection = _this.selections[i][j];
  61239. if (selection != null) {
  61240. t1 = _this.call$2(i - 1, j - 1);
  61241. J.add$1$ax(t1, selection);
  61242. return t1;
  61243. }
  61244. t1 = _this.lengths;
  61245. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  61246. },
  61247. $signature() {
  61248. return this.T._eval$1("List<0>(int,int)");
  61249. }
  61250. };
  61251. A.mapAddAll2_closure.prototype = {
  61252. call$2(key, inner) {
  61253. var t1 = this.destination,
  61254. _0_0 = t1.$index(0, key);
  61255. if (_0_0 != null)
  61256. _0_0.addAll$1(0, inner);
  61257. else
  61258. t1.$indexSet(0, key, inner);
  61259. },
  61260. $signature() {
  61261. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  61262. }
  61263. };
  61264. A.Value.prototype = {
  61265. get$isTruthy() {
  61266. return true;
  61267. },
  61268. get$separator(_) {
  61269. return B.ListSeparator_undecided_null_undecided;
  61270. },
  61271. get$hasBrackets() {
  61272. return false;
  61273. },
  61274. get$asList() {
  61275. return A._setArrayType([this], type$.JSArray_Value);
  61276. },
  61277. get$lengthAsList() {
  61278. return 1;
  61279. },
  61280. get$isBlank() {
  61281. return false;
  61282. },
  61283. get$isSpecialNumber() {
  61284. return false;
  61285. },
  61286. get$isVar() {
  61287. return false;
  61288. },
  61289. get$realNull() {
  61290. return this;
  61291. },
  61292. sassIndexToListIndex$2(sassIndex, $name) {
  61293. var t1, t2, index,
  61294. indexValue = sassIndex.assertNumber$1($name);
  61295. if (indexValue.get$hasUnits()) {
  61296. t1 = indexValue.get$unitString();
  61297. t2 = indexValue.unitSuggestion$1($name);
  61298. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  61299. }
  61300. index = indexValue.assertInt$1($name);
  61301. if (index === 0)
  61302. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  61303. if (Math.abs(index) > this.get$lengthAsList())
  61304. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  61305. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  61306. },
  61307. assertCalculation$1($name) {
  61308. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  61309. },
  61310. assertColor$1($name) {
  61311. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  61312. },
  61313. assertFunction$1($name) {
  61314. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  61315. },
  61316. assertMixin$1($name) {
  61317. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  61318. },
  61319. assertMap$1($name) {
  61320. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  61321. },
  61322. tryMap$0() {
  61323. return null;
  61324. },
  61325. assertNumber$1($name) {
  61326. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  61327. },
  61328. assertNumber$0() {
  61329. return this.assertNumber$1(null);
  61330. },
  61331. assertString$1($name) {
  61332. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  61333. },
  61334. _selectorString$1($name) {
  61335. var _0_0 = this._selectorStringOrNull$0();
  61336. if (_0_0 != null)
  61337. return _0_0;
  61338. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  61339. },
  61340. _selectorStringOrNull$0() {
  61341. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  61342. if (_this instanceof A.SassString)
  61343. return _this._string$_text;
  61344. if (!(_this instanceof A.SassList))
  61345. return _null;
  61346. t1 = _this._list$_contents;
  61347. t2 = t1.length;
  61348. if (t2 === 0)
  61349. return _null;
  61350. result = A._setArrayType([], type$.JSArray_String);
  61351. $label0$1: {
  61352. _1_0 = _this._separator;
  61353. if (B.ListSeparator_rXA === _1_0) {
  61354. for (_i = 0; _i < t2; ++_i) {
  61355. complex = t1[_i];
  61356. if (complex instanceof A.SassString) {
  61357. result.push(complex._string$_text);
  61358. continue;
  61359. }
  61360. if (complex instanceof A.SassList && B.ListSeparator_EVt === complex._separator) {
  61361. string = complex._selectorStringOrNull$0();
  61362. if (string == null)
  61363. return _null;
  61364. result.push(string);
  61365. continue;
  61366. }
  61367. return _null;
  61368. }
  61369. break $label0$1;
  61370. }
  61371. if (B.ListSeparator_zg9 === _1_0)
  61372. return _null;
  61373. for (_i = 0; _i < t2; ++_i) {
  61374. compound = t1[_i];
  61375. if (!(compound instanceof A.SassString))
  61376. return _null;
  61377. result.push(compound._string$_text);
  61378. }
  61379. break $label0$1;
  61380. }
  61381. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_rXA ? ", " : " ");
  61382. },
  61383. withListContents$2$separator(contents, separator) {
  61384. var t1 = separator == null ? this.get$separator(this) : separator,
  61385. t2 = this.get$hasBrackets();
  61386. return A.SassList$(contents, t1, t2);
  61387. },
  61388. withListContents$1(contents) {
  61389. return this.withListContents$2$separator(contents, null);
  61390. },
  61391. greaterThan$1(other) {
  61392. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  61393. },
  61394. greaterThanOrEquals$1(other) {
  61395. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  61396. },
  61397. lessThan$1(other) {
  61398. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  61399. },
  61400. lessThanOrEquals$1(other) {
  61401. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  61402. },
  61403. times$1(other) {
  61404. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  61405. },
  61406. modulo$1(other) {
  61407. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  61408. },
  61409. plus$1(other) {
  61410. var t1;
  61411. $label0$0: {
  61412. if (other instanceof A.SassString) {
  61413. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  61414. break $label0$0;
  61415. }
  61416. if (other instanceof A.SassCalculation)
  61417. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61418. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  61419. break $label0$0;
  61420. }
  61421. return t1;
  61422. },
  61423. minus$1(other) {
  61424. 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);
  61425. },
  61426. dividedBy$1(other) {
  61427. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  61428. },
  61429. unaryPlus$0() {
  61430. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  61431. },
  61432. unaryMinus$0() {
  61433. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  61434. },
  61435. unaryNot$0() {
  61436. return B.SassBoolean_false;
  61437. },
  61438. withoutSlash$0() {
  61439. return this;
  61440. },
  61441. toString$0(_) {
  61442. return A.serializeValue(this, true, true);
  61443. }
  61444. };
  61445. A.SassArgumentList.prototype = {};
  61446. A.SassBoolean.prototype = {
  61447. get$isTruthy() {
  61448. return this.value;
  61449. },
  61450. accept$1$1(visitor) {
  61451. return visitor._serialize$_buffer.write$1(0, String(this.value));
  61452. },
  61453. accept$1(visitor) {
  61454. return this.accept$1$1(visitor, type$.dynamic);
  61455. },
  61456. unaryNot$0() {
  61457. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  61458. }
  61459. };
  61460. A.SassCalculation.prototype = {
  61461. get$isSpecialNumber() {
  61462. return true;
  61463. },
  61464. accept$1$1(visitor) {
  61465. return visitor.visitCalculation$1(this);
  61466. },
  61467. accept$1(visitor) {
  61468. return this.accept$1$1(visitor, type$.dynamic);
  61469. },
  61470. assertCalculation$1($name) {
  61471. return this;
  61472. },
  61473. plus$1(other) {
  61474. if (other instanceof A.SassString)
  61475. return this.super$Value$plus(other);
  61476. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61477. },
  61478. minus$1(other) {
  61479. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61480. },
  61481. unaryPlus$0() {
  61482. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  61483. },
  61484. unaryMinus$0() {
  61485. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  61486. },
  61487. $eq(_, other) {
  61488. if (other == null)
  61489. return false;
  61490. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  61491. },
  61492. get$hashCode(_) {
  61493. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  61494. }
  61495. };
  61496. A.SassCalculation__verifyLength_closure.prototype = {
  61497. call$1(arg) {
  61498. return arg instanceof A.SassString;
  61499. },
  61500. $signature: 71
  61501. };
  61502. A.CalculationOperation.prototype = {
  61503. $eq(_, other) {
  61504. if (other == null)
  61505. return false;
  61506. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  61507. },
  61508. get$hashCode(_) {
  61509. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  61510. },
  61511. toString$0(_) {
  61512. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  61513. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  61514. }
  61515. };
  61516. A.CalculationOperator.prototype = {
  61517. _enumToString$0() {
  61518. return "CalculationOperator." + this._name;
  61519. },
  61520. toString$0(_) {
  61521. return this.name;
  61522. }
  61523. };
  61524. A.SassColor.prototype = {
  61525. get$red(_) {
  61526. var t1;
  61527. if (this._red == null)
  61528. this._hslToRgb$0();
  61529. t1 = this._red;
  61530. t1.toString;
  61531. return t1;
  61532. },
  61533. get$green(_) {
  61534. var t1;
  61535. if (this._green == null)
  61536. this._hslToRgb$0();
  61537. t1 = this._green;
  61538. t1.toString;
  61539. return t1;
  61540. },
  61541. get$blue(_) {
  61542. var t1;
  61543. if (this._blue == null)
  61544. this._hslToRgb$0();
  61545. t1 = this._blue;
  61546. t1.toString;
  61547. return t1;
  61548. },
  61549. get$hue(_) {
  61550. var t1;
  61551. if (this._hue == null)
  61552. this._rgbToHsl$0();
  61553. t1 = this._hue;
  61554. t1.toString;
  61555. return t1;
  61556. },
  61557. get$saturation(_) {
  61558. var t1;
  61559. if (this._saturation == null)
  61560. this._rgbToHsl$0();
  61561. t1 = this._saturation;
  61562. t1.toString;
  61563. return t1;
  61564. },
  61565. get$lightness(_) {
  61566. var t1;
  61567. if (this._lightness == null)
  61568. this._rgbToHsl$0();
  61569. t1 = this._lightness;
  61570. t1.toString;
  61571. return t1;
  61572. },
  61573. get$whiteness(_) {
  61574. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61575. },
  61576. get$blackness(_) {
  61577. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61578. },
  61579. accept$1$1(visitor) {
  61580. return visitor.visitColor$1(this);
  61581. },
  61582. accept$1(visitor) {
  61583. return this.accept$1$1(visitor, type$.dynamic);
  61584. },
  61585. assertColor$1($name) {
  61586. return this;
  61587. },
  61588. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  61589. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  61590. },
  61591. changeRgb$3$blue$green$red(blue, green, red) {
  61592. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  61593. },
  61594. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  61595. var _this = this, _null = null,
  61596. t1 = hue == null ? _this.get$hue(0) : hue,
  61597. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  61598. t3 = lightness == null ? _this.get$lightness(0) : lightness,
  61599. t4 = A.SassColor__handleNullAlpha(alpha == null ? _this._alpha : alpha);
  61600. 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);
  61601. },
  61602. changeHsl$1$saturation(saturation) {
  61603. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  61604. },
  61605. changeHsl$1$lightness(lightness) {
  61606. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  61607. },
  61608. changeHsl$1$hue(hue) {
  61609. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  61610. },
  61611. changeAlpha$1(alpha) {
  61612. var _this = this;
  61613. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  61614. },
  61615. plus$1(other) {
  61616. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61617. return this.super$Value$plus(other);
  61618. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61619. },
  61620. minus$1(other) {
  61621. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61622. return this.super$Value$minus(other);
  61623. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61624. },
  61625. dividedBy$1(other) {
  61626. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61627. return this.super$Value$dividedBy(other);
  61628. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  61629. },
  61630. $eq(_, other) {
  61631. var _this = this;
  61632. if (other == null)
  61633. return false;
  61634. return other instanceof A.SassColor && other.get$red(0) === _this.get$red(0) && other.get$green(0) === _this.get$green(0) && other.get$blue(0) === _this.get$blue(0) && other._alpha === _this._alpha;
  61635. },
  61636. get$hashCode(_) {
  61637. var _this = this;
  61638. return B.JSInt_methods.get$hashCode(_this.get$red(0)) ^ B.JSInt_methods.get$hashCode(_this.get$green(0)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(0)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
  61639. },
  61640. _rgbToHsl$0() {
  61641. var t2, lightness, _this = this,
  61642. scaledRed = _this.get$red(0) / 255,
  61643. scaledGreen = _this.get$green(0) / 255,
  61644. scaledBlue = _this.get$blue(0) / 255,
  61645. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  61646. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  61647. delta = max - min,
  61648. t1 = max === min;
  61649. if (t1)
  61650. _this._hue = 0;
  61651. else if (max === scaledRed)
  61652. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  61653. else if (max === scaledGreen)
  61654. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  61655. else if (max === scaledBlue)
  61656. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  61657. t2 = max + min;
  61658. lightness = 50 * t2;
  61659. _this._lightness = lightness;
  61660. if (t1)
  61661. _this._saturation = 0;
  61662. else {
  61663. t1 = 100 * delta;
  61664. if (lightness < 50)
  61665. _this._saturation = t1 / t2;
  61666. else
  61667. _this._saturation = t1 / (2 - max - min);
  61668. }
  61669. },
  61670. _hslToRgb$0() {
  61671. var _this = this,
  61672. scaledHue = _this.get$hue(0) / 360,
  61673. scaledSaturation = _this.get$saturation(0) / 100,
  61674. scaledLightness = _this.get$lightness(0) / 100,
  61675. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  61676. m1 = scaledLightness * 2 - m2;
  61677. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  61678. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  61679. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  61680. }
  61681. };
  61682. A.SassColor_SassColor$hwb_toRgb.prototype = {
  61683. call$1(hue) {
  61684. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  61685. },
  61686. $signature: 205
  61687. };
  61688. A._ColorFormatEnum.prototype = {
  61689. toString$0(_) {
  61690. return this._color$_name;
  61691. }
  61692. };
  61693. A.SpanColorFormat.prototype = {};
  61694. A.SassFunction.prototype = {
  61695. accept$1$1(visitor) {
  61696. var t1, t2;
  61697. if (!visitor._inspect)
  61698. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  61699. t1 = visitor._serialize$_buffer;
  61700. t1.write$1(0, "get-function(");
  61701. t2 = this.callable;
  61702. visitor._visitQuotedString$1(t2.get$name(t2));
  61703. t1.writeCharCode$1(41);
  61704. return null;
  61705. },
  61706. accept$1(visitor) {
  61707. return this.accept$1$1(visitor, type$.dynamic);
  61708. },
  61709. assertFunction$1($name) {
  61710. return this;
  61711. },
  61712. $eq(_, other) {
  61713. if (other == null)
  61714. return false;
  61715. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  61716. },
  61717. get$hashCode(_) {
  61718. var t1 = this.callable;
  61719. return t1.get$hashCode(t1);
  61720. }
  61721. };
  61722. A.SassList.prototype = {
  61723. get$separator(_) {
  61724. return this._separator;
  61725. },
  61726. get$hasBrackets() {
  61727. return this._hasBrackets;
  61728. },
  61729. get$isBlank() {
  61730. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  61731. },
  61732. get$asList() {
  61733. return this._list$_contents;
  61734. },
  61735. get$lengthAsList() {
  61736. return this._list$_contents.length;
  61737. },
  61738. SassList$3$brackets(contents, _separator, brackets) {
  61739. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  61740. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  61741. },
  61742. accept$1$1(visitor) {
  61743. return visitor.visitList$1(this);
  61744. },
  61745. accept$1(visitor) {
  61746. return this.accept$1$1(visitor, type$.dynamic);
  61747. },
  61748. assertMap$1($name) {
  61749. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  61750. },
  61751. tryMap$0() {
  61752. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  61753. },
  61754. $eq(_, other) {
  61755. var t1, _this = this;
  61756. if (other == null)
  61757. return false;
  61758. 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)))
  61759. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  61760. else
  61761. t1 = true;
  61762. return t1;
  61763. },
  61764. get$hashCode(_) {
  61765. return B.C_ListEquality0.hash$1(this._list$_contents);
  61766. }
  61767. };
  61768. A.SassList_isBlank_closure.prototype = {
  61769. call$1(element) {
  61770. return element.get$isBlank();
  61771. },
  61772. $signature: 69
  61773. };
  61774. A.ListSeparator.prototype = {
  61775. _enumToString$0() {
  61776. return "ListSeparator." + this._name;
  61777. },
  61778. toString$0(_) {
  61779. return this._list$_name;
  61780. }
  61781. };
  61782. A.SassMap.prototype = {
  61783. get$separator(_) {
  61784. var t1 = this._map$_contents;
  61785. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  61786. },
  61787. get$asList() {
  61788. var t3, t4, t5, result,
  61789. t1 = type$.JSArray_Value,
  61790. t2 = A._setArrayType([], t1);
  61791. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  61792. t5 = t4.get$current(t4);
  61793. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  61794. result.fixed$length = Array;
  61795. result.immutable$list = Array;
  61796. t2.push(new A.SassList(result, B.ListSeparator_EVt, false));
  61797. }
  61798. return t2;
  61799. },
  61800. get$lengthAsList() {
  61801. var t1 = this._map$_contents;
  61802. return t1.get$length(t1);
  61803. },
  61804. accept$1$1(visitor) {
  61805. return visitor.visitMap$1(this);
  61806. },
  61807. accept$1(visitor) {
  61808. return this.accept$1$1(visitor, type$.dynamic);
  61809. },
  61810. assertMap$1($name) {
  61811. return this;
  61812. },
  61813. tryMap$0() {
  61814. return this;
  61815. },
  61816. $eq(_, other) {
  61817. var t1;
  61818. if (other == null)
  61819. return false;
  61820. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  61821. t1 = this._map$_contents;
  61822. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  61823. } else
  61824. t1 = true;
  61825. return t1;
  61826. },
  61827. get$hashCode(_) {
  61828. var t1 = this._map$_contents;
  61829. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  61830. }
  61831. };
  61832. A.SassMixin.prototype = {
  61833. accept$1$1(visitor) {
  61834. var t1, t2;
  61835. if (!visitor._inspect)
  61836. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  61837. t1 = visitor._serialize$_buffer;
  61838. t1.write$1(0, "get-mixin(");
  61839. t2 = this.callable;
  61840. visitor._visitQuotedString$1(t2.get$name(t2));
  61841. t1.writeCharCode$1(41);
  61842. return null;
  61843. },
  61844. accept$1(visitor) {
  61845. return this.accept$1$1(visitor, type$.dynamic);
  61846. },
  61847. assertMixin$1($name) {
  61848. return this;
  61849. },
  61850. $eq(_, other) {
  61851. if (other == null)
  61852. return false;
  61853. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  61854. },
  61855. get$hashCode(_) {
  61856. var t1 = this.callable;
  61857. return t1.get$hashCode(t1);
  61858. }
  61859. };
  61860. A._SassNull.prototype = {
  61861. get$isTruthy() {
  61862. return false;
  61863. },
  61864. get$isBlank() {
  61865. return true;
  61866. },
  61867. get$realNull() {
  61868. return null;
  61869. },
  61870. accept$1$1(visitor) {
  61871. if (visitor._inspect)
  61872. visitor._serialize$_buffer.write$1(0, "null");
  61873. return null;
  61874. },
  61875. accept$1(visitor) {
  61876. return this.accept$1$1(visitor, type$.dynamic);
  61877. },
  61878. unaryNot$0() {
  61879. return B.SassBoolean_true;
  61880. }
  61881. };
  61882. A.SassNumber.prototype = {
  61883. get$unitString() {
  61884. var _this = this;
  61885. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  61886. },
  61887. accept$1$1(visitor) {
  61888. return visitor.visitNumber$1(this);
  61889. },
  61890. accept$1(visitor) {
  61891. return this.accept$1$1(visitor, type$.dynamic);
  61892. },
  61893. withoutSlash$0() {
  61894. var _this = this;
  61895. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  61896. },
  61897. assertNumber$1($name) {
  61898. return this;
  61899. },
  61900. assertNumber$0() {
  61901. return this.assertNumber$1(null);
  61902. },
  61903. assertInt$1($name) {
  61904. var _0_0 = A.fuzzyAsInt(this._number$_value);
  61905. if (_0_0 != null)
  61906. return _0_0;
  61907. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  61908. },
  61909. assertInt$0() {
  61910. return this.assertInt$1(null);
  61911. },
  61912. valueInRange$3(min, max, $name) {
  61913. var _this = this,
  61914. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  61915. if (_0_0 != null)
  61916. return _0_0;
  61917. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  61918. },
  61919. valueInRangeWithUnit$4(min, max, $name, unit) {
  61920. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  61921. if (_0_0 != null)
  61922. return _0_0;
  61923. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  61924. },
  61925. hasCompatibleUnits$1(other) {
  61926. var _this = this;
  61927. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  61928. return false;
  61929. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  61930. return false;
  61931. return _this.isComparableTo$1(other);
  61932. },
  61933. assertUnit$2(unit, $name) {
  61934. if (this.hasUnit$1(unit))
  61935. return;
  61936. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  61937. },
  61938. assertNoUnits$1($name) {
  61939. if (!this.get$hasUnits())
  61940. return;
  61941. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  61942. },
  61943. assertNoUnits$0() {
  61944. return this.assertNoUnits$1(null);
  61945. },
  61946. convertValueToMatch$3(other, $name, otherName) {
  61947. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  61948. },
  61949. convertValueToMatch$1(other) {
  61950. return this.convertValueToMatch$3(other, null, null);
  61951. },
  61952. coerce$3(newNumerators, newDenominators, $name) {
  61953. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  61954. },
  61955. coerce$2(newNumerators, newDenominators) {
  61956. return this.coerce$3(newNumerators, newDenominators, null);
  61957. },
  61958. coerceValue$3(newNumerators, newDenominators, $name) {
  61959. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  61960. },
  61961. coerceValueToUnit$2(unit, $name) {
  61962. var t1 = type$.JSArray_String;
  61963. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  61964. },
  61965. coerceValueToUnit$1(unit) {
  61966. return this.coerceValueToUnit$2(unit, null);
  61967. },
  61968. coerceToMatch$3(other, $name, otherName) {
  61969. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  61970. t2 = other.get$numeratorUnits(other);
  61971. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  61972. },
  61973. coerceValueToMatch$3(other, $name, otherName) {
  61974. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  61975. },
  61976. coerceValueToMatch$1(other) {
  61977. return this.coerceValueToMatch$3(other, null, null);
  61978. },
  61979. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  61980. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  61981. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  61982. return _this._number$_value;
  61983. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  61984. if (coerceUnitless)
  61985. t1 = !_this.get$hasUnits() || !otherHasUnits;
  61986. else
  61987. t1 = false;
  61988. if (t1)
  61989. return _this._number$_value;
  61990. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  61991. _box_0.value = _this._number$_value;
  61992. t1 = _this.get$numeratorUnits(_this);
  61993. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  61994. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  61995. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  61996. t1 = _this.get$denominatorUnits(_this);
  61997. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  61998. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  61999. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  62000. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  62001. throw A.wrapException(compatibilityException.call$0());
  62002. return _box_0.value;
  62003. },
  62004. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  62005. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  62006. },
  62007. isComparableTo$1(other) {
  62008. var exception;
  62009. if (!this.get$hasUnits() || !other.get$hasUnits())
  62010. return true;
  62011. try {
  62012. this.greaterThan$1(other);
  62013. return true;
  62014. } catch (exception) {
  62015. if (A.unwrapException(exception) instanceof A.SassScriptException)
  62016. return false;
  62017. else
  62018. throw exception;
  62019. }
  62020. },
  62021. greaterThan$1(other) {
  62022. if (other instanceof A.SassNumber)
  62023. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62024. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  62025. },
  62026. greaterThanOrEquals$1(other) {
  62027. if (other instanceof A.SassNumber)
  62028. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62029. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  62030. },
  62031. lessThan$1(other) {
  62032. if (other instanceof A.SassNumber)
  62033. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62034. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  62035. },
  62036. lessThanOrEquals$1(other) {
  62037. if (other instanceof A.SassNumber)
  62038. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62039. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  62040. },
  62041. modulo$1(other) {
  62042. if (other instanceof A.SassNumber)
  62043. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  62044. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  62045. },
  62046. plus$1(other) {
  62047. var _this = this;
  62048. if (other instanceof A.SassNumber)
  62049. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  62050. if (!(other instanceof A.SassColor))
  62051. return _this.super$Value$plus(other);
  62052. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  62053. },
  62054. minus$1(other) {
  62055. var _this = this;
  62056. if (other instanceof A.SassNumber)
  62057. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  62058. if (!(other instanceof A.SassColor))
  62059. return _this.super$Value$minus(other);
  62060. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  62061. },
  62062. times$1(other) {
  62063. var _this = this;
  62064. if (other instanceof A.SassNumber) {
  62065. if (!other.get$hasUnits())
  62066. return _this.withValue$1(_this._number$_value * other._number$_value);
  62067. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  62068. }
  62069. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  62070. },
  62071. dividedBy$1(other) {
  62072. var _this = this;
  62073. if (other instanceof A.SassNumber) {
  62074. if (!other.get$hasUnits())
  62075. return _this.withValue$1(_this._number$_value / other._number$_value);
  62076. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  62077. }
  62078. return _this.super$Value$dividedBy(other);
  62079. },
  62080. unaryPlus$0() {
  62081. return this;
  62082. },
  62083. _coerceUnits$1$2(other, operation) {
  62084. var t1, exception;
  62085. try {
  62086. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  62087. return t1;
  62088. } catch (exception) {
  62089. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  62090. this.coerceValueToMatch$1(other);
  62091. throw exception;
  62092. } else
  62093. throw exception;
  62094. }
  62095. },
  62096. _coerceUnits$2(other, operation) {
  62097. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  62098. },
  62099. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62100. var t1, _0_1, _0_2, _0_3, _0_6, t2, _0_7, _0_9, _0_9_isSet, _0_7_isSet, _0_3_isSet, denominators_case_0, _0_6_isSet, _0_11, _0_10, _0_2_isSet, _0_13, numerators_case_0, _0_13_isSet, _0_11_isSet, t3, t4, denominators_case_1, numerators_case_1, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  62101. _box_0.value = value;
  62102. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  62103. _0_1 = t1[0];
  62104. _0_2 = t1[1];
  62105. _0_3 = t1[2];
  62106. _0_6 = _0_3.length <= 0;
  62107. t2 = _0_6;
  62108. if (t2) {
  62109. _0_7 = t1[3];
  62110. _0_9 = _0_7.length <= 0;
  62111. t2 = _0_9;
  62112. _0_9_isSet = true;
  62113. _0_7_isSet = true;
  62114. } else {
  62115. _0_7 = _null;
  62116. _0_9 = _0_7;
  62117. _0_9_isSet = false;
  62118. _0_7_isSet = false;
  62119. t2 = false;
  62120. }
  62121. _0_3_isSet = true;
  62122. denominators_case_0 = _0_2;
  62123. _0_6_isSet = true;
  62124. if (!t2) {
  62125. _0_11 = _0_1.length <= 0;
  62126. t2 = _0_11;
  62127. _0_10 = _0_1;
  62128. if (t2) {
  62129. t2 = _0_2;
  62130. _0_2_isSet = true;
  62131. _0_13 = t2.length <= 0;
  62132. t2 = _0_13;
  62133. if (t2) {
  62134. if (_0_3_isSet)
  62135. numerators_case_0 = _0_3;
  62136. else {
  62137. _0_3 = t1[2];
  62138. numerators_case_0 = _0_3;
  62139. _0_3_isSet = true;
  62140. }
  62141. if (_0_7_isSet)
  62142. denominators_case_0 = _0_7;
  62143. else {
  62144. _0_7 = t1[3];
  62145. denominators_case_0 = _0_7;
  62146. _0_7_isSet = true;
  62147. }
  62148. t2 = true;
  62149. } else {
  62150. numerators_case_0 = _0_1;
  62151. t2 = false;
  62152. }
  62153. _0_13_isSet = true;
  62154. } else {
  62155. numerators_case_0 = _0_1;
  62156. _0_13 = _null;
  62157. _0_2_isSet = true;
  62158. _0_13_isSet = false;
  62159. t2 = false;
  62160. }
  62161. _0_1 = _0_10;
  62162. _0_11_isSet = true;
  62163. } else {
  62164. numerators_case_0 = _0_1;
  62165. _0_13 = _null;
  62166. _0_11 = _0_13;
  62167. _0_2_isSet = true;
  62168. _0_11_isSet = false;
  62169. _0_13_isSet = false;
  62170. t2 = true;
  62171. }
  62172. if (t2) {
  62173. t3 = denominators_case_0;
  62174. t2 = numerators_case_0;
  62175. t4 = true;
  62176. } else {
  62177. t3 = _null;
  62178. t2 = t3;
  62179. t4 = false;
  62180. }
  62181. if (!t4) {
  62182. if (_0_11_isSet)
  62183. t4 = _0_11;
  62184. else {
  62185. _0_11 = _0_1.length <= 0;
  62186. t4 = _0_11;
  62187. }
  62188. if (t4) {
  62189. if (_0_2_isSet)
  62190. denominators_case_1 = _0_2;
  62191. else {
  62192. _0_2 = t1[1];
  62193. denominators_case_1 = _0_2;
  62194. _0_2_isSet = true;
  62195. }
  62196. if (_0_3_isSet)
  62197. numerators_case_1 = _0_3;
  62198. else {
  62199. _0_3 = t1[2];
  62200. numerators_case_1 = _0_3;
  62201. _0_3_isSet = true;
  62202. }
  62203. if (_0_9_isSet)
  62204. t4 = _0_9;
  62205. else {
  62206. if (_0_7_isSet)
  62207. t4 = _0_7;
  62208. else {
  62209. _0_7 = t1[3];
  62210. t4 = _0_7;
  62211. _0_7_isSet = true;
  62212. }
  62213. _0_9 = t4.length <= 0;
  62214. t4 = _0_9;
  62215. }
  62216. } else {
  62217. numerators_case_1 = _null;
  62218. denominators_case_1 = numerators_case_1;
  62219. t4 = false;
  62220. }
  62221. if (!t4) {
  62222. if (_0_13_isSet)
  62223. t4 = _0_13;
  62224. else {
  62225. _0_13 = (_0_2_isSet ? _0_2 : t1[1]).length <= 0;
  62226. t4 = _0_13;
  62227. }
  62228. if (t4) {
  62229. if (_0_6_isSet)
  62230. t4 = _0_6;
  62231. else {
  62232. _0_6 = (_0_3_isSet ? _0_3 : t1[2]).length <= 0;
  62233. t4 = _0_6;
  62234. }
  62235. if (t4) {
  62236. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  62237. t1 = true;
  62238. } else
  62239. t1 = false;
  62240. } else
  62241. t1 = false;
  62242. numerators_case_1 = _0_1;
  62243. } else
  62244. t1 = true;
  62245. if (t1)
  62246. if (!_this._areAnyConvertible$2(numerators_case_1, denominators_case_1)) {
  62247. t2 = denominators_case_1;
  62248. t1 = numerators_case_1;
  62249. t3 = true;
  62250. } else {
  62251. t1 = t2;
  62252. t2 = t3;
  62253. t3 = false;
  62254. }
  62255. else {
  62256. t1 = t2;
  62257. t2 = t3;
  62258. t3 = false;
  62259. }
  62260. } else {
  62261. t1 = t2;
  62262. t2 = t3;
  62263. t3 = true;
  62264. }
  62265. if (t3)
  62266. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  62267. newNumerators = A._setArrayType([], type$.JSArray_String);
  62268. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62269. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62270. numerator = t1[_i];
  62271. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  62272. }
  62273. t1 = _this.get$denominatorUnits(_this);
  62274. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62275. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  62276. numerator = otherNumerators[_i];
  62277. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  62278. }
  62279. t1 = _box_0.value;
  62280. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  62281. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  62282. },
  62283. _areAnyConvertible$2(units1, units2) {
  62284. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  62285. },
  62286. _unitString$2(numerators, denominators) {
  62287. var _0_4, _0_6, t1, _0_7, _0_5, _0_7_isSet, _0_6_isSet, _0_5_isSet, _null = null;
  62288. $label0$0: {
  62289. _0_4 = numerators.length <= 0;
  62290. if (_0_4) {
  62291. _0_6 = denominators.length;
  62292. t1 = _0_6;
  62293. _0_7 = t1 <= 0;
  62294. t1 = _0_7;
  62295. _0_5 = denominators;
  62296. _0_7_isSet = true;
  62297. _0_6_isSet = true;
  62298. _0_5_isSet = true;
  62299. } else {
  62300. _0_5 = _null;
  62301. _0_6 = _0_5;
  62302. _0_7 = _0_6;
  62303. _0_7_isSet = false;
  62304. _0_6_isSet = false;
  62305. _0_5_isSet = false;
  62306. t1 = false;
  62307. }
  62308. if (t1) {
  62309. t1 = "no units";
  62310. break $label0$0;
  62311. }
  62312. if (_0_4) {
  62313. if (_0_6_isSet)
  62314. t1 = _0_6;
  62315. else {
  62316. if (_0_5_isSet)
  62317. t1 = _0_5;
  62318. else {
  62319. t1 = denominators;
  62320. _0_5 = t1;
  62321. _0_5_isSet = true;
  62322. }
  62323. _0_6 = t1.length;
  62324. t1 = _0_6;
  62325. _0_6_isSet = true;
  62326. }
  62327. t1 = t1 === 1;
  62328. } else
  62329. t1 = false;
  62330. if (t1) {
  62331. t1 = (_0_5_isSet ? _0_5 : denominators)[0] + "^-1";
  62332. break $label0$0;
  62333. }
  62334. if (_0_4) {
  62335. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  62336. break $label0$0;
  62337. }
  62338. if (_0_7_isSet)
  62339. t1 = _0_7;
  62340. else {
  62341. if (_0_6_isSet)
  62342. t1 = _0_6;
  62343. else {
  62344. _0_6 = (_0_5_isSet ? _0_5 : denominators).length;
  62345. t1 = _0_6;
  62346. }
  62347. _0_7 = t1 <= 0;
  62348. t1 = _0_7;
  62349. }
  62350. if (t1) {
  62351. t1 = B.JSArray_methods.join$1(numerators, "*");
  62352. break $label0$0;
  62353. }
  62354. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  62355. break $label0$0;
  62356. }
  62357. return t1;
  62358. },
  62359. $eq(_, other) {
  62360. var _this = this;
  62361. if (other == null)
  62362. return false;
  62363. if (!(other instanceof A.SassNumber))
  62364. return false;
  62365. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  62366. return false;
  62367. if (!_this.get$hasUnits())
  62368. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  62369. 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))))
  62370. return false;
  62371. 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)));
  62372. },
  62373. get$hashCode(_) {
  62374. var _this = this,
  62375. t1 = _this.hashCache;
  62376. 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;
  62377. },
  62378. _canonicalizeUnitList$1(units) {
  62379. var type,
  62380. t1 = units.length;
  62381. if (t1 === 0)
  62382. return units;
  62383. if (t1 === 1) {
  62384. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  62385. if (type == null)
  62386. t1 = units;
  62387. else {
  62388. t1 = B.Map_ws7dy.$index(0, type);
  62389. t1.toString;
  62390. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  62391. }
  62392. return t1;
  62393. }
  62394. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  62395. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  62396. B.JSArray_methods.sort$0(t1);
  62397. return t1;
  62398. },
  62399. _canonicalMultiplier$1(units) {
  62400. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  62401. },
  62402. canonicalMultiplierForUnit$1(unit) {
  62403. var t1,
  62404. innerMap = B.Map_nfuzN.$index(0, unit);
  62405. if (innerMap == null)
  62406. t1 = 1;
  62407. else {
  62408. t1 = innerMap.get$values(innerMap);
  62409. t1 = 1 / t1.get$first(t1);
  62410. }
  62411. return t1;
  62412. },
  62413. unitSuggestion$2($name, unit) {
  62414. var t2, t3, result, _this = this,
  62415. t1 = _this.get$denominatorUnits(_this);
  62416. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62417. t2 = _this.get$numeratorUnits(_this);
  62418. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62419. t3 = unit == null ? "" : " * 1" + unit;
  62420. result = "$" + $name + t1 + t2 + t3;
  62421. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  62422. },
  62423. unitSuggestion$1($name) {
  62424. return this.unitSuggestion$2($name, null);
  62425. }
  62426. };
  62427. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  62428. call$0() {
  62429. var t2, t3, message, t4, type, unit, _this = this,
  62430. t1 = _this.other;
  62431. if (t1 != null) {
  62432. t2 = _this.$this;
  62433. t3 = t2.toString$0(0) + " and";
  62434. message = new A.StringBuffer(t3);
  62435. t4 = _this.otherName;
  62436. if (t4 != null)
  62437. t3 = message._contents = t3 + (" $" + t4 + ":");
  62438. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  62439. message._contents = t1;
  62440. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  62441. message._contents = t1 + " (one has units and the other doesn't)";
  62442. t1 = message.toString$0(0) + ".";
  62443. t2 = _this.name;
  62444. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62445. } else if (!_this.otherHasUnits) {
  62446. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  62447. t2 = _this.name;
  62448. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62449. } else {
  62450. t1 = _this.newNumerators;
  62451. if (t1.length === 1 && _this.newDenominators.length === 0) {
  62452. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  62453. if (type != null) {
  62454. t1 = _this.$this.toString$0(0);
  62455. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  62456. t3 = B.Map_ws7dy.$index(0, type);
  62457. t3.toString;
  62458. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  62459. t2 = _this.name;
  62460. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  62461. }
  62462. }
  62463. t2 = _this.newDenominators;
  62464. unit = A.pluralize("unit", t1.length + t2.length, null);
  62465. t3 = _this.$this;
  62466. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  62467. t1 = _this.name;
  62468. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  62469. }
  62470. },
  62471. $signature: 318
  62472. };
  62473. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  62474. call$1(oldNumerator) {
  62475. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  62476. if (factor == null)
  62477. return false;
  62478. this._box_0.value *= factor;
  62479. return true;
  62480. },
  62481. $signature: 4
  62482. };
  62483. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  62484. call$0() {
  62485. return A.throwExpression(this.compatibilityException.call$0());
  62486. },
  62487. $signature: 0
  62488. };
  62489. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  62490. call$1(oldDenominator) {
  62491. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  62492. if (factor == null)
  62493. return false;
  62494. this._box_0.value /= factor;
  62495. return true;
  62496. },
  62497. $signature: 4
  62498. };
  62499. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  62500. call$0() {
  62501. return A.throwExpression(this.compatibilityException.call$0());
  62502. },
  62503. $signature: 0
  62504. };
  62505. A.SassNumber_plus_closure.prototype = {
  62506. call$2(num1, num2) {
  62507. return num1 + num2;
  62508. },
  62509. $signature: 64
  62510. };
  62511. A.SassNumber_minus_closure.prototype = {
  62512. call$2(num1, num2) {
  62513. return num1 - num2;
  62514. },
  62515. $signature: 64
  62516. };
  62517. A.SassNumber_multiplyUnits_closure.prototype = {
  62518. call$1(denominator) {
  62519. var factor = A.conversionFactor(this.numerator, denominator);
  62520. if (factor == null)
  62521. return false;
  62522. this._box_0.value /= factor;
  62523. return true;
  62524. },
  62525. $signature: 4
  62526. };
  62527. A.SassNumber_multiplyUnits_closure0.prototype = {
  62528. call$0() {
  62529. return this.newNumerators.push(this.numerator);
  62530. },
  62531. $signature: 0
  62532. };
  62533. A.SassNumber_multiplyUnits_closure1.prototype = {
  62534. call$1(denominator) {
  62535. var factor = A.conversionFactor(this.numerator, denominator);
  62536. if (factor == null)
  62537. return false;
  62538. this._box_0.value /= factor;
  62539. return true;
  62540. },
  62541. $signature: 4
  62542. };
  62543. A.SassNumber_multiplyUnits_closure2.prototype = {
  62544. call$0() {
  62545. return this.newNumerators.push(this.numerator);
  62546. },
  62547. $signature: 0
  62548. };
  62549. A.SassNumber__areAnyConvertible_closure.prototype = {
  62550. call$1(unit1) {
  62551. var t1,
  62552. _0_0 = B.Map_nfuzN.$index(0, unit1);
  62553. $label0$0: {
  62554. if (_0_0 != null) {
  62555. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  62556. break $label0$0;
  62557. }
  62558. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  62559. break $label0$0;
  62560. }
  62561. return t1;
  62562. },
  62563. $signature: 4
  62564. };
  62565. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  62566. call$1(unit) {
  62567. var t1,
  62568. type = $.$get$_typesByUnit().$index(0, unit);
  62569. if (type == null)
  62570. t1 = unit;
  62571. else {
  62572. t1 = B.Map_ws7dy.$index(0, type);
  62573. t1.toString;
  62574. t1 = B.JSArray_methods.get$first(t1);
  62575. }
  62576. return t1;
  62577. },
  62578. $signature: 5
  62579. };
  62580. A.SassNumber__canonicalMultiplier_closure.prototype = {
  62581. call$2(multiplier, unit) {
  62582. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  62583. },
  62584. $signature: 221
  62585. };
  62586. A.SassNumber_unitSuggestion_closure.prototype = {
  62587. call$1(unit) {
  62588. return " * 1" + unit;
  62589. },
  62590. $signature: 5
  62591. };
  62592. A.SassNumber_unitSuggestion_closure0.prototype = {
  62593. call$1(unit) {
  62594. return " / 1" + unit;
  62595. },
  62596. $signature: 5
  62597. };
  62598. A.ComplexSassNumber.prototype = {
  62599. get$numeratorUnits(_) {
  62600. return this._numeratorUnits;
  62601. },
  62602. get$denominatorUnits(_) {
  62603. return this._denominatorUnits;
  62604. },
  62605. get$hasUnits() {
  62606. return true;
  62607. },
  62608. get$hasComplexUnits() {
  62609. return true;
  62610. },
  62611. hasUnit$1(unit) {
  62612. return false;
  62613. },
  62614. compatibleWithUnit$1(unit) {
  62615. return false;
  62616. },
  62617. hasPossiblyCompatibleUnits$1(other) {
  62618. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  62619. },
  62620. withValue$1(value) {
  62621. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  62622. },
  62623. withSlash$2(numerator, denominator) {
  62624. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  62625. }
  62626. };
  62627. A.SingleUnitSassNumber.prototype = {
  62628. get$numeratorUnits(_) {
  62629. return A.List_List$unmodifiable([this._unit], type$.String);
  62630. },
  62631. get$denominatorUnits(_) {
  62632. return B.List_empty;
  62633. },
  62634. get$hasUnits() {
  62635. return true;
  62636. },
  62637. get$hasComplexUnits() {
  62638. return false;
  62639. },
  62640. withValue$1(value) {
  62641. return new A.SingleUnitSassNumber(this._unit, value, null);
  62642. },
  62643. withSlash$2(numerator, denominator) {
  62644. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  62645. },
  62646. hasUnit$1(unit) {
  62647. return unit === this._unit;
  62648. },
  62649. hasCompatibleUnits$1(other) {
  62650. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  62651. },
  62652. hasPossiblyCompatibleUnits$1(other) {
  62653. var t1, knownCompatibilities, otherUnit;
  62654. if (!(other instanceof A.SingleUnitSassNumber))
  62655. return false;
  62656. t1 = $.$get$_knownCompatibilitiesByUnit();
  62657. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  62658. if (knownCompatibilities == null)
  62659. return true;
  62660. otherUnit = other._unit.toLowerCase();
  62661. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  62662. },
  62663. compatibleWithUnit$1(unit) {
  62664. return A.conversionFactor(this._unit, unit) != null;
  62665. },
  62666. coerceToMatch$1(other) {
  62667. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  62668. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  62669. },
  62670. coerceValueToMatch$3(other, $name, otherName) {
  62671. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62672. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  62673. },
  62674. coerceValueToMatch$1(other) {
  62675. return this.coerceValueToMatch$3(other, null, null);
  62676. },
  62677. convertValueToMatch$3(other, $name, otherName) {
  62678. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62679. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  62680. },
  62681. convertValueToMatch$1(other) {
  62682. return this.convertValueToMatch$3(other, null, null);
  62683. },
  62684. coerce$2(newNumerators, newDenominators) {
  62685. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  62686. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  62687. },
  62688. coerceValue$3(newNumerators, newDenominators, $name) {
  62689. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  62690. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  62691. },
  62692. coerceValueToUnit$2(unit, $name) {
  62693. var t1 = this._coerceValueToUnit$1(unit);
  62694. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  62695. },
  62696. coerceValueToUnit$1(unit) {
  62697. return this.coerceValueToUnit$2(unit, null);
  62698. },
  62699. _coerceToUnit$1(unit) {
  62700. var t1 = this._unit;
  62701. if (t1 === unit)
  62702. return this;
  62703. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  62704. },
  62705. _coerceValueToUnit$1(unit) {
  62706. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  62707. },
  62708. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62709. var mutableOtherDenominators, t1 = {};
  62710. t1.value = value;
  62711. t1.newNumerators = otherNumerators;
  62712. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62713. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  62714. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  62715. },
  62716. unaryMinus$0() {
  62717. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  62718. },
  62719. $eq(_, other) {
  62720. var factor;
  62721. if (other == null)
  62722. return false;
  62723. if (other instanceof A.SingleUnitSassNumber) {
  62724. factor = A.conversionFactor(other._unit, this._unit);
  62725. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  62726. } else
  62727. return false;
  62728. },
  62729. get$hashCode(_) {
  62730. var _this = this,
  62731. t1 = _this.hashCache;
  62732. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  62733. }
  62734. };
  62735. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  62736. call$1(factor) {
  62737. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  62738. },
  62739. $signature: 317
  62740. };
  62741. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  62742. call$1(factor) {
  62743. return this.$this._number$_value * factor;
  62744. },
  62745. $signature: 37
  62746. };
  62747. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  62748. call$1(denominator) {
  62749. var factor = A.conversionFactor(denominator, this.$this._unit);
  62750. if (factor == null)
  62751. return false;
  62752. this._box_0.value *= factor;
  62753. return true;
  62754. },
  62755. $signature: 4
  62756. };
  62757. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  62758. call$0() {
  62759. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  62760. t2 = this._box_0;
  62761. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  62762. t2.newNumerators = t1;
  62763. },
  62764. $signature: 0
  62765. };
  62766. A.UnitlessSassNumber.prototype = {
  62767. get$numeratorUnits(_) {
  62768. return B.List_empty;
  62769. },
  62770. get$denominatorUnits(_) {
  62771. return B.List_empty;
  62772. },
  62773. get$hasUnits() {
  62774. return false;
  62775. },
  62776. get$hasComplexUnits() {
  62777. return false;
  62778. },
  62779. withValue$1(value) {
  62780. return new A.UnitlessSassNumber(value, null);
  62781. },
  62782. withSlash$2(numerator, denominator) {
  62783. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  62784. },
  62785. hasUnit$1(unit) {
  62786. return false;
  62787. },
  62788. hasCompatibleUnits$1(other) {
  62789. return other instanceof A.UnitlessSassNumber;
  62790. },
  62791. hasPossiblyCompatibleUnits$1(other) {
  62792. return other instanceof A.UnitlessSassNumber;
  62793. },
  62794. compatibleWithUnit$1(unit) {
  62795. return true;
  62796. },
  62797. coerceToMatch$1(other) {
  62798. return other.withValue$1(this._number$_value);
  62799. },
  62800. coerceValueToMatch$3(other, $name, otherName) {
  62801. return this._number$_value;
  62802. },
  62803. coerceValueToMatch$1(other) {
  62804. return this.coerceValueToMatch$3(other, null, null);
  62805. },
  62806. convertValueToMatch$3(other, $name, otherName) {
  62807. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  62808. },
  62809. convertValueToMatch$1(other) {
  62810. return this.convertValueToMatch$3(other, null, null);
  62811. },
  62812. coerce$2(newNumerators, newDenominators) {
  62813. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  62814. },
  62815. coerceValue$3(newNumerators, newDenominators, $name) {
  62816. return this._number$_value;
  62817. },
  62818. coerceValueToUnit$2(unit, $name) {
  62819. return this._number$_value;
  62820. },
  62821. coerceValueToUnit$1(unit) {
  62822. return this.coerceValueToUnit$2(unit, null);
  62823. },
  62824. greaterThan$1(other) {
  62825. var t1, t2;
  62826. if (other instanceof A.SassNumber) {
  62827. t1 = this._number$_value;
  62828. t2 = other._number$_value;
  62829. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62830. }
  62831. return this.super$SassNumber$greaterThan(other);
  62832. },
  62833. greaterThanOrEquals$1(other) {
  62834. var t1, t2;
  62835. if (other instanceof A.SassNumber) {
  62836. t1 = this._number$_value;
  62837. t2 = other._number$_value;
  62838. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62839. }
  62840. return this.super$SassNumber$greaterThanOrEquals(other);
  62841. },
  62842. lessThan$1(other) {
  62843. var t1, t2;
  62844. if (other instanceof A.SassNumber) {
  62845. t1 = this._number$_value;
  62846. t2 = other._number$_value;
  62847. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62848. }
  62849. return this.super$SassNumber$lessThan(other);
  62850. },
  62851. lessThanOrEquals$1(other) {
  62852. var t1, t2;
  62853. if (other instanceof A.SassNumber) {
  62854. t1 = this._number$_value;
  62855. t2 = other._number$_value;
  62856. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62857. }
  62858. return this.super$SassNumber$lessThanOrEquals(other);
  62859. },
  62860. modulo$1(other) {
  62861. if (other instanceof A.SassNumber)
  62862. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  62863. return this.super$SassNumber$modulo(other);
  62864. },
  62865. plus$1(other) {
  62866. if (other instanceof A.SassNumber)
  62867. return other.withValue$1(this._number$_value + other._number$_value);
  62868. return this.super$SassNumber$plus(other);
  62869. },
  62870. minus$1(other) {
  62871. if (other instanceof A.SassNumber)
  62872. return other.withValue$1(this._number$_value - other._number$_value);
  62873. return this.super$SassNumber$minus(other);
  62874. },
  62875. times$1(other) {
  62876. if (other instanceof A.SassNumber)
  62877. return other.withValue$1(this._number$_value * other._number$_value);
  62878. return this.super$SassNumber$times(other);
  62879. },
  62880. dividedBy$1(other) {
  62881. var t1, t2;
  62882. if (other instanceof A.SassNumber) {
  62883. t1 = this._number$_value / other._number$_value;
  62884. if (other.get$hasUnits()) {
  62885. t2 = other.get$denominatorUnits(other);
  62886. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  62887. t1 = t2;
  62888. } else
  62889. t1 = new A.UnitlessSassNumber(t1, null);
  62890. return t1;
  62891. }
  62892. return this.super$SassNumber$dividedBy(other);
  62893. },
  62894. unaryMinus$0() {
  62895. return new A.UnitlessSassNumber(-this._number$_value, null);
  62896. },
  62897. $eq(_, other) {
  62898. if (other == null)
  62899. return false;
  62900. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  62901. },
  62902. get$hashCode(_) {
  62903. var t1 = this.hashCache;
  62904. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  62905. }
  62906. };
  62907. A.SassString.prototype = {
  62908. get$_sassLength() {
  62909. var result, _this = this,
  62910. value = _this.__SassString__sassLength_FI;
  62911. if (value === $) {
  62912. result = new A.Runes(_this._string$_text).get$length(0);
  62913. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  62914. _this.__SassString__sassLength_FI = result;
  62915. value = result;
  62916. }
  62917. return value;
  62918. },
  62919. get$isSpecialNumber() {
  62920. var t1, _2_0, _0_0, _1_0;
  62921. if (this._hasQuotes)
  62922. return false;
  62923. t1 = this._string$_text;
  62924. if (t1.length < 6)
  62925. return false;
  62926. _2_0 = t1.charCodeAt(0);
  62927. $label1$1: {
  62928. if (99 === _2_0 || 67 === _2_0) {
  62929. _0_0 = t1.charCodeAt(1);
  62930. $label0$0: {
  62931. if (108 === _0_0 || 76 === _0_0) {
  62932. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  62933. break $label0$0;
  62934. }
  62935. if (97 === _0_0 || 65 === _0_0) {
  62936. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  62937. break $label0$0;
  62938. }
  62939. t1 = false;
  62940. break $label0$0;
  62941. }
  62942. break $label1$1;
  62943. }
  62944. if (118 === _2_0 || 86 === _2_0) {
  62945. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  62946. break $label1$1;
  62947. }
  62948. if (101 === _2_0 || 69 === _2_0) {
  62949. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  62950. break $label1$1;
  62951. }
  62952. if (109 === _2_0 || 77 === _2_0) {
  62953. _1_0 = t1.charCodeAt(1);
  62954. $label2$2: {
  62955. if (97 === _1_0 || 65 === _1_0) {
  62956. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  62957. break $label2$2;
  62958. }
  62959. if (105 === _1_0 || 73 === _1_0) {
  62960. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  62961. break $label2$2;
  62962. }
  62963. t1 = false;
  62964. break $label2$2;
  62965. }
  62966. break $label1$1;
  62967. }
  62968. t1 = false;
  62969. break $label1$1;
  62970. }
  62971. return t1;
  62972. },
  62973. get$isVar() {
  62974. if (this._hasQuotes)
  62975. return false;
  62976. var t1 = this._string$_text;
  62977. if (t1.length < 8)
  62978. return false;
  62979. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  62980. },
  62981. get$isBlank() {
  62982. return !this._hasQuotes && this._string$_text.length === 0;
  62983. },
  62984. accept$1$1(visitor) {
  62985. var t1 = visitor._quote && this._hasQuotes,
  62986. t2 = this._string$_text;
  62987. if (t1)
  62988. visitor._visitQuotedString$1(t2);
  62989. else
  62990. visitor._visitUnquotedString$1(t2);
  62991. return null;
  62992. },
  62993. accept$1(visitor) {
  62994. return this.accept$1$1(visitor, type$.dynamic);
  62995. },
  62996. assertString$1($name) {
  62997. return this;
  62998. },
  62999. plus$1(other) {
  63000. var t1 = this._string$_text,
  63001. t2 = this._hasQuotes;
  63002. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  63003. },
  63004. $eq(_, other) {
  63005. if (other == null)
  63006. return false;
  63007. return other instanceof A.SassString && this._string$_text === other._string$_text;
  63008. },
  63009. get$hashCode(_) {
  63010. var t1 = this._hashCache;
  63011. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  63012. }
  63013. };
  63014. A.AnySelectorVisitor.prototype = {
  63015. visitComplexSelector$1(complex) {
  63016. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  63017. },
  63018. visitCompoundSelector$1(compound) {
  63019. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  63020. },
  63021. visitPseudoSelector$1(pseudo) {
  63022. var selector = pseudo.selector;
  63023. return selector == null ? false : this.visitSelectorList$1(selector);
  63024. },
  63025. visitSelectorList$1(list) {
  63026. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  63027. },
  63028. visitAttributeSelector$1(attribute) {
  63029. return false;
  63030. },
  63031. visitClassSelector$1(klass) {
  63032. return false;
  63033. },
  63034. visitIDSelector$1(id) {
  63035. return false;
  63036. },
  63037. visitParentSelector$1($parent) {
  63038. return false;
  63039. },
  63040. visitPlaceholderSelector$1(placeholder) {
  63041. return false;
  63042. },
  63043. visitTypeSelector$1(type) {
  63044. return false;
  63045. },
  63046. visitUniversalSelector$1(universal) {
  63047. return false;
  63048. }
  63049. };
  63050. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  63051. call$1(component) {
  63052. return this.$this.visitCompoundSelector$1(component.selector);
  63053. },
  63054. $signature: 48
  63055. };
  63056. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  63057. call$1(simple) {
  63058. return simple.accept$1(this.$this);
  63059. },
  63060. $signature: 15
  63061. };
  63062. A._EvaluateVisitor0.prototype = {
  63063. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  63064. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  63065. _s20_ = "$name, $module: null",
  63066. _s9_ = "sass:meta",
  63067. _s7_ = "$module",
  63068. t1 = type$.JSArray_AsyncBuiltInCallable,
  63069. 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),
  63070. 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);
  63071. t1 = type$.AsyncBuiltInCallable;
  63072. t2 = A.List_List$of($.$get$global(), true, t1);
  63073. B.JSArray_methods.addAll$1(t2, $.$get$local());
  63074. B.JSArray_methods.addAll$1(t2, metaFunctions);
  63075. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  63076. 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) {
  63077. module = t1[_i];
  63078. t3.$indexSet(0, module.url, module);
  63079. }
  63080. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  63081. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  63082. B.JSArray_methods.addAll$1(t1, metaFunctions);
  63083. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63084. $function = t1[_i];
  63085. t4 = J.get$name$x($function);
  63086. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  63087. }
  63088. },
  63089. run$2(_, importer, node) {
  63090. return this.run$body$_EvaluateVisitor(0, importer, node);
  63091. },
  63092. run$body$_EvaluateVisitor(_, importer, node) {
  63093. var $async$goto = 0,
  63094. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  63095. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  63096. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63097. if ($async$errorCode === 1) {
  63098. $async$currentError = $async$result;
  63099. $async$goto = $async$handler;
  63100. }
  63101. while (true)
  63102. switch ($async$goto) {
  63103. case 0:
  63104. // Function start
  63105. $async$handler = 4;
  63106. t1 = type$.nullable_Object;
  63107. 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);
  63108. $async$goto = 7;
  63109. 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);
  63110. case 7:
  63111. // returning from await.
  63112. t1 = $async$result;
  63113. $async$returnValue = t1;
  63114. // goto return
  63115. $async$goto = 1;
  63116. break;
  63117. $async$handler = 2;
  63118. // goto after finally
  63119. $async$goto = 6;
  63120. break;
  63121. case 4:
  63122. // catch
  63123. $async$handler = 3;
  63124. $async$exception = $async$currentError;
  63125. t1 = A.unwrapException($async$exception);
  63126. if (t1 instanceof A.SassException) {
  63127. error = t1;
  63128. stackTrace = A.getTraceFromException($async$exception);
  63129. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  63130. } else
  63131. throw $async$exception;
  63132. // goto after finally
  63133. $async$goto = 6;
  63134. break;
  63135. case 3:
  63136. // uncaught
  63137. // goto rethrow
  63138. $async$goto = 2;
  63139. break;
  63140. case 6:
  63141. // after finally
  63142. case 1:
  63143. // return
  63144. return A._asyncReturn($async$returnValue, $async$completer);
  63145. case 2:
  63146. // rethrow
  63147. return A._asyncRethrow($async$currentError, $async$completer);
  63148. }
  63149. });
  63150. return A._asyncStartSync($async$run$2, $async$completer);
  63151. },
  63152. _async_evaluate$_assertInModule$1$2(value, $name) {
  63153. if (value != null)
  63154. return value;
  63155. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  63156. },
  63157. _async_evaluate$_assertInModule$2(value, $name) {
  63158. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  63159. },
  63160. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63161. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  63162. },
  63163. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  63164. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  63165. },
  63166. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  63167. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  63168. },
  63169. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63170. var $async$goto = 0,
  63171. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  63172. $async$returnValue, $async$self = this, _0_0, t2, t1;
  63173. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63174. if ($async$errorCode === 1)
  63175. return A._asyncRethrow($async$result, $async$completer);
  63176. while (true)
  63177. switch ($async$goto) {
  63178. case 0:
  63179. // Function start
  63180. t1 = {};
  63181. t1.builtInModule = null;
  63182. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  63183. $async$goto = _0_0 != null ? 3 : 4;
  63184. break;
  63185. case 3:
  63186. // then
  63187. t1.builtInModule = _0_0;
  63188. if (configuration instanceof A.ExplicitConfiguration) {
  63189. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  63190. t2 = configuration.nodeWithSpan;
  63191. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  63192. }
  63193. $async$goto = 5;
  63194. 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);
  63195. case 5:
  63196. // returning from await.
  63197. // goto return
  63198. $async$goto = 1;
  63199. break;
  63200. case 4:
  63201. // join
  63202. $async$goto = 6;
  63203. 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);
  63204. case 6:
  63205. // returning from await.
  63206. case 1:
  63207. // return
  63208. return A._asyncReturn($async$returnValue, $async$completer);
  63209. }
  63210. });
  63211. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  63212. },
  63213. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63214. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  63215. },
  63216. _async_evaluate$_execute$2(importer, stylesheet) {
  63217. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  63218. },
  63219. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63220. var $async$goto = 0,
  63221. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  63222. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  63223. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63224. if ($async$errorCode === 1)
  63225. return A._asyncRethrow($async$result, $async$completer);
  63226. while (true)
  63227. switch ($async$goto) {
  63228. case 0:
  63229. // Function start
  63230. t1 = stylesheet.span;
  63231. url = t1.get$sourceUrl(t1);
  63232. t1 = $async$self._async_evaluate$_modules;
  63233. _0_0 = t1.$index(0, url);
  63234. if (_0_0 != null) {
  63235. t1 = configuration == null;
  63236. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  63237. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  63238. t3 = t2.__originalConfiguration;
  63239. t2 = t3 == null ? t2 : t3;
  63240. t3 = currentConfiguration.__originalConfiguration;
  63241. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  63242. if (namesInErrors) {
  63243. t2 = $.$get$context();
  63244. url.toString;
  63245. message = t2.prettyUri$1(url) + string$.x20was_a;
  63246. } else
  63247. message = string$.This_mw;
  63248. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  63249. existingSpan = t2 == null ? null : t2.get$span(t2);
  63250. if (t1) {
  63251. t1 = currentConfiguration.nodeWithSpan;
  63252. configurationSpan = t1.get$span(t1);
  63253. } else
  63254. configurationSpan = null;
  63255. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  63256. if (existingSpan != null)
  63257. t1.$indexSet(0, existingSpan, "original load");
  63258. if (configurationSpan != null)
  63259. t1.$indexSet(0, configurationSpan, "configuration");
  63260. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  63261. }
  63262. $async$returnValue = _0_0;
  63263. // goto return
  63264. $async$goto = 1;
  63265. break;
  63266. }
  63267. environment = A.AsyncEnvironment$();
  63268. css = A._Cell$();
  63269. preModuleComments = A._Cell$();
  63270. extensionStore = A.ExtensionStore$();
  63271. $async$goto = 3;
  63272. 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);
  63273. case 3:
  63274. // returning from await.
  63275. t2 = css._readLocal$0();
  63276. t3 = preModuleComments._readLocal$0();
  63277. module = environment.toModule$3(t2, t3 == null ? B.Map_empty7 : t3, extensionStore);
  63278. if (url != null) {
  63279. t1.$indexSet(0, url, module);
  63280. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  63281. if (nodeWithSpan != null)
  63282. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  63283. }
  63284. $async$returnValue = module;
  63285. // goto return
  63286. $async$goto = 1;
  63287. break;
  63288. case 1:
  63289. // return
  63290. return A._asyncReturn($async$returnValue, $async$completer);
  63291. }
  63292. });
  63293. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  63294. },
  63295. _async_evaluate$_addOutOfOrderImports$0() {
  63296. var t1, t2, _this = this, _s5_ = "_root",
  63297. _s13_ = "_endOfImports",
  63298. _0_0 = _this._async_evaluate$_outOfOrderImports;
  63299. $label0$0: {
  63300. if (_0_0 == null) {
  63301. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63302. break $label0$0;
  63303. }
  63304. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63305. 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);
  63306. B.JSArray_methods.addAll$1(t1, _0_0);
  63307. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63308. 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")));
  63309. break $label0$0;
  63310. }
  63311. return t1;
  63312. },
  63313. _async_evaluate$_combineCss$2$clone(root, clone) {
  63314. var selectors, _0_0, t1, imports, css, sorted, t2;
  63315. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  63316. selectors = root.get$extensionStore().get$simpleSelectors();
  63317. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  63318. if (_0_0 != null)
  63319. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  63320. return root.get$css(root);
  63321. }
  63322. t1 = type$.JSArray_CssNode;
  63323. imports = A._setArrayType([], t1);
  63324. css = A._setArrayType([], t1);
  63325. t1 = type$.Module_AsyncCallable;
  63326. sorted = A.ListQueue$(t1);
  63327. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  63328. if (root.get$transitivelyContainsExtensions())
  63329. this._async_evaluate$_extendModules$1(sorted);
  63330. t1 = B.JSArray_methods.$add(imports, css);
  63331. t2 = root.get$css(root);
  63332. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  63333. },
  63334. _async_evaluate$_combineCss$1(root) {
  63335. return this._async_evaluate$_combineCss$2$clone(root, false);
  63336. },
  63337. _async_evaluate$_extendModules$1(sortedModules) {
  63338. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  63339. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  63340. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  63341. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  63342. t3 = t1._collection$_current;
  63343. if (t3 == null)
  63344. t3 = t2._as(t3);
  63345. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  63346. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  63347. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  63348. t4 = t3.get$extensionStore().get$addExtensions();
  63349. if ($self != null)
  63350. t4.call$1($self);
  63351. t4 = t3.get$extensionStore();
  63352. if (t4.get$isEmpty(t4))
  63353. continue;
  63354. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  63355. upstream = t4[_i];
  63356. _0_0 = upstream.get$url(upstream);
  63357. if (_0_0 != null)
  63358. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  63359. }
  63360. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  63361. }
  63362. if (unsatisfiedExtensions._collection$_length !== 0)
  63363. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  63364. },
  63365. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  63366. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  63367. },
  63368. _async_evaluate$_indexAfterImports$1(statements) {
  63369. var t1, lastImport, i, _0_0;
  63370. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  63371. $label0$0: {
  63372. _0_0 = t1.$index(statements, i);
  63373. if (_0_0 instanceof A.ModifiableCssImport)
  63374. break $label0$0;
  63375. if (_0_0 instanceof A.ModifiableCssComment)
  63376. continue;
  63377. break;
  63378. }
  63379. lastImport = i;
  63380. }
  63381. return lastImport + 1;
  63382. },
  63383. visitStylesheet$1(node) {
  63384. return this.visitStylesheet$body$_EvaluateVisitor(node);
  63385. },
  63386. visitStylesheet$body$_EvaluateVisitor(node) {
  63387. var $async$goto = 0,
  63388. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63389. $async$returnValue, $async$self = this, t1, t2, _i;
  63390. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63391. if ($async$errorCode === 1)
  63392. return A._asyncRethrow($async$result, $async$completer);
  63393. while (true)
  63394. switch ($async$goto) {
  63395. case 0:
  63396. // Function start
  63397. t1 = node.children, t2 = t1.length, _i = 0;
  63398. case 3:
  63399. // for condition
  63400. if (!(_i < t2)) {
  63401. // goto after for
  63402. $async$goto = 5;
  63403. break;
  63404. }
  63405. $async$goto = 6;
  63406. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  63407. case 6:
  63408. // returning from await.
  63409. case 4:
  63410. // for update
  63411. ++_i;
  63412. // goto for condition
  63413. $async$goto = 3;
  63414. break;
  63415. case 5:
  63416. // after for
  63417. $async$returnValue = null;
  63418. // goto return
  63419. $async$goto = 1;
  63420. break;
  63421. case 1:
  63422. // return
  63423. return A._asyncReturn($async$returnValue, $async$completer);
  63424. }
  63425. });
  63426. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  63427. },
  63428. visitAtRootRule$1(node) {
  63429. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  63430. },
  63431. visitAtRootRule$body$_EvaluateVisitor(node) {
  63432. var $async$goto = 0,
  63433. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63434. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  63435. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63436. if ($async$errorCode === 1)
  63437. return A._asyncRethrow($async$result, $async$completer);
  63438. while (true)
  63439. switch ($async$goto) {
  63440. case 0:
  63441. // Function start
  63442. _0_0 = node.query;
  63443. $async$goto = _0_0 != null ? 3 : 5;
  63444. break;
  63445. case 3:
  63446. // then
  63447. $async$goto = 6;
  63448. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  63449. case 6:
  63450. // returning from await.
  63451. _1_0 = $async$result;
  63452. resolved = _1_0._0;
  63453. _1_0._1;
  63454. query = A.AtRootQueryParser$(resolved, $async$self._async_evaluate$_logger, null).parse$0();
  63455. // goto join
  63456. $async$goto = 4;
  63457. break;
  63458. case 5:
  63459. // else
  63460. query = B.AtRootQuery_UsS;
  63461. case 4:
  63462. // join
  63463. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63464. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  63465. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  63466. if (!query.excludes$1($parent))
  63467. included.push($parent);
  63468. _2_0 = $parent._parent;
  63469. if (_2_0 == null)
  63470. throw A.wrapException(A.StateError$(string$.CssNod));
  63471. }
  63472. root = $async$self._async_evaluate$_trimIncluded$1(included);
  63473. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  63474. break;
  63475. case 7:
  63476. // then
  63477. $async$goto = 9;
  63478. 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);
  63479. case 9:
  63480. // returning from await.
  63481. $async$returnValue = null;
  63482. // goto return
  63483. $async$goto = 1;
  63484. break;
  63485. case 8:
  63486. // join
  63487. if (included.length >= 1) {
  63488. first = included[0];
  63489. rest = B.JSArray_methods.sublist$1(included, 1);
  63490. innerCopy = first.copyWithoutChildren$0();
  63491. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  63492. copy = rest[_i].copyWithoutChildren$0();
  63493. copy.addChild$1(outerCopy);
  63494. }
  63495. root.addChild$1(outerCopy);
  63496. } else
  63497. innerCopy = root;
  63498. $async$goto = 10;
  63499. 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);
  63500. case 10:
  63501. // returning from await.
  63502. $async$returnValue = null;
  63503. // goto return
  63504. $async$goto = 1;
  63505. break;
  63506. case 1:
  63507. // return
  63508. return A._asyncReturn($async$returnValue, $async$completer);
  63509. }
  63510. });
  63511. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  63512. },
  63513. _async_evaluate$_trimIncluded$1(nodes) {
  63514. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  63515. _s22_ = " to be an ancestor of ";
  63516. if (nodes.length === 0)
  63517. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63518. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  63519. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  63520. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  63521. _0_0 = $parent._parent;
  63522. if (_0_0 == null)
  63523. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63524. }
  63525. if (innermostContiguous == null)
  63526. innermostContiguous = i;
  63527. _1_0 = $parent._parent;
  63528. if (_1_0 == null)
  63529. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63530. }
  63531. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  63532. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63533. innermostContiguous.toString;
  63534. root = nodes[innermostContiguous];
  63535. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  63536. return root;
  63537. },
  63538. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  63539. var _this = this,
  63540. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  63541. t1 = query._all || query._at_root_query$_rule;
  63542. if (t1 !== query.include)
  63543. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  63544. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  63545. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  63546. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  63547. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  63548. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  63549. },
  63550. visitContentBlock$1(node) {
  63551. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  63552. },
  63553. visitContentRule$1(node) {
  63554. return this.visitContentRule$body$_EvaluateVisitor(node);
  63555. },
  63556. visitContentRule$body$_EvaluateVisitor(node) {
  63557. var $async$goto = 0,
  63558. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63559. $async$returnValue, $async$self = this, $content;
  63560. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63561. if ($async$errorCode === 1)
  63562. return A._asyncRethrow($async$result, $async$completer);
  63563. while (true)
  63564. switch ($async$goto) {
  63565. case 0:
  63566. // Function start
  63567. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  63568. if ($content == null) {
  63569. $async$returnValue = null;
  63570. // goto return
  63571. $async$goto = 1;
  63572. break;
  63573. }
  63574. $async$goto = 3;
  63575. 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);
  63576. case 3:
  63577. // returning from await.
  63578. $async$returnValue = null;
  63579. // goto return
  63580. $async$goto = 1;
  63581. break;
  63582. case 1:
  63583. // return
  63584. return A._asyncReturn($async$returnValue, $async$completer);
  63585. }
  63586. });
  63587. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  63588. },
  63589. visitDebugRule$1(node) {
  63590. return this.visitDebugRule$body$_EvaluateVisitor(node);
  63591. },
  63592. visitDebugRule$body$_EvaluateVisitor(node) {
  63593. var $async$goto = 0,
  63594. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63595. $async$returnValue, $async$self = this, value, t1;
  63596. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63597. if ($async$errorCode === 1)
  63598. return A._asyncRethrow($async$result, $async$completer);
  63599. while (true)
  63600. switch ($async$goto) {
  63601. case 0:
  63602. // Function start
  63603. $async$goto = 3;
  63604. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  63605. case 3:
  63606. // returning from await.
  63607. value = $async$result;
  63608. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  63609. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  63610. $async$returnValue = null;
  63611. // goto return
  63612. $async$goto = 1;
  63613. break;
  63614. case 1:
  63615. // return
  63616. return A._asyncReturn($async$returnValue, $async$completer);
  63617. }
  63618. });
  63619. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  63620. },
  63621. visitDeclaration$1(node) {
  63622. return this.visitDeclaration$body$_EvaluateVisitor(node);
  63623. },
  63624. visitDeclaration$body$_EvaluateVisitor(node) {
  63625. var $async$goto = 0,
  63626. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63627. $async$returnValue, $async$self = this, t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, t1;
  63628. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63629. if ($async$errorCode === 1)
  63630. return A._asyncRethrow($async$result, $async$completer);
  63631. while (true)
  63632. switch ($async$goto) {
  63633. case 0:
  63634. // Function start
  63635. t1 = {};
  63636. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  63637. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  63638. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  63639. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  63640. t2 = node.name;
  63641. $async$goto = 3;
  63642. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  63643. case 3:
  63644. // returning from await.
  63645. $name = $async$result;
  63646. _0_0 = $async$self._async_evaluate$_declarationName;
  63647. if (_0_0 != null)
  63648. $name = new A.CssValue(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  63649. _1_0 = node.value;
  63650. $async$goto = _1_0 != null ? 4 : 5;
  63651. break;
  63652. case 4:
  63653. // then
  63654. $async$goto = 6;
  63655. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  63656. case 6:
  63657. // returning from await.
  63658. value = $async$result;
  63659. if (!value.get$isBlank() || value.get$asList().length === 0) {
  63660. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63661. t4 = _1_0.get$span(_1_0);
  63662. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  63663. if ($async$self._async_evaluate$_sourceMap) {
  63664. t5 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
  63665. t5 = t5 == null ? null : J.get$span$z(t5);
  63666. } else
  63667. t5 = null;
  63668. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  63669. } else if (J.startsWith$1$s($name.value, "--"))
  63670. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  63671. case 5:
  63672. // join
  63673. t1.children = null;
  63674. _2_0 = node.children;
  63675. $async$goto = _2_0 != null ? 7 : 8;
  63676. break;
  63677. case 7:
  63678. // then
  63679. t1.children = _2_0;
  63680. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  63681. $async$self._async_evaluate$_declarationName = $name.value;
  63682. $async$goto = 9;
  63683. 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);
  63684. case 9:
  63685. // returning from await.
  63686. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  63687. case 8:
  63688. // join
  63689. $async$returnValue = null;
  63690. // goto return
  63691. $async$goto = 1;
  63692. break;
  63693. case 1:
  63694. // return
  63695. return A._asyncReturn($async$returnValue, $async$completer);
  63696. }
  63697. });
  63698. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  63699. },
  63700. visitEachRule$1(node) {
  63701. return this.visitEachRule$body$_EvaluateVisitor(node);
  63702. },
  63703. visitEachRule$body$_EvaluateVisitor(node) {
  63704. var $async$goto = 0,
  63705. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63706. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  63707. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63708. if ($async$errorCode === 1)
  63709. return A._asyncRethrow($async$result, $async$completer);
  63710. while (true)
  63711. switch ($async$goto) {
  63712. case 0:
  63713. // Function start
  63714. _box_0 = {};
  63715. t1 = node.list;
  63716. $async$goto = 3;
  63717. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  63718. case 3:
  63719. // returning from await.
  63720. list = $async$result;
  63721. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  63722. _0_0 = node.variables;
  63723. $label0$0: {
  63724. _box_0.variable = null;
  63725. if (_0_0.length === 1) {
  63726. _box_0.variable = _0_0[0];
  63727. t1 = new A._EvaluateVisitor_visitEachRule_closure2(_box_0, $async$self, nodeWithSpan);
  63728. break $label0$0;
  63729. }
  63730. _box_0.variables = null;
  63731. _box_0.variables = _0_0;
  63732. t1 = new A._EvaluateVisitor_visitEachRule_closure3(_box_0, $async$self, nodeWithSpan);
  63733. break $label0$0;
  63734. }
  63735. $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);
  63736. // goto return
  63737. $async$goto = 1;
  63738. break;
  63739. case 1:
  63740. // return
  63741. return A._asyncReturn($async$returnValue, $async$completer);
  63742. }
  63743. });
  63744. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  63745. },
  63746. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  63747. var i,
  63748. list = value.get$asList(),
  63749. t1 = variables.length,
  63750. minLength = Math.min(t1, list.length);
  63751. for (i = 0; i < minLength; ++i)
  63752. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  63753. for (i = minLength; i < t1; ++i)
  63754. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  63755. },
  63756. visitErrorRule$1(node) {
  63757. return this.visitErrorRule$body$_EvaluateVisitor(node);
  63758. },
  63759. visitErrorRule$body$_EvaluateVisitor(node) {
  63760. var $async$goto = 0,
  63761. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  63762. $async$self = this, $async$temp1, $async$temp2;
  63763. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63764. if ($async$errorCode === 1)
  63765. return A._asyncRethrow($async$result, $async$completer);
  63766. while (true)
  63767. switch ($async$goto) {
  63768. case 0:
  63769. // Function start
  63770. $async$temp1 = A;
  63771. $async$temp2 = J;
  63772. $async$goto = 2;
  63773. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  63774. case 2:
  63775. // returning from await.
  63776. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  63777. // implicit return
  63778. return A._asyncReturn(null, $async$completer);
  63779. }
  63780. });
  63781. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  63782. },
  63783. visitExtendRule$1(node) {
  63784. return this.visitExtendRule$body$_EvaluateVisitor(node);
  63785. },
  63786. visitExtendRule$body$_EvaluateVisitor(node) {
  63787. var $async$goto = 0,
  63788. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63789. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  63790. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63791. if ($async$errorCode === 1)
  63792. return A._asyncRethrow($async$result, $async$completer);
  63793. while (true)
  63794. switch ($async$goto) {
  63795. case 0:
  63796. // Function start
  63797. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  63798. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  63799. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  63800. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  63801. complex = t1[_i];
  63802. if (!complex.accept$1(B._IsBogusVisitor_true))
  63803. continue;
  63804. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63805. complex.accept$1(visitor);
  63806. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63807. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  63808. $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);
  63809. }
  63810. $async$goto = 3;
  63811. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  63812. case 3:
  63813. // returning from await.
  63814. _0_0 = $async$result;
  63815. targetText = _0_0._0;
  63816. targetMap = _0_0._1;
  63817. 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) {
  63818. complex = t1[_i];
  63819. compound = complex.get$singleCompound();
  63820. if (compound == null)
  63821. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  63822. t4 = compound.components;
  63823. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  63824. if (t5 == null)
  63825. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  63826. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  63827. }
  63828. $async$returnValue = null;
  63829. // goto return
  63830. $async$goto = 1;
  63831. break;
  63832. case 1:
  63833. // return
  63834. return A._asyncReturn($async$returnValue, $async$completer);
  63835. }
  63836. });
  63837. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  63838. },
  63839. visitAtRule$1(node) {
  63840. return this.visitAtRule$body$_EvaluateVisitor(node);
  63841. },
  63842. visitAtRule$body$_EvaluateVisitor(node) {
  63843. var $async$goto = 0,
  63844. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63845. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  63846. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63847. if ($async$errorCode === 1)
  63848. return A._asyncRethrow($async$result, $async$completer);
  63849. while (true)
  63850. switch ($async$goto) {
  63851. case 0:
  63852. // Function start
  63853. if ($async$self._async_evaluate$_declarationName != null)
  63854. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  63855. $async$goto = 3;
  63856. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  63857. case 3:
  63858. // returning from await.
  63859. $name = $async$result;
  63860. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  63861. $async$goto = 4;
  63862. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  63863. case 4:
  63864. // returning from await.
  63865. value = $async$result;
  63866. children = node.children;
  63867. if (children == null) {
  63868. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  63869. $async$returnValue = null;
  63870. // goto return
  63871. $async$goto = 1;
  63872. break;
  63873. }
  63874. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  63875. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  63876. if (A.unvendor($name.value) === "keyframes")
  63877. $async$self._async_evaluate$_inKeyframes = true;
  63878. else
  63879. $async$self._async_evaluate$_inUnknownAtRule = true;
  63880. $async$goto = 5;
  63881. 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);
  63882. case 5:
  63883. // returning from await.
  63884. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  63885. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  63886. $async$returnValue = null;
  63887. // goto return
  63888. $async$goto = 1;
  63889. break;
  63890. case 1:
  63891. // return
  63892. return A._asyncReturn($async$returnValue, $async$completer);
  63893. }
  63894. });
  63895. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  63896. },
  63897. visitForRule$1(node) {
  63898. return this.visitForRule$body$_EvaluateVisitor(node);
  63899. },
  63900. visitForRule$body$_EvaluateVisitor(node) {
  63901. var $async$goto = 0,
  63902. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63903. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  63904. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63905. if ($async$errorCode === 1)
  63906. return A._asyncRethrow($async$result, $async$completer);
  63907. while (true)
  63908. switch ($async$goto) {
  63909. case 0:
  63910. // Function start
  63911. t1 = {};
  63912. t2 = node.from;
  63913. t3 = type$.SassNumber;
  63914. $async$goto = 3;
  63915. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  63916. case 3:
  63917. // returning from await.
  63918. fromNumber = $async$result;
  63919. t4 = node.to;
  63920. $async$goto = 4;
  63921. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  63922. case 4:
  63923. // returning from await.
  63924. toNumber = $async$result;
  63925. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  63926. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  63927. direction = from > to ? -1 : 1;
  63928. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  63929. $async$returnValue = null;
  63930. // goto return
  63931. $async$goto = 1;
  63932. break;
  63933. }
  63934. $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);
  63935. // goto return
  63936. $async$goto = 1;
  63937. break;
  63938. case 1:
  63939. // return
  63940. return A._asyncReturn($async$returnValue, $async$completer);
  63941. }
  63942. });
  63943. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  63944. },
  63945. visitForwardRule$1(node) {
  63946. return this.visitForwardRule$body$_EvaluateVisitor(node);
  63947. },
  63948. visitForwardRule$body$_EvaluateVisitor(node) {
  63949. var $async$goto = 0,
  63950. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63951. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  63952. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63953. if ($async$errorCode === 1)
  63954. return A._asyncRethrow($async$result, $async$completer);
  63955. while (true)
  63956. switch ($async$goto) {
  63957. case 0:
  63958. // Function start
  63959. oldConfiguration = $async$self._async_evaluate$_configuration;
  63960. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  63961. t1 = node.configuration;
  63962. t2 = t1.length;
  63963. t3 = node.url;
  63964. $async$goto = t2 !== 0 ? 3 : 5;
  63965. break;
  63966. case 3:
  63967. // then
  63968. $async$goto = 6;
  63969. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  63970. case 6:
  63971. // returning from await.
  63972. newConfiguration = $async$result;
  63973. $async$goto = 7;
  63974. 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);
  63975. case 7:
  63976. // returning from await.
  63977. t3 = type$.String;
  63978. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  63979. for (_i = 0; _i < t2; ++_i) {
  63980. variable = t1[_i];
  63981. if (!variable.isGuarded)
  63982. t4.add$1(0, variable.name);
  63983. }
  63984. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  63985. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  63986. for (_i = 0; _i < t2; ++_i)
  63987. t3.add$1(0, t1[_i].name);
  63988. 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) {
  63989. $name = t2[_i];
  63990. if (!t3.contains$1(0, $name))
  63991. if (!t1.get$isEmpty(t1))
  63992. t1.remove$1(0, $name);
  63993. }
  63994. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  63995. // goto join
  63996. $async$goto = 4;
  63997. break;
  63998. case 5:
  63999. // else
  64000. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  64001. $async$goto = 8;
  64002. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  64003. case 8:
  64004. // returning from await.
  64005. $async$self._async_evaluate$_configuration = oldConfiguration;
  64006. case 4:
  64007. // join
  64008. $async$returnValue = null;
  64009. // goto return
  64010. $async$goto = 1;
  64011. break;
  64012. case 1:
  64013. // return
  64014. return A._asyncReturn($async$returnValue, $async$completer);
  64015. }
  64016. });
  64017. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  64018. },
  64019. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  64020. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  64021. },
  64022. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  64023. var $async$goto = 0,
  64024. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  64025. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  64026. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64027. if ($async$errorCode === 1)
  64028. return A._asyncRethrow($async$result, $async$completer);
  64029. while (true)
  64030. switch ($async$goto) {
  64031. case 0:
  64032. // Function start
  64033. t1 = configuration._configuration$_values;
  64034. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64035. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  64036. case 3:
  64037. // for condition
  64038. if (!(_i < t3)) {
  64039. // goto after for
  64040. $async$goto = 5;
  64041. break;
  64042. }
  64043. variable = t2[_i];
  64044. if (variable.isGuarded) {
  64045. t6 = variable.name;
  64046. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  64047. if (oldValue != null)
  64048. t7 = !oldValue.value.$eq(0, B.C__SassNull);
  64049. else {
  64050. oldValue = null;
  64051. t7 = false;
  64052. }
  64053. if (t7) {
  64054. newValues.$indexSet(0, t6, oldValue);
  64055. // goto for update
  64056. $async$goto = 4;
  64057. break;
  64058. }
  64059. }
  64060. t6 = variable.expression;
  64061. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  64062. t7 = variable.name;
  64063. t6 = t6.accept$1($async$self);
  64064. if (!t5._is(t6)) {
  64065. t8 = new A._Future($.Zone__current, t4);
  64066. t8._state = 8;
  64067. t8._resultOrListeners = t6;
  64068. t6 = t8;
  64069. }
  64070. $async$temp1 = newValues;
  64071. $async$temp2 = t7;
  64072. $async$temp3 = A;
  64073. $async$goto = 6;
  64074. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  64075. case 6:
  64076. // returning from await.
  64077. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  64078. case 4:
  64079. // for update
  64080. ++_i;
  64081. // goto for condition
  64082. $async$goto = 3;
  64083. break;
  64084. case 5:
  64085. // after for
  64086. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  64087. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  64088. // goto return
  64089. $async$goto = 1;
  64090. break;
  64091. } else {
  64092. $async$returnValue = new A.Configuration(newValues, null);
  64093. // goto return
  64094. $async$goto = 1;
  64095. break;
  64096. }
  64097. case 1:
  64098. // return
  64099. return A._asyncReturn($async$returnValue, $async$completer);
  64100. }
  64101. });
  64102. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  64103. },
  64104. _async_evaluate$_registerCommentsForModule$1(module) {
  64105. var _this = this, _s5_ = "_root",
  64106. t1 = _this._async_evaluate$__root;
  64107. if (t1 == null)
  64108. return;
  64109. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  64110. return;
  64111. t1 = _this._async_evaluate$_preModuleComments;
  64112. if (t1 == null)
  64113. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  64114. 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));
  64115. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  64116. _this._async_evaluate$__endOfImports = 0;
  64117. },
  64118. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  64119. var t1, t2, t3, t4, _i, $name;
  64120. 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) {
  64121. $name = t2[_i];
  64122. if (except.contains$1(0, $name))
  64123. continue;
  64124. if (!t4.containsKey$1($name))
  64125. if (!t1.get$isEmpty(t1))
  64126. t1.remove$1(0, $name);
  64127. }
  64128. },
  64129. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  64130. var t1, _0_0, $name, value;
  64131. if (!(configuration instanceof A.ExplicitConfiguration))
  64132. return;
  64133. t1 = configuration._configuration$_values;
  64134. if (t1.get$isEmpty(t1))
  64135. return;
  64136. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64137. _0_0 = t1.get$first(t1);
  64138. $name = _0_0._0;
  64139. value = _0_0._1;
  64140. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  64141. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  64142. },
  64143. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  64144. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  64145. },
  64146. visitFunctionRule$1(node) {
  64147. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  64148. },
  64149. visitFunctionRule$body$_EvaluateVisitor(node) {
  64150. var $async$goto = 0,
  64151. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64152. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64153. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64154. if ($async$errorCode === 1)
  64155. return A._asyncRethrow($async$result, $async$completer);
  64156. while (true)
  64157. switch ($async$goto) {
  64158. case 0:
  64159. // Function start
  64160. t1 = $async$self._async_evaluate$_environment;
  64161. t2 = t1.closure$0();
  64162. t3 = $async$self._async_evaluate$_inDependency;
  64163. t4 = t1._async_environment$_functions;
  64164. index = t4.length - 1;
  64165. t5 = node.name;
  64166. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  64167. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64168. $async$returnValue = null;
  64169. // goto return
  64170. $async$goto = 1;
  64171. break;
  64172. case 1:
  64173. // return
  64174. return A._asyncReturn($async$returnValue, $async$completer);
  64175. }
  64176. });
  64177. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  64178. },
  64179. visitIfRule$1(node) {
  64180. return this.visitIfRule$body$_EvaluateVisitor(node);
  64181. },
  64182. visitIfRule$body$_EvaluateVisitor(node) {
  64183. var $async$goto = 0,
  64184. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64185. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  64186. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64187. if ($async$errorCode === 1)
  64188. return A._asyncRethrow($async$result, $async$completer);
  64189. while (true)
  64190. switch ($async$goto) {
  64191. case 0:
  64192. // Function start
  64193. clause = node.lastClause;
  64194. t1 = node.clauses, t2 = t1.length, _i = 0;
  64195. case 3:
  64196. // for condition
  64197. if (!(_i < t2)) {
  64198. // goto after for
  64199. $async$goto = 5;
  64200. break;
  64201. }
  64202. clauseToCheck = t1[_i];
  64203. $async$goto = 6;
  64204. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  64205. case 6:
  64206. // returning from await.
  64207. if ($async$result.get$isTruthy()) {
  64208. clause = clauseToCheck;
  64209. // goto after for
  64210. $async$goto = 5;
  64211. break;
  64212. }
  64213. case 4:
  64214. // for update
  64215. ++_i;
  64216. // goto for condition
  64217. $async$goto = 3;
  64218. break;
  64219. case 5:
  64220. // after for
  64221. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  64222. $async$goto = 7;
  64223. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  64224. case 7:
  64225. // returning from await.
  64226. $async$returnValue = $async$result;
  64227. // goto return
  64228. $async$goto = 1;
  64229. break;
  64230. case 1:
  64231. // return
  64232. return A._asyncReturn($async$returnValue, $async$completer);
  64233. }
  64234. });
  64235. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  64236. },
  64237. visitImportRule$1(node) {
  64238. return this.visitImportRule$body$_EvaluateVisitor(node);
  64239. },
  64240. visitImportRule$body$_EvaluateVisitor(node) {
  64241. var $async$goto = 0,
  64242. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64243. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  64244. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64245. if ($async$errorCode === 1)
  64246. return A._asyncRethrow($async$result, $async$completer);
  64247. while (true)
  64248. switch ($async$goto) {
  64249. case 0:
  64250. // Function start
  64251. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  64252. case 3:
  64253. // for condition
  64254. if (!(_i < t2)) {
  64255. // goto after for
  64256. $async$goto = 5;
  64257. break;
  64258. }
  64259. $import = t1[_i];
  64260. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  64261. break;
  64262. case 6:
  64263. // then
  64264. $async$goto = 9;
  64265. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  64266. case 9:
  64267. // returning from await.
  64268. // goto join
  64269. $async$goto = 7;
  64270. break;
  64271. case 8:
  64272. // else
  64273. $async$goto = 10;
  64274. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  64275. case 10:
  64276. // returning from await.
  64277. case 7:
  64278. // join
  64279. case 4:
  64280. // for update
  64281. ++_i;
  64282. // goto for condition
  64283. $async$goto = 3;
  64284. break;
  64285. case 5:
  64286. // after for
  64287. $async$returnValue = null;
  64288. // goto return
  64289. $async$goto = 1;
  64290. break;
  64291. case 1:
  64292. // return
  64293. return A._asyncReturn($async$returnValue, $async$completer);
  64294. }
  64295. });
  64296. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  64297. },
  64298. _async_evaluate$_visitDynamicImport$1($import) {
  64299. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  64300. },
  64301. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  64302. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  64303. },
  64304. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  64305. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  64306. },
  64307. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  64308. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  64309. },
  64310. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  64311. var $async$goto = 0,
  64312. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  64313. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  64314. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64315. if ($async$errorCode === 1) {
  64316. $async$currentError = $async$result;
  64317. $async$goto = $async$handler;
  64318. }
  64319. while (true)
  64320. switch ($async$goto) {
  64321. case 0:
  64322. // Function start
  64323. baseUrl = baseUrl;
  64324. $async$handler = 4;
  64325. $async$self._async_evaluate$_importSpan = span;
  64326. importCache = null;
  64327. _0_0 = $async$self._async_evaluate$_importCache;
  64328. $async$goto = _0_0 != null ? 7 : 8;
  64329. break;
  64330. case 7:
  64331. // then
  64332. importCache = _0_0;
  64333. if (baseUrl == null) {
  64334. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  64335. baseUrl = t1.get$sourceUrl(t1);
  64336. }
  64337. importer = null;
  64338. canonicalUrl = null;
  64339. originalUrl = null;
  64340. $async$goto = 9;
  64341. 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);
  64342. case 9:
  64343. // returning from await.
  64344. _1_0 = $async$result;
  64345. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  64346. break;
  64347. case 10:
  64348. // then
  64349. importer = _1_0._0;
  64350. canonicalUrl = _1_0._1;
  64351. originalUrl = _1_0._2;
  64352. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  64353. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  64354. stylesheet = null;
  64355. t1 = importCache;
  64356. t2 = importer;
  64357. t3 = canonicalUrl;
  64358. t4 = originalUrl;
  64359. $async$goto = 12;
  64360. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate$_quietDeps && isDependency), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  64361. case 12:
  64362. // returning from await.
  64363. _2_0 = $async$result;
  64364. if (_2_0 != null) {
  64365. stylesheet = _2_0;
  64366. t1 = stylesheet;
  64367. t2 = importer;
  64368. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  64369. $async$next = [1];
  64370. // goto finally
  64371. $async$goto = 5;
  64372. break;
  64373. }
  64374. case 11:
  64375. // join
  64376. case 8:
  64377. // join
  64378. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  64379. throw A.wrapException(string$.x22packa);
  64380. else
  64381. throw A.wrapException("Can't find stylesheet to import.");
  64382. $async$next.push(6);
  64383. // goto finally
  64384. $async$goto = 5;
  64385. break;
  64386. case 4:
  64387. // catch
  64388. $async$handler = 3;
  64389. $async$exception = $async$currentError;
  64390. t1 = A.unwrapException($async$exception);
  64391. if (t1 instanceof A.SassException)
  64392. throw $async$exception;
  64393. else if (t1 instanceof A.ArgumentError) {
  64394. error = t1;
  64395. stackTrace = A.getTraceFromException($async$exception);
  64396. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  64397. } else {
  64398. error0 = t1;
  64399. stackTrace0 = A.getTraceFromException($async$exception);
  64400. message = null;
  64401. try {
  64402. message = A._asString(J.get$message$x(error0));
  64403. } catch (exception) {
  64404. message0 = J.toString$0$(error0);
  64405. message = message0;
  64406. }
  64407. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), error0, stackTrace0);
  64408. }
  64409. $async$next.push(6);
  64410. // goto finally
  64411. $async$goto = 5;
  64412. break;
  64413. case 3:
  64414. // uncaught
  64415. $async$next = [2];
  64416. case 5:
  64417. // finally
  64418. $async$handler = 2;
  64419. $async$self._async_evaluate$_importSpan = null;
  64420. // goto the next finally handler
  64421. $async$goto = $async$next.pop();
  64422. break;
  64423. case 6:
  64424. // after finally
  64425. case 1:
  64426. // return
  64427. return A._asyncReturn($async$returnValue, $async$completer);
  64428. case 2:
  64429. // rethrow
  64430. return A._asyncRethrow($async$currentError, $async$completer);
  64431. }
  64432. });
  64433. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  64434. },
  64435. _visitStaticImport$1($import) {
  64436. return this._visitStaticImport$body$_EvaluateVisitor($import);
  64437. },
  64438. _visitStaticImport$body$_EvaluateVisitor($import) {
  64439. var $async$goto = 0,
  64440. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64441. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  64442. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64443. if ($async$errorCode === 1)
  64444. return A._asyncRethrow($async$result, $async$completer);
  64445. while (true)
  64446. switch ($async$goto) {
  64447. case 0:
  64448. // Function start
  64449. $async$goto = 2;
  64450. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  64451. case 2:
  64452. // returning from await.
  64453. t1 = $async$result;
  64454. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  64455. $async$temp1 = A;
  64456. $async$temp2 = t1;
  64457. $async$goto = 3;
  64458. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  64459. case 3:
  64460. // returning from await.
  64461. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  64462. 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"))
  64463. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  64464. 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)) {
  64465. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  64466. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64467. } else {
  64468. t1 = $async$self._async_evaluate$_outOfOrderImports;
  64469. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  64470. }
  64471. // implicit return
  64472. return A._asyncReturn(null, $async$completer);
  64473. }
  64474. });
  64475. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  64476. },
  64477. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64478. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  64479. },
  64480. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64481. var $async$goto = 0,
  64482. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64483. $async$self = this, t1, _0_0, _1_8, t2;
  64484. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64485. if ($async$errorCode === 1)
  64486. return A._asyncRethrow($async$result, $async$completer);
  64487. while (true)
  64488. switch ($async$goto) {
  64489. case 0:
  64490. // Function start
  64491. if (mixin == null)
  64492. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  64493. t1 = type$.AsyncBuiltInCallable._is(mixin);
  64494. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  64495. break;
  64496. case 3:
  64497. // then
  64498. $async$goto = 5;
  64499. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  64500. case 5:
  64501. // returning from await.
  64502. t1 = $async$result._values;
  64503. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  64504. 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));
  64505. case 4:
  64506. // join
  64507. $async$goto = t1 ? 6 : 7;
  64508. break;
  64509. case 6:
  64510. // then
  64511. $async$goto = 8;
  64512. return A._asyncAwait($async$self._async_evaluate$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure1($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate$_applyMixin$5);
  64513. case 8:
  64514. // returning from await.
  64515. // goto break $label0$0
  64516. $async$goto = 2;
  64517. break;
  64518. case 7:
  64519. // join
  64520. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  64521. if (t1) {
  64522. _1_8 = mixin.declaration;
  64523. if (_1_8 instanceof A.MixinRule)
  64524. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  64525. else
  64526. t2 = false;
  64527. } else
  64528. t2 = false;
  64529. if (t2)
  64530. 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));
  64531. $async$goto = t1 ? 9 : 10;
  64532. break;
  64533. case 9:
  64534. // then
  64535. $async$goto = 11;
  64536. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure2($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate$_applyMixin$5);
  64537. case 11:
  64538. // returning from await.
  64539. // goto break $label0$0
  64540. $async$goto = 2;
  64541. break;
  64542. case 10:
  64543. // join
  64544. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  64545. case 2:
  64546. // break $label0$0
  64547. // implicit return
  64548. return A._asyncReturn(null, $async$completer);
  64549. }
  64550. });
  64551. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  64552. },
  64553. visitIncludeRule$1(node) {
  64554. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  64555. },
  64556. visitIncludeRule$body$_EvaluateVisitor(node) {
  64557. var $async$goto = 0,
  64558. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64559. $async$returnValue, $async$self = this;
  64560. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64561. if ($async$errorCode === 1)
  64562. return A._asyncRethrow($async$result, $async$completer);
  64563. while (true)
  64564. switch ($async$goto) {
  64565. case 0:
  64566. // Function start
  64567. $async$goto = 3;
  64568. 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);
  64569. case 3:
  64570. // returning from await.
  64571. $async$returnValue = null;
  64572. // goto return
  64573. $async$goto = 1;
  64574. break;
  64575. case 1:
  64576. // return
  64577. return A._asyncReturn($async$returnValue, $async$completer);
  64578. }
  64579. });
  64580. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  64581. },
  64582. visitMixinRule$1(node) {
  64583. return this.visitMixinRule$body$_EvaluateVisitor(node);
  64584. },
  64585. visitMixinRule$body$_EvaluateVisitor(node) {
  64586. var $async$goto = 0,
  64587. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64588. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64589. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64590. if ($async$errorCode === 1)
  64591. return A._asyncRethrow($async$result, $async$completer);
  64592. while (true)
  64593. switch ($async$goto) {
  64594. case 0:
  64595. // Function start
  64596. t1 = $async$self._async_evaluate$_environment;
  64597. t2 = t1.closure$0();
  64598. t3 = $async$self._async_evaluate$_inDependency;
  64599. t4 = t1._async_environment$_mixins;
  64600. index = t4.length - 1;
  64601. t5 = node.name;
  64602. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  64603. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64604. $async$returnValue = null;
  64605. // goto return
  64606. $async$goto = 1;
  64607. break;
  64608. case 1:
  64609. // return
  64610. return A._asyncReturn($async$returnValue, $async$completer);
  64611. }
  64612. });
  64613. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  64614. },
  64615. visitLoudComment$1(node) {
  64616. return this.visitLoudComment$body$_EvaluateVisitor(node);
  64617. },
  64618. visitLoudComment$body$_EvaluateVisitor(node) {
  64619. var $async$goto = 0,
  64620. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64621. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  64622. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64623. if ($async$errorCode === 1)
  64624. return A._asyncRethrow($async$result, $async$completer);
  64625. while (true)
  64626. switch ($async$goto) {
  64627. case 0:
  64628. // Function start
  64629. if ($async$self._async_evaluate$_inFunction) {
  64630. $async$returnValue = null;
  64631. // goto return
  64632. $async$goto = 1;
  64633. break;
  64634. }
  64635. 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))
  64636. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64637. t1 = node.text;
  64638. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  64639. $async$temp2 = A;
  64640. $async$goto = 3;
  64641. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  64642. case 3:
  64643. // returning from await.
  64644. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  64645. $async$returnValue = null;
  64646. // goto return
  64647. $async$goto = 1;
  64648. break;
  64649. case 1:
  64650. // return
  64651. return A._asyncReturn($async$returnValue, $async$completer);
  64652. }
  64653. });
  64654. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  64655. },
  64656. visitMediaRule$1(node) {
  64657. return this.visitMediaRule$body$_EvaluateVisitor(node);
  64658. },
  64659. visitMediaRule$body$_EvaluateVisitor(node) {
  64660. var $async$goto = 0,
  64661. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64662. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  64663. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64664. if ($async$errorCode === 1)
  64665. return A._asyncRethrow($async$result, $async$completer);
  64666. while (true)
  64667. switch ($async$goto) {
  64668. case 0:
  64669. // Function start
  64670. if ($async$self._async_evaluate$_declarationName != null)
  64671. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  64672. $async$goto = 3;
  64673. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  64674. case 3:
  64675. // returning from await.
  64676. queries = $async$result;
  64677. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  64678. t1 = mergedQueries == null;
  64679. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  64680. $async$returnValue = null;
  64681. // goto return
  64682. $async$goto = 1;
  64683. break;
  64684. }
  64685. if (t1)
  64686. mergedSources = B.Set_empty1;
  64687. else {
  64688. t2 = $async$self._async_evaluate$_mediaQuerySources;
  64689. t2.toString;
  64690. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  64691. t3 = $async$self._async_evaluate$_mediaQueries;
  64692. t3.toString;
  64693. t2.addAll$1(0, t3);
  64694. t2.addAll$1(0, queries);
  64695. mergedSources = t2;
  64696. }
  64697. t1 = t1 ? queries : mergedQueries;
  64698. $async$goto = 4;
  64699. 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);
  64700. case 4:
  64701. // returning from await.
  64702. $async$returnValue = null;
  64703. // goto return
  64704. $async$goto = 1;
  64705. break;
  64706. case 1:
  64707. // return
  64708. return A._asyncReturn($async$returnValue, $async$completer);
  64709. }
  64710. });
  64711. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  64712. },
  64713. _visitMediaQueries$1(interpolation) {
  64714. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  64715. },
  64716. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  64717. var $async$goto = 0,
  64718. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  64719. $async$returnValue, $async$self = this, _0_0;
  64720. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64721. if ($async$errorCode === 1)
  64722. return A._asyncRethrow($async$result, $async$completer);
  64723. while (true)
  64724. switch ($async$goto) {
  64725. case 0:
  64726. // Function start
  64727. $async$goto = 3;
  64728. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  64729. case 3:
  64730. // returning from await.
  64731. _0_0 = $async$result;
  64732. $async$returnValue = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, $async$self._async_evaluate$_logger);
  64733. // goto return
  64734. $async$goto = 1;
  64735. break;
  64736. case 1:
  64737. // return
  64738. return A._asyncReturn($async$returnValue, $async$completer);
  64739. }
  64740. });
  64741. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  64742. },
  64743. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  64744. var t1, t2, t3, t4, _0_0, result, t5,
  64745. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  64746. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  64747. t3 = t1.get$current(t1);
  64748. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  64749. $label0$1: {
  64750. _0_0 = t3.merge$1(t4.get$current(t4));
  64751. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  64752. continue;
  64753. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  64754. return null;
  64755. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult) {
  64756. result = _0_0;
  64757. t5 = true;
  64758. } else {
  64759. result = null;
  64760. t5 = false;
  64761. }
  64762. if (t5)
  64763. queries.push(result.query);
  64764. break $label0$1;
  64765. }
  64766. }
  64767. return queries;
  64768. },
  64769. visitReturnRule$1(node) {
  64770. return this.visitReturnRule$body$_EvaluateVisitor(node);
  64771. },
  64772. visitReturnRule$body$_EvaluateVisitor(node) {
  64773. var $async$goto = 0,
  64774. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64775. $async$returnValue, $async$self = this, t1, t2;
  64776. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64777. if ($async$errorCode === 1)
  64778. return A._asyncRethrow($async$result, $async$completer);
  64779. while (true)
  64780. switch ($async$goto) {
  64781. case 0:
  64782. // Function start
  64783. t1 = node.expression;
  64784. t2 = t1.accept$1($async$self);
  64785. $async$goto = 3;
  64786. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  64787. case 3:
  64788. // returning from await.
  64789. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  64790. // goto return
  64791. $async$goto = 1;
  64792. break;
  64793. case 1:
  64794. // return
  64795. return A._asyncReturn($async$returnValue, $async$completer);
  64796. }
  64797. });
  64798. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  64799. },
  64800. visitSilentComment$1(node) {
  64801. return this.visitSilentComment$body$_EvaluateVisitor(node);
  64802. },
  64803. visitSilentComment$body$_EvaluateVisitor(node) {
  64804. var $async$goto = 0,
  64805. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64806. $async$returnValue;
  64807. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64808. if ($async$errorCode === 1)
  64809. return A._asyncRethrow($async$result, $async$completer);
  64810. while (true)
  64811. switch ($async$goto) {
  64812. case 0:
  64813. // Function start
  64814. $async$returnValue = null;
  64815. // goto return
  64816. $async$goto = 1;
  64817. break;
  64818. case 1:
  64819. // return
  64820. return A._asyncReturn($async$returnValue, $async$completer);
  64821. }
  64822. });
  64823. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  64824. },
  64825. visitStyleRule$1(node) {
  64826. return this.visitStyleRule$body$_EvaluateVisitor(node);
  64827. },
  64828. visitStyleRule$body$_EvaluateVisitor(node) {
  64829. var $async$goto = 0,
  64830. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64831. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  64832. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64833. if ($async$errorCode === 1)
  64834. return A._asyncRethrow($async$result, $async$completer);
  64835. while (true)
  64836. switch ($async$goto) {
  64837. case 0:
  64838. // Function start
  64839. if ($async$self._async_evaluate$_declarationName != null)
  64840. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  64841. t1 = node.selector;
  64842. $async$goto = 3;
  64843. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  64844. case 3:
  64845. // returning from await.
  64846. _0_0 = $async$result;
  64847. selectorText = _0_0._0;
  64848. selectorMap = _0_0._1;
  64849. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  64850. break;
  64851. case 4:
  64852. // then
  64853. $async$goto = 6;
  64854. 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);
  64855. case 6:
  64856. // returning from await.
  64857. $async$returnValue = null;
  64858. // goto return
  64859. $async$goto = 1;
  64860. break;
  64861. case 5:
  64862. // join
  64863. 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);
  64864. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  64865. t2 = t2 == null ? null : t2.originalSelector;
  64866. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule);
  64867. 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);
  64868. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  64869. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  64870. $async$goto = 7;
  64871. 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);
  64872. case 7:
  64873. // returning from await.
  64874. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  64875. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  64876. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  64877. complex = t1[_i];
  64878. if (!complex.accept$1(B._IsBogusVisitor_true))
  64879. continue;
  64880. if (complex.accept$1(B.C__IsUselessVisitor)) {
  64881. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  64882. complex.accept$1(visitor);
  64883. $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);
  64884. } else if (complex.leadingCombinators.length !== 0) {
  64885. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  64886. complex.accept$1(visitor);
  64887. $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);
  64888. } else {
  64889. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  64890. complex.accept$1(visitor);
  64891. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  64892. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  64893. t8 = A.SpanExtensions_trimRight(complex.span);
  64894. if (t5.get$length(0) === 0)
  64895. A.throwExpression(A.IterableElementError_noElement());
  64896. t9 = J.get$span$z(t5.$index(0, 0));
  64897. $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);
  64898. }
  64899. }
  64900. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  64901. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  64902. t1 = !t1.get$isEmpty(t1);
  64903. } else
  64904. t1 = false;
  64905. if (t1) {
  64906. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  64907. t1.get$last(t1).isGroupEnd = true;
  64908. }
  64909. $async$returnValue = null;
  64910. // goto return
  64911. $async$goto = 1;
  64912. break;
  64913. case 1:
  64914. // return
  64915. return A._asyncReturn($async$returnValue, $async$completer);
  64916. }
  64917. });
  64918. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  64919. },
  64920. visitSupportsRule$1(node) {
  64921. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  64922. },
  64923. visitSupportsRule$body$_EvaluateVisitor(node) {
  64924. var $async$goto = 0,
  64925. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64926. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  64927. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64928. if ($async$errorCode === 1)
  64929. return A._asyncRethrow($async$result, $async$completer);
  64930. while (true)
  64931. switch ($async$goto) {
  64932. case 0:
  64933. // Function start
  64934. if ($async$self._async_evaluate$_declarationName != null)
  64935. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  64936. t1 = node.condition;
  64937. $async$temp1 = A;
  64938. $async$temp2 = A;
  64939. $async$goto = 4;
  64940. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  64941. case 4:
  64942. // returning from await.
  64943. $async$goto = 3;
  64944. 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);
  64945. case 3:
  64946. // returning from await.
  64947. $async$returnValue = null;
  64948. // goto return
  64949. $async$goto = 1;
  64950. break;
  64951. case 1:
  64952. // return
  64953. return A._asyncReturn($async$returnValue, $async$completer);
  64954. }
  64955. });
  64956. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  64957. },
  64958. _async_evaluate$_visitSupportsCondition$1(condition) {
  64959. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  64960. },
  64961. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  64962. var $async$goto = 0,
  64963. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  64964. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  64965. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64966. if ($async$errorCode === 1)
  64967. return A._asyncRethrow($async$result, $async$completer);
  64968. while (true)
  64969. switch ($async$goto) {
  64970. case 0:
  64971. // Function start
  64972. _box_0 = {};
  64973. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  64974. break;
  64975. case 4:
  64976. // then
  64977. t1 = condition.operator;
  64978. $async$temp1 = A;
  64979. $async$goto = 6;
  64980. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  64981. case 6:
  64982. // returning from await.
  64983. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  64984. $async$temp2 = A;
  64985. $async$goto = 7;
  64986. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  64987. case 7:
  64988. // returning from await.
  64989. t1 = $async$temp1 + $async$temp2.S($async$result);
  64990. // goto break $label0$0
  64991. $async$goto = 3;
  64992. break;
  64993. case 5:
  64994. // join
  64995. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  64996. break;
  64997. case 8:
  64998. // then
  64999. $async$temp1 = A;
  65000. $async$goto = 10;
  65001. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  65002. case 10:
  65003. // returning from await.
  65004. t1 = "not " + $async$temp1.S($async$result);
  65005. // goto break $label0$0
  65006. $async$goto = 3;
  65007. break;
  65008. case 9:
  65009. // join
  65010. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  65011. break;
  65012. case 11:
  65013. // then
  65014. $async$goto = 13;
  65015. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  65016. case 13:
  65017. // returning from await.
  65018. t1 = $async$result;
  65019. // goto break $label0$0
  65020. $async$goto = 3;
  65021. break;
  65022. case 12:
  65023. // join
  65024. _box_0.declaration = null;
  65025. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  65026. break;
  65027. case 14:
  65028. // then
  65029. _box_0.declaration = condition;
  65030. $async$goto = 16;
  65031. 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);
  65032. case 16:
  65033. // returning from await.
  65034. t1 = $async$result;
  65035. // goto break $label0$0
  65036. $async$goto = 3;
  65037. break;
  65038. case 15:
  65039. // join
  65040. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  65041. break;
  65042. case 17:
  65043. // then
  65044. $async$temp1 = A;
  65045. $async$goto = 19;
  65046. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  65047. case 19:
  65048. // returning from await.
  65049. $async$temp1 = $async$temp1.S($async$result) + "(";
  65050. $async$temp2 = A;
  65051. $async$goto = 20;
  65052. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  65053. case 20:
  65054. // returning from await.
  65055. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  65056. // goto break $label0$0
  65057. $async$goto = 3;
  65058. break;
  65059. case 18:
  65060. // join
  65061. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  65062. break;
  65063. case 21:
  65064. // then
  65065. $async$temp1 = A;
  65066. $async$goto = 23;
  65067. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  65068. case 23:
  65069. // returning from await.
  65070. t1 = "(" + $async$temp1.S($async$result) + ")";
  65071. // goto break $label0$0
  65072. $async$goto = 3;
  65073. break;
  65074. case 22:
  65075. // join
  65076. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  65077. case 3:
  65078. // break $label0$0
  65079. $async$returnValue = t1;
  65080. // goto return
  65081. $async$goto = 1;
  65082. break;
  65083. case 1:
  65084. // return
  65085. return A._asyncReturn($async$returnValue, $async$completer);
  65086. }
  65087. });
  65088. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  65089. },
  65090. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  65091. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  65092. },
  65093. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  65094. var $async$goto = 0,
  65095. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  65096. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  65097. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65098. if ($async$errorCode === 1) {
  65099. $async$currentError = $async$result;
  65100. $async$goto = $async$handler;
  65101. }
  65102. while (true)
  65103. switch ($async$goto) {
  65104. case 0:
  65105. // Function start
  65106. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  65107. $async$self._async_evaluate$_inSupportsDeclaration = true;
  65108. $async$handler = 3;
  65109. t1 = callback.call$0();
  65110. $async$goto = 6;
  65111. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  65112. case 6:
  65113. // returning from await.
  65114. t1 = $async$result;
  65115. $async$returnValue = t1;
  65116. $async$next = [1];
  65117. // goto finally
  65118. $async$goto = 4;
  65119. break;
  65120. $async$next.push(5);
  65121. // goto finally
  65122. $async$goto = 4;
  65123. break;
  65124. case 3:
  65125. // uncaught
  65126. $async$next = [2];
  65127. case 4:
  65128. // finally
  65129. $async$handler = 2;
  65130. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  65131. // goto the next finally handler
  65132. $async$goto = $async$next.pop();
  65133. break;
  65134. case 5:
  65135. // after finally
  65136. case 1:
  65137. // return
  65138. return A._asyncReturn($async$returnValue, $async$completer);
  65139. case 2:
  65140. // rethrow
  65141. return A._asyncRethrow($async$currentError, $async$completer);
  65142. }
  65143. });
  65144. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  65145. },
  65146. _async_evaluate$_parenthesize$2(condition, operator) {
  65147. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  65148. },
  65149. _async_evaluate$_parenthesize$1(condition) {
  65150. return this._async_evaluate$_parenthesize$2(condition, null);
  65151. },
  65152. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  65153. var $async$goto = 0,
  65154. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  65155. $async$returnValue, $async$self = this, t1, $async$temp1;
  65156. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65157. if ($async$errorCode === 1)
  65158. return A._asyncRethrow($async$result, $async$completer);
  65159. while (true)
  65160. switch ($async$goto) {
  65161. case 0:
  65162. // Function start
  65163. if (!(condition instanceof A.SupportsNegation))
  65164. if (condition instanceof A.SupportsOperation)
  65165. t1 = operator == null || operator !== condition.operator;
  65166. else
  65167. t1 = false;
  65168. else
  65169. t1 = true;
  65170. $async$goto = t1 ? 3 : 4;
  65171. break;
  65172. case 3:
  65173. // then
  65174. $async$temp1 = A;
  65175. $async$goto = 5;
  65176. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65177. case 5:
  65178. // returning from await.
  65179. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  65180. // goto return
  65181. $async$goto = 1;
  65182. break;
  65183. case 4:
  65184. // join
  65185. $async$goto = 6;
  65186. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65187. case 6:
  65188. // returning from await.
  65189. $async$returnValue = $async$result;
  65190. // goto return
  65191. $async$goto = 1;
  65192. break;
  65193. case 1:
  65194. // return
  65195. return A._asyncReturn($async$returnValue, $async$completer);
  65196. }
  65197. });
  65198. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  65199. },
  65200. visitVariableDeclaration$1(node) {
  65201. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  65202. },
  65203. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  65204. var $async$goto = 0,
  65205. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65206. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  65207. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65208. if ($async$errorCode === 1)
  65209. return A._asyncRethrow($async$result, $async$completer);
  65210. while (true)
  65211. switch ($async$goto) {
  65212. case 0:
  65213. // Function start
  65214. t1 = {};
  65215. if (node.isGuarded) {
  65216. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  65217. t1.override = null;
  65218. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  65219. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  65220. if (t2 != null) {
  65221. t1.override = t2;
  65222. t2 = !t2.value.$eq(0, B.C__SassNull);
  65223. } else
  65224. t2 = false;
  65225. if (t2) {
  65226. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  65227. $async$returnValue = null;
  65228. // goto return
  65229. $async$goto = 1;
  65230. break;
  65231. }
  65232. }
  65233. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  65234. if (value != null && !value.$eq(0, B.C__SassNull)) {
  65235. $async$returnValue = null;
  65236. // goto return
  65237. $async$goto = 1;
  65238. break;
  65239. }
  65240. }
  65241. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  65242. 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.";
  65243. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_hzy);
  65244. }
  65245. t1 = node.expression;
  65246. t2 = t1.accept$1($async$self);
  65247. $async$temp1 = node;
  65248. $async$temp2 = A;
  65249. $async$temp3 = node;
  65250. $async$goto = 3;
  65251. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  65252. case 3:
  65253. // returning from await.
  65254. $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)));
  65255. $async$returnValue = null;
  65256. // goto return
  65257. $async$goto = 1;
  65258. break;
  65259. case 1:
  65260. // return
  65261. return A._asyncReturn($async$returnValue, $async$completer);
  65262. }
  65263. });
  65264. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  65265. },
  65266. visitUseRule$1(node) {
  65267. return this.visitUseRule$body$_EvaluateVisitor(node);
  65268. },
  65269. visitUseRule$body$_EvaluateVisitor(node) {
  65270. var $async$goto = 0,
  65271. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65272. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  65273. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65274. if ($async$errorCode === 1)
  65275. return A._asyncRethrow($async$result, $async$completer);
  65276. while (true)
  65277. switch ($async$goto) {
  65278. case 0:
  65279. // Function start
  65280. t1 = node.configuration;
  65281. t2 = t1.length;
  65282. $async$goto = t2 !== 0 ? 3 : 5;
  65283. break;
  65284. case 3:
  65285. // then
  65286. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  65287. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  65288. case 6:
  65289. // for condition
  65290. if (!(_i < t2)) {
  65291. // goto after for
  65292. $async$goto = 8;
  65293. break;
  65294. }
  65295. variable = t1[_i];
  65296. t5 = variable.expression;
  65297. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  65298. t6 = variable.name;
  65299. t5 = t5.accept$1($async$self);
  65300. if (!t4._is(t5)) {
  65301. t7 = new A._Future($.Zone__current, t3);
  65302. t7._state = 8;
  65303. t7._resultOrListeners = t5;
  65304. t5 = t7;
  65305. }
  65306. $async$temp1 = values;
  65307. $async$temp2 = t6;
  65308. $async$temp3 = A;
  65309. $async$goto = 9;
  65310. return A._asyncAwait(t5, $async$visitUseRule$1);
  65311. case 9:
  65312. // returning from await.
  65313. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  65314. case 7:
  65315. // for update
  65316. ++_i;
  65317. // goto for condition
  65318. $async$goto = 6;
  65319. break;
  65320. case 8:
  65321. // after for
  65322. configuration = new A.ExplicitConfiguration(node, values, null);
  65323. // goto join
  65324. $async$goto = 4;
  65325. break;
  65326. case 5:
  65327. // else
  65328. configuration = B.Configuration_Map_empty_null;
  65329. case 4:
  65330. // join
  65331. $async$goto = 10;
  65332. 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);
  65333. case 10:
  65334. // returning from await.
  65335. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  65336. $async$returnValue = null;
  65337. // goto return
  65338. $async$goto = 1;
  65339. break;
  65340. case 1:
  65341. // return
  65342. return A._asyncReturn($async$returnValue, $async$completer);
  65343. }
  65344. });
  65345. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  65346. },
  65347. visitWarnRule$1(node) {
  65348. return this.visitWarnRule$body$_EvaluateVisitor(node);
  65349. },
  65350. visitWarnRule$body$_EvaluateVisitor(node) {
  65351. var $async$goto = 0,
  65352. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65353. $async$returnValue, $async$self = this, value, t1;
  65354. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65355. if ($async$errorCode === 1)
  65356. return A._asyncRethrow($async$result, $async$completer);
  65357. while (true)
  65358. switch ($async$goto) {
  65359. case 0:
  65360. // Function start
  65361. $async$goto = 3;
  65362. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  65363. case 3:
  65364. // returning from await.
  65365. value = $async$result;
  65366. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  65367. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  65368. $async$returnValue = null;
  65369. // goto return
  65370. $async$goto = 1;
  65371. break;
  65372. case 1:
  65373. // return
  65374. return A._asyncReturn($async$returnValue, $async$completer);
  65375. }
  65376. });
  65377. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  65378. },
  65379. visitWhileRule$1(node) {
  65380. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  65381. },
  65382. visitBinaryOperationExpression$1(node) {
  65383. var t1, _this = this;
  65384. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  65385. t1 = node.operator;
  65386. t1 = t1 !== B.BinaryOperator_2jN && t1 !== B.BinaryOperator_t8B;
  65387. } else
  65388. t1 = false;
  65389. if (t1)
  65390. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  65391. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  65392. },
  65393. _async_evaluate$_slash$3(left, right, node) {
  65394. var t1, right0, _1_2, _1_1, _1_2_isSet, _null = null,
  65395. result = left.dividedBy$1(right);
  65396. if (left instanceof A.SassNumber) {
  65397. t1 = type$.SassNumber;
  65398. t1._as(left);
  65399. if (right instanceof A.SassNumber) {
  65400. t1._as(right);
  65401. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  65402. right0 = right;
  65403. _1_2 = right0;
  65404. } else {
  65405. right0 = _null;
  65406. _1_2 = right;
  65407. t1 = false;
  65408. }
  65409. _1_1 = left;
  65410. _1_2_isSet = true;
  65411. } else {
  65412. right0 = _null;
  65413. _1_2 = right0;
  65414. _1_1 = left;
  65415. left = _1_2;
  65416. _1_2_isSet = false;
  65417. t1 = false;
  65418. }
  65419. if (t1)
  65420. return type$.SassNumber._as(result).withSlash$2(left, right0);
  65421. if (_1_1 instanceof A.SassNumber)
  65422. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  65423. else
  65424. t1 = false;
  65425. if (t1) {
  65426. 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(0), B.Deprecation_xHK);
  65427. return result;
  65428. }
  65429. return result;
  65430. },
  65431. _async_evaluate$_operandAllowsSlash$1(node) {
  65432. var t1, t2;
  65433. if (node instanceof A.FunctionExpression)
  65434. if (node.namespace == null) {
  65435. t1 = node.originalName;
  65436. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  65437. t2 = this._async_evaluate$_environment;
  65438. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  65439. } else
  65440. t1 = false;
  65441. } else
  65442. t1 = false;
  65443. else
  65444. t1 = true;
  65445. return t1;
  65446. },
  65447. visitValueExpression$1(node) {
  65448. return this.visitValueExpression$body$_EvaluateVisitor(node);
  65449. },
  65450. visitValueExpression$body$_EvaluateVisitor(node) {
  65451. var $async$goto = 0,
  65452. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65453. $async$returnValue;
  65454. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65455. if ($async$errorCode === 1)
  65456. return A._asyncRethrow($async$result, $async$completer);
  65457. while (true)
  65458. switch ($async$goto) {
  65459. case 0:
  65460. // Function start
  65461. $async$returnValue = node.value;
  65462. // goto return
  65463. $async$goto = 1;
  65464. break;
  65465. case 1:
  65466. // return
  65467. return A._asyncReturn($async$returnValue, $async$completer);
  65468. }
  65469. });
  65470. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  65471. },
  65472. visitVariableExpression$1(node) {
  65473. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  65474. },
  65475. visitVariableExpression$body$_EvaluateVisitor(node) {
  65476. var $async$goto = 0,
  65477. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65478. $async$returnValue, $async$self = this, result;
  65479. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65480. if ($async$errorCode === 1)
  65481. return A._asyncRethrow($async$result, $async$completer);
  65482. while (true)
  65483. switch ($async$goto) {
  65484. case 0:
  65485. // Function start
  65486. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  65487. if (result != null) {
  65488. $async$returnValue = result;
  65489. // goto return
  65490. $async$goto = 1;
  65491. break;
  65492. }
  65493. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  65494. case 1:
  65495. // return
  65496. return A._asyncReturn($async$returnValue, $async$completer);
  65497. }
  65498. });
  65499. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  65500. },
  65501. visitUnaryOperationExpression$1(node) {
  65502. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  65503. },
  65504. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  65505. var $async$goto = 0,
  65506. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65507. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  65508. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65509. if ($async$errorCode === 1)
  65510. return A._asyncRethrow($async$result, $async$completer);
  65511. while (true)
  65512. switch ($async$goto) {
  65513. case 0:
  65514. // Function start
  65515. $async$temp1 = node;
  65516. $async$temp2 = A;
  65517. $async$temp3 = node;
  65518. $async$goto = 3;
  65519. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  65520. case 3:
  65521. // returning from await.
  65522. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  65523. // goto return
  65524. $async$goto = 1;
  65525. break;
  65526. case 1:
  65527. // return
  65528. return A._asyncReturn($async$returnValue, $async$completer);
  65529. }
  65530. });
  65531. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  65532. },
  65533. visitBooleanExpression$1(node) {
  65534. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  65535. },
  65536. visitBooleanExpression$body$_EvaluateVisitor(node) {
  65537. var $async$goto = 0,
  65538. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  65539. $async$returnValue;
  65540. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65541. if ($async$errorCode === 1)
  65542. return A._asyncRethrow($async$result, $async$completer);
  65543. while (true)
  65544. switch ($async$goto) {
  65545. case 0:
  65546. // Function start
  65547. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  65548. // goto return
  65549. $async$goto = 1;
  65550. break;
  65551. case 1:
  65552. // return
  65553. return A._asyncReturn($async$returnValue, $async$completer);
  65554. }
  65555. });
  65556. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  65557. },
  65558. visitIfExpression$1(node) {
  65559. return this.visitIfExpression$body$_EvaluateVisitor(node);
  65560. },
  65561. visitIfExpression$body$_EvaluateVisitor(node) {
  65562. var $async$goto = 0,
  65563. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65564. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  65565. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65566. if ($async$errorCode === 1)
  65567. return A._asyncRethrow($async$result, $async$completer);
  65568. while (true)
  65569. switch ($async$goto) {
  65570. case 0:
  65571. // Function start
  65572. $async$goto = 3;
  65573. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  65574. case 3:
  65575. // returning from await.
  65576. _0_0 = $async$result;
  65577. positional = _0_0._0;
  65578. named = _0_0._1;
  65579. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  65580. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  65581. if (condition == null) {
  65582. t1 = named.$index(0, "condition");
  65583. t1.toString;
  65584. condition = t1;
  65585. }
  65586. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  65587. if (ifTrue == null) {
  65588. t1 = named.$index(0, "if-true");
  65589. t1.toString;
  65590. ifTrue = t1;
  65591. }
  65592. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  65593. if (ifFalse == null) {
  65594. t1 = named.$index(0, "if-false");
  65595. t1.toString;
  65596. ifFalse = t1;
  65597. }
  65598. $async$goto = 4;
  65599. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  65600. case 4:
  65601. // returning from await.
  65602. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  65603. t1 = result.accept$1($async$self);
  65604. $async$goto = 5;
  65605. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  65606. case 5:
  65607. // returning from await.
  65608. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  65609. // goto return
  65610. $async$goto = 1;
  65611. break;
  65612. case 1:
  65613. // return
  65614. return A._asyncReturn($async$returnValue, $async$completer);
  65615. }
  65616. });
  65617. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  65618. },
  65619. visitNullExpression$1(node) {
  65620. return this.visitNullExpression$body$_EvaluateVisitor(node);
  65621. },
  65622. visitNullExpression$body$_EvaluateVisitor(node) {
  65623. var $async$goto = 0,
  65624. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65625. $async$returnValue;
  65626. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65627. if ($async$errorCode === 1)
  65628. return A._asyncRethrow($async$result, $async$completer);
  65629. while (true)
  65630. switch ($async$goto) {
  65631. case 0:
  65632. // Function start
  65633. $async$returnValue = B.C__SassNull;
  65634. // goto return
  65635. $async$goto = 1;
  65636. break;
  65637. case 1:
  65638. // return
  65639. return A._asyncReturn($async$returnValue, $async$completer);
  65640. }
  65641. });
  65642. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  65643. },
  65644. visitNumberExpression$1(node) {
  65645. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  65646. },
  65647. visitNumberExpression$body$_EvaluateVisitor(node) {
  65648. var $async$goto = 0,
  65649. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  65650. $async$returnValue;
  65651. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65652. if ($async$errorCode === 1)
  65653. return A._asyncRethrow($async$result, $async$completer);
  65654. while (true)
  65655. switch ($async$goto) {
  65656. case 0:
  65657. // Function start
  65658. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  65659. // goto return
  65660. $async$goto = 1;
  65661. break;
  65662. case 1:
  65663. // return
  65664. return A._asyncReturn($async$returnValue, $async$completer);
  65665. }
  65666. });
  65667. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  65668. },
  65669. visitParenthesizedExpression$1(node) {
  65670. var _this = this;
  65671. 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);
  65672. },
  65673. visitColorExpression$1(node) {
  65674. return this.visitColorExpression$body$_EvaluateVisitor(node);
  65675. },
  65676. visitColorExpression$body$_EvaluateVisitor(node) {
  65677. var $async$goto = 0,
  65678. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  65679. $async$returnValue;
  65680. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65681. if ($async$errorCode === 1)
  65682. return A._asyncRethrow($async$result, $async$completer);
  65683. while (true)
  65684. switch ($async$goto) {
  65685. case 0:
  65686. // Function start
  65687. $async$returnValue = node.value;
  65688. // goto return
  65689. $async$goto = 1;
  65690. break;
  65691. case 1:
  65692. // return
  65693. return A._asyncReturn($async$returnValue, $async$completer);
  65694. }
  65695. });
  65696. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  65697. },
  65698. visitListExpression$1(node) {
  65699. return this.visitListExpression$body$_EvaluateVisitor(node);
  65700. },
  65701. visitListExpression$body$_EvaluateVisitor(node) {
  65702. var $async$goto = 0,
  65703. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  65704. $async$returnValue, $async$self = this, $async$temp1;
  65705. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65706. if ($async$errorCode === 1)
  65707. return A._asyncRethrow($async$result, $async$completer);
  65708. while (true)
  65709. switch ($async$goto) {
  65710. case 0:
  65711. // Function start
  65712. $async$temp1 = A;
  65713. $async$goto = 3;
  65714. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  65715. case 3:
  65716. // returning from await.
  65717. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  65718. // goto return
  65719. $async$goto = 1;
  65720. break;
  65721. case 1:
  65722. // return
  65723. return A._asyncReturn($async$returnValue, $async$completer);
  65724. }
  65725. });
  65726. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  65727. },
  65728. visitMapExpression$1(node) {
  65729. return this.visitMapExpression$body$_EvaluateVisitor(node);
  65730. },
  65731. visitMapExpression$body$_EvaluateVisitor(node) {
  65732. var $async$goto = 0,
  65733. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  65734. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  65735. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65736. if ($async$errorCode === 1)
  65737. return A._asyncRethrow($async$result, $async$completer);
  65738. while (true)
  65739. switch ($async$goto) {
  65740. case 0:
  65741. // Function start
  65742. t1 = type$.Value;
  65743. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  65744. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  65745. t2 = node.pairs, t3 = t2.length, _i = 0;
  65746. case 3:
  65747. // for condition
  65748. if (!(_i < t3)) {
  65749. // goto after for
  65750. $async$goto = 5;
  65751. break;
  65752. }
  65753. t4 = t2[_i];
  65754. key = t4._0;
  65755. value = t4._1;
  65756. $async$goto = 6;
  65757. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  65758. case 6:
  65759. // returning from await.
  65760. keyValue = $async$result;
  65761. $async$goto = 7;
  65762. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  65763. case 7:
  65764. // returning from await.
  65765. valueValue = $async$result;
  65766. if (map.containsKey$1(keyValue)) {
  65767. t1 = keyNodes.$index(0, keyValue);
  65768. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  65769. t1 = key.get$span(key);
  65770. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  65771. if (oldValueSpan != null)
  65772. t2.$indexSet(0, oldValueSpan, "first key");
  65773. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  65774. }
  65775. map.$indexSet(0, keyValue, valueValue);
  65776. keyNodes.$indexSet(0, keyValue, key);
  65777. case 4:
  65778. // for update
  65779. ++_i;
  65780. // goto for condition
  65781. $async$goto = 3;
  65782. break;
  65783. case 5:
  65784. // after for
  65785. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  65786. // goto return
  65787. $async$goto = 1;
  65788. break;
  65789. case 1:
  65790. // return
  65791. return A._asyncReturn($async$returnValue, $async$completer);
  65792. }
  65793. });
  65794. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  65795. },
  65796. visitFunctionExpression$1(node) {
  65797. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  65798. },
  65799. visitFunctionExpression$body$_EvaluateVisitor(node) {
  65800. var $async$goto = 0,
  65801. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65802. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  65803. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65804. if ($async$errorCode === 1)
  65805. return A._asyncRethrow($async$result, $async$completer);
  65806. while (true)
  65807. switch ($async$goto) {
  65808. case 0:
  65809. // Function start
  65810. t1 = {};
  65811. $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));
  65812. t1.$function = $function;
  65813. $async$goto = $function == null ? 3 : 4;
  65814. break;
  65815. case 3:
  65816. // then
  65817. if (node.namespace != null)
  65818. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  65819. t2 = node.originalName;
  65820. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  65821. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  65822. t3 = node.$arguments;
  65823. t4 = t3.named;
  65824. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  65825. } else
  65826. t3 = false;
  65827. $async$goto = t3 ? 5 : 6;
  65828. break;
  65829. case 5:
  65830. // then
  65831. $async$goto = 7;
  65832. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  65833. case 7:
  65834. // returning from await.
  65835. $async$returnValue = $async$result;
  65836. // goto return
  65837. $async$goto = 1;
  65838. break;
  65839. case 6:
  65840. // join
  65841. $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;
  65842. break;
  65843. case 8:
  65844. // then
  65845. $async$goto = 10;
  65846. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  65847. case 10:
  65848. // returning from await.
  65849. $async$returnValue = $async$result;
  65850. // goto return
  65851. $async$goto = 1;
  65852. break;
  65853. case 9:
  65854. // join
  65855. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  65856. $function = null;
  65857. else {
  65858. t3 = $async$self._async_evaluate$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  65859. $function = t3;
  65860. }
  65861. t1.$function = $function == null ? new A.PlainCssCallable(t2) : $function;
  65862. case 4:
  65863. // join
  65864. oldInFunction = $async$self._async_evaluate$_inFunction;
  65865. $async$self._async_evaluate$_inFunction = true;
  65866. $async$goto = 11;
  65867. 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);
  65868. case 11:
  65869. // returning from await.
  65870. result = $async$result;
  65871. $async$self._async_evaluate$_inFunction = oldInFunction;
  65872. $async$returnValue = result;
  65873. // goto return
  65874. $async$goto = 1;
  65875. break;
  65876. case 1:
  65877. // return
  65878. return A._asyncReturn($async$returnValue, $async$completer);
  65879. }
  65880. });
  65881. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  65882. },
  65883. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  65884. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  65885. },
  65886. _async_evaluate$_visitCalculation$1(node) {
  65887. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, false);
  65888. },
  65889. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  65890. var $async$goto = 0,
  65891. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65892. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  65893. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65894. if ($async$errorCode === 1)
  65895. return A._asyncRethrow($async$result, $async$completer);
  65896. while (true)
  65897. switch ($async$goto) {
  65898. case 0:
  65899. // Function start
  65900. t2 = node.$arguments;
  65901. t3 = t2.named;
  65902. if (t3.get$isNotEmpty(t3))
  65903. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  65904. else if (t2.rest != null)
  65905. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  65906. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  65907. t3 = A._setArrayType([], type$.JSArray_Object);
  65908. t2 = t2.positional, t4 = t2.length, _i = 0;
  65909. case 3:
  65910. // for condition
  65911. if (!(_i < t4)) {
  65912. // goto after for
  65913. $async$goto = 5;
  65914. break;
  65915. }
  65916. $async$temp1 = t3;
  65917. $async$goto = 6;
  65918. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  65919. case 6:
  65920. // returning from await.
  65921. $async$temp1.push($async$result);
  65922. case 4:
  65923. // for update
  65924. ++_i;
  65925. // goto for condition
  65926. $async$goto = 3;
  65927. break;
  65928. case 5:
  65929. // after for
  65930. $arguments = t3;
  65931. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  65932. $async$returnValue = new A.SassCalculation(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  65933. // goto return
  65934. $async$goto = 1;
  65935. break;
  65936. }
  65937. oldCallableNode = $async$self._async_evaluate$_callableNode;
  65938. $async$self._async_evaluate$_callableNode = node;
  65939. try {
  65940. t1 = null;
  65941. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  65942. $label0$0: {
  65943. if ("calc" === _0_0) {
  65944. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  65945. break $label0$0;
  65946. }
  65947. if ("sqrt" === _0_0) {
  65948. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  65949. break $label0$0;
  65950. }
  65951. if ("sin" === _0_0) {
  65952. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  65953. break $label0$0;
  65954. }
  65955. if ("cos" === _0_0) {
  65956. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  65957. break $label0$0;
  65958. }
  65959. if ("tan" === _0_0) {
  65960. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  65961. break $label0$0;
  65962. }
  65963. if ("asin" === _0_0) {
  65964. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  65965. break $label0$0;
  65966. }
  65967. if ("acos" === _0_0) {
  65968. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  65969. break $label0$0;
  65970. }
  65971. if ("atan" === _0_0) {
  65972. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  65973. break $label0$0;
  65974. }
  65975. if ("abs" === _0_0) {
  65976. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  65977. break $label0$0;
  65978. }
  65979. if ("exp" === _0_0) {
  65980. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  65981. break $label0$0;
  65982. }
  65983. if ("sign" === _0_0) {
  65984. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  65985. break $label0$0;
  65986. }
  65987. if ("min" === _0_0) {
  65988. t1 = A.SassCalculation_min($arguments);
  65989. break $label0$0;
  65990. }
  65991. if ("max" === _0_0) {
  65992. t1 = A.SassCalculation_max($arguments);
  65993. break $label0$0;
  65994. }
  65995. if ("hypot" === _0_0) {
  65996. t1 = A.SassCalculation_hypot($arguments);
  65997. break $label0$0;
  65998. }
  65999. if ("pow" === _0_0) {
  66000. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66001. break $label0$0;
  66002. }
  66003. if ("atan2" === _0_0) {
  66004. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66005. break $label0$0;
  66006. }
  66007. if ("log" === _0_0) {
  66008. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66009. break $label0$0;
  66010. }
  66011. if ("mod" === _0_0) {
  66012. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66013. break $label0$0;
  66014. }
  66015. if ("rem" === _0_0) {
  66016. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66017. break $label0$0;
  66018. }
  66019. if ("round" === _0_0) {
  66020. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66021. break $label0$0;
  66022. }
  66023. if ("clamp" === _0_0) {
  66024. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66025. break $label0$0;
  66026. }
  66027. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".');
  66028. t1 = A.throwExpression(t3);
  66029. }
  66030. t1 = t1;
  66031. $async$returnValue = t1;
  66032. // goto return
  66033. $async$goto = 1;
  66034. break;
  66035. } catch (exception) {
  66036. t1 = A.unwrapException(exception);
  66037. if (t1 instanceof A.SassScriptException) {
  66038. error = t1;
  66039. stackTrace = A.getTraceFromException(exception);
  66040. if (B.JSString_methods.contains$1(error.message, "compatible"))
  66041. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  66042. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  66043. } else
  66044. throw exception;
  66045. } finally {
  66046. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66047. }
  66048. case 1:
  66049. // return
  66050. return A._asyncReturn($async$returnValue, $async$completer);
  66051. }
  66052. });
  66053. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  66054. },
  66055. _async_evaluate$_checkCalculationArguments$1(node) {
  66056. var _0_0,
  66057. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  66058. $label0$0: {
  66059. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  66060. 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) {
  66061. check.call$1(1);
  66062. break $label0$0;
  66063. }
  66064. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  66065. check.call$0();
  66066. break $label0$0;
  66067. }
  66068. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  66069. check.call$1(2);
  66070. break $label0$0;
  66071. }
  66072. if ("round" === _0_0 || "clamp" === _0_0) {
  66073. check.call$1(3);
  66074. break $label0$0;
  66075. }
  66076. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".'));
  66077. }
  66078. },
  66079. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  66080. var i, t1, _0_0, arg, number1, j, number2;
  66081. for (i = 0; t1 = args.length, i < t1; ++i) {
  66082. _0_0 = args[i];
  66083. if (_0_0 instanceof A.SassNumber) {
  66084. t1 = _0_0.get$hasComplexUnits();
  66085. arg = _0_0;
  66086. } else {
  66087. arg = null;
  66088. t1 = false;
  66089. }
  66090. if (t1)
  66091. throw A.wrapException(this._async_evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  66092. }
  66093. for (i = 0; i < t1 - 1; ++i) {
  66094. number1 = args[i];
  66095. if (!(number1 instanceof A.SassNumber))
  66096. continue;
  66097. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  66098. number2 = args[j];
  66099. if (!(number2 instanceof A.SassNumber))
  66100. continue;
  66101. if (number1.hasPossiblyCompatibleUnits$1(number2))
  66102. continue;
  66103. 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));
  66104. }
  66105. }
  66106. },
  66107. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  66108. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  66109. },
  66110. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  66111. var $async$goto = 0,
  66112. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  66113. $async$returnValue, $async$self = this, inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _box_0, $async$temp1;
  66114. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66115. if ($async$errorCode === 1)
  66116. return A._asyncRethrow($async$result, $async$completer);
  66117. while (true)
  66118. switch ($async$goto) {
  66119. case 0:
  66120. // Function start
  66121. _box_0 = {};
  66122. if (node instanceof A.ParenthesizedExpression) {
  66123. inner = node.expression;
  66124. t1 = true;
  66125. } else {
  66126. inner = null;
  66127. t1 = false;
  66128. }
  66129. $async$goto = t1 ? 3 : 4;
  66130. break;
  66131. case 3:
  66132. // then
  66133. $async$goto = 5;
  66134. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66135. case 5:
  66136. // returning from await.
  66137. result = $async$result;
  66138. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  66139. // goto return
  66140. $async$goto = 1;
  66141. break;
  66142. case 4:
  66143. // join
  66144. $async$goto = node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor()) ? 6 : 7;
  66145. break;
  66146. case 6:
  66147. // then
  66148. t1 = node.text;
  66149. t2 = t1.get$asPlain();
  66150. _0_0 = t2 == null ? null : t2.toLowerCase();
  66151. if ("pi" === _0_0) {
  66152. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  66153. // goto break $label0$0
  66154. $async$goto = 8;
  66155. break;
  66156. }
  66157. if ("e" === _0_0) {
  66158. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  66159. // goto break $label0$0
  66160. $async$goto = 8;
  66161. break;
  66162. }
  66163. if ("infinity" === _0_0) {
  66164. t1 = A.SassNumber_SassNumber(1 / 0, null);
  66165. // goto break $label0$0
  66166. $async$goto = 8;
  66167. break;
  66168. }
  66169. if ("-infinity" === _0_0) {
  66170. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  66171. // goto break $label0$0
  66172. $async$goto = 8;
  66173. break;
  66174. }
  66175. if ("nan" === _0_0) {
  66176. t1 = A.SassNumber_SassNumber(0 / 0, null);
  66177. // goto break $label0$0
  66178. $async$goto = 8;
  66179. break;
  66180. }
  66181. $async$temp1 = A;
  66182. $async$goto = 9;
  66183. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66184. case 9:
  66185. // returning from await.
  66186. t1 = new $async$temp1.SassString($async$result, false);
  66187. // goto break $label0$0
  66188. $async$goto = 8;
  66189. break;
  66190. case 8:
  66191. // break $label0$0
  66192. $async$returnValue = t1;
  66193. // goto return
  66194. $async$goto = 1;
  66195. break;
  66196. case 7:
  66197. // join
  66198. _box_0.right = _box_0.left = _box_0.operator = null;
  66199. if (node instanceof A.BinaryOperationExpression) {
  66200. _box_0.operator = node.operator;
  66201. _box_0.left = node.left;
  66202. _box_0.right = node.right;
  66203. t1 = true;
  66204. } else
  66205. t1 = false;
  66206. $async$goto = t1 ? 10 : 11;
  66207. break;
  66208. case 10:
  66209. // then
  66210. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  66211. $async$goto = 12;
  66212. 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);
  66213. case 12:
  66214. // returning from await.
  66215. $async$returnValue = $async$result;
  66216. // goto return
  66217. $async$goto = 1;
  66218. break;
  66219. case 11:
  66220. // join
  66221. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  66222. break;
  66223. case 13:
  66224. // then
  66225. $async$goto = 15;
  66226. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66227. case 15:
  66228. // returning from await.
  66229. _1_0 = $async$result;
  66230. $label1$1: {
  66231. if (_1_0 instanceof A.SassNumber) {
  66232. t1 = _1_0;
  66233. break $label1$1;
  66234. }
  66235. if (_1_0 instanceof A.SassCalculation) {
  66236. t1 = _1_0;
  66237. break $label1$1;
  66238. }
  66239. if (_1_0 instanceof A.SassString) {
  66240. t1 = !_1_0._hasQuotes;
  66241. result = _1_0;
  66242. } else {
  66243. result = null;
  66244. t1 = false;
  66245. }
  66246. if (t1) {
  66247. t1 = result;
  66248. break $label1$1;
  66249. }
  66250. 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)));
  66251. }
  66252. $async$returnValue = t1;
  66253. // goto return
  66254. $async$goto = 1;
  66255. break;
  66256. case 14:
  66257. // join
  66258. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_EVt === node.separator && node.contents.length >= 2 ? 16 : 17;
  66259. break;
  66260. case 16:
  66261. // then
  66262. t1 = A._setArrayType([], type$.JSArray_Object);
  66263. t2 = node.contents, t3 = t2.length, _i = 0;
  66264. case 18:
  66265. // for condition
  66266. if (!(_i < t3)) {
  66267. // goto after for
  66268. $async$goto = 20;
  66269. break;
  66270. }
  66271. $async$temp1 = t1;
  66272. $async$goto = 21;
  66273. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66274. case 21:
  66275. // returning from await.
  66276. $async$temp1.push($async$result);
  66277. case 19:
  66278. // for update
  66279. ++_i;
  66280. // goto for condition
  66281. $async$goto = 18;
  66282. break;
  66283. case 20:
  66284. // after for
  66285. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  66286. for (i = 0; i < t1.length; ++i) {
  66287. t3 = t1[i];
  66288. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  66289. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  66290. }
  66291. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  66292. // goto return
  66293. $async$goto = 1;
  66294. break;
  66295. case 17:
  66296. // join
  66297. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  66298. case 1:
  66299. // return
  66300. return A._asyncReturn($async$returnValue, $async$completer);
  66301. }
  66302. });
  66303. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  66304. },
  66305. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  66306. var t2, t3, t4, textBetweenOperands, first, last,
  66307. t1 = node.operator;
  66308. if (t1 !== B.BinaryOperator_anB && t1 !== B.BinaryOperator_olz)
  66309. return;
  66310. t1 = node.left;
  66311. t2 = t1.get$span(t1);
  66312. t2 = t2.get$file(t2);
  66313. t3 = node.right;
  66314. t4 = t3.get$span(t3);
  66315. if (t2 !== t4.get$file(t4))
  66316. return;
  66317. t2 = t1.get$span(t1);
  66318. t2 = t2.get$end(t2);
  66319. t4 = t3.get$span(t3);
  66320. if (t2.offset >= t4.get$start(t4).offset)
  66321. return;
  66322. t2 = t1.get$span(t1);
  66323. t2 = t2.get$file(t2);
  66324. t1 = t1.get$span(t1);
  66325. t1 = t1.get$end(t1);
  66326. t3 = t3.get$span(t3);
  66327. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  66328. first = textBetweenOperands.charCodeAt(0);
  66329. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  66330. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  66331. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  66332. else
  66333. t1 = true;
  66334. if (t1)
  66335. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  66336. },
  66337. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  66338. var t1;
  66339. $label0$0: {
  66340. if (B.BinaryOperator_anB === operator) {
  66341. t1 = B.CalculationOperator_IyK;
  66342. break $label0$0;
  66343. }
  66344. if (B.BinaryOperator_olz === operator) {
  66345. t1 = B.CalculationOperator_2bx;
  66346. break $label0$0;
  66347. }
  66348. if (B.BinaryOperator_qN2 === operator) {
  66349. t1 = B.CalculationOperator_jFr;
  66350. break $label0$0;
  66351. }
  66352. if (B.BinaryOperator_t8B === operator) {
  66353. t1 = B.CalculationOperator_OvN;
  66354. break $label0$0;
  66355. }
  66356. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  66357. }
  66358. return t1;
  66359. },
  66360. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  66361. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  66362. for (t1 = elements.length, i = 1; i < t1; ++i) {
  66363. t2 = i - 1;
  66364. previous = elements[t2];
  66365. current = elements[i];
  66366. if (previous instanceof A.SassString || current instanceof A.SassString)
  66367. continue;
  66368. t1 = node.contents;
  66369. previousNode = t1[t2];
  66370. currentNode = t1[i];
  66371. if (currentNode instanceof A.UnaryOperationExpression) {
  66372. _0_2 = currentNode.operator;
  66373. if (B.UnaryOperator_TLI !== _0_2)
  66374. t1 = B.UnaryOperator_gg4 === _0_2;
  66375. else
  66376. t1 = true;
  66377. } else
  66378. t1 = false;
  66379. if (!t1)
  66380. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  66381. else
  66382. t1 = true;
  66383. if (t1)
  66384. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  66385. else
  66386. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  66387. }
  66388. },
  66389. visitInterpolatedFunctionExpression$1(node) {
  66390. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  66391. },
  66392. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  66393. var $async$goto = 0,
  66394. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66395. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  66396. var $async$visitInterpolatedFunctionExpression$1 = 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. $async$goto = 3;
  66404. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  66405. case 3:
  66406. // returning from await.
  66407. t1 = $async$result;
  66408. oldInFunction = $async$self._async_evaluate$_inFunction;
  66409. $async$self._async_evaluate$_inFunction = true;
  66410. $async$goto = 4;
  66411. 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);
  66412. case 4:
  66413. // returning from await.
  66414. result = $async$result;
  66415. $async$self._async_evaluate$_inFunction = oldInFunction;
  66416. $async$returnValue = result;
  66417. // goto return
  66418. $async$goto = 1;
  66419. break;
  66420. case 1:
  66421. // return
  66422. return A._asyncReturn($async$returnValue, $async$completer);
  66423. }
  66424. });
  66425. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  66426. },
  66427. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  66428. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  66429. },
  66430. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  66431. var $async$goto = 0,
  66432. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66433. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  66434. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66435. if ($async$errorCode === 1)
  66436. return A._asyncRethrow($async$result, $async$completer);
  66437. while (true)
  66438. switch ($async$goto) {
  66439. case 0:
  66440. // Function start
  66441. $async$goto = 3;
  66442. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  66443. case 3:
  66444. // returning from await.
  66445. evaluated = $async$result;
  66446. $name = callable.declaration.name;
  66447. if ($name !== "@content")
  66448. $name += "()";
  66449. oldCallable = $async$self._async_evaluate$_currentCallable;
  66450. $async$self._async_evaluate$_currentCallable = callable;
  66451. $async$goto = 4;
  66452. 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);
  66453. case 4:
  66454. // returning from await.
  66455. result = $async$result;
  66456. $async$self._async_evaluate$_currentCallable = oldCallable;
  66457. $async$returnValue = result;
  66458. // goto return
  66459. $async$goto = 1;
  66460. break;
  66461. case 1:
  66462. // return
  66463. return A._asyncReturn($async$returnValue, $async$completer);
  66464. }
  66465. });
  66466. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  66467. },
  66468. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  66469. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66470. },
  66471. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66472. var $async$goto = 0,
  66473. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66474. $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;
  66475. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66476. if ($async$errorCode === 1) {
  66477. $async$currentError = $async$result;
  66478. $async$goto = $async$handler;
  66479. }
  66480. while (true)
  66481. switch ($async$goto) {
  66482. case 0:
  66483. // Function start
  66484. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  66485. break;
  66486. case 3:
  66487. // then
  66488. $async$goto = 6;
  66489. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  66490. case 6:
  66491. // returning from await.
  66492. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  66493. // goto return
  66494. $async$goto = 1;
  66495. break;
  66496. // goto join
  66497. $async$goto = 4;
  66498. break;
  66499. case 5:
  66500. // else
  66501. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  66502. break;
  66503. case 7:
  66504. // then
  66505. $async$goto = 10;
  66506. 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);
  66507. case 10:
  66508. // returning from await.
  66509. $async$returnValue = $async$result;
  66510. // goto return
  66511. $async$goto = 1;
  66512. break;
  66513. // goto join
  66514. $async$goto = 8;
  66515. break;
  66516. case 9:
  66517. // else
  66518. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  66519. break;
  66520. case 11:
  66521. // then
  66522. t1 = $arguments.named;
  66523. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  66524. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  66525. buffer = new A.StringBuffer(callable.name + "(");
  66526. $async$handler = 15;
  66527. first = true;
  66528. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  66529. case 18:
  66530. // for condition
  66531. if (!(_i < t2)) {
  66532. // goto after for
  66533. $async$goto = 20;
  66534. break;
  66535. }
  66536. argument = t1[_i];
  66537. if (first)
  66538. first = false;
  66539. else
  66540. buffer._contents += ", ";
  66541. $async$temp1 = buffer;
  66542. $async$temp2 = A;
  66543. $async$goto = 21;
  66544. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  66545. case 21:
  66546. // returning from await.
  66547. $async$temp1._contents += $async$temp2.S($async$result);
  66548. case 19:
  66549. // for update
  66550. ++_i;
  66551. // goto for condition
  66552. $async$goto = 18;
  66553. break;
  66554. case 20:
  66555. // after for
  66556. restArg = $arguments.rest;
  66557. $async$goto = restArg != null ? 22 : 23;
  66558. break;
  66559. case 22:
  66560. // then
  66561. $async$goto = 24;
  66562. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  66563. case 24:
  66564. // returning from await.
  66565. rest = $async$result;
  66566. if (!first)
  66567. buffer._contents += ", ";
  66568. buffer._contents += $async$self._async_evaluate$_serialize$2(rest, restArg);
  66569. case 23:
  66570. // join
  66571. $async$handler = 2;
  66572. // goto after finally
  66573. $async$goto = 17;
  66574. break;
  66575. case 15:
  66576. // catch
  66577. $async$handler = 14;
  66578. $async$exception = $async$currentError;
  66579. t1 = A.unwrapException($async$exception);
  66580. if (type$.SassRuntimeException._is(t1)) {
  66581. error = t1;
  66582. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  66583. throw $async$exception;
  66584. 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));
  66585. } else
  66586. throw $async$exception;
  66587. // goto after finally
  66588. $async$goto = 17;
  66589. break;
  66590. case 14:
  66591. // uncaught
  66592. // goto rethrow
  66593. $async$goto = 2;
  66594. break;
  66595. case 17:
  66596. // after finally
  66597. buffer._contents += A.Primitives_stringFromCharCode(41);
  66598. t1 = buffer._contents;
  66599. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  66600. // goto return
  66601. $async$goto = 1;
  66602. break;
  66603. // goto join
  66604. $async$goto = 12;
  66605. break;
  66606. case 13:
  66607. // else
  66608. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  66609. case 12:
  66610. // join
  66611. case 8:
  66612. // join
  66613. case 4:
  66614. // join
  66615. case 1:
  66616. // return
  66617. return A._asyncReturn($async$returnValue, $async$completer);
  66618. case 2:
  66619. // rethrow
  66620. return A._asyncRethrow($async$currentError, $async$completer);
  66621. }
  66622. });
  66623. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  66624. },
  66625. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  66626. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66627. },
  66628. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66629. var $async$goto = 0,
  66630. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66631. $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;
  66632. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66633. if ($async$errorCode === 1) {
  66634. $async$currentError = $async$result;
  66635. $async$goto = $async$handler;
  66636. }
  66637. while (true)
  66638. switch ($async$goto) {
  66639. case 0:
  66640. // Function start
  66641. _box_0 = {};
  66642. $async$goto = 3;
  66643. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  66644. case 3:
  66645. // returning from await.
  66646. evaluated = $async$result;
  66647. oldCallableNode = $async$self._async_evaluate$_callableNode;
  66648. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  66649. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  66650. _box_0.callback = _box_0.overload = null;
  66651. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  66652. _box_0.overload = _0_0._0;
  66653. _box_0.callback = _0_0._1;
  66654. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  66655. declaredArguments = _box_0.overload.$arguments;
  66656. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  66657. case 4:
  66658. // for condition
  66659. if (!(i < t1)) {
  66660. // goto after for
  66661. $async$goto = 6;
  66662. break;
  66663. }
  66664. argument = declaredArguments[i];
  66665. t4 = evaluated._values[2];
  66666. t5 = evaluated._values[0].remove$1(0, argument.name);
  66667. $async$goto = t5 == null ? 7 : 8;
  66668. break;
  66669. case 7:
  66670. // then
  66671. t5 = argument.defaultValue;
  66672. t6 = t5.accept$1($async$self);
  66673. if (!t3._is(t6)) {
  66674. t7 = new A._Future($.Zone__current, t2);
  66675. t7._state = 8;
  66676. t7._resultOrListeners = t6;
  66677. t6 = t7;
  66678. }
  66679. $async$goto = 9;
  66680. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  66681. case 9:
  66682. // returning from await.
  66683. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  66684. case 8:
  66685. // join
  66686. J.add$1$ax(t4, t5);
  66687. case 5:
  66688. // for update
  66689. ++i;
  66690. // goto for condition
  66691. $async$goto = 4;
  66692. break;
  66693. case 6:
  66694. // after for
  66695. if (_box_0.overload.restArgument != null) {
  66696. if (J.get$length$asx(evaluated._values[2]) > t1) {
  66697. rest = J.sublist$1$ax(evaluated._values[2], t1);
  66698. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  66699. } else
  66700. rest = B.List_empty8;
  66701. t1 = evaluated._values[0];
  66702. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated._values[4]);
  66703. J.add$1$ax(evaluated._values[2], argumentList);
  66704. } else
  66705. argumentList = null;
  66706. result = null;
  66707. $async$handler = 11;
  66708. $async$goto = 14;
  66709. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  66710. case 14:
  66711. // returning from await.
  66712. result = $async$result;
  66713. $async$handler = 2;
  66714. // goto after finally
  66715. $async$goto = 13;
  66716. break;
  66717. case 11:
  66718. // catch
  66719. $async$handler = 10;
  66720. $async$exception = $async$currentError;
  66721. t1 = A.unwrapException($async$exception);
  66722. if (t1 instanceof A.SassException)
  66723. throw $async$exception;
  66724. else {
  66725. error = t1;
  66726. stackTrace = A.getTraceFromException($async$exception);
  66727. message = null;
  66728. try {
  66729. message = A._asString(J.get$message$x(error));
  66730. } catch (exception) {
  66731. message0 = J.toString$0$(error);
  66732. message = message0;
  66733. }
  66734. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  66735. }
  66736. // goto after finally
  66737. $async$goto = 13;
  66738. break;
  66739. case 10:
  66740. // uncaught
  66741. // goto rethrow
  66742. $async$goto = 2;
  66743. break;
  66744. case 13:
  66745. // after finally
  66746. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66747. if (argumentList == null) {
  66748. $async$returnValue = result;
  66749. // goto return
  66750. $async$goto = 1;
  66751. break;
  66752. }
  66753. t1 = evaluated._values[0];
  66754. if (t1.get$isEmpty(t1)) {
  66755. $async$returnValue = result;
  66756. // goto return
  66757. $async$goto = 1;
  66758. break;
  66759. }
  66760. if (argumentList._wereKeywordsAccessed) {
  66761. $async$returnValue = result;
  66762. // goto return
  66763. $async$goto = 1;
  66764. break;
  66765. }
  66766. t1 = evaluated._values[0];
  66767. t1 = A.pluralize("argument", J.get$length$asx(t1.get$keys(t1)), null);
  66768. t2 = evaluated._values[0];
  66769. 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));
  66770. case 1:
  66771. // return
  66772. return A._asyncReturn($async$returnValue, $async$completer);
  66773. case 2:
  66774. // rethrow
  66775. return A._asyncRethrow($async$currentError, $async$completer);
  66776. }
  66777. });
  66778. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  66779. },
  66780. _async_evaluate$_evaluateArguments$1($arguments) {
  66781. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  66782. },
  66783. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  66784. var $async$goto = 0,
  66785. $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),
  66786. $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;
  66787. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66788. if ($async$errorCode === 1)
  66789. return A._asyncRethrow($async$result, $async$completer);
  66790. while (true)
  66791. switch ($async$goto) {
  66792. case 0:
  66793. // Function start
  66794. positional = A._setArrayType([], type$.JSArray_Value);
  66795. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  66796. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  66797. case 3:
  66798. // for condition
  66799. if (!(_i < t2)) {
  66800. // goto after for
  66801. $async$goto = 5;
  66802. break;
  66803. }
  66804. expression = t1[_i];
  66805. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  66806. t5 = expression.accept$1($async$self);
  66807. if (!t4._is(t5)) {
  66808. t6 = new A._Future($.Zone__current, t3);
  66809. t6._state = 8;
  66810. t6._resultOrListeners = t5;
  66811. t5 = t6;
  66812. }
  66813. $async$temp1 = positional;
  66814. $async$goto = 6;
  66815. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  66816. case 6:
  66817. // returning from await.
  66818. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  66819. positionalNodes.push(nodeForSpan);
  66820. case 4:
  66821. // for update
  66822. ++_i;
  66823. // goto for condition
  66824. $async$goto = 3;
  66825. break;
  66826. case 5:
  66827. // after for
  66828. t1 = type$.String;
  66829. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  66830. t2 = type$.AstNode;
  66831. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  66832. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  66833. case 7:
  66834. // for condition
  66835. if (!t5.moveNext$0()) {
  66836. // goto after for
  66837. $async$goto = 8;
  66838. break;
  66839. }
  66840. t6 = t5.get$current(t5);
  66841. $name = t6._0;
  66842. value = t6._1;
  66843. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  66844. t6 = value.accept$1($async$self);
  66845. if (!t4._is(t6)) {
  66846. t7 = new A._Future($.Zone__current, t3);
  66847. t7._state = 8;
  66848. t7._resultOrListeners = t6;
  66849. t6 = t7;
  66850. }
  66851. $async$temp1 = named;
  66852. $async$temp2 = $name;
  66853. $async$goto = 9;
  66854. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  66855. case 9:
  66856. // returning from await.
  66857. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  66858. namedNodes.$indexSet(0, $name, nodeForSpan);
  66859. // goto for condition
  66860. $async$goto = 7;
  66861. break;
  66862. case 8:
  66863. // after for
  66864. restArgs = $arguments.rest;
  66865. if (restArgs == null) {
  66866. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  66867. // goto return
  66868. $async$goto = 1;
  66869. break;
  66870. }
  66871. $async$goto = 10;
  66872. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  66873. case 10:
  66874. // returning from await.
  66875. rest = $async$result;
  66876. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  66877. if (rest instanceof A.SassMap) {
  66878. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  66879. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  66880. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  66881. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  66882. namedNodes.addAll$1(0, t3);
  66883. separator = B.ListSeparator_undecided_null_undecided;
  66884. } else if (rest instanceof A.SassList) {
  66885. t3 = rest._list$_contents;
  66886. 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>")));
  66887. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  66888. separator = rest._separator;
  66889. if (rest instanceof A.SassArgumentList) {
  66890. rest._wereKeywordsAccessed = true;
  66891. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  66892. }
  66893. } else {
  66894. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  66895. positionalNodes.push(restNodeForSpan);
  66896. separator = B.ListSeparator_undecided_null_undecided;
  66897. }
  66898. keywordRestArgs = $arguments.keywordRest;
  66899. if (keywordRestArgs == null) {
  66900. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  66901. // goto return
  66902. $async$goto = 1;
  66903. break;
  66904. }
  66905. $async$goto = 11;
  66906. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  66907. case 11:
  66908. // returning from await.
  66909. keywordRest = $async$result;
  66910. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  66911. if (keywordRest instanceof A.SassMap) {
  66912. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  66913. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  66914. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  66915. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  66916. namedNodes.addAll$1(0, t1);
  66917. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  66918. // goto return
  66919. $async$goto = 1;
  66920. break;
  66921. } else
  66922. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  66923. case 1:
  66924. // return
  66925. return A._asyncReturn($async$returnValue, $async$completer);
  66926. }
  66927. });
  66928. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  66929. },
  66930. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  66931. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  66932. },
  66933. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  66934. var $async$goto = 0,
  66935. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  66936. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  66937. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66938. if ($async$errorCode === 1)
  66939. return A._asyncRethrow($async$result, $async$completer);
  66940. while (true)
  66941. switch ($async$goto) {
  66942. case 0:
  66943. // Function start
  66944. t1 = invocation.$arguments;
  66945. restArgs_ = t1.rest;
  66946. if (restArgs_ == null) {
  66947. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  66948. // goto return
  66949. $async$goto = 1;
  66950. break;
  66951. }
  66952. t2 = t1.positional;
  66953. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  66954. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  66955. $async$goto = 3;
  66956. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  66957. case 3:
  66958. // returning from await.
  66959. rest = $async$result;
  66960. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  66961. if (rest instanceof A.SassMap)
  66962. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  66963. else if (rest instanceof A.SassList) {
  66964. t2 = rest._list$_contents;
  66965. 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>")));
  66966. if (rest instanceof A.SassArgumentList) {
  66967. rest._wereKeywordsAccessed = true;
  66968. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  66969. }
  66970. } else
  66971. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  66972. keywordRestArgs_ = t1.keywordRest;
  66973. if (keywordRestArgs_ == null) {
  66974. $async$returnValue = new A._Record_2(positional, named);
  66975. // goto return
  66976. $async$goto = 1;
  66977. break;
  66978. }
  66979. $async$goto = 4;
  66980. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  66981. case 4:
  66982. // returning from await.
  66983. keywordRest = $async$result;
  66984. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  66985. if (keywordRest instanceof A.SassMap) {
  66986. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  66987. $async$returnValue = new A._Record_2(positional, named);
  66988. // goto return
  66989. $async$goto = 1;
  66990. break;
  66991. } else
  66992. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  66993. case 1:
  66994. // return
  66995. return A._asyncReturn($async$returnValue, $async$completer);
  66996. }
  66997. });
  66998. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  66999. },
  67000. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  67001. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  67002. },
  67003. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  67004. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  67005. },
  67006. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  67007. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  67008. },
  67009. visitSelectorExpression$1(node) {
  67010. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  67011. },
  67012. visitSelectorExpression$body$_EvaluateVisitor(node) {
  67013. var $async$goto = 0,
  67014. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  67015. $async$returnValue, $async$self = this, t1;
  67016. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67017. if ($async$errorCode === 1)
  67018. return A._asyncRethrow($async$result, $async$completer);
  67019. while (true)
  67020. switch ($async$goto) {
  67021. case 0:
  67022. // Function start
  67023. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67024. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  67025. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  67026. // goto return
  67027. $async$goto = 1;
  67028. break;
  67029. case 1:
  67030. // return
  67031. return A._asyncReturn($async$returnValue, $async$completer);
  67032. }
  67033. });
  67034. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  67035. },
  67036. visitStringExpression$1(node) {
  67037. return this.visitStringExpression$body$_EvaluateVisitor(node);
  67038. },
  67039. visitStringExpression$body$_EvaluateVisitor(node) {
  67040. var $async$goto = 0,
  67041. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67042. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  67043. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67044. if ($async$errorCode === 1)
  67045. return A._asyncRethrow($async$result, $async$completer);
  67046. while (true)
  67047. switch ($async$goto) {
  67048. case 0:
  67049. // Function start
  67050. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67051. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67052. t1 = A._setArrayType([], type$.JSArray_String);
  67053. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0;
  67054. case 3:
  67055. // for condition
  67056. if (!(_i < t3)) {
  67057. // goto after for
  67058. $async$goto = 5;
  67059. break;
  67060. }
  67061. value = t2[_i];
  67062. if (typeof value == "string") {
  67063. t5 = value;
  67064. // goto break $label0$0
  67065. $async$goto = 6;
  67066. break;
  67067. }
  67068. $async$goto = t4._is(value) ? 7 : 8;
  67069. break;
  67070. case 7:
  67071. // then
  67072. $async$goto = 9;
  67073. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  67074. case 9:
  67075. // returning from await.
  67076. _0_0 = $async$result;
  67077. $label1$1: {
  67078. if (_0_0 instanceof A.SassString) {
  67079. text = _0_0._string$_text;
  67080. t5 = text;
  67081. break $label1$1;
  67082. }
  67083. t5 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  67084. break $label1$1;
  67085. }
  67086. // goto break $label0$0
  67087. $async$goto = 6;
  67088. break;
  67089. case 8:
  67090. // join
  67091. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  67092. case 6:
  67093. // break $label0$0
  67094. t1.push(t5);
  67095. case 4:
  67096. // for update
  67097. ++_i;
  67098. // goto for condition
  67099. $async$goto = 3;
  67100. break;
  67101. case 5:
  67102. // after for
  67103. t1 = B.JSArray_methods.join$0(t1);
  67104. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67105. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  67106. // goto return
  67107. $async$goto = 1;
  67108. break;
  67109. case 1:
  67110. // return
  67111. return A._asyncReturn($async$returnValue, $async$completer);
  67112. }
  67113. });
  67114. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  67115. },
  67116. visitSupportsExpression$1(expression) {
  67117. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  67118. },
  67119. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  67120. var $async$goto = 0,
  67121. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67122. $async$returnValue, $async$self = this, $async$temp1;
  67123. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67124. if ($async$errorCode === 1)
  67125. return A._asyncRethrow($async$result, $async$completer);
  67126. while (true)
  67127. switch ($async$goto) {
  67128. case 0:
  67129. // Function start
  67130. $async$temp1 = A;
  67131. $async$goto = 3;
  67132. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  67133. case 3:
  67134. // returning from await.
  67135. $async$returnValue = new $async$temp1.SassString($async$result, false);
  67136. // goto return
  67137. $async$goto = 1;
  67138. break;
  67139. case 1:
  67140. // return
  67141. return A._asyncReturn($async$returnValue, $async$completer);
  67142. }
  67143. });
  67144. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  67145. },
  67146. visitCssAtRule$1(node) {
  67147. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  67148. },
  67149. visitCssAtRule$body$_EvaluateVisitor(node) {
  67150. var $async$goto = 0,
  67151. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67152. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  67153. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67154. if ($async$errorCode === 1)
  67155. return A._asyncRethrow($async$result, $async$completer);
  67156. while (true)
  67157. switch ($async$goto) {
  67158. case 0:
  67159. // Function start
  67160. if ($async$self._async_evaluate$_declarationName != null)
  67161. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  67162. if (node.isChildless) {
  67163. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  67164. // goto return
  67165. $async$goto = 1;
  67166. break;
  67167. }
  67168. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  67169. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  67170. t1 = node.name;
  67171. if (A.unvendor(t1.value) === "keyframes")
  67172. $async$self._async_evaluate$_inKeyframes = true;
  67173. else
  67174. $async$self._async_evaluate$_inUnknownAtRule = true;
  67175. $async$goto = 3;
  67176. 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);
  67177. case 3:
  67178. // returning from await.
  67179. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  67180. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  67181. case 1:
  67182. // return
  67183. return A._asyncReturn($async$returnValue, $async$completer);
  67184. }
  67185. });
  67186. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  67187. },
  67188. visitCssComment$1(node) {
  67189. return this.visitCssComment$body$_EvaluateVisitor(node);
  67190. },
  67191. visitCssComment$body$_EvaluateVisitor(node) {
  67192. var $async$goto = 0,
  67193. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67194. $async$self = this;
  67195. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67196. if ($async$errorCode === 1)
  67197. return A._asyncRethrow($async$result, $async$completer);
  67198. while (true)
  67199. switch ($async$goto) {
  67200. case 0:
  67201. // Function start
  67202. 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))
  67203. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67204. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  67205. // implicit return
  67206. return A._asyncReturn(null, $async$completer);
  67207. }
  67208. });
  67209. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  67210. },
  67211. visitCssDeclaration$1(node) {
  67212. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  67213. },
  67214. visitCssDeclaration$body$_EvaluateVisitor(node) {
  67215. var $async$goto = 0,
  67216. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67217. $async$self = this;
  67218. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67219. if ($async$errorCode === 1)
  67220. return A._asyncRethrow($async$result, $async$completer);
  67221. while (true)
  67222. switch ($async$goto) {
  67223. case 0:
  67224. // Function start
  67225. $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));
  67226. // implicit return
  67227. return A._asyncReturn(null, $async$completer);
  67228. }
  67229. });
  67230. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  67231. },
  67232. visitCssImport$1(node) {
  67233. return this.visitCssImport$body$_EvaluateVisitor(node);
  67234. },
  67235. visitCssImport$body$_EvaluateVisitor(node) {
  67236. var $async$goto = 0,
  67237. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67238. $async$self = this, t1, modifiableNode;
  67239. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67240. if ($async$errorCode === 1)
  67241. return A._asyncRethrow($async$result, $async$completer);
  67242. while (true)
  67243. switch ($async$goto) {
  67244. case 0:
  67245. // Function start
  67246. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  67247. 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"))
  67248. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  67249. 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)) {
  67250. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  67251. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67252. } else {
  67253. t1 = $async$self._async_evaluate$_outOfOrderImports;
  67254. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  67255. }
  67256. // implicit return
  67257. return A._asyncReturn(null, $async$completer);
  67258. }
  67259. });
  67260. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  67261. },
  67262. visitCssKeyframeBlock$1(node) {
  67263. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  67264. },
  67265. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  67266. var $async$goto = 0,
  67267. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67268. $async$self = this;
  67269. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67270. if ($async$errorCode === 1)
  67271. return A._asyncRethrow($async$result, $async$completer);
  67272. while (true)
  67273. switch ($async$goto) {
  67274. case 0:
  67275. // Function start
  67276. $async$goto = 2;
  67277. 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);
  67278. case 2:
  67279. // returning from await.
  67280. // implicit return
  67281. return A._asyncReturn(null, $async$completer);
  67282. }
  67283. });
  67284. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  67285. },
  67286. visitCssMediaRule$1(node) {
  67287. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  67288. },
  67289. visitCssMediaRule$body$_EvaluateVisitor(node) {
  67290. var $async$goto = 0,
  67291. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67292. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  67293. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67294. if ($async$errorCode === 1)
  67295. return A._asyncRethrow($async$result, $async$completer);
  67296. while (true)
  67297. switch ($async$goto) {
  67298. case 0:
  67299. // Function start
  67300. if ($async$self._async_evaluate$_declarationName != null)
  67301. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  67302. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  67303. t1 = mergedQueries == null;
  67304. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  67305. // goto return
  67306. $async$goto = 1;
  67307. break;
  67308. }
  67309. if (t1)
  67310. mergedSources = B.Set_empty1;
  67311. else {
  67312. t2 = $async$self._async_evaluate$_mediaQuerySources;
  67313. t2.toString;
  67314. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  67315. t3 = $async$self._async_evaluate$_mediaQueries;
  67316. t3.toString;
  67317. t2.addAll$1(0, t3);
  67318. t2.addAll$1(0, node.queries);
  67319. mergedSources = t2;
  67320. }
  67321. t1 = t1 ? node.queries : mergedQueries;
  67322. $async$goto = 3;
  67323. 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);
  67324. case 3:
  67325. // returning from await.
  67326. case 1:
  67327. // return
  67328. return A._asyncReturn($async$returnValue, $async$completer);
  67329. }
  67330. });
  67331. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  67332. },
  67333. visitCssStyleRule$1(node) {
  67334. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  67335. },
  67336. visitCssStyleRule$body$_EvaluateVisitor(node) {
  67337. var $async$goto = 0,
  67338. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67339. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  67340. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67341. if ($async$errorCode === 1)
  67342. return A._asyncRethrow($async$result, $async$completer);
  67343. while (true)
  67344. switch ($async$goto) {
  67345. case 0:
  67346. // Function start
  67347. if ($async$self._async_evaluate$_declarationName != null)
  67348. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  67349. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67350. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67351. t2 = node._style_rule$_selector._box$_inner.value;
  67352. t3 = styleRule == null;
  67353. t4 = t3 ? null : styleRule.originalSelector;
  67354. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  67355. 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);
  67356. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67357. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  67358. $async$goto = 2;
  67359. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure1($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  67360. case 2:
  67361. // returning from await.
  67362. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  67363. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  67364. t2 = J.getInterceptor$asx(t1);
  67365. _0_1 = t2.get$length(t1);
  67366. if (_0_1 >= 1) {
  67367. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  67368. t1 = t3;
  67369. } else {
  67370. lastChild = null;
  67371. t1 = false;
  67372. }
  67373. if (t1)
  67374. lastChild.isGroupEnd = true;
  67375. // implicit return
  67376. return A._asyncReturn(null, $async$completer);
  67377. }
  67378. });
  67379. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  67380. },
  67381. visitCssStylesheet$1(node) {
  67382. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  67383. },
  67384. visitCssStylesheet$body$_EvaluateVisitor(node) {
  67385. var $async$goto = 0,
  67386. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67387. $async$self = this, t1;
  67388. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67389. if ($async$errorCode === 1)
  67390. return A._asyncRethrow($async$result, $async$completer);
  67391. while (true)
  67392. switch ($async$goto) {
  67393. case 0:
  67394. // Function start
  67395. t1 = J.get$iterator$ax(node.get$children(node));
  67396. case 2:
  67397. // for condition
  67398. if (!t1.moveNext$0()) {
  67399. // goto after for
  67400. $async$goto = 3;
  67401. break;
  67402. }
  67403. $async$goto = 4;
  67404. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  67405. case 4:
  67406. // returning from await.
  67407. // goto for condition
  67408. $async$goto = 2;
  67409. break;
  67410. case 3:
  67411. // after for
  67412. // implicit return
  67413. return A._asyncReturn(null, $async$completer);
  67414. }
  67415. });
  67416. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  67417. },
  67418. visitCssSupportsRule$1(node) {
  67419. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  67420. },
  67421. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  67422. var $async$goto = 0,
  67423. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67424. $async$self = this;
  67425. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67426. if ($async$errorCode === 1)
  67427. return A._asyncRethrow($async$result, $async$completer);
  67428. while (true)
  67429. switch ($async$goto) {
  67430. case 0:
  67431. // Function start
  67432. if ($async$self._async_evaluate$_declarationName != null)
  67433. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  67434. $async$goto = 2;
  67435. 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);
  67436. case 2:
  67437. // returning from await.
  67438. // implicit return
  67439. return A._asyncReturn(null, $async$completer);
  67440. }
  67441. });
  67442. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  67443. },
  67444. _async_evaluate$_handleReturn$1$2(list, callback) {
  67445. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  67446. },
  67447. _async_evaluate$_handleReturn$2(list, callback) {
  67448. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  67449. },
  67450. _handleReturn$body$_EvaluateVisitor(list, callback) {
  67451. var $async$goto = 0,
  67452. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67453. $async$returnValue, t1, _i, _0_0;
  67454. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67455. if ($async$errorCode === 1)
  67456. return A._asyncRethrow($async$result, $async$completer);
  67457. while (true)
  67458. switch ($async$goto) {
  67459. case 0:
  67460. // Function start
  67461. t1 = list.length, _i = 0;
  67462. case 3:
  67463. // for condition
  67464. if (!(_i < list.length)) {
  67465. // goto after for
  67466. $async$goto = 5;
  67467. break;
  67468. }
  67469. $async$goto = 6;
  67470. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  67471. case 6:
  67472. // returning from await.
  67473. _0_0 = $async$result;
  67474. if (_0_0 != null) {
  67475. $async$returnValue = _0_0;
  67476. // goto return
  67477. $async$goto = 1;
  67478. break;
  67479. }
  67480. case 4:
  67481. // for update
  67482. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  67483. // goto for condition
  67484. $async$goto = 3;
  67485. break;
  67486. case 5:
  67487. // after for
  67488. $async$returnValue = null;
  67489. // goto return
  67490. $async$goto = 1;
  67491. break;
  67492. case 1:
  67493. // return
  67494. return A._asyncReturn($async$returnValue, $async$completer);
  67495. }
  67496. });
  67497. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  67498. },
  67499. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  67500. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  67501. },
  67502. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  67503. var $async$goto = 0,
  67504. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67505. $async$returnValue, $async$self = this, result, oldEnvironment;
  67506. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67507. if ($async$errorCode === 1)
  67508. return A._asyncRethrow($async$result, $async$completer);
  67509. while (true)
  67510. switch ($async$goto) {
  67511. case 0:
  67512. // Function start
  67513. oldEnvironment = $async$self._async_evaluate$_environment;
  67514. $async$self._async_evaluate$_environment = environment;
  67515. $async$goto = 3;
  67516. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  67517. case 3:
  67518. // returning from await.
  67519. result = $async$result;
  67520. $async$self._async_evaluate$_environment = oldEnvironment;
  67521. $async$returnValue = result;
  67522. // goto return
  67523. $async$goto = 1;
  67524. break;
  67525. case 1:
  67526. // return
  67527. return A._asyncReturn($async$returnValue, $async$completer);
  67528. }
  67529. });
  67530. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  67531. },
  67532. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  67533. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  67534. },
  67535. _async_evaluate$_interpolationToValue$1(interpolation) {
  67536. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  67537. },
  67538. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  67539. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  67540. },
  67541. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  67542. var $async$goto = 0,
  67543. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  67544. $async$returnValue, $async$self = this, result, t1;
  67545. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67546. if ($async$errorCode === 1)
  67547. return A._asyncRethrow($async$result, $async$completer);
  67548. while (true)
  67549. switch ($async$goto) {
  67550. case 0:
  67551. // Function start
  67552. $async$goto = 3;
  67553. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  67554. case 3:
  67555. // returning from await.
  67556. result = $async$result;
  67557. t1 = trim ? A.trimAscii(result, true) : result;
  67558. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  67559. // goto return
  67560. $async$goto = 1;
  67561. break;
  67562. case 1:
  67563. // return
  67564. return A._asyncReturn($async$returnValue, $async$completer);
  67565. }
  67566. });
  67567. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  67568. },
  67569. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  67570. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  67571. },
  67572. _async_evaluate$_performInterpolation$1(interpolation) {
  67573. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  67574. },
  67575. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  67576. var $async$goto = 0,
  67577. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67578. $async$returnValue, $async$self = this;
  67579. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67580. if ($async$errorCode === 1)
  67581. return A._asyncRethrow($async$result, $async$completer);
  67582. while (true)
  67583. switch ($async$goto) {
  67584. case 0:
  67585. // Function start
  67586. $async$goto = 3;
  67587. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  67588. case 3:
  67589. // returning from await.
  67590. $async$returnValue = $async$result._0;
  67591. // goto return
  67592. $async$goto = 1;
  67593. break;
  67594. case 1:
  67595. // return
  67596. return A._asyncReturn($async$returnValue, $async$completer);
  67597. }
  67598. });
  67599. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  67600. },
  67601. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  67602. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  67603. },
  67604. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  67605. var $async$goto = 0,
  67606. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  67607. $async$returnValue, $async$self = this, _0_0, result, map;
  67608. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67609. if ($async$errorCode === 1)
  67610. return A._asyncRethrow($async$result, $async$completer);
  67611. while (true)
  67612. switch ($async$goto) {
  67613. case 0:
  67614. // Function start
  67615. $async$goto = 3;
  67616. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  67617. case 3:
  67618. // returning from await.
  67619. _0_0 = $async$result;
  67620. result = _0_0._0;
  67621. map = _0_0._1;
  67622. map.toString;
  67623. $async$returnValue = new A._Record_2(result, map);
  67624. // goto return
  67625. $async$goto = 1;
  67626. break;
  67627. case 1:
  67628. // return
  67629. return A._asyncReturn($async$returnValue, $async$completer);
  67630. }
  67631. });
  67632. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  67633. },
  67634. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  67635. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  67636. },
  67637. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  67638. var $async$goto = 0,
  67639. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  67640. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  67641. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67642. if ($async$errorCode === 1)
  67643. return A._asyncRethrow($async$result, $async$completer);
  67644. while (true)
  67645. switch ($async$goto) {
  67646. case 0:
  67647. // Function start
  67648. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  67649. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67650. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67651. 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 = "";
  67652. case 3:
  67653. // for condition
  67654. if (!(_i < t2)) {
  67655. // goto after for
  67656. $async$goto = 5;
  67657. break;
  67658. }
  67659. value = t1[_i];
  67660. if (!first)
  67661. if (!t4)
  67662. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  67663. if (typeof value == "string") {
  67664. t8 += value;
  67665. // goto for update
  67666. $async$goto = 4;
  67667. break;
  67668. }
  67669. t3._as(value);
  67670. $async$goto = 6;
  67671. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  67672. case 6:
  67673. // returning from await.
  67674. result = $async$result;
  67675. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  67676. t9 = A._setArrayType([""], t5);
  67677. result0 = A.List_List$from(t9, false, t7);
  67678. result0.fixed$length = Array;
  67679. result0.immutable$list = Array;
  67680. result0 = new A.Interpolation(result0, t6);
  67681. result0.Interpolation$2(t9, t6);
  67682. t9 = $.$get$namesByColor();
  67683. $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));
  67684. }
  67685. t8 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  67686. case 4:
  67687. // for update
  67688. ++_i, first = false;
  67689. // goto for condition
  67690. $async$goto = 3;
  67691. break;
  67692. case 5:
  67693. // after for
  67694. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67695. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  67696. // goto return
  67697. $async$goto = 1;
  67698. break;
  67699. case 1:
  67700. // return
  67701. return A._asyncReturn($async$returnValue, $async$completer);
  67702. }
  67703. });
  67704. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  67705. },
  67706. _evaluateToCss$2$quote(expression, quote) {
  67707. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  67708. },
  67709. _evaluateToCss$1(expression) {
  67710. return this._evaluateToCss$2$quote(expression, true);
  67711. },
  67712. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  67713. var $async$goto = 0,
  67714. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67715. $async$returnValue, $async$self = this, t1;
  67716. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67717. if ($async$errorCode === 1)
  67718. return A._asyncRethrow($async$result, $async$completer);
  67719. while (true)
  67720. switch ($async$goto) {
  67721. case 0:
  67722. // Function start
  67723. t1 = expression.accept$1($async$self);
  67724. $async$goto = 3;
  67725. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  67726. case 3:
  67727. // returning from await.
  67728. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  67729. // goto return
  67730. $async$goto = 1;
  67731. break;
  67732. case 1:
  67733. // return
  67734. return A._asyncReturn($async$returnValue, $async$completer);
  67735. }
  67736. });
  67737. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  67738. },
  67739. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  67740. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  67741. },
  67742. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  67743. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  67744. },
  67745. _async_evaluate$_expressionNode$1(expression) {
  67746. var t1;
  67747. if (expression instanceof A.VariableExpression) {
  67748. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  67749. return t1 == null ? expression : t1;
  67750. } else
  67751. return expression;
  67752. },
  67753. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  67754. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  67755. },
  67756. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  67757. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  67758. },
  67759. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  67760. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  67761. },
  67762. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  67763. var $async$goto = 0,
  67764. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67765. $async$returnValue, $async$self = this, t1, result;
  67766. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67767. if ($async$errorCode === 1)
  67768. return A._asyncRethrow($async$result, $async$completer);
  67769. while (true)
  67770. switch ($async$goto) {
  67771. case 0:
  67772. // Function start
  67773. $async$self._async_evaluate$_addChild$2$through(node, through);
  67774. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67775. $async$self._async_evaluate$__parent = node;
  67776. $async$goto = 3;
  67777. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  67778. case 3:
  67779. // returning from await.
  67780. result = $async$result;
  67781. $async$self._async_evaluate$__parent = t1;
  67782. $async$returnValue = result;
  67783. // goto return
  67784. $async$goto = 1;
  67785. break;
  67786. case 1:
  67787. // return
  67788. return A._asyncReturn($async$returnValue, $async$completer);
  67789. }
  67790. });
  67791. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  67792. },
  67793. _async_evaluate$_addChild$2$through(node, through) {
  67794. var _0_0, grandparent, t1,
  67795. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  67796. if (through != null) {
  67797. for (; through.call$1($parent); $parent = _0_0) {
  67798. _0_0 = $parent._parent;
  67799. if (_0_0 == null)
  67800. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  67801. }
  67802. if ($parent.get$hasFollowingSibling()) {
  67803. grandparent = $parent._parent;
  67804. t1 = grandparent.children;
  67805. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  67806. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  67807. else {
  67808. $parent = $parent.copyWithoutChildren$0();
  67809. grandparent.addChild$1($parent);
  67810. }
  67811. }
  67812. }
  67813. $parent.addChild$1(node);
  67814. },
  67815. _async_evaluate$_addChild$1(node) {
  67816. return this._async_evaluate$_addChild$2$through(node, null);
  67817. },
  67818. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  67819. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  67820. },
  67821. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  67822. var $async$goto = 0,
  67823. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67824. $async$returnValue, $async$self = this, result, oldRule;
  67825. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67826. if ($async$errorCode === 1)
  67827. return A._asyncRethrow($async$result, $async$completer);
  67828. while (true)
  67829. switch ($async$goto) {
  67830. case 0:
  67831. // Function start
  67832. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67833. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  67834. $async$goto = 3;
  67835. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  67836. case 3:
  67837. // returning from await.
  67838. result = $async$result;
  67839. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  67840. $async$returnValue = result;
  67841. // goto return
  67842. $async$goto = 1;
  67843. break;
  67844. case 1:
  67845. // return
  67846. return A._asyncReturn($async$returnValue, $async$completer);
  67847. }
  67848. });
  67849. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  67850. },
  67851. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  67852. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  67853. },
  67854. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  67855. var $async$goto = 0,
  67856. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67857. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  67858. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67859. if ($async$errorCode === 1)
  67860. return A._asyncRethrow($async$result, $async$completer);
  67861. while (true)
  67862. switch ($async$goto) {
  67863. case 0:
  67864. // Function start
  67865. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  67866. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  67867. $async$self._async_evaluate$_mediaQueries = queries;
  67868. $async$self._async_evaluate$_mediaQuerySources = sources;
  67869. $async$goto = 3;
  67870. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  67871. case 3:
  67872. // returning from await.
  67873. result = $async$result;
  67874. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  67875. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  67876. $async$returnValue = result;
  67877. // goto return
  67878. $async$goto = 1;
  67879. break;
  67880. case 1:
  67881. // return
  67882. return A._asyncReturn($async$returnValue, $async$completer);
  67883. }
  67884. });
  67885. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  67886. },
  67887. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  67888. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  67889. },
  67890. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  67891. var $async$goto = 0,
  67892. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67893. $async$returnValue, $async$self = this, oldMember, result, t1;
  67894. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67895. if ($async$errorCode === 1)
  67896. return A._asyncRethrow($async$result, $async$completer);
  67897. while (true)
  67898. switch ($async$goto) {
  67899. case 0:
  67900. // Function start
  67901. t1 = $async$self._async_evaluate$_stack;
  67902. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  67903. oldMember = $async$self._async_evaluate$_member;
  67904. $async$self._async_evaluate$_member = member;
  67905. $async$goto = 3;
  67906. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  67907. case 3:
  67908. // returning from await.
  67909. result = $async$result;
  67910. $async$self._async_evaluate$_member = oldMember;
  67911. t1.pop();
  67912. $async$returnValue = result;
  67913. // goto return
  67914. $async$goto = 1;
  67915. break;
  67916. case 1:
  67917. // return
  67918. return A._asyncReturn($async$returnValue, $async$completer);
  67919. }
  67920. });
  67921. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  67922. },
  67923. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  67924. if (value instanceof A.SassNumber && value.asSlash != null && true)
  67925. 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);
  67926. return value.withoutSlash$0();
  67927. },
  67928. _async_evaluate$_stackFrame$2(member, span) {
  67929. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  67930. },
  67931. _async_evaluate$_stackTrace$1(span) {
  67932. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  67933. t1 = A._setArrayType([], type$.JSArray_Frame);
  67934. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67935. t4 = t2[_i];
  67936. nodeWithSpan = t4._1;
  67937. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  67938. }
  67939. if (span != null)
  67940. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  67941. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  67942. },
  67943. _async_evaluate$_stackTrace$0() {
  67944. return this._async_evaluate$_stackTrace$1(null);
  67945. },
  67946. _async_evaluate$_warn$3(message, span, deprecation) {
  67947. var t1, trace, _this = this;
  67948. if (_this._async_evaluate$_quietDeps)
  67949. if (!_this._async_evaluate$_inDependency) {
  67950. t1 = _this._async_evaluate$_currentCallable;
  67951. t1 = t1 == null ? null : t1.inDependency;
  67952. t1 = t1 === true;
  67953. } else
  67954. t1 = true;
  67955. else
  67956. t1 = false;
  67957. if (t1)
  67958. return;
  67959. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  67960. return;
  67961. trace = _this._async_evaluate$_stackTrace$1(span);
  67962. t1 = _this._async_evaluate$_logger;
  67963. if (deprecation == null)
  67964. t1.warn$3$span$trace(0, message, span, trace);
  67965. else
  67966. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  67967. },
  67968. _async_evaluate$_warn$2(message, span) {
  67969. return this._async_evaluate$_warn$3(message, span, null);
  67970. },
  67971. _async_evaluate$_exception$2(message, span) {
  67972. var t1, t2;
  67973. if (span == null) {
  67974. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  67975. t1 = t1.get$span(t1);
  67976. } else
  67977. t1 = span;
  67978. t2 = this._async_evaluate$_stackTrace$1(span);
  67979. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  67980. },
  67981. _async_evaluate$_exception$1(message) {
  67982. return this._async_evaluate$_exception$2(message, null);
  67983. },
  67984. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  67985. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  67986. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  67987. },
  67988. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  67989. var error, stackTrace, t1, exception,
  67990. addStackFrame = true;
  67991. try {
  67992. t1 = callback.call$0();
  67993. return t1;
  67994. } catch (exception) {
  67995. t1 = A.unwrapException(exception);
  67996. if (t1 instanceof A.SassScriptException) {
  67997. error = t1;
  67998. stackTrace = A.getTraceFromException(exception);
  67999. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68000. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68001. } else
  68002. throw exception;
  68003. }
  68004. },
  68005. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  68006. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  68007. },
  68008. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  68009. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  68010. },
  68011. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  68012. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  68013. },
  68014. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  68015. var $async$goto = 0,
  68016. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68017. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  68018. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68019. if ($async$errorCode === 1) {
  68020. $async$currentError = $async$result;
  68021. $async$goto = $async$handler;
  68022. }
  68023. while (true)
  68024. switch ($async$goto) {
  68025. case 0:
  68026. // Function start
  68027. $async$handler = 4;
  68028. t1 = callback.call$0();
  68029. $async$goto = 7;
  68030. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  68031. case 7:
  68032. // returning from await.
  68033. t1 = $async$result;
  68034. $async$returnValue = t1;
  68035. // goto return
  68036. $async$goto = 1;
  68037. break;
  68038. $async$handler = 2;
  68039. // goto after finally
  68040. $async$goto = 6;
  68041. break;
  68042. case 4:
  68043. // catch
  68044. $async$handler = 3;
  68045. $async$exception = $async$currentError;
  68046. t1 = A.unwrapException($async$exception);
  68047. if (t1 instanceof A.SassScriptException) {
  68048. error = t1;
  68049. stackTrace = A.getTraceFromException($async$exception);
  68050. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68051. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68052. } else
  68053. throw $async$exception;
  68054. // goto after finally
  68055. $async$goto = 6;
  68056. break;
  68057. case 3:
  68058. // uncaught
  68059. // goto rethrow
  68060. $async$goto = 2;
  68061. break;
  68062. case 6:
  68063. // after finally
  68064. case 1:
  68065. // return
  68066. return A._asyncReturn($async$returnValue, $async$completer);
  68067. case 2:
  68068. // rethrow
  68069. return A._asyncRethrow($async$currentError, $async$completer);
  68070. }
  68071. });
  68072. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  68073. },
  68074. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  68075. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  68076. },
  68077. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  68078. var $async$goto = 0,
  68079. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68080. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  68081. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68082. if ($async$errorCode === 1) {
  68083. $async$currentError = $async$result;
  68084. $async$goto = $async$handler;
  68085. }
  68086. while (true)
  68087. switch ($async$goto) {
  68088. case 0:
  68089. // Function start
  68090. $async$handler = 4;
  68091. t1 = callback.call$0();
  68092. $async$goto = 7;
  68093. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  68094. case 7:
  68095. // returning from await.
  68096. t1 = $async$result;
  68097. $async$returnValue = t1;
  68098. // goto return
  68099. $async$goto = 1;
  68100. break;
  68101. $async$handler = 2;
  68102. // goto after finally
  68103. $async$goto = 6;
  68104. break;
  68105. case 4:
  68106. // catch
  68107. $async$handler = 3;
  68108. $async$exception = $async$currentError;
  68109. t1 = A.unwrapException($async$exception);
  68110. if (type$.SassRuntimeException._is(t1))
  68111. throw $async$exception;
  68112. else if (t1 instanceof A.SassException) {
  68113. error = t1;
  68114. stackTrace = A.getTraceFromException($async$exception);
  68115. t1 = error;
  68116. t2 = J.getInterceptor$z(t1);
  68117. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  68118. } else
  68119. throw $async$exception;
  68120. // goto after finally
  68121. $async$goto = 6;
  68122. break;
  68123. case 3:
  68124. // uncaught
  68125. // goto rethrow
  68126. $async$goto = 2;
  68127. break;
  68128. case 6:
  68129. // after finally
  68130. case 1:
  68131. // return
  68132. return A._asyncReturn($async$returnValue, $async$completer);
  68133. case 2:
  68134. // rethrow
  68135. return A._asyncRethrow($async$currentError, $async$completer);
  68136. }
  68137. });
  68138. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  68139. },
  68140. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  68141. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  68142. },
  68143. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  68144. var $async$goto = 0,
  68145. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68146. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  68147. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68148. if ($async$errorCode === 1) {
  68149. $async$currentError = $async$result;
  68150. $async$goto = $async$handler;
  68151. }
  68152. while (true)
  68153. switch ($async$goto) {
  68154. case 0:
  68155. // Function start
  68156. $async$handler = 4;
  68157. $async$goto = 7;
  68158. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  68159. case 7:
  68160. // returning from await.
  68161. t1 = $async$result;
  68162. $async$returnValue = t1;
  68163. // goto return
  68164. $async$goto = 1;
  68165. break;
  68166. $async$handler = 2;
  68167. // goto after finally
  68168. $async$goto = 6;
  68169. break;
  68170. case 4:
  68171. // catch
  68172. $async$handler = 3;
  68173. $async$exception = $async$currentError;
  68174. t1 = A.unwrapException($async$exception);
  68175. if (type$.SassRuntimeException._is(t1)) {
  68176. error = t1;
  68177. stackTrace = A.getTraceFromException($async$exception);
  68178. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  68179. throw $async$exception;
  68180. t1 = error._span_exception$_message;
  68181. t2 = nodeWithSpan.get$span(nodeWithSpan);
  68182. t3 = $async$self._async_evaluate$_stackTrace$0();
  68183. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  68184. } else
  68185. throw $async$exception;
  68186. // goto after finally
  68187. $async$goto = 6;
  68188. break;
  68189. case 3:
  68190. // uncaught
  68191. // goto rethrow
  68192. $async$goto = 2;
  68193. break;
  68194. case 6:
  68195. // after finally
  68196. case 1:
  68197. // return
  68198. return A._asyncReturn($async$returnValue, $async$completer);
  68199. case 2:
  68200. // rethrow
  68201. return A._asyncRethrow($async$currentError, $async$completer);
  68202. }
  68203. });
  68204. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  68205. }
  68206. };
  68207. A._EvaluateVisitor_closure12.prototype = {
  68208. call$1($arguments) {
  68209. var module, t2,
  68210. t1 = J.getInterceptor$asx($arguments),
  68211. variable = t1.$index($arguments, 0).assertString$1("name");
  68212. t1 = t1.$index($arguments, 1).get$realNull();
  68213. module = t1 == null ? null : t1.assertString$1("module");
  68214. t1 = this.$this._async_evaluate$_environment;
  68215. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68216. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  68217. },
  68218. $signature: 21
  68219. };
  68220. A._EvaluateVisitor_closure13.prototype = {
  68221. call$1($arguments) {
  68222. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  68223. t1 = this.$this._async_evaluate$_environment;
  68224. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68225. },
  68226. $signature: 21
  68227. };
  68228. A._EvaluateVisitor_closure14.prototype = {
  68229. call$1($arguments) {
  68230. var module, t2, t3, t4,
  68231. t1 = J.getInterceptor$asx($arguments),
  68232. variable = t1.$index($arguments, 0).assertString$1("name");
  68233. t1 = t1.$index($arguments, 1).get$realNull();
  68234. module = t1 == null ? null : t1.assertString$1("module");
  68235. t1 = this.$this;
  68236. t2 = t1._async_evaluate$_environment;
  68237. t3 = variable._string$_text;
  68238. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  68239. 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;
  68240. },
  68241. $signature: 21
  68242. };
  68243. A._EvaluateVisitor_closure15.prototype = {
  68244. call$1($arguments) {
  68245. var module, t2,
  68246. t1 = J.getInterceptor$asx($arguments),
  68247. variable = t1.$index($arguments, 0).assertString$1("name");
  68248. t1 = t1.$index($arguments, 1).get$realNull();
  68249. module = t1 == null ? null : t1.assertString$1("module");
  68250. t1 = this.$this._async_evaluate$_environment;
  68251. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68252. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68253. },
  68254. $signature: 21
  68255. };
  68256. A._EvaluateVisitor_closure16.prototype = {
  68257. call$1($arguments) {
  68258. var t1 = this.$this._async_evaluate$_environment;
  68259. if (!t1._async_environment$_inMixin)
  68260. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  68261. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  68262. },
  68263. $signature: 21
  68264. };
  68265. A._EvaluateVisitor_closure17.prototype = {
  68266. call$1($arguments) {
  68267. var t2, t3, t4,
  68268. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68269. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68270. if (module == null)
  68271. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68272. t1 = type$.Value;
  68273. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68274. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68275. t4 = t3.get$current(t3);
  68276. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  68277. }
  68278. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68279. },
  68280. $signature: 34
  68281. };
  68282. A._EvaluateVisitor_closure18.prototype = {
  68283. call$1($arguments) {
  68284. var t2, t3, t4,
  68285. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68286. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68287. if (module == null)
  68288. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68289. t1 = type$.Value;
  68290. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68291. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68292. t4 = t3.get$current(t3);
  68293. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  68294. }
  68295. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68296. },
  68297. $signature: 34
  68298. };
  68299. A._EvaluateVisitor_closure19.prototype = {
  68300. call$1($arguments) {
  68301. var t2, t3, t4,
  68302. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68303. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68304. if (module == null)
  68305. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68306. t1 = type$.Value;
  68307. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68308. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68309. t4 = t3.get$current(t3);
  68310. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  68311. }
  68312. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68313. },
  68314. $signature: 34
  68315. };
  68316. A._EvaluateVisitor_closure20.prototype = {
  68317. call$1($arguments) {
  68318. var module, t2, callable,
  68319. t1 = J.getInterceptor$asx($arguments),
  68320. $name = t1.$index($arguments, 0).assertString$1("name"),
  68321. css = t1.$index($arguments, 1).get$isTruthy();
  68322. t1 = t1.$index($arguments, 2).get$realNull();
  68323. module = t1 == null ? null : t1.assertString$1("module");
  68324. if (css) {
  68325. if (module != null)
  68326. throw A.wrapException(string$.x24css_a);
  68327. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  68328. }
  68329. t1 = this.$this;
  68330. t2 = t1._async_evaluate$_callableNode;
  68331. t2.toString;
  68332. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  68333. if (callable == null)
  68334. throw A.wrapException("Function not found: " + $name.toString$0(0));
  68335. return new A.SassFunction(callable);
  68336. },
  68337. $signature: 212
  68338. };
  68339. A._EvaluateVisitor__closure6.prototype = {
  68340. call$0() {
  68341. var local,
  68342. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68343. t1 = this.module,
  68344. namespace = t1 == null ? null : t1._string$_text;
  68345. t1 = this.$this;
  68346. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  68347. if (local != null || namespace != null)
  68348. return local;
  68349. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  68350. },
  68351. $signature: 84
  68352. };
  68353. A._EvaluateVisitor_closure21.prototype = {
  68354. call$1($arguments) {
  68355. var module, t2, callable,
  68356. t1 = J.getInterceptor$asx($arguments),
  68357. $name = t1.$index($arguments, 0).assertString$1("name");
  68358. t1 = t1.$index($arguments, 1).get$realNull();
  68359. module = t1 == null ? null : t1.assertString$1("module");
  68360. t1 = this.$this;
  68361. t2 = t1._async_evaluate$_callableNode;
  68362. t2.toString;
  68363. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  68364. if (callable == null)
  68365. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  68366. return new A.SassMixin(callable);
  68367. },
  68368. $signature: 214
  68369. };
  68370. A._EvaluateVisitor__closure5.prototype = {
  68371. call$0() {
  68372. var t1 = this.$this._async_evaluate$_environment,
  68373. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68374. t3 = this.module;
  68375. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  68376. },
  68377. $signature: 84
  68378. };
  68379. A._EvaluateVisitor_closure22.prototype = {
  68380. call$1($arguments) {
  68381. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  68382. },
  68383. $call$body$_EvaluateVisitor_closure1($arguments) {
  68384. var $async$goto = 0,
  68385. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68386. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  68387. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68388. if ($async$errorCode === 1)
  68389. return A._asyncRethrow($async$result, $async$completer);
  68390. while (true)
  68391. switch ($async$goto) {
  68392. case 0:
  68393. // Function start
  68394. t1 = J.getInterceptor$asx($arguments);
  68395. $function = t1.$index($arguments, 0);
  68396. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68397. t1 = $async$self.$this;
  68398. t2 = t1._async_evaluate$_callableNode;
  68399. t2.toString;
  68400. t3 = A._setArrayType([], type$.JSArray_Expression);
  68401. t4 = type$.String;
  68402. t5 = type$.Expression;
  68403. t6 = t2.get$span(t2);
  68404. t7 = t2.get$span(t2);
  68405. args._wereKeywordsAccessed = true;
  68406. t8 = args._keywords;
  68407. if (t8.get$isEmpty(t8))
  68408. t2 = null;
  68409. else {
  68410. t9 = type$.Value;
  68411. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  68412. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  68413. t11 = t8.get$current(t8);
  68414. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  68415. }
  68416. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  68417. }
  68418. 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);
  68419. $async$goto = $function instanceof A.SassString ? 3 : 4;
  68420. break;
  68421. case 3:
  68422. // then
  68423. t2 = $function.toString$0(0);
  68424. A.EvaluationContext_current().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_qVK);
  68425. callableNode = t1._async_evaluate$_callableNode;
  68426. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  68427. $async$goto = 5;
  68428. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  68429. case 5:
  68430. // returning from await.
  68431. $async$returnValue = $async$result;
  68432. // goto return
  68433. $async$goto = 1;
  68434. break;
  68435. case 4:
  68436. // join
  68437. t2 = $function.assertFunction$1("function");
  68438. t3 = t1._async_evaluate$_callableNode;
  68439. t3.toString;
  68440. $async$goto = 6;
  68441. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  68442. case 6:
  68443. // returning from await.
  68444. t3 = $async$result;
  68445. $async$returnValue = t3;
  68446. // goto return
  68447. $async$goto = 1;
  68448. break;
  68449. case 1:
  68450. // return
  68451. return A._asyncReturn($async$returnValue, $async$completer);
  68452. }
  68453. });
  68454. return A._asyncStartSync($async$call$1, $async$completer);
  68455. },
  68456. $signature: 218
  68457. };
  68458. A._EvaluateVisitor_closure23.prototype = {
  68459. call$1($arguments) {
  68460. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  68461. },
  68462. $call$body$_EvaluateVisitor_closure0($arguments) {
  68463. var $async$goto = 0,
  68464. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68465. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  68466. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68467. if ($async$errorCode === 1)
  68468. return A._asyncRethrow($async$result, $async$completer);
  68469. while (true)
  68470. switch ($async$goto) {
  68471. case 0:
  68472. // Function start
  68473. t1 = J.getInterceptor$asx($arguments);
  68474. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  68475. t1 = t1.$index($arguments, 1).get$realNull();
  68476. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  68477. t1 = $async$self.$this;
  68478. t2 = t1._async_evaluate$_callableNode;
  68479. t2.toString;
  68480. if (withMap != null) {
  68481. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  68482. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  68483. configuration = new A.ExplicitConfiguration(t2, values, null);
  68484. } else
  68485. configuration = B.Configuration_Map_empty_null;
  68486. t3 = t2.get$span(t2);
  68487. $async$goto = 2;
  68488. 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);
  68489. case 2:
  68490. // returning from await.
  68491. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  68492. // implicit return
  68493. return A._asyncReturn(null, $async$completer);
  68494. }
  68495. });
  68496. return A._asyncStartSync($async$call$1, $async$completer);
  68497. },
  68498. $signature: 215
  68499. };
  68500. A._EvaluateVisitor__closure3.prototype = {
  68501. call$2(variable, value) {
  68502. var t1 = variable.assertString$1("with key"),
  68503. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  68504. t1 = this.values;
  68505. if (t1.containsKey$1($name))
  68506. throw A.wrapException("The variable $" + $name + " was configured twice.");
  68507. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  68508. },
  68509. $signature: 85
  68510. };
  68511. A._EvaluateVisitor__closure4.prototype = {
  68512. call$2(module, _) {
  68513. var t1 = this.$this;
  68514. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  68515. },
  68516. $signature: 315
  68517. };
  68518. A._EvaluateVisitor_closure24.prototype = {
  68519. call$1($arguments) {
  68520. return this.$call$body$_EvaluateVisitor_closure($arguments);
  68521. },
  68522. $call$body$_EvaluateVisitor_closure($arguments) {
  68523. var $async$goto = 0,
  68524. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68525. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  68526. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68527. if ($async$errorCode === 1)
  68528. return A._asyncRethrow($async$result, $async$completer);
  68529. while (true)
  68530. switch ($async$goto) {
  68531. case 0:
  68532. // Function start
  68533. t1 = J.getInterceptor$asx($arguments);
  68534. mixin = t1.$index($arguments, 0);
  68535. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68536. t1 = $async$self.$this;
  68537. callableNode = t1._async_evaluate$_callableNode;
  68538. t2 = callableNode.get$span(callableNode);
  68539. t3 = callableNode.get$span(callableNode);
  68540. t4 = type$.Expression;
  68541. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  68542. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  68543. $async$goto = 2;
  68544. 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);
  68545. case 2:
  68546. // returning from await.
  68547. // implicit return
  68548. return A._asyncReturn(null, $async$completer);
  68549. }
  68550. });
  68551. return A._asyncStartSync($async$call$1, $async$completer);
  68552. },
  68553. $signature: 215
  68554. };
  68555. A._EvaluateVisitor_run_closure0.prototype = {
  68556. call$0() {
  68557. var $async$goto = 0,
  68558. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  68559. $async$returnValue, $async$self = this, module, url, t1, t2, _0_0;
  68560. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68561. if ($async$errorCode === 1)
  68562. return A._asyncRethrow($async$result, $async$completer);
  68563. while (true)
  68564. switch ($async$goto) {
  68565. case 0:
  68566. // Function start
  68567. url = null;
  68568. t1 = $async$self.node;
  68569. t2 = t1.span;
  68570. _0_0 = t2.get$sourceUrl(t2);
  68571. if (_0_0 != null) {
  68572. url = _0_0;
  68573. t2 = $async$self.$this;
  68574. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  68575. t2._async_evaluate$_loadedUrls.add$1(0, url);
  68576. }
  68577. t2 = $async$self.$this;
  68578. $async$goto = 3;
  68579. 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);
  68580. case 3:
  68581. // returning from await.
  68582. module = $async$result;
  68583. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  68584. // goto return
  68585. $async$goto = 1;
  68586. break;
  68587. case 1:
  68588. // return
  68589. return A._asyncReturn($async$returnValue, $async$completer);
  68590. }
  68591. });
  68592. return A._asyncStartSync($async$call$0, $async$completer);
  68593. },
  68594. $signature: 314
  68595. };
  68596. A._EvaluateVisitor_run__closure0.prototype = {
  68597. call$0() {
  68598. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  68599. },
  68600. $signature: 313
  68601. };
  68602. A._EvaluateVisitor__loadModule_closure1.prototype = {
  68603. call$0() {
  68604. return this.callback.call$2(this._box_1.builtInModule, false);
  68605. },
  68606. $signature: 0
  68607. };
  68608. A._EvaluateVisitor__loadModule_closure2.prototype = {
  68609. call$0() {
  68610. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  68611. },
  68612. $call$body$_EvaluateVisitor__loadModule_closure() {
  68613. var $async$goto = 0,
  68614. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68615. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  68616. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68617. if ($async$errorCode === 1) {
  68618. $async$currentError = $async$result;
  68619. $async$goto = $async$handler;
  68620. }
  68621. while (true)
  68622. switch ($async$goto) {
  68623. case 0:
  68624. // Function start
  68625. t1 = {};
  68626. stylesheet = null;
  68627. importer = null;
  68628. t2 = $async$self.$this;
  68629. t3 = $async$self.nodeWithSpan;
  68630. $async$goto = 2;
  68631. 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);
  68632. case 2:
  68633. // returning from await.
  68634. _1_0 = $async$result;
  68635. stylesheet = _1_0._0;
  68636. importer = _1_0._1;
  68637. isDependency = _1_0._2;
  68638. t4 = stylesheet.span;
  68639. canonicalUrl = t4.get$sourceUrl(t4);
  68640. if (canonicalUrl != null) {
  68641. t4 = t2._async_evaluate$_activeModules;
  68642. if (t4.containsKey$1(canonicalUrl)) {
  68643. if ($async$self.namesInErrors) {
  68644. t1 = canonicalUrl;
  68645. t3 = $.$get$context();
  68646. t1.toString;
  68647. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  68648. } else
  68649. message = string$.Modulel;
  68650. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  68651. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  68652. } else
  68653. t4.$indexSet(0, canonicalUrl, t3);
  68654. }
  68655. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  68656. oldInDependency = t2._async_evaluate$_inDependency;
  68657. t2._async_evaluate$_inDependency = isDependency;
  68658. t1.module = null;
  68659. $async$handler = 3;
  68660. $async$temp1 = t1;
  68661. $async$goto = 6;
  68662. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  68663. case 6:
  68664. // returning from await.
  68665. $async$temp1.module = $async$result;
  68666. $async$next.push(5);
  68667. // goto finally
  68668. $async$goto = 4;
  68669. break;
  68670. case 3:
  68671. // uncaught
  68672. $async$next = [1];
  68673. case 4:
  68674. // finally
  68675. $async$handler = 1;
  68676. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  68677. t2._async_evaluate$_inDependency = oldInDependency;
  68678. // goto the next finally handler
  68679. $async$goto = $async$next.pop();
  68680. break;
  68681. case 5:
  68682. // after finally
  68683. $async$goto = 7;
  68684. 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);
  68685. case 7:
  68686. // returning from await.
  68687. // implicit return
  68688. return A._asyncReturn(null, $async$completer);
  68689. case 1:
  68690. // rethrow
  68691. return A._asyncRethrow($async$currentError, $async$completer);
  68692. }
  68693. });
  68694. return A._asyncStartSync($async$call$0, $async$completer);
  68695. },
  68696. $signature: 2
  68697. };
  68698. A._EvaluateVisitor__loadModule__closure1.prototype = {
  68699. call$1(previousLoad) {
  68700. 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));
  68701. },
  68702. $signature: 88
  68703. };
  68704. A._EvaluateVisitor__loadModule__closure2.prototype = {
  68705. call$0() {
  68706. return this.callback.call$2(this._box_0.module, this.firstLoad);
  68707. },
  68708. $signature: 0
  68709. };
  68710. A._EvaluateVisitor__execute_closure0.prototype = {
  68711. call$0() {
  68712. var $async$goto = 0,
  68713. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68714. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  68715. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68716. if ($async$errorCode === 1)
  68717. return A._asyncRethrow($async$result, $async$completer);
  68718. while (true)
  68719. switch ($async$goto) {
  68720. case 0:
  68721. // Function start
  68722. t1 = $async$self.$this;
  68723. oldImporter = t1._async_evaluate$_importer;
  68724. oldStylesheet = t1._async_evaluate$__stylesheet;
  68725. oldRoot = t1._async_evaluate$__root;
  68726. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  68727. oldParent = t1._async_evaluate$__parent;
  68728. oldEndOfImports = t1._async_evaluate$__endOfImports;
  68729. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  68730. oldExtensionStore = t1._async_evaluate$__extensionStore;
  68731. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  68732. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  68733. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  68734. oldDeclarationName = t1._async_evaluate$_declarationName;
  68735. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  68736. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  68737. oldConfiguration = t1._async_evaluate$_configuration;
  68738. t1._async_evaluate$_importer = $async$self.importer;
  68739. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  68740. t4 = t3.span;
  68741. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  68742. t1._async_evaluate$__endOfImports = 0;
  68743. t1._async_evaluate$_outOfOrderImports = null;
  68744. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  68745. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  68746. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  68747. t6 = $async$self.configuration;
  68748. if (t6 != null)
  68749. t1._async_evaluate$_configuration = t6;
  68750. $async$goto = 2;
  68751. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  68752. case 2:
  68753. // returning from await.
  68754. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  68755. $async$self.css._value = t3;
  68756. $async$self.preModuleComments._value = t1._async_evaluate$_preModuleComments;
  68757. t1._async_evaluate$_importer = oldImporter;
  68758. t1._async_evaluate$__stylesheet = oldStylesheet;
  68759. t1._async_evaluate$__root = oldRoot;
  68760. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  68761. t1._async_evaluate$__parent = oldParent;
  68762. t1._async_evaluate$__endOfImports = oldEndOfImports;
  68763. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  68764. t1._async_evaluate$__extensionStore = oldExtensionStore;
  68765. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  68766. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  68767. t1._async_evaluate$_declarationName = oldDeclarationName;
  68768. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  68769. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  68770. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  68771. t1._async_evaluate$_configuration = oldConfiguration;
  68772. // implicit return
  68773. return A._asyncReturn(null, $async$completer);
  68774. }
  68775. });
  68776. return A._asyncStartSync($async$call$0, $async$completer);
  68777. },
  68778. $signature: 2
  68779. };
  68780. A._EvaluateVisitor__combineCss_closure1.prototype = {
  68781. call$1(module) {
  68782. return module.get$transitivelyContainsCss();
  68783. },
  68784. $signature: 127
  68785. };
  68786. A._EvaluateVisitor__combineCss_closure2.prototype = {
  68787. call$1(target) {
  68788. return !this.selectors.contains$1(0, target);
  68789. },
  68790. $signature: 15
  68791. };
  68792. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  68793. call$1(module) {
  68794. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  68795. if (!_this.seen.add$1(0, module))
  68796. return;
  68797. if (_this.clone)
  68798. module = module.cloneCss$0();
  68799. 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) {
  68800. upstream = t1[_i];
  68801. if (upstream.get$transitivelyContainsCss()) {
  68802. _1_0 = module.get$preModuleComments().$index(0, upstream);
  68803. if (_1_0 != null)
  68804. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  68805. _this.call$1(upstream);
  68806. }
  68807. }
  68808. _this.sorted.addFirst$1(module);
  68809. t1 = module.get$css(module);
  68810. statements = t1.get$children(t1);
  68811. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  68812. t1 = J.getInterceptor$ax(statements);
  68813. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  68814. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  68815. },
  68816. $signature: 312
  68817. };
  68818. A._EvaluateVisitor__extendModules_closure1.prototype = {
  68819. call$1(target) {
  68820. return !this.originalSelectors.contains$1(0, target);
  68821. },
  68822. $signature: 15
  68823. };
  68824. A._EvaluateVisitor__extendModules_closure2.prototype = {
  68825. call$0() {
  68826. return A._setArrayType([], type$.JSArray_ExtensionStore);
  68827. },
  68828. $signature: 222
  68829. };
  68830. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  68831. call$0() {
  68832. var $async$goto = 0,
  68833. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68834. $async$self = this, t1, t2, t3, _i;
  68835. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68836. if ($async$errorCode === 1)
  68837. return A._asyncRethrow($async$result, $async$completer);
  68838. while (true)
  68839. switch ($async$goto) {
  68840. case 0:
  68841. // Function start
  68842. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68843. case 2:
  68844. // for condition
  68845. if (!(_i < t2)) {
  68846. // goto after for
  68847. $async$goto = 4;
  68848. break;
  68849. }
  68850. $async$goto = 5;
  68851. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68852. case 5:
  68853. // returning from await.
  68854. case 3:
  68855. // for update
  68856. ++_i;
  68857. // goto for condition
  68858. $async$goto = 2;
  68859. break;
  68860. case 4:
  68861. // after for
  68862. // implicit return
  68863. return A._asyncReturn(null, $async$completer);
  68864. }
  68865. });
  68866. return A._asyncStartSync($async$call$0, $async$completer);
  68867. },
  68868. $signature: 2
  68869. };
  68870. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  68871. call$0() {
  68872. var $async$goto = 0,
  68873. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68874. $async$self = this, t1, t2, t3, _i;
  68875. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68876. if ($async$errorCode === 1)
  68877. return A._asyncRethrow($async$result, $async$completer);
  68878. while (true)
  68879. switch ($async$goto) {
  68880. case 0:
  68881. // Function start
  68882. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68883. case 2:
  68884. // for condition
  68885. if (!(_i < t2)) {
  68886. // goto after for
  68887. $async$goto = 4;
  68888. break;
  68889. }
  68890. $async$goto = 5;
  68891. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68892. case 5:
  68893. // returning from await.
  68894. case 3:
  68895. // for update
  68896. ++_i;
  68897. // goto for condition
  68898. $async$goto = 2;
  68899. break;
  68900. case 4:
  68901. // after for
  68902. // implicit return
  68903. return A._asyncReturn(null, $async$completer);
  68904. }
  68905. });
  68906. return A._asyncStartSync($async$call$0, $async$completer);
  68907. },
  68908. $signature: 24
  68909. };
  68910. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  68911. call$1(callback) {
  68912. var $async$goto = 0,
  68913. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68914. $async$self = this, t1, t2;
  68915. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68916. if ($async$errorCode === 1)
  68917. return A._asyncRethrow($async$result, $async$completer);
  68918. while (true)
  68919. switch ($async$goto) {
  68920. case 0:
  68921. // Function start
  68922. t1 = $async$self.$this;
  68923. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  68924. t1._async_evaluate$__parent = $async$self.newParent;
  68925. $async$goto = 2;
  68926. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  68927. case 2:
  68928. // returning from await.
  68929. t1._async_evaluate$__parent = t2;
  68930. // implicit return
  68931. return A._asyncReturn(null, $async$completer);
  68932. }
  68933. });
  68934. return A._asyncStartSync($async$call$1, $async$completer);
  68935. },
  68936. $signature: 38
  68937. };
  68938. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  68939. call$1(callback) {
  68940. var $async$goto = 0,
  68941. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68942. $async$self = this, t1, oldAtRootExcludingStyleRule;
  68943. var $async$call$1 = 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. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  68952. t1._async_evaluate$_atRootExcludingStyleRule = true;
  68953. $async$goto = 2;
  68954. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  68955. case 2:
  68956. // returning from await.
  68957. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  68958. // implicit return
  68959. return A._asyncReturn(null, $async$completer);
  68960. }
  68961. });
  68962. return A._asyncStartSync($async$call$1, $async$completer);
  68963. },
  68964. $signature: 38
  68965. };
  68966. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  68967. call$1(callback) {
  68968. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  68969. },
  68970. $signature: 38
  68971. };
  68972. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  68973. call$0() {
  68974. return this.innerScope.call$1(this.callback);
  68975. },
  68976. $signature: 2
  68977. };
  68978. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  68979. call$1(callback) {
  68980. var $async$goto = 0,
  68981. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68982. $async$self = this, t1, wasInKeyframes;
  68983. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68984. if ($async$errorCode === 1)
  68985. return A._asyncRethrow($async$result, $async$completer);
  68986. while (true)
  68987. switch ($async$goto) {
  68988. case 0:
  68989. // Function start
  68990. t1 = $async$self.$this;
  68991. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  68992. t1._async_evaluate$_inKeyframes = false;
  68993. $async$goto = 2;
  68994. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  68995. case 2:
  68996. // returning from await.
  68997. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  68998. // implicit return
  68999. return A._asyncReturn(null, $async$completer);
  69000. }
  69001. });
  69002. return A._asyncStartSync($async$call$1, $async$completer);
  69003. },
  69004. $signature: 38
  69005. };
  69006. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  69007. call$1($parent) {
  69008. return $parent instanceof A.ModifiableCssAtRule;
  69009. },
  69010. $signature: 224
  69011. };
  69012. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  69013. call$1(callback) {
  69014. var $async$goto = 0,
  69015. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69016. $async$self = this, t1, wasInUnknownAtRule;
  69017. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69018. if ($async$errorCode === 1)
  69019. return A._asyncRethrow($async$result, $async$completer);
  69020. while (true)
  69021. switch ($async$goto) {
  69022. case 0:
  69023. // Function start
  69024. t1 = $async$self.$this;
  69025. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  69026. t1._async_evaluate$_inUnknownAtRule = false;
  69027. $async$goto = 2;
  69028. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69029. case 2:
  69030. // returning from await.
  69031. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  69032. // implicit return
  69033. return A._asyncReturn(null, $async$completer);
  69034. }
  69035. });
  69036. return A._asyncStartSync($async$call$1, $async$completer);
  69037. },
  69038. $signature: 38
  69039. };
  69040. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  69041. call$0() {
  69042. var $async$goto = 0,
  69043. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69044. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  69045. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69046. if ($async$errorCode === 1)
  69047. return A._asyncRethrow($async$result, $async$completer);
  69048. while (true)
  69049. switch ($async$goto) {
  69050. case 0:
  69051. // Function start
  69052. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69053. case 3:
  69054. // for condition
  69055. if (!(_i < t2)) {
  69056. // goto after for
  69057. $async$goto = 5;
  69058. break;
  69059. }
  69060. $async$goto = 6;
  69061. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69062. case 6:
  69063. // returning from await.
  69064. case 4:
  69065. // for update
  69066. ++_i;
  69067. // goto for condition
  69068. $async$goto = 3;
  69069. break;
  69070. case 5:
  69071. // after for
  69072. $async$returnValue = null;
  69073. // goto return
  69074. $async$goto = 1;
  69075. break;
  69076. case 1:
  69077. // return
  69078. return A._asyncReturn($async$returnValue, $async$completer);
  69079. }
  69080. });
  69081. return A._asyncStartSync($async$call$0, $async$completer);
  69082. },
  69083. $signature: 2
  69084. };
  69085. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  69086. call$0() {
  69087. var $async$goto = 0,
  69088. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69089. $async$self = this, t1, t2, t3, _i;
  69090. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69091. if ($async$errorCode === 1)
  69092. return A._asyncRethrow($async$result, $async$completer);
  69093. while (true)
  69094. switch ($async$goto) {
  69095. case 0:
  69096. // Function start
  69097. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69098. case 2:
  69099. // for condition
  69100. if (!(_i < t2)) {
  69101. // goto after for
  69102. $async$goto = 4;
  69103. break;
  69104. }
  69105. $async$goto = 5;
  69106. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69107. case 5:
  69108. // returning from await.
  69109. case 3:
  69110. // for update
  69111. ++_i;
  69112. // goto for condition
  69113. $async$goto = 2;
  69114. break;
  69115. case 4:
  69116. // after for
  69117. // implicit return
  69118. return A._asyncReturn(null, $async$completer);
  69119. }
  69120. });
  69121. return A._asyncStartSync($async$call$0, $async$completer);
  69122. },
  69123. $signature: 2
  69124. };
  69125. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  69126. call$1(value) {
  69127. var t1 = this.$this,
  69128. t2 = this.nodeWithSpan;
  69129. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  69130. },
  69131. $signature: 58
  69132. };
  69133. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  69134. call$1(value) {
  69135. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  69136. },
  69137. $signature: 58
  69138. };
  69139. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  69140. call$0() {
  69141. var _this = this,
  69142. t1 = _this.$this;
  69143. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  69144. },
  69145. $signature: 70
  69146. };
  69147. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  69148. call$1(element) {
  69149. var t1;
  69150. this.setVariables.call$1(element);
  69151. t1 = this.$this;
  69152. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  69153. },
  69154. $signature: 310
  69155. };
  69156. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  69157. call$1(child) {
  69158. return child.accept$1(this.$this);
  69159. },
  69160. $signature: 92
  69161. };
  69162. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  69163. call$1(value) {
  69164. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  69165. },
  69166. $signature: 309
  69167. };
  69168. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  69169. call$0() {
  69170. var $async$goto = 0,
  69171. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69172. $async$self = this, t2, t3, _i, t1, styleRule;
  69173. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69174. if ($async$errorCode === 1)
  69175. return A._asyncRethrow($async$result, $async$completer);
  69176. while (true)
  69177. switch ($async$goto) {
  69178. case 0:
  69179. // Function start
  69180. t1 = $async$self.$this;
  69181. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  69182. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  69183. break;
  69184. case 2:
  69185. // then
  69186. t2 = $async$self.children, t3 = t2.length, _i = 0;
  69187. case 5:
  69188. // for condition
  69189. if (!(_i < t3)) {
  69190. // goto after for
  69191. $async$goto = 7;
  69192. break;
  69193. }
  69194. $async$goto = 8;
  69195. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  69196. case 8:
  69197. // returning from await.
  69198. case 6:
  69199. // for update
  69200. ++_i;
  69201. // goto for condition
  69202. $async$goto = 5;
  69203. break;
  69204. case 7:
  69205. // after for
  69206. // goto join
  69207. $async$goto = 3;
  69208. break;
  69209. case 4:
  69210. // else
  69211. $async$goto = 9;
  69212. 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);
  69213. case 9:
  69214. // returning from await.
  69215. case 3:
  69216. // join
  69217. // implicit return
  69218. return A._asyncReturn(null, $async$completer);
  69219. }
  69220. });
  69221. return A._asyncStartSync($async$call$0, $async$completer);
  69222. },
  69223. $signature: 2
  69224. };
  69225. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  69226. call$0() {
  69227. var $async$goto = 0,
  69228. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69229. $async$self = this, t1, t2, t3, _i;
  69230. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69231. if ($async$errorCode === 1)
  69232. return A._asyncRethrow($async$result, $async$completer);
  69233. while (true)
  69234. switch ($async$goto) {
  69235. case 0:
  69236. // Function start
  69237. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69238. case 2:
  69239. // for condition
  69240. if (!(_i < t2)) {
  69241. // goto after for
  69242. $async$goto = 4;
  69243. break;
  69244. }
  69245. $async$goto = 5;
  69246. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69247. case 5:
  69248. // returning from await.
  69249. case 3:
  69250. // for update
  69251. ++_i;
  69252. // goto for condition
  69253. $async$goto = 2;
  69254. break;
  69255. case 4:
  69256. // after for
  69257. // implicit return
  69258. return A._asyncReturn(null, $async$completer);
  69259. }
  69260. });
  69261. return A._asyncStartSync($async$call$0, $async$completer);
  69262. },
  69263. $signature: 2
  69264. };
  69265. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  69266. call$1(node) {
  69267. return node instanceof A.ModifiableCssStyleRule;
  69268. },
  69269. $signature: 7
  69270. };
  69271. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  69272. call$0() {
  69273. var $async$goto = 0,
  69274. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69275. $async$returnValue, $async$self = this;
  69276. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69277. if ($async$errorCode === 1)
  69278. return A._asyncRethrow($async$result, $async$completer);
  69279. while (true)
  69280. switch ($async$goto) {
  69281. case 0:
  69282. // Function start
  69283. $async$goto = 3;
  69284. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  69285. case 3:
  69286. // returning from await.
  69287. $async$returnValue = $async$result.assertNumber$0();
  69288. // goto return
  69289. $async$goto = 1;
  69290. break;
  69291. case 1:
  69292. // return
  69293. return A._asyncReturn($async$returnValue, $async$completer);
  69294. }
  69295. });
  69296. return A._asyncStartSync($async$call$0, $async$completer);
  69297. },
  69298. $signature: 231
  69299. };
  69300. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  69301. call$0() {
  69302. var $async$goto = 0,
  69303. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69304. $async$returnValue, $async$self = this;
  69305. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69306. if ($async$errorCode === 1)
  69307. return A._asyncRethrow($async$result, $async$completer);
  69308. while (true)
  69309. switch ($async$goto) {
  69310. case 0:
  69311. // Function start
  69312. $async$goto = 3;
  69313. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  69314. case 3:
  69315. // returning from await.
  69316. $async$returnValue = $async$result.assertNumber$0();
  69317. // goto return
  69318. $async$goto = 1;
  69319. break;
  69320. case 1:
  69321. // return
  69322. return A._asyncReturn($async$returnValue, $async$completer);
  69323. }
  69324. });
  69325. return A._asyncStartSync($async$call$0, $async$completer);
  69326. },
  69327. $signature: 231
  69328. };
  69329. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  69330. call$0() {
  69331. return this.fromNumber.assertInt$0();
  69332. },
  69333. $signature: 10
  69334. };
  69335. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  69336. call$0() {
  69337. var t1 = this.fromNumber;
  69338. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  69339. },
  69340. $signature: 10
  69341. };
  69342. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  69343. call$0() {
  69344. var $async$goto = 0,
  69345. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69346. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  69347. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69348. if ($async$errorCode === 1)
  69349. return A._asyncRethrow($async$result, $async$completer);
  69350. while (true)
  69351. switch ($async$goto) {
  69352. case 0:
  69353. // Function start
  69354. t1 = $async$self.$this;
  69355. t2 = $async$self.node;
  69356. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  69357. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  69358. case 3:
  69359. // for condition
  69360. if (!(i !== t3.to)) {
  69361. // goto after for
  69362. $async$goto = 5;
  69363. break;
  69364. }
  69365. t7 = t1._async_evaluate$_environment;
  69366. t8 = t6.get$numeratorUnits(t6);
  69367. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  69368. $async$goto = 6;
  69369. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  69370. case 6:
  69371. // returning from await.
  69372. _0_0 = $async$result;
  69373. if (_0_0 != null) {
  69374. $async$returnValue = _0_0;
  69375. // goto return
  69376. $async$goto = 1;
  69377. break;
  69378. }
  69379. case 4:
  69380. // for update
  69381. i += t4;
  69382. // goto for condition
  69383. $async$goto = 3;
  69384. break;
  69385. case 5:
  69386. // after for
  69387. $async$returnValue = null;
  69388. // goto return
  69389. $async$goto = 1;
  69390. break;
  69391. case 1:
  69392. // return
  69393. return A._asyncReturn($async$returnValue, $async$completer);
  69394. }
  69395. });
  69396. return A._asyncStartSync($async$call$0, $async$completer);
  69397. },
  69398. $signature: 70
  69399. };
  69400. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  69401. call$1(child) {
  69402. return child.accept$1(this.$this);
  69403. },
  69404. $signature: 92
  69405. };
  69406. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  69407. call$2(module, firstLoad) {
  69408. if (firstLoad)
  69409. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69410. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69411. },
  69412. $signature: 122
  69413. };
  69414. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  69415. call$2(module, firstLoad) {
  69416. if (firstLoad)
  69417. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69418. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69419. },
  69420. $signature: 122
  69421. };
  69422. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  69423. call$0() {
  69424. return A._setArrayType([], type$.JSArray_CssComment);
  69425. },
  69426. $signature: 233
  69427. };
  69428. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  69429. call$1(clause) {
  69430. var t1 = this.$this;
  69431. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  69432. },
  69433. $signature: 306
  69434. };
  69435. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  69436. call$0() {
  69437. var t1 = this.$this;
  69438. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  69439. },
  69440. $signature: 70
  69441. };
  69442. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  69443. call$1(child) {
  69444. return child.accept$1(this.$this);
  69445. },
  69446. $signature: 92
  69447. };
  69448. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  69449. call$0() {
  69450. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  69451. },
  69452. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  69453. var $async$goto = 0,
  69454. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69455. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  69456. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69457. if ($async$errorCode === 1)
  69458. return A._asyncRethrow($async$result, $async$completer);
  69459. while (true)
  69460. switch ($async$goto) {
  69461. case 0:
  69462. // Function start
  69463. _box_0 = {};
  69464. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  69465. t1 = $async$self.$this;
  69466. t2 = $async$self.$import;
  69467. $async$goto = 3;
  69468. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  69469. case 3:
  69470. // returning from await.
  69471. _0_0 = $async$result;
  69472. stylesheet = _box_0.stylesheet = _0_0._0;
  69473. importer = _0_0._1;
  69474. _box_0.importer = importer;
  69475. isDependency = _0_0._2;
  69476. _box_0.isDependency = isDependency;
  69477. t3 = stylesheet.span;
  69478. url = t3.get$sourceUrl(t3);
  69479. if (url != null) {
  69480. t3 = t1._async_evaluate$_activeModules;
  69481. if (t3.containsKey$1(url)) {
  69482. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  69483. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  69484. }
  69485. t3.$indexSet(0, url, t2);
  69486. }
  69487. t2 = stylesheet._uses;
  69488. t3 = type$.UnmodifiableListView_UseRule;
  69489. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0 ? 4 : 5;
  69490. break;
  69491. case 4:
  69492. // then
  69493. oldImporter = t1._async_evaluate$_importer;
  69494. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69495. oldInDependency = t1._async_evaluate$_inDependency;
  69496. t1._async_evaluate$_importer = importer;
  69497. t1._async_evaluate$__stylesheet = stylesheet;
  69498. t1._async_evaluate$_inDependency = isDependency;
  69499. $async$goto = 6;
  69500. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  69501. case 6:
  69502. // returning from await.
  69503. t1._async_evaluate$_importer = oldImporter;
  69504. t1._async_evaluate$__stylesheet = t2;
  69505. t1._async_evaluate$_inDependency = oldInDependency;
  69506. t1._async_evaluate$_activeModules.remove$1(0, url);
  69507. // goto return
  69508. $async$goto = 1;
  69509. break;
  69510. case 5:
  69511. // join
  69512. t2 = new A.UnmodifiableListView(t2, t3);
  69513. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  69514. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69515. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  69516. } else
  69517. loadsUserDefinedModules = true;
  69518. children = A._Cell$();
  69519. t2 = t1._async_evaluate$_environment;
  69520. t3 = type$.String;
  69521. t4 = type$.Module_AsyncCallable;
  69522. t5 = type$.AstNode;
  69523. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  69524. t7 = t2._async_environment$_variables;
  69525. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  69526. t8 = t2._async_environment$_variableNodes;
  69527. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  69528. t9 = t2._async_environment$_functions;
  69529. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  69530. t10 = t2._async_environment$_mixins;
  69531. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  69532. 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);
  69533. $async$goto = 7;
  69534. 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);
  69535. case 7:
  69536. // returning from await.
  69537. module = environment.toDummyModule$0();
  69538. t1._async_evaluate$_environment.importForwards$1(module);
  69539. $async$goto = loadsUserDefinedModules ? 8 : 9;
  69540. break;
  69541. case 8:
  69542. // then
  69543. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  69544. break;
  69545. case 10:
  69546. // then
  69547. $async$goto = 12;
  69548. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  69549. case 12:
  69550. // returning from await.
  69551. case 11:
  69552. // join
  69553. visitor = new A._ImportedCssVisitor0(t1);
  69554. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  69555. t2.get$current(t2).accept$1(visitor);
  69556. case 9:
  69557. // join
  69558. t1._async_evaluate$_activeModules.remove$1(0, url);
  69559. case 1:
  69560. // return
  69561. return A._asyncReturn($async$returnValue, $async$completer);
  69562. }
  69563. });
  69564. return A._asyncStartSync($async$call$0, $async$completer);
  69565. },
  69566. $signature: 24
  69567. };
  69568. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  69569. call$1(previousLoad) {
  69570. 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));
  69571. },
  69572. $signature: 88
  69573. };
  69574. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  69575. call$1(rule) {
  69576. return rule.url.get$scheme() !== "sass";
  69577. },
  69578. $signature: 235
  69579. };
  69580. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  69581. call$1(rule) {
  69582. return rule.url.get$scheme() !== "sass";
  69583. },
  69584. $signature: 236
  69585. };
  69586. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  69587. call$0() {
  69588. var $async$goto = 0,
  69589. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69590. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  69591. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69592. if ($async$errorCode === 1)
  69593. return A._asyncRethrow($async$result, $async$completer);
  69594. while (true)
  69595. switch ($async$goto) {
  69596. case 0:
  69597. // Function start
  69598. t1 = $async$self.$this;
  69599. oldImporter = t1._async_evaluate$_importer;
  69600. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69601. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  69602. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  69603. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  69604. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  69605. oldConfiguration = t1._async_evaluate$_configuration;
  69606. oldInDependency = t1._async_evaluate$_inDependency;
  69607. t6 = $async$self._box_0;
  69608. t1._async_evaluate$_importer = t6.importer;
  69609. t7 = t6.stylesheet;
  69610. t1._async_evaluate$__stylesheet = t7;
  69611. t8 = $async$self.loadsUserDefinedModules;
  69612. if (t8) {
  69613. t7 = A.ModifiableCssStylesheet$(t7.span);
  69614. t1._async_evaluate$__root = t7;
  69615. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t7, "_root");
  69616. t1._async_evaluate$__endOfImports = 0;
  69617. t1._async_evaluate$_outOfOrderImports = null;
  69618. }
  69619. t1._async_evaluate$_inDependency = t6.isDependency;
  69620. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69621. if (!t7.get$isEmpty(t7))
  69622. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  69623. $async$goto = 2;
  69624. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  69625. case 2:
  69626. // returning from await.
  69627. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  69628. $async$self.children._value = t6;
  69629. t1._async_evaluate$_importer = oldImporter;
  69630. t1._async_evaluate$__stylesheet = t2;
  69631. if (t8) {
  69632. t1._async_evaluate$__root = t3;
  69633. t1._async_evaluate$__parent = t4;
  69634. t1._async_evaluate$__endOfImports = t5;
  69635. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  69636. }
  69637. t1._async_evaluate$_configuration = oldConfiguration;
  69638. t1._async_evaluate$_inDependency = oldInDependency;
  69639. // implicit return
  69640. return A._asyncReturn(null, $async$completer);
  69641. }
  69642. });
  69643. return A._asyncStartSync($async$call$0, $async$completer);
  69644. },
  69645. $signature: 2
  69646. };
  69647. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  69648. call$0() {
  69649. var $async$goto = 0,
  69650. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69651. $async$self = this, t1;
  69652. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69653. if ($async$errorCode === 1)
  69654. return A._asyncRethrow($async$result, $async$completer);
  69655. while (true)
  69656. switch ($async$goto) {
  69657. case 0:
  69658. // Function start
  69659. t1 = $async$self.$this;
  69660. $async$goto = 2;
  69661. 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);
  69662. case 2:
  69663. // returning from await.
  69664. // implicit return
  69665. return A._asyncReturn(null, $async$completer);
  69666. }
  69667. });
  69668. return A._asyncStartSync($async$call$0, $async$completer);
  69669. },
  69670. $signature: 24
  69671. };
  69672. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  69673. call$0() {
  69674. var $async$goto = 0,
  69675. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69676. $async$self = this;
  69677. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69678. if ($async$errorCode === 1)
  69679. return A._asyncRethrow($async$result, $async$completer);
  69680. while (true)
  69681. switch ($async$goto) {
  69682. case 0:
  69683. // Function start
  69684. $async$goto = 2;
  69685. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  69686. case 2:
  69687. // returning from await.
  69688. // implicit return
  69689. return A._asyncReturn(null, $async$completer);
  69690. }
  69691. });
  69692. return A._asyncStartSync($async$call$0, $async$completer);
  69693. },
  69694. $signature: 24
  69695. };
  69696. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  69697. call$0() {
  69698. var $async$goto = 0,
  69699. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69700. $async$self = this, t1;
  69701. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69702. if ($async$errorCode === 1)
  69703. return A._asyncRethrow($async$result, $async$completer);
  69704. while (true)
  69705. switch ($async$goto) {
  69706. case 0:
  69707. // Function start
  69708. t1 = $async$self.$this;
  69709. $async$goto = 2;
  69710. 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);
  69711. case 2:
  69712. // returning from await.
  69713. // implicit return
  69714. return A._asyncReturn(null, $async$completer);
  69715. }
  69716. });
  69717. return A._asyncStartSync($async$call$0, $async$completer);
  69718. },
  69719. $signature: 2
  69720. };
  69721. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  69722. call$0() {
  69723. var $async$goto = 0,
  69724. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69725. $async$self = this, t1;
  69726. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69727. if ($async$errorCode === 1)
  69728. return A._asyncRethrow($async$result, $async$completer);
  69729. while (true)
  69730. switch ($async$goto) {
  69731. case 0:
  69732. // Function start
  69733. t1 = $async$self.$this;
  69734. $async$goto = 2;
  69735. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  69736. case 2:
  69737. // returning from await.
  69738. // implicit return
  69739. return A._asyncReturn(null, $async$completer);
  69740. }
  69741. });
  69742. return A._asyncStartSync($async$call$0, $async$completer);
  69743. },
  69744. $signature: 24
  69745. };
  69746. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  69747. call$0() {
  69748. var $async$goto = 0,
  69749. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69750. $async$self = this, t1, t2, t3, t4, t5, _i;
  69751. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69752. if ($async$errorCode === 1)
  69753. return A._asyncRethrow($async$result, $async$completer);
  69754. while (true)
  69755. switch ($async$goto) {
  69756. case 0:
  69757. // Function start
  69758. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  69759. case 2:
  69760. // for condition
  69761. if (!(_i < t2)) {
  69762. // goto after for
  69763. $async$goto = 4;
  69764. break;
  69765. }
  69766. $async$goto = 5;
  69767. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  69768. case 5:
  69769. // returning from await.
  69770. case 3:
  69771. // for update
  69772. ++_i;
  69773. // goto for condition
  69774. $async$goto = 2;
  69775. break;
  69776. case 4:
  69777. // after for
  69778. // implicit return
  69779. return A._asyncReturn(null, $async$completer);
  69780. }
  69781. });
  69782. return A._asyncStartSync($async$call$0, $async$completer);
  69783. },
  69784. $signature: 24
  69785. };
  69786. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  69787. call$0() {
  69788. return this.statement.accept$1(this.$this);
  69789. },
  69790. $signature: 70
  69791. };
  69792. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  69793. call$0() {
  69794. var t1 = this.node;
  69795. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  69796. },
  69797. $signature: 84
  69798. };
  69799. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  69800. call$1($content) {
  69801. var t1 = this.$this;
  69802. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  69803. },
  69804. $signature: 305
  69805. };
  69806. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  69807. call$0() {
  69808. return this.node.get$spanWithoutContent();
  69809. },
  69810. $signature: 25
  69811. };
  69812. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  69813. call$1(mediaQueries) {
  69814. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  69815. },
  69816. $signature: 94
  69817. };
  69818. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  69819. call$0() {
  69820. var $async$goto = 0,
  69821. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69822. $async$self = this, t1, t2;
  69823. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69824. if ($async$errorCode === 1)
  69825. return A._asyncRethrow($async$result, $async$completer);
  69826. while (true)
  69827. switch ($async$goto) {
  69828. case 0:
  69829. // Function start
  69830. t1 = $async$self.$this;
  69831. t2 = $async$self.mergedQueries;
  69832. if (t2 == null)
  69833. t2 = $async$self.queries;
  69834. $async$goto = 2;
  69835. 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);
  69836. case 2:
  69837. // returning from await.
  69838. // implicit return
  69839. return A._asyncReturn(null, $async$completer);
  69840. }
  69841. });
  69842. return A._asyncStartSync($async$call$0, $async$completer);
  69843. },
  69844. $signature: 2
  69845. };
  69846. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  69847. call$0() {
  69848. var $async$goto = 0,
  69849. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69850. $async$self = this, t2, t3, _i, t1, _0_0;
  69851. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69852. if ($async$errorCode === 1)
  69853. return A._asyncRethrow($async$result, $async$completer);
  69854. while (true)
  69855. switch ($async$goto) {
  69856. case 0:
  69857. // Function start
  69858. t1 = $async$self.$this;
  69859. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  69860. $async$goto = _0_0 != null ? 2 : 4;
  69861. break;
  69862. case 2:
  69863. // then
  69864. $async$goto = 5;
  69865. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  69866. case 5:
  69867. // returning from await.
  69868. // goto join
  69869. $async$goto = 3;
  69870. break;
  69871. case 4:
  69872. // else
  69873. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  69874. case 6:
  69875. // for condition
  69876. if (!(_i < t3)) {
  69877. // goto after for
  69878. $async$goto = 8;
  69879. break;
  69880. }
  69881. $async$goto = 9;
  69882. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  69883. case 9:
  69884. // returning from await.
  69885. case 7:
  69886. // for update
  69887. ++_i;
  69888. // goto for condition
  69889. $async$goto = 6;
  69890. break;
  69891. case 8:
  69892. // after for
  69893. case 3:
  69894. // join
  69895. // implicit return
  69896. return A._asyncReturn(null, $async$completer);
  69897. }
  69898. });
  69899. return A._asyncStartSync($async$call$0, $async$completer);
  69900. },
  69901. $signature: 2
  69902. };
  69903. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  69904. call$0() {
  69905. var $async$goto = 0,
  69906. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69907. $async$self = this, t1, t2, t3, _i;
  69908. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69909. if ($async$errorCode === 1)
  69910. return A._asyncRethrow($async$result, $async$completer);
  69911. while (true)
  69912. switch ($async$goto) {
  69913. case 0:
  69914. // Function start
  69915. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69916. case 2:
  69917. // for condition
  69918. if (!(_i < t2)) {
  69919. // goto after for
  69920. $async$goto = 4;
  69921. break;
  69922. }
  69923. $async$goto = 5;
  69924. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69925. case 5:
  69926. // returning from await.
  69927. case 3:
  69928. // for update
  69929. ++_i;
  69930. // goto for condition
  69931. $async$goto = 2;
  69932. break;
  69933. case 4:
  69934. // after for
  69935. // implicit return
  69936. return A._asyncReturn(null, $async$completer);
  69937. }
  69938. });
  69939. return A._asyncStartSync($async$call$0, $async$completer);
  69940. },
  69941. $signature: 2
  69942. };
  69943. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  69944. call$1(node) {
  69945. var t1;
  69946. if (!(node instanceof A.ModifiableCssStyleRule)) {
  69947. t1 = this.mergedSources;
  69948. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  69949. } else
  69950. t1 = true;
  69951. return t1;
  69952. },
  69953. $signature: 7
  69954. };
  69955. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  69956. call$0() {
  69957. var $async$goto = 0,
  69958. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69959. $async$self = this, t1, t2, t3, _i;
  69960. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69961. if ($async$errorCode === 1)
  69962. return A._asyncRethrow($async$result, $async$completer);
  69963. while (true)
  69964. switch ($async$goto) {
  69965. case 0:
  69966. // Function start
  69967. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69968. case 2:
  69969. // for condition
  69970. if (!(_i < t2)) {
  69971. // goto after for
  69972. $async$goto = 4;
  69973. break;
  69974. }
  69975. $async$goto = 5;
  69976. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69977. case 5:
  69978. // returning from await.
  69979. case 3:
  69980. // for update
  69981. ++_i;
  69982. // goto for condition
  69983. $async$goto = 2;
  69984. break;
  69985. case 4:
  69986. // after for
  69987. // implicit return
  69988. return A._asyncReturn(null, $async$completer);
  69989. }
  69990. });
  69991. return A._asyncStartSync($async$call$0, $async$completer);
  69992. },
  69993. $signature: 2
  69994. };
  69995. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  69996. call$1(node) {
  69997. return node instanceof A.ModifiableCssStyleRule;
  69998. },
  69999. $signature: 7
  70000. };
  70001. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  70002. call$0() {
  70003. var $async$goto = 0,
  70004. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70005. $async$self = this, t1;
  70006. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70007. if ($async$errorCode === 1)
  70008. return A._asyncRethrow($async$result, $async$completer);
  70009. while (true)
  70010. switch ($async$goto) {
  70011. case 0:
  70012. // Function start
  70013. t1 = $async$self.$this;
  70014. $async$goto = 2;
  70015. 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);
  70016. case 2:
  70017. // returning from await.
  70018. // implicit return
  70019. return A._asyncReturn(null, $async$completer);
  70020. }
  70021. });
  70022. return A._asyncStartSync($async$call$0, $async$completer);
  70023. },
  70024. $signature: 2
  70025. };
  70026. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  70027. call$0() {
  70028. var $async$goto = 0,
  70029. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70030. $async$self = this, t1, t2, t3, _i;
  70031. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70032. if ($async$errorCode === 1)
  70033. return A._asyncRethrow($async$result, $async$completer);
  70034. while (true)
  70035. switch ($async$goto) {
  70036. case 0:
  70037. // Function start
  70038. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70039. case 2:
  70040. // for condition
  70041. if (!(_i < t2)) {
  70042. // goto after for
  70043. $async$goto = 4;
  70044. break;
  70045. }
  70046. $async$goto = 5;
  70047. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70048. case 5:
  70049. // returning from await.
  70050. case 3:
  70051. // for update
  70052. ++_i;
  70053. // goto for condition
  70054. $async$goto = 2;
  70055. break;
  70056. case 4:
  70057. // after for
  70058. // implicit return
  70059. return A._asyncReturn(null, $async$completer);
  70060. }
  70061. });
  70062. return A._asyncStartSync($async$call$0, $async$completer);
  70063. },
  70064. $signature: 2
  70065. };
  70066. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  70067. call$1(node) {
  70068. return node instanceof A.ModifiableCssStyleRule;
  70069. },
  70070. $signature: 7
  70071. };
  70072. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  70073. call$1(child) {
  70074. return child instanceof A.ModifiableCssComment;
  70075. },
  70076. $signature: 118
  70077. };
  70078. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  70079. call$0() {
  70080. var $async$goto = 0,
  70081. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70082. $async$self = this, t2, t3, _i, t1, _0_0;
  70083. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70084. if ($async$errorCode === 1)
  70085. return A._asyncRethrow($async$result, $async$completer);
  70086. while (true)
  70087. switch ($async$goto) {
  70088. case 0:
  70089. // Function start
  70090. t1 = $async$self.$this;
  70091. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70092. $async$goto = _0_0 != null ? 2 : 4;
  70093. break;
  70094. case 2:
  70095. // then
  70096. $async$goto = 5;
  70097. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  70098. case 5:
  70099. // returning from await.
  70100. // goto join
  70101. $async$goto = 3;
  70102. break;
  70103. case 4:
  70104. // else
  70105. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  70106. case 6:
  70107. // for condition
  70108. if (!(_i < t3)) {
  70109. // goto after for
  70110. $async$goto = 8;
  70111. break;
  70112. }
  70113. $async$goto = 9;
  70114. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  70115. case 9:
  70116. // returning from await.
  70117. case 7:
  70118. // for update
  70119. ++_i;
  70120. // goto for condition
  70121. $async$goto = 6;
  70122. break;
  70123. case 8:
  70124. // after for
  70125. case 3:
  70126. // join
  70127. // implicit return
  70128. return A._asyncReturn(null, $async$completer);
  70129. }
  70130. });
  70131. return A._asyncStartSync($async$call$0, $async$completer);
  70132. },
  70133. $signature: 2
  70134. };
  70135. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  70136. call$0() {
  70137. var $async$goto = 0,
  70138. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70139. $async$self = this, t1, t2, t3, _i;
  70140. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70141. if ($async$errorCode === 1)
  70142. return A._asyncRethrow($async$result, $async$completer);
  70143. while (true)
  70144. switch ($async$goto) {
  70145. case 0:
  70146. // Function start
  70147. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70148. case 2:
  70149. // for condition
  70150. if (!(_i < t2)) {
  70151. // goto after for
  70152. $async$goto = 4;
  70153. break;
  70154. }
  70155. $async$goto = 5;
  70156. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70157. case 5:
  70158. // returning from await.
  70159. case 3:
  70160. // for update
  70161. ++_i;
  70162. // goto for condition
  70163. $async$goto = 2;
  70164. break;
  70165. case 4:
  70166. // after for
  70167. // implicit return
  70168. return A._asyncReturn(null, $async$completer);
  70169. }
  70170. });
  70171. return A._asyncStartSync($async$call$0, $async$completer);
  70172. },
  70173. $signature: 2
  70174. };
  70175. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  70176. call$1(node) {
  70177. return node instanceof A.ModifiableCssStyleRule;
  70178. },
  70179. $signature: 7
  70180. };
  70181. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  70182. call$0() {
  70183. var $async$goto = 0,
  70184. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  70185. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  70186. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70187. if ($async$errorCode === 1)
  70188. return A._asyncRethrow($async$result, $async$completer);
  70189. while (true)
  70190. switch ($async$goto) {
  70191. case 0:
  70192. // Function start
  70193. t1 = $async$self.$this;
  70194. t2 = $async$self._box_0;
  70195. $async$temp1 = A;
  70196. $async$goto = 3;
  70197. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  70198. case 3:
  70199. // returning from await.
  70200. t3 = $async$temp1.S($async$result);
  70201. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  70202. $async$temp1 = "(" + t3 + ":" + t4;
  70203. $async$temp2 = A;
  70204. $async$goto = 4;
  70205. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  70206. case 4:
  70207. // returning from await.
  70208. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  70209. // goto return
  70210. $async$goto = 1;
  70211. break;
  70212. case 1:
  70213. // return
  70214. return A._asyncReturn($async$returnValue, $async$completer);
  70215. }
  70216. });
  70217. return A._asyncStartSync($async$call$0, $async$completer);
  70218. },
  70219. $signature: 239
  70220. };
  70221. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  70222. call$0() {
  70223. var t1 = this.$this._async_evaluate$_environment,
  70224. t2 = this._box_0.override;
  70225. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  70226. },
  70227. $signature: 1
  70228. };
  70229. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  70230. call$0() {
  70231. var t1 = this.node;
  70232. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70233. },
  70234. $signature: 40
  70235. };
  70236. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  70237. call$0() {
  70238. var t1 = this.$this,
  70239. t2 = this.node;
  70240. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  70241. },
  70242. $signature: 1
  70243. };
  70244. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  70245. call$2(module, firstLoad) {
  70246. var t1, t2, t3, _0_0, t4, t5, span;
  70247. if (firstLoad)
  70248. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  70249. t1 = this.$this._async_evaluate$_environment;
  70250. t2 = this.node;
  70251. t3 = t2.namespace;
  70252. if (t3 == null) {
  70253. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  70254. t1._async_environment$_allModules.push(module);
  70255. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  70256. if (_0_0 != null)
  70257. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  70258. } else {
  70259. t4 = t1._async_environment$_modules;
  70260. if (t4.containsKey$1(t3)) {
  70261. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  70262. span = t5 == null ? null : t5.span;
  70263. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70264. if (span != null)
  70265. t5.$indexSet(0, span, "original @use");
  70266. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  70267. }
  70268. t4.$indexSet(0, t3, module);
  70269. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  70270. t1._async_environment$_allModules.push(module);
  70271. }
  70272. },
  70273. $signature: 122
  70274. };
  70275. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  70276. call$0() {
  70277. return this.node.expression.accept$1(this.$this);
  70278. },
  70279. $signature: 74
  70280. };
  70281. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  70282. call$0() {
  70283. var $async$goto = 0,
  70284. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70285. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  70286. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70287. if ($async$errorCode === 1)
  70288. return A._asyncRethrow($async$result, $async$completer);
  70289. while (true)
  70290. switch ($async$goto) {
  70291. case 0:
  70292. // Function start
  70293. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  70294. case 3:
  70295. // for condition
  70296. $async$goto = 5;
  70297. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  70298. case 5:
  70299. // returning from await.
  70300. if (!$async$result.get$isTruthy()) {
  70301. // goto after for
  70302. $async$goto = 4;
  70303. break;
  70304. }
  70305. $async$goto = 6;
  70306. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  70307. case 6:
  70308. // returning from await.
  70309. _0_0 = $async$result;
  70310. if (_0_0 != null) {
  70311. $async$returnValue = _0_0;
  70312. // goto return
  70313. $async$goto = 1;
  70314. break;
  70315. }
  70316. // goto for condition
  70317. $async$goto = 3;
  70318. break;
  70319. case 4:
  70320. // after for
  70321. $async$returnValue = null;
  70322. // goto return
  70323. $async$goto = 1;
  70324. break;
  70325. case 1:
  70326. // return
  70327. return A._asyncReturn($async$returnValue, $async$completer);
  70328. }
  70329. });
  70330. return A._asyncStartSync($async$call$0, $async$completer);
  70331. },
  70332. $signature: 70
  70333. };
  70334. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  70335. call$1(child) {
  70336. return child.accept$1(this.$this);
  70337. },
  70338. $signature: 92
  70339. };
  70340. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  70341. call$0() {
  70342. var $async$goto = 0,
  70343. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70344. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  70345. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70346. if ($async$errorCode === 1)
  70347. return A._asyncRethrow($async$result, $async$completer);
  70348. while (true)
  70349. switch ($async$goto) {
  70350. case 0:
  70351. // Function start
  70352. t1 = $async$self.node;
  70353. t2 = $async$self.$this;
  70354. $async$goto = 3;
  70355. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  70356. case 3:
  70357. // returning from await.
  70358. left = $async$result;
  70359. case 4:
  70360. // switch
  70361. switch (t1.operator) {
  70362. case B.BinaryOperator_2jN:
  70363. // goto case
  70364. $async$goto = 6;
  70365. break;
  70366. case B.BinaryOperator_M6L:
  70367. // goto case
  70368. $async$goto = 7;
  70369. break;
  70370. case B.BinaryOperator_SNp:
  70371. // goto case
  70372. $async$goto = 8;
  70373. break;
  70374. case B.BinaryOperator_ql5:
  70375. // goto case
  70376. $async$goto = 9;
  70377. break;
  70378. case B.BinaryOperator_ViB:
  70379. // goto case
  70380. $async$goto = 10;
  70381. break;
  70382. case B.BinaryOperator_cIH:
  70383. // goto case
  70384. $async$goto = 11;
  70385. break;
  70386. case B.BinaryOperator_7Tg:
  70387. // goto case
  70388. $async$goto = 12;
  70389. break;
  70390. case B.BinaryOperator_U8c:
  70391. // goto case
  70392. $async$goto = 13;
  70393. break;
  70394. case B.BinaryOperator_kpg:
  70395. // goto case
  70396. $async$goto = 14;
  70397. break;
  70398. case B.BinaryOperator_anB:
  70399. // goto case
  70400. $async$goto = 15;
  70401. break;
  70402. case B.BinaryOperator_olz:
  70403. // goto case
  70404. $async$goto = 16;
  70405. break;
  70406. case B.BinaryOperator_qN2:
  70407. // goto case
  70408. $async$goto = 17;
  70409. break;
  70410. case B.BinaryOperator_t8B:
  70411. // goto case
  70412. $async$goto = 18;
  70413. break;
  70414. case B.BinaryOperator_OTG:
  70415. // goto case
  70416. $async$goto = 19;
  70417. break;
  70418. default:
  70419. // goto default
  70420. $async$goto = 20;
  70421. break;
  70422. }
  70423. break;
  70424. case 6:
  70425. // case
  70426. t1 = t1.right.accept$1(t2);
  70427. $async$goto = 21;
  70428. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70429. case 21:
  70430. // returning from await.
  70431. t1 = $async$result;
  70432. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  70433. // goto after switch
  70434. $async$goto = 5;
  70435. break;
  70436. case 7:
  70437. // case
  70438. $async$goto = left.get$isTruthy() ? 22 : 24;
  70439. break;
  70440. case 22:
  70441. // then
  70442. t1 = left;
  70443. // goto join
  70444. $async$goto = 23;
  70445. break;
  70446. case 24:
  70447. // else
  70448. t1 = t1.right.accept$1(t2);
  70449. $async$goto = 25;
  70450. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70451. case 25:
  70452. // returning from await.
  70453. t1 = $async$result;
  70454. case 23:
  70455. // join
  70456. // goto after switch
  70457. $async$goto = 5;
  70458. break;
  70459. case 8:
  70460. // case
  70461. $async$goto = left.get$isTruthy() ? 26 : 28;
  70462. break;
  70463. case 26:
  70464. // then
  70465. t1 = t1.right.accept$1(t2);
  70466. $async$goto = 29;
  70467. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70468. case 29:
  70469. // returning from await.
  70470. t1 = $async$result;
  70471. // goto join
  70472. $async$goto = 27;
  70473. break;
  70474. case 28:
  70475. // else
  70476. t1 = left;
  70477. case 27:
  70478. // join
  70479. // goto after switch
  70480. $async$goto = 5;
  70481. break;
  70482. case 9:
  70483. // case
  70484. $async$temp1 = left;
  70485. $async$goto = 30;
  70486. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70487. case 30:
  70488. // returning from await.
  70489. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70490. // goto after switch
  70491. $async$goto = 5;
  70492. break;
  70493. case 10:
  70494. // case
  70495. $async$temp1 = left;
  70496. $async$goto = 31;
  70497. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70498. case 31:
  70499. // returning from await.
  70500. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70501. // goto after switch
  70502. $async$goto = 5;
  70503. break;
  70504. case 11:
  70505. // case
  70506. t1 = t1.right.accept$1(t2);
  70507. $async$temp1 = left;
  70508. $async$goto = 32;
  70509. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70510. case 32:
  70511. // returning from await.
  70512. t1 = $async$temp1.greaterThan$1($async$result);
  70513. // goto after switch
  70514. $async$goto = 5;
  70515. break;
  70516. case 12:
  70517. // case
  70518. t1 = t1.right.accept$1(t2);
  70519. $async$temp1 = left;
  70520. $async$goto = 33;
  70521. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70522. case 33:
  70523. // returning from await.
  70524. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  70525. // goto after switch
  70526. $async$goto = 5;
  70527. break;
  70528. case 13:
  70529. // case
  70530. t1 = t1.right.accept$1(t2);
  70531. $async$temp1 = left;
  70532. $async$goto = 34;
  70533. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70534. case 34:
  70535. // returning from await.
  70536. t1 = $async$temp1.lessThan$1($async$result);
  70537. // goto after switch
  70538. $async$goto = 5;
  70539. break;
  70540. case 14:
  70541. // case
  70542. t1 = t1.right.accept$1(t2);
  70543. $async$temp1 = left;
  70544. $async$goto = 35;
  70545. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70546. case 35:
  70547. // returning from await.
  70548. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  70549. // goto after switch
  70550. $async$goto = 5;
  70551. break;
  70552. case 15:
  70553. // case
  70554. t1 = t1.right.accept$1(t2);
  70555. $async$temp1 = left;
  70556. $async$goto = 36;
  70557. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70558. case 36:
  70559. // returning from await.
  70560. t1 = $async$temp1.plus$1($async$result);
  70561. // goto after switch
  70562. $async$goto = 5;
  70563. break;
  70564. case 16:
  70565. // case
  70566. t1 = t1.right.accept$1(t2);
  70567. $async$temp1 = left;
  70568. $async$goto = 37;
  70569. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70570. case 37:
  70571. // returning from await.
  70572. t1 = $async$temp1.minus$1($async$result);
  70573. // goto after switch
  70574. $async$goto = 5;
  70575. break;
  70576. case 17:
  70577. // case
  70578. t1 = t1.right.accept$1(t2);
  70579. $async$temp1 = left;
  70580. $async$goto = 38;
  70581. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70582. case 38:
  70583. // returning from await.
  70584. t1 = $async$temp1.times$1($async$result);
  70585. // goto after switch
  70586. $async$goto = 5;
  70587. break;
  70588. case 18:
  70589. // case
  70590. t3 = t1.right.accept$1(t2);
  70591. $async$temp1 = t2;
  70592. $async$temp2 = left;
  70593. $async$goto = 39;
  70594. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  70595. case 39:
  70596. // returning from await.
  70597. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  70598. // goto after switch
  70599. $async$goto = 5;
  70600. break;
  70601. case 19:
  70602. // case
  70603. t1 = t1.right.accept$1(t2);
  70604. $async$temp1 = left;
  70605. $async$goto = 40;
  70606. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70607. case 40:
  70608. // returning from await.
  70609. t1 = $async$temp1.modulo$1($async$result);
  70610. // goto after switch
  70611. $async$goto = 5;
  70612. break;
  70613. case 20:
  70614. // default
  70615. t1 = null;
  70616. case 5:
  70617. // after switch
  70618. $async$returnValue = t1;
  70619. // goto return
  70620. $async$goto = 1;
  70621. break;
  70622. case 1:
  70623. // return
  70624. return A._asyncReturn($async$returnValue, $async$completer);
  70625. }
  70626. });
  70627. return A._asyncStartSync($async$call$0, $async$completer);
  70628. },
  70629. $signature: 74
  70630. };
  70631. A._EvaluateVisitor__slash_recommendation0.prototype = {
  70632. call$1(expression) {
  70633. var t1;
  70634. $label0$0: {
  70635. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_t8B === expression.operator) {
  70636. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  70637. break $label0$0;
  70638. }
  70639. if (expression instanceof A.ParenthesizedExpression) {
  70640. t1 = expression.expression.toString$0(0);
  70641. break $label0$0;
  70642. }
  70643. t1 = expression.toString$0(0);
  70644. break $label0$0;
  70645. }
  70646. return t1;
  70647. },
  70648. $signature: 120
  70649. };
  70650. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  70651. call$0() {
  70652. var t1 = this.node;
  70653. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70654. },
  70655. $signature: 40
  70656. };
  70657. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  70658. call$0() {
  70659. var t1, _this = this;
  70660. switch (_this.node.operator) {
  70661. case B.UnaryOperator_gg4:
  70662. t1 = _this.operand.unaryPlus$0();
  70663. break;
  70664. case B.UnaryOperator_TLI:
  70665. t1 = _this.operand.unaryMinus$0();
  70666. break;
  70667. case B.UnaryOperator_Ix1:
  70668. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  70669. break;
  70670. case B.UnaryOperator_not_not_not:
  70671. t1 = _this.operand.unaryNot$0();
  70672. break;
  70673. default:
  70674. t1 = null;
  70675. }
  70676. return t1;
  70677. },
  70678. $signature: 36
  70679. };
  70680. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  70681. call$1(expression) {
  70682. return expression.accept$1(this.$this);
  70683. },
  70684. $signature: 302
  70685. };
  70686. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  70687. call$0() {
  70688. var t1 = this.$this._async_evaluate$_environment,
  70689. t2 = this.node;
  70690. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  70691. },
  70692. $signature: 84
  70693. };
  70694. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  70695. call$1(argument) {
  70696. return argument.accept$1(new A._IsCalculationSafeVisitor());
  70697. },
  70698. $signature: 119
  70699. };
  70700. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  70701. call$0() {
  70702. var t1 = this.node;
  70703. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  70704. },
  70705. $signature: 74
  70706. };
  70707. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  70708. call$1(maxArgs) {
  70709. var t1 = this.node,
  70710. t2 = t1.$arguments.positional.length;
  70711. if (t2 === 0)
  70712. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  70713. else if (maxArgs != null && t2 > maxArgs)
  70714. 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));
  70715. },
  70716. call$0() {
  70717. return this.call$1(null);
  70718. },
  70719. $signature: 99
  70720. };
  70721. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  70722. call$0() {
  70723. var $async$goto = 0,
  70724. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70725. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  70726. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70727. if ($async$errorCode === 1)
  70728. return A._asyncRethrow($async$result, $async$completer);
  70729. while (true)
  70730. switch ($async$goto) {
  70731. case 0:
  70732. // Function start
  70733. t1 = $async$self.$this;
  70734. t2 = $async$self._box_0;
  70735. t3 = $async$self.inLegacySassFunction;
  70736. $async$temp1 = A;
  70737. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  70738. $async$goto = 3;
  70739. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  70740. case 3:
  70741. // returning from await.
  70742. $async$temp3 = $async$result;
  70743. $async$goto = 4;
  70744. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  70745. case 4:
  70746. // returning from await.
  70747. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  70748. // goto return
  70749. $async$goto = 1;
  70750. break;
  70751. case 1:
  70752. // return
  70753. return A._asyncReturn($async$returnValue, $async$completer);
  70754. }
  70755. });
  70756. return A._asyncStartSync($async$call$0, $async$completer);
  70757. },
  70758. $signature: 245
  70759. };
  70760. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  70761. call$0() {
  70762. var t1 = this.node;
  70763. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  70764. },
  70765. $signature: 74
  70766. };
  70767. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  70768. call$0() {
  70769. var _this = this,
  70770. t1 = _this.$this,
  70771. t2 = _this.callable,
  70772. t3 = _this.V;
  70773. 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);
  70774. },
  70775. $signature() {
  70776. return this.V._eval$1("Future<0>()");
  70777. }
  70778. };
  70779. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  70780. call$0() {
  70781. var _this = this,
  70782. t1 = _this.$this,
  70783. t2 = _this.V;
  70784. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  70785. },
  70786. $signature() {
  70787. return this.V._eval$1("Future<0>()");
  70788. }
  70789. };
  70790. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  70791. call$0() {
  70792. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  70793. },
  70794. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  70795. var $async$goto = 0,
  70796. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70797. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  70798. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70799. if ($async$errorCode === 1)
  70800. return A._asyncRethrow($async$result, $async$completer);
  70801. while (true)
  70802. switch ($async$goto) {
  70803. case 0:
  70804. // Function start
  70805. t1 = $async$self.$this;
  70806. t2 = $async$self.evaluated._values;
  70807. t3 = $async$self.callable.declaration.$arguments;
  70808. t4 = $async$self.nodeWithSpan;
  70809. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  70810. declaredArguments = t3.$arguments;
  70811. t5 = declaredArguments.length;
  70812. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  70813. for (i = 0; i < minLength; ++i)
  70814. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  70815. i = J.get$length$asx(t2[2]);
  70816. case 3:
  70817. // for condition
  70818. if (!(i < t5)) {
  70819. // goto after for
  70820. $async$goto = 5;
  70821. break;
  70822. }
  70823. argument = declaredArguments[i];
  70824. t6 = t2[0];
  70825. t7 = argument.name;
  70826. value = J.remove$1$z(t6, t7);
  70827. $async$goto = value == null ? 6 : 7;
  70828. break;
  70829. case 6:
  70830. // then
  70831. t6 = argument.defaultValue;
  70832. $async$temp1 = t1;
  70833. $async$goto = 8;
  70834. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  70835. case 8:
  70836. // returning from await.
  70837. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t6));
  70838. case 7:
  70839. // join
  70840. t6 = t1._async_evaluate$_environment;
  70841. t8 = J.$index$asx(t2[1], t7);
  70842. if (t8 == null) {
  70843. t8 = argument.defaultValue;
  70844. t8.toString;
  70845. t8 = t1._async_evaluate$_expressionNode$1(t8);
  70846. }
  70847. t6.setLocalVariable$3(t7, value, t8);
  70848. case 4:
  70849. // for update
  70850. ++i;
  70851. // goto for condition
  70852. $async$goto = 3;
  70853. break;
  70854. case 5:
  70855. // after for
  70856. restArgument = t3.restArgument;
  70857. if (restArgument != null) {
  70858. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  70859. t5 = t2[0];
  70860. t6 = t2[4];
  70861. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t6);
  70862. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  70863. } else
  70864. argumentList = null;
  70865. $async$goto = 9;
  70866. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  70867. case 9:
  70868. // returning from await.
  70869. result = $async$result;
  70870. if (argumentList == null) {
  70871. $async$returnValue = result;
  70872. // goto return
  70873. $async$goto = 1;
  70874. break;
  70875. }
  70876. if (J.get$isEmpty$asx(t2[0])) {
  70877. $async$returnValue = result;
  70878. // goto return
  70879. $async$goto = 1;
  70880. break;
  70881. }
  70882. if (argumentList._wereKeywordsAccessed) {
  70883. $async$returnValue = result;
  70884. // goto return
  70885. $async$goto = 1;
  70886. break;
  70887. }
  70888. 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));
  70889. case 1:
  70890. // return
  70891. return A._asyncReturn($async$returnValue, $async$completer);
  70892. }
  70893. });
  70894. return A._asyncStartSync($async$call$0, $async$completer);
  70895. },
  70896. $signature() {
  70897. return this.V._eval$1("Future<0>()");
  70898. }
  70899. };
  70900. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  70901. call$1($name) {
  70902. return "$" + $name;
  70903. },
  70904. $signature: 5
  70905. };
  70906. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  70907. call$0() {
  70908. var $async$goto = 0,
  70909. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70910. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  70911. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70912. if ($async$errorCode === 1)
  70913. return A._asyncRethrow($async$result, $async$completer);
  70914. while (true)
  70915. switch ($async$goto) {
  70916. case 0:
  70917. // Function start
  70918. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  70919. case 3:
  70920. // for condition
  70921. if (!(_i < t3)) {
  70922. // goto after for
  70923. $async$goto = 5;
  70924. break;
  70925. }
  70926. $async$goto = 6;
  70927. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  70928. case 6:
  70929. // returning from await.
  70930. $returnValue = $async$result;
  70931. if ($returnValue instanceof A.Value) {
  70932. $async$returnValue = $returnValue;
  70933. // goto return
  70934. $async$goto = 1;
  70935. break;
  70936. }
  70937. case 4:
  70938. // for update
  70939. ++_i;
  70940. // goto for condition
  70941. $async$goto = 3;
  70942. break;
  70943. case 5:
  70944. // after for
  70945. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  70946. case 1:
  70947. // return
  70948. return A._asyncReturn($async$returnValue, $async$completer);
  70949. }
  70950. });
  70951. return A._asyncStartSync($async$call$0, $async$completer);
  70952. },
  70953. $signature: 74
  70954. };
  70955. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  70956. call$0() {
  70957. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  70958. },
  70959. $signature: 0
  70960. };
  70961. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  70962. call$0() {
  70963. return this._box_0.callback.call$1(this.evaluated._values[2]);
  70964. },
  70965. $signature: 301
  70966. };
  70967. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  70968. call$1($name) {
  70969. return "$" + $name;
  70970. },
  70971. $signature: 5
  70972. };
  70973. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  70974. call$1(value) {
  70975. return value;
  70976. },
  70977. $signature: 39
  70978. };
  70979. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  70980. call$1(value) {
  70981. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  70982. },
  70983. $signature: 39
  70984. };
  70985. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  70986. call$2(key, value) {
  70987. var _this = this,
  70988. t1 = _this.restNodeForSpan;
  70989. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  70990. _this.namedNodes.$indexSet(0, key, t1);
  70991. },
  70992. $signature: 101
  70993. };
  70994. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  70995. call$1(value) {
  70996. return value;
  70997. },
  70998. $signature: 39
  70999. };
  71000. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  71001. call$1(value) {
  71002. var t1 = this.restArgs;
  71003. return new A.ValueExpression(value, t1.get$span(t1));
  71004. },
  71005. $signature: 59
  71006. };
  71007. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  71008. call$1(value) {
  71009. var t1 = this.restArgs;
  71010. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  71011. },
  71012. $signature: 59
  71013. };
  71014. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  71015. call$2(key, value) {
  71016. var _this = this,
  71017. t1 = _this.restArgs;
  71018. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  71019. },
  71020. $signature: 101
  71021. };
  71022. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  71023. call$1(value) {
  71024. var t1 = this.keywordRestArgs;
  71025. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  71026. },
  71027. $signature: 59
  71028. };
  71029. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  71030. call$2(key, value) {
  71031. var t2, _this = this,
  71032. t1 = _this.$this;
  71033. if (key instanceof A.SassString)
  71034. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  71035. else {
  71036. t2 = _this.nodeWithSpan;
  71037. 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)));
  71038. }
  71039. },
  71040. $signature: 85
  71041. };
  71042. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  71043. call$0() {
  71044. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  71045. },
  71046. $signature: 0
  71047. };
  71048. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  71049. call$0() {
  71050. var $async$goto = 0,
  71051. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71052. $async$self = this, t1, t2, t3, t4;
  71053. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71054. if ($async$errorCode === 1)
  71055. return A._asyncRethrow($async$result, $async$completer);
  71056. while (true)
  71057. switch ($async$goto) {
  71058. case 0:
  71059. // Function start
  71060. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  71061. case 2:
  71062. // for condition
  71063. if (!t1.moveNext$0()) {
  71064. // goto after for
  71065. $async$goto = 3;
  71066. break;
  71067. }
  71068. t4 = t1.__internal$_current;
  71069. $async$goto = 4;
  71070. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71071. case 4:
  71072. // returning from await.
  71073. // goto for condition
  71074. $async$goto = 2;
  71075. break;
  71076. case 3:
  71077. // after for
  71078. // implicit return
  71079. return A._asyncReturn(null, $async$completer);
  71080. }
  71081. });
  71082. return A._asyncStartSync($async$call$0, $async$completer);
  71083. },
  71084. $signature: 2
  71085. };
  71086. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  71087. call$1(node) {
  71088. return node instanceof A.ModifiableCssStyleRule;
  71089. },
  71090. $signature: 7
  71091. };
  71092. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  71093. call$0() {
  71094. var $async$goto = 0,
  71095. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71096. $async$self = this, t1, t2, t3, t4;
  71097. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71098. if ($async$errorCode === 1)
  71099. return A._asyncRethrow($async$result, $async$completer);
  71100. while (true)
  71101. switch ($async$goto) {
  71102. case 0:
  71103. // Function start
  71104. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  71105. case 2:
  71106. // for condition
  71107. if (!t1.moveNext$0()) {
  71108. // goto after for
  71109. $async$goto = 3;
  71110. break;
  71111. }
  71112. t4 = t1.__internal$_current;
  71113. $async$goto = 4;
  71114. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71115. case 4:
  71116. // returning from await.
  71117. // goto for condition
  71118. $async$goto = 2;
  71119. break;
  71120. case 3:
  71121. // after for
  71122. // implicit return
  71123. return A._asyncReturn(null, $async$completer);
  71124. }
  71125. });
  71126. return A._asyncStartSync($async$call$0, $async$completer);
  71127. },
  71128. $signature: 2
  71129. };
  71130. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  71131. call$1(node) {
  71132. return node instanceof A.ModifiableCssStyleRule;
  71133. },
  71134. $signature: 7
  71135. };
  71136. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  71137. call$1(mediaQueries) {
  71138. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  71139. },
  71140. $signature: 94
  71141. };
  71142. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  71143. call$0() {
  71144. var $async$goto = 0,
  71145. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71146. $async$self = this, t1, t2;
  71147. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71148. if ($async$errorCode === 1)
  71149. return A._asyncRethrow($async$result, $async$completer);
  71150. while (true)
  71151. switch ($async$goto) {
  71152. case 0:
  71153. // Function start
  71154. t1 = $async$self.$this;
  71155. t2 = $async$self.mergedQueries;
  71156. if (t2 == null)
  71157. t2 = $async$self.node.queries;
  71158. $async$goto = 2;
  71159. 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);
  71160. case 2:
  71161. // returning from await.
  71162. // implicit return
  71163. return A._asyncReturn(null, $async$completer);
  71164. }
  71165. });
  71166. return A._asyncStartSync($async$call$0, $async$completer);
  71167. },
  71168. $signature: 2
  71169. };
  71170. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  71171. call$0() {
  71172. var $async$goto = 0,
  71173. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71174. $async$self = this, t2, t3, t4, t1, _0_0;
  71175. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71176. if ($async$errorCode === 1)
  71177. return A._asyncRethrow($async$result, $async$completer);
  71178. while (true)
  71179. switch ($async$goto) {
  71180. case 0:
  71181. // Function start
  71182. t1 = $async$self.$this;
  71183. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71184. $async$goto = _0_0 != null ? 2 : 4;
  71185. break;
  71186. case 2:
  71187. // then
  71188. $async$goto = 5;
  71189. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  71190. case 5:
  71191. // returning from await.
  71192. // goto join
  71193. $async$goto = 3;
  71194. break;
  71195. case 4:
  71196. // else
  71197. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  71198. case 6:
  71199. // for condition
  71200. if (!t2.moveNext$0()) {
  71201. // goto after for
  71202. $async$goto = 7;
  71203. break;
  71204. }
  71205. t4 = t2.__internal$_current;
  71206. $async$goto = 8;
  71207. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71208. case 8:
  71209. // returning from await.
  71210. // goto for condition
  71211. $async$goto = 6;
  71212. break;
  71213. case 7:
  71214. // after for
  71215. case 3:
  71216. // join
  71217. // implicit return
  71218. return A._asyncReturn(null, $async$completer);
  71219. }
  71220. });
  71221. return A._asyncStartSync($async$call$0, $async$completer);
  71222. },
  71223. $signature: 2
  71224. };
  71225. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  71226. call$0() {
  71227. var $async$goto = 0,
  71228. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71229. $async$self = this, t1, t2, t3, t4;
  71230. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71231. if ($async$errorCode === 1)
  71232. return A._asyncRethrow($async$result, $async$completer);
  71233. while (true)
  71234. switch ($async$goto) {
  71235. case 0:
  71236. // Function start
  71237. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  71238. case 2:
  71239. // for condition
  71240. if (!t1.moveNext$0()) {
  71241. // goto after for
  71242. $async$goto = 3;
  71243. break;
  71244. }
  71245. t4 = t1.__internal$_current;
  71246. $async$goto = 4;
  71247. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71248. case 4:
  71249. // returning from await.
  71250. // goto for condition
  71251. $async$goto = 2;
  71252. break;
  71253. case 3:
  71254. // after for
  71255. // implicit return
  71256. return A._asyncReturn(null, $async$completer);
  71257. }
  71258. });
  71259. return A._asyncStartSync($async$call$0, $async$completer);
  71260. },
  71261. $signature: 2
  71262. };
  71263. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  71264. call$1(node) {
  71265. var t1;
  71266. if (!(node instanceof A.ModifiableCssStyleRule)) {
  71267. t1 = this.mergedSources;
  71268. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  71269. } else
  71270. t1 = true;
  71271. return t1;
  71272. },
  71273. $signature: 7
  71274. };
  71275. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  71276. call$0() {
  71277. var $async$goto = 0,
  71278. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71279. $async$self = this, t1;
  71280. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71281. if ($async$errorCode === 1)
  71282. return A._asyncRethrow($async$result, $async$completer);
  71283. while (true)
  71284. switch ($async$goto) {
  71285. case 0:
  71286. // Function start
  71287. t1 = $async$self.$this;
  71288. $async$goto = 2;
  71289. 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);
  71290. case 2:
  71291. // returning from await.
  71292. // implicit return
  71293. return A._asyncReturn(null, $async$completer);
  71294. }
  71295. });
  71296. return A._asyncStartSync($async$call$0, $async$completer);
  71297. },
  71298. $signature: 2
  71299. };
  71300. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  71301. call$0() {
  71302. var $async$goto = 0,
  71303. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71304. $async$self = this, t1, t2, t3, t4;
  71305. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71306. if ($async$errorCode === 1)
  71307. return A._asyncRethrow($async$result, $async$completer);
  71308. while (true)
  71309. switch ($async$goto) {
  71310. case 0:
  71311. // Function start
  71312. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  71313. case 2:
  71314. // for condition
  71315. if (!t1.moveNext$0()) {
  71316. // goto after for
  71317. $async$goto = 3;
  71318. break;
  71319. }
  71320. t4 = t1.__internal$_current;
  71321. $async$goto = 4;
  71322. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71323. case 4:
  71324. // returning from await.
  71325. // goto for condition
  71326. $async$goto = 2;
  71327. break;
  71328. case 3:
  71329. // after for
  71330. // implicit return
  71331. return A._asyncReturn(null, $async$completer);
  71332. }
  71333. });
  71334. return A._asyncStartSync($async$call$0, $async$completer);
  71335. },
  71336. $signature: 2
  71337. };
  71338. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  71339. call$1(node) {
  71340. return node instanceof A.ModifiableCssStyleRule;
  71341. },
  71342. $signature: 7
  71343. };
  71344. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  71345. call$0() {
  71346. var $async$goto = 0,
  71347. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71348. $async$self = this, t2, t3, t4, t1, _0_0;
  71349. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71350. if ($async$errorCode === 1)
  71351. return A._asyncRethrow($async$result, $async$completer);
  71352. while (true)
  71353. switch ($async$goto) {
  71354. case 0:
  71355. // Function start
  71356. t1 = $async$self.$this;
  71357. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71358. $async$goto = _0_0 != null ? 2 : 4;
  71359. break;
  71360. case 2:
  71361. // then
  71362. $async$goto = 5;
  71363. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  71364. case 5:
  71365. // returning from await.
  71366. // goto join
  71367. $async$goto = 3;
  71368. break;
  71369. case 4:
  71370. // else
  71371. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  71372. case 6:
  71373. // for condition
  71374. if (!t2.moveNext$0()) {
  71375. // goto after for
  71376. $async$goto = 7;
  71377. break;
  71378. }
  71379. t4 = t2.__internal$_current;
  71380. $async$goto = 8;
  71381. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71382. case 8:
  71383. // returning from await.
  71384. // goto for condition
  71385. $async$goto = 6;
  71386. break;
  71387. case 7:
  71388. // after for
  71389. case 3:
  71390. // join
  71391. // implicit return
  71392. return A._asyncReturn(null, $async$completer);
  71393. }
  71394. });
  71395. return A._asyncStartSync($async$call$0, $async$completer);
  71396. },
  71397. $signature: 2
  71398. };
  71399. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  71400. call$0() {
  71401. var $async$goto = 0,
  71402. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71403. $async$self = this, t1, t2, t3, t4;
  71404. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71405. if ($async$errorCode === 1)
  71406. return A._asyncRethrow($async$result, $async$completer);
  71407. while (true)
  71408. switch ($async$goto) {
  71409. case 0:
  71410. // Function start
  71411. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  71412. case 2:
  71413. // for condition
  71414. if (!t1.moveNext$0()) {
  71415. // goto after for
  71416. $async$goto = 3;
  71417. break;
  71418. }
  71419. t4 = t1.__internal$_current;
  71420. $async$goto = 4;
  71421. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71422. case 4:
  71423. // returning from await.
  71424. // goto for condition
  71425. $async$goto = 2;
  71426. break;
  71427. case 3:
  71428. // after for
  71429. // implicit return
  71430. return A._asyncReturn(null, $async$completer);
  71431. }
  71432. });
  71433. return A._asyncStartSync($async$call$0, $async$completer);
  71434. },
  71435. $signature: 2
  71436. };
  71437. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  71438. call$1(node) {
  71439. return node instanceof A.ModifiableCssStyleRule;
  71440. },
  71441. $signature: 7
  71442. };
  71443. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  71444. call$1(targetLocations) {
  71445. return A.InterpolationMap$(this.interpolation, targetLocations);
  71446. },
  71447. $signature: 249
  71448. };
  71449. A._EvaluateVisitor__serialize_closure0.prototype = {
  71450. call$0() {
  71451. return A.serializeValue(this.value, false, this.quote);
  71452. },
  71453. $signature: 27
  71454. };
  71455. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  71456. call$0() {
  71457. var t1 = this.expression;
  71458. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  71459. },
  71460. $signature: 250
  71461. };
  71462. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  71463. call$1(number) {
  71464. var t1, before, after,
  71465. _1_0 = number.asSlash;
  71466. $label0$0: {
  71467. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  71468. t1 = type$.SassNumber;
  71469. before = t1._as(_1_0._0);
  71470. after = t1._as(_1_0._1);
  71471. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  71472. break $label0$0;
  71473. }
  71474. t1 = A.serializeValue(number, true, true);
  71475. break $label0$0;
  71476. }
  71477. return t1;
  71478. },
  71479. $signature: 251
  71480. };
  71481. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  71482. call$1(url) {
  71483. var t1 = this.$this._async_evaluate$_importCache;
  71484. t1 = t1 == null ? null : t1.humanize$1(url);
  71485. return t1 == null ? url : t1;
  71486. },
  71487. $signature: 44
  71488. };
  71489. A._ImportedCssVisitor0.prototype = {
  71490. visitCssAtRule$1(node) {
  71491. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  71492. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  71493. },
  71494. visitCssComment$1(node) {
  71495. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  71496. },
  71497. visitCssDeclaration$1(node) {
  71498. },
  71499. visitCssImport$1(node) {
  71500. var t2,
  71501. _s13_ = "_endOfImports",
  71502. t1 = this._async_evaluate$_visitor;
  71503. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  71504. t1._async_evaluate$_addChild$1(node);
  71505. 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)) {
  71506. t1._async_evaluate$_addChild$1(node);
  71507. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  71508. } else {
  71509. t2 = t1._async_evaluate$_outOfOrderImports;
  71510. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  71511. }
  71512. },
  71513. visitCssKeyframeBlock$1(node) {
  71514. },
  71515. visitCssMediaRule$1(node) {
  71516. var t1 = this._async_evaluate$_visitor,
  71517. mediaQueries = t1._async_evaluate$_mediaQueries;
  71518. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  71519. },
  71520. visitCssStyleRule$1(node) {
  71521. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  71522. },
  71523. visitCssStylesheet$1(node) {
  71524. var t1, t2, t3;
  71525. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  71526. t3 = t1.__internal$_current;
  71527. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  71528. }
  71529. },
  71530. visitCssSupportsRule$1(node) {
  71531. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  71532. }
  71533. };
  71534. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  71535. call$1(node) {
  71536. return node instanceof A.ModifiableCssStyleRule;
  71537. },
  71538. $signature: 7
  71539. };
  71540. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  71541. call$1(node) {
  71542. var t1;
  71543. if (!(node instanceof A.ModifiableCssStyleRule))
  71544. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  71545. else
  71546. t1 = true;
  71547. return t1;
  71548. },
  71549. $signature: 7
  71550. };
  71551. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  71552. call$1(node) {
  71553. return node instanceof A.ModifiableCssStyleRule;
  71554. },
  71555. $signature: 7
  71556. };
  71557. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  71558. call$1(node) {
  71559. return node instanceof A.ModifiableCssStyleRule;
  71560. },
  71561. $signature: 7
  71562. };
  71563. A._EvaluationContext0.prototype = {
  71564. get$currentCallableSpan() {
  71565. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  71566. if (_0_0 != null)
  71567. return _0_0.get$span(_0_0);
  71568. throw A.wrapException(A.StateError$(string$.No_Sasc));
  71569. },
  71570. warn$2(_, message, deprecation) {
  71571. var t1 = this._async_evaluate$_visitor,
  71572. t2 = t1._async_evaluate$_importSpan;
  71573. if (t2 == null) {
  71574. t2 = t1._async_evaluate$_callableNode;
  71575. t2 = t2 == null ? null : t2.get$span(t2);
  71576. }
  71577. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  71578. },
  71579. $isEvaluationContext: 1
  71580. };
  71581. A._CloneCssVisitor.prototype = {
  71582. visitCssAtRule$1(node) {
  71583. var t1 = node.isChildless,
  71584. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  71585. return t1 ? rule : this._visitChildren$2(rule, node);
  71586. },
  71587. visitCssComment$1(node) {
  71588. return new A.ModifiableCssComment(node.text, node.span);
  71589. },
  71590. visitCssDeclaration$1(node) {
  71591. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  71592. },
  71593. visitCssImport$1(node) {
  71594. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71595. },
  71596. visitCssKeyframeBlock$1(node) {
  71597. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  71598. },
  71599. visitCssMediaRule$1(node) {
  71600. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  71601. },
  71602. visitCssStyleRule$1(node) {
  71603. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  71604. if (_0_0 != null)
  71605. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, node.originalSelector), node);
  71606. else
  71607. throw A.wrapException(A.StateError$(string$.The_Ex));
  71608. },
  71609. visitCssStylesheet$1(node) {
  71610. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  71611. },
  71612. visitCssSupportsRule$1(node) {
  71613. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  71614. },
  71615. _visitChildren$1$2(newParent, oldParent) {
  71616. var t1, t2, newChild;
  71617. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  71618. t2 = t1.get$current(t1);
  71619. newChild = t2.accept$1(this);
  71620. newChild.isGroupEnd = t2.get$isGroupEnd();
  71621. newParent.addChild$1(newChild);
  71622. }
  71623. return newParent;
  71624. },
  71625. _visitChildren$2(newParent, oldParent) {
  71626. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  71627. }
  71628. };
  71629. A.Evaluator.prototype = {};
  71630. A._EvaluateVisitor.prototype = {
  71631. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  71632. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  71633. _s20_ = "$name, $module: null",
  71634. _s9_ = "sass:meta",
  71635. _s7_ = "$module",
  71636. t1 = type$.JSArray_BuiltInCallable,
  71637. 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),
  71638. 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);
  71639. t1 = type$.BuiltInCallable;
  71640. t2 = A.List_List$of($.$get$global(), true, t1);
  71641. B.JSArray_methods.addAll$1(t2, $.$get$local());
  71642. B.JSArray_methods.addAll$1(t2, metaFunctions);
  71643. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  71644. 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) {
  71645. module = t1[_i];
  71646. t3.$indexSet(0, module.url, module);
  71647. }
  71648. t1 = A._setArrayType([], type$.JSArray_Callable);
  71649. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  71650. B.JSArray_methods.addAll$1(t1, metaFunctions);
  71651. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  71652. $function = t1[_i];
  71653. t4 = J.get$name$x($function);
  71654. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  71655. }
  71656. },
  71657. run$2(_, importer, node) {
  71658. var error, stackTrace, t1, exception;
  71659. try {
  71660. t1 = type$.nullable_Object;
  71661. 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);
  71662. return t1;
  71663. } catch (exception) {
  71664. t1 = A.unwrapException(exception);
  71665. if (t1 instanceof A.SassException) {
  71666. error = t1;
  71667. stackTrace = A.getTraceFromException(exception);
  71668. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  71669. } else
  71670. throw exception;
  71671. }
  71672. },
  71673. runExpression$2(importer, expression) {
  71674. var t1 = type$.nullable_Object;
  71675. 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);
  71676. },
  71677. runStatement$2(importer, statement) {
  71678. var t1 = type$.nullable_Object;
  71679. 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);
  71680. },
  71681. _assertInModule$1$2(value, $name) {
  71682. if (value != null)
  71683. return value;
  71684. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  71685. },
  71686. _assertInModule$2(value, $name) {
  71687. return this._assertInModule$1$2(value, $name, type$.dynamic);
  71688. },
  71689. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  71690. var t1, _this = this,
  71691. oldImporter = _this._importer;
  71692. _this._importer = importer;
  71693. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  71694. try {
  71695. t1 = callback.call$0();
  71696. return t1;
  71697. } finally {
  71698. _this._importer = oldImporter;
  71699. _this.__stylesheet = null;
  71700. }
  71701. },
  71702. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  71703. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  71704. },
  71705. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71706. var _0_0, t2, _this = this, t1 = {};
  71707. t1.builtInModule = null;
  71708. _0_0 = _this._builtInModules.$index(0, url);
  71709. if (_0_0 != null) {
  71710. t1.builtInModule = _0_0;
  71711. if (configuration instanceof A.ExplicitConfiguration) {
  71712. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  71713. t2 = configuration.nodeWithSpan;
  71714. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  71715. }
  71716. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  71717. return;
  71718. }
  71719. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  71720. },
  71721. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  71722. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  71723. },
  71724. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  71725. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  71726. },
  71727. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71728. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  71729. t1 = stylesheet.span,
  71730. url = t1.get$sourceUrl(t1);
  71731. t1 = _this._modules;
  71732. _0_0 = t1.$index(0, url);
  71733. if (_0_0 != null) {
  71734. t1 = configuration == null;
  71735. currentConfiguration = t1 ? _this._configuration : configuration;
  71736. t2 = _this._moduleConfigurations.$index(0, url);
  71737. t3 = t2.__originalConfiguration;
  71738. t2 = t3 == null ? t2 : t3;
  71739. t3 = currentConfiguration.__originalConfiguration;
  71740. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  71741. if (namesInErrors) {
  71742. t2 = $.$get$context();
  71743. url.toString;
  71744. message = t2.prettyUri$1(url) + string$.x20was_a;
  71745. } else
  71746. message = string$.This_mw;
  71747. t2 = _this._moduleNodes.$index(0, url);
  71748. existingSpan = t2 == null ? null : t2.get$span(t2);
  71749. if (t1) {
  71750. t1 = currentConfiguration.nodeWithSpan;
  71751. configurationSpan = t1.get$span(t1);
  71752. } else
  71753. configurationSpan = null;
  71754. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71755. if (existingSpan != null)
  71756. t1.$indexSet(0, existingSpan, "original load");
  71757. if (configurationSpan != null)
  71758. t1.$indexSet(0, configurationSpan, "configuration");
  71759. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  71760. }
  71761. return _0_0;
  71762. }
  71763. environment = A.Environment$();
  71764. css = A._Cell$();
  71765. preModuleComments = A._Cell$();
  71766. extensionStore = A.ExtensionStore$();
  71767. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  71768. t2 = css._readLocal$0();
  71769. t3 = preModuleComments._readLocal$0();
  71770. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  71771. if (url != null) {
  71772. t1.$indexSet(0, url, module);
  71773. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  71774. if (nodeWithSpan != null)
  71775. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  71776. }
  71777. return module;
  71778. },
  71779. _execute$2(importer, stylesheet) {
  71780. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  71781. },
  71782. _addOutOfOrderImports$0() {
  71783. var t1, t2, _this = this, _s5_ = "_root",
  71784. _s13_ = "_endOfImports",
  71785. _0_0 = _this._outOfOrderImports;
  71786. $label0$0: {
  71787. if (_0_0 == null) {
  71788. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71789. break $label0$0;
  71790. }
  71791. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71792. 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);
  71793. B.JSArray_methods.addAll$1(t1, _0_0);
  71794. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  71795. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  71796. break $label0$0;
  71797. }
  71798. return t1;
  71799. },
  71800. _combineCss$2$clone(root, clone) {
  71801. var selectors, _0_0, t1, imports, css, sorted, t2;
  71802. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  71803. selectors = root.get$extensionStore().get$simpleSelectors();
  71804. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  71805. if (_0_0 != null)
  71806. this._throwForUnsatisfiedExtension$1(_0_0);
  71807. return root.get$css(root);
  71808. }
  71809. t1 = type$.JSArray_CssNode;
  71810. imports = A._setArrayType([], t1);
  71811. css = A._setArrayType([], t1);
  71812. t1 = type$.Module_Callable;
  71813. sorted = A.ListQueue$(t1);
  71814. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  71815. if (root.get$transitivelyContainsExtensions())
  71816. this._extendModules$1(sorted);
  71817. t1 = B.JSArray_methods.$add(imports, css);
  71818. t2 = root.get$css(root);
  71819. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  71820. },
  71821. _combineCss$1(root) {
  71822. return this._combineCss$2$clone(root, false);
  71823. },
  71824. _extendModules$1(sortedModules) {
  71825. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  71826. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  71827. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  71828. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  71829. t3 = t1._collection$_current;
  71830. if (t3 == null)
  71831. t3 = t2._as(t3);
  71832. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  71833. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  71834. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  71835. t4 = t3.get$extensionStore().get$addExtensions();
  71836. if ($self != null)
  71837. t4.call$1($self);
  71838. t4 = t3.get$extensionStore();
  71839. if (t4.get$isEmpty(t4))
  71840. continue;
  71841. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  71842. upstream = t4[_i];
  71843. _0_0 = upstream.get$url(upstream);
  71844. if (_0_0 != null)
  71845. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  71846. }
  71847. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  71848. }
  71849. if (unsatisfiedExtensions._collection$_length !== 0)
  71850. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  71851. },
  71852. _throwForUnsatisfiedExtension$1(extension) {
  71853. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  71854. },
  71855. _indexAfterImports$1(statements) {
  71856. var t1, lastImport, i, _0_0;
  71857. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  71858. $label0$0: {
  71859. _0_0 = t1.$index(statements, i);
  71860. if (_0_0 instanceof A.ModifiableCssImport)
  71861. break $label0$0;
  71862. if (_0_0 instanceof A.ModifiableCssComment)
  71863. continue;
  71864. break;
  71865. }
  71866. lastImport = i;
  71867. }
  71868. return lastImport + 1;
  71869. },
  71870. visitStylesheet$1(node) {
  71871. var t1, t2, _i;
  71872. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  71873. t1[_i].accept$1(this);
  71874. return null;
  71875. },
  71876. visitAtRootRule$1(node) {
  71877. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  71878. _s8_ = "__parent",
  71879. _0_0 = node.query,
  71880. query = _0_0 != null ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate$_logger, null).parse$0() : B.AtRootQuery_UsS,
  71881. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  71882. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  71883. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  71884. if (!query.excludes$1($parent))
  71885. included.push($parent);
  71886. _2_0 = $parent._parent;
  71887. if (_2_0 == null)
  71888. throw A.wrapException(A.StateError$(string$.CssNod));
  71889. }
  71890. root = _this._trimIncluded$1(included);
  71891. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  71892. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  71893. return null;
  71894. }
  71895. if (included.length >= 1) {
  71896. first = included[0];
  71897. rest = B.JSArray_methods.sublist$1(included, 1);
  71898. innerCopy = first.copyWithoutChildren$0();
  71899. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  71900. copy = rest[_i].copyWithoutChildren$0();
  71901. copy.addChild$1(outerCopy);
  71902. }
  71903. root.addChild$1(outerCopy);
  71904. } else
  71905. innerCopy = root;
  71906. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  71907. return null;
  71908. },
  71909. _trimIncluded$1(nodes) {
  71910. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  71911. _s22_ = " to be an ancestor of ";
  71912. if (nodes.length === 0)
  71913. return _this._assertInModule$2(_this.__root, _s5_);
  71914. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  71915. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  71916. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  71917. _0_0 = $parent._parent;
  71918. if (_0_0 == null)
  71919. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71920. }
  71921. if (innermostContiguous == null)
  71922. innermostContiguous = i;
  71923. _1_0 = $parent._parent;
  71924. if (_1_0 == null)
  71925. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71926. }
  71927. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  71928. return _this._assertInModule$2(_this.__root, _s5_);
  71929. innermostContiguous.toString;
  71930. root = nodes[innermostContiguous];
  71931. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  71932. return root;
  71933. },
  71934. _scopeForAtRoot$4(node, newParent, query, included) {
  71935. var _this = this,
  71936. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  71937. t1 = query._all || query._at_root_query$_rule;
  71938. if (t1 !== query.include)
  71939. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  71940. if (_this._mediaQueries != null && query.excludesName$1("media"))
  71941. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  71942. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  71943. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  71944. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  71945. },
  71946. visitContentBlock$1(node) {
  71947. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  71948. },
  71949. visitContentRule$1(node) {
  71950. var $content = this._environment._content;
  71951. if ($content == null)
  71952. return null;
  71953. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  71954. return null;
  71955. },
  71956. visitDebugRule$1(node) {
  71957. var value = node.expression.accept$1(this),
  71958. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  71959. this._evaluate$_logger.debug$2(0, t1, node.span);
  71960. return null;
  71961. },
  71962. visitDeclaration$1(node) {
  71963. var t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  71964. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  71965. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  71966. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  71967. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  71968. t2 = node.name;
  71969. $name = _this._interpolationToValue$2$warnForColor(t2, true);
  71970. _0_0 = _this._declarationName;
  71971. if (_0_0 != null)
  71972. $name = new A.CssValue(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  71973. _1_0 = node.value;
  71974. if (_1_0 != null) {
  71975. value = _1_0.accept$1(_this);
  71976. if (!value.get$isBlank() || value.get$asList().length === 0) {
  71977. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  71978. t4 = _1_0.get$span(_1_0);
  71979. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  71980. if (_this._sourceMap) {
  71981. t5 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
  71982. t5 = t5 == null ? _null : J.get$span$z(t5);
  71983. } else
  71984. t5 = _null;
  71985. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  71986. } else if (J.startsWith$1$s($name.value, "--"))
  71987. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  71988. }
  71989. t1.children = null;
  71990. _2_0 = node.children;
  71991. if (_2_0 != null) {
  71992. t1.children = _2_0;
  71993. oldDeclarationName = _this._declarationName;
  71994. _this._declarationName = $name.value;
  71995. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  71996. _this._declarationName = oldDeclarationName;
  71997. }
  71998. return _null;
  71999. },
  72000. visitEachRule$1(node) {
  72001. var _this = this, _box_0 = {},
  72002. t1 = node.list,
  72003. list = t1.accept$1(_this),
  72004. nodeWithSpan = _this._expressionNode$1(t1),
  72005. _0_0 = node.variables;
  72006. $label0$0: {
  72007. _box_0.variable = null;
  72008. if (_0_0.length === 1) {
  72009. _box_0.variable = _0_0[0];
  72010. t1 = new A._EvaluateVisitor_visitEachRule_closure(_box_0, _this, nodeWithSpan);
  72011. break $label0$0;
  72012. }
  72013. _box_0.variables = null;
  72014. _box_0.variables = _0_0;
  72015. t1 = new A._EvaluateVisitor_visitEachRule_closure0(_box_0, _this, nodeWithSpan);
  72016. break $label0$0;
  72017. }
  72018. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  72019. },
  72020. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  72021. var i,
  72022. list = value.get$asList(),
  72023. t1 = variables.length,
  72024. minLength = Math.min(t1, list.length);
  72025. for (i = 0; i < minLength; ++i)
  72026. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  72027. for (i = minLength; i < t1; ++i)
  72028. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  72029. },
  72030. visitErrorRule$1(node) {
  72031. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  72032. },
  72033. visitExtendRule$1(node) {
  72034. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  72035. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  72036. if (styleRule == null || _this._declarationName != null)
  72037. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  72038. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  72039. complex = t1[_i];
  72040. if (!complex.accept$1(B._IsBogusVisitor_true))
  72041. continue;
  72042. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72043. complex.accept$1(visitor);
  72044. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72045. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  72046. _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);
  72047. }
  72048. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  72049. 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) {
  72050. complex = t1[_i];
  72051. compound = complex.get$singleCompound();
  72052. if (compound == null)
  72053. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  72054. t4 = compound.components;
  72055. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  72056. if (t5 == null)
  72057. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  72058. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  72059. }
  72060. return _null;
  72061. },
  72062. visitAtRule$1(node) {
  72063. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  72064. if (_this._declarationName != null)
  72065. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  72066. $name = _this._interpolationToValue$1(node.name);
  72067. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  72068. children = node.children;
  72069. if (children == null) {
  72070. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  72071. return null;
  72072. }
  72073. wasInKeyframes = _this._inKeyframes;
  72074. wasInUnknownAtRule = _this._inUnknownAtRule;
  72075. if (A.unvendor($name.value) === "keyframes")
  72076. _this._inKeyframes = true;
  72077. else
  72078. _this._inUnknownAtRule = true;
  72079. _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);
  72080. _this._inUnknownAtRule = wasInUnknownAtRule;
  72081. _this._inKeyframes = wasInKeyframes;
  72082. return null;
  72083. },
  72084. visitForRule$1(node) {
  72085. var _this = this, t1 = {},
  72086. t2 = node.from,
  72087. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  72088. t3 = node.to,
  72089. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  72090. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  72091. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  72092. direction = from > to ? -1 : 1;
  72093. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  72094. return null;
  72095. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  72096. },
  72097. visitForwardRule$1(node) {
  72098. var newConfiguration, t4, _i, variable, $name, _this = this,
  72099. _s8_ = "@forward",
  72100. oldConfiguration = _this._configuration,
  72101. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  72102. t1 = node.configuration,
  72103. t2 = t1.length,
  72104. t3 = node.url;
  72105. if (t2 !== 0) {
  72106. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  72107. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  72108. t3 = type$.String;
  72109. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72110. for (_i = 0; _i < t2; ++_i) {
  72111. variable = t1[_i];
  72112. if (!variable.isGuarded)
  72113. t4.add$1(0, variable.name);
  72114. }
  72115. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  72116. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72117. for (_i = 0; _i < t2; ++_i)
  72118. t3.add$1(0, t1[_i].name);
  72119. 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) {
  72120. $name = t2[_i];
  72121. if (!t3.contains$1(0, $name))
  72122. if (!t1.get$isEmpty(t1))
  72123. t1.remove$1(0, $name);
  72124. }
  72125. _this._assertConfigurationIsEmpty$1(newConfiguration);
  72126. } else {
  72127. _this._configuration = adjustedConfiguration;
  72128. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  72129. _this._configuration = oldConfiguration;
  72130. }
  72131. return null;
  72132. },
  72133. _addForwardConfiguration$2(configuration, node) {
  72134. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  72135. t1 = configuration._configuration$_values,
  72136. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72137. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  72138. variable = t2[_i];
  72139. if (variable.isGuarded) {
  72140. t4 = variable.name;
  72141. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  72142. if (oldValue != null)
  72143. t5 = !oldValue.value.$eq(0, B.C__SassNull);
  72144. else {
  72145. oldValue = _null;
  72146. t5 = false;
  72147. }
  72148. if (t5) {
  72149. newValues.$indexSet(0, t4, oldValue);
  72150. continue;
  72151. }
  72152. }
  72153. t4 = variable.expression;
  72154. variableNodeWithSpan = this._expressionNode$1(t4);
  72155. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72156. }
  72157. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  72158. return new A.ExplicitConfiguration(node, newValues, _null);
  72159. else
  72160. return new A.Configuration(newValues, _null);
  72161. },
  72162. _registerCommentsForModule$1(module) {
  72163. var _this = this, _s5_ = "_root",
  72164. t1 = _this.__root;
  72165. if (t1 == null)
  72166. return;
  72167. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  72168. return;
  72169. t1 = _this._preModuleComments;
  72170. if (t1 == null)
  72171. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  72172. 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));
  72173. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  72174. _this.__endOfImports = 0;
  72175. },
  72176. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  72177. var t1, t2, t3, t4, _i, $name;
  72178. 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) {
  72179. $name = t2[_i];
  72180. if (except.contains$1(0, $name))
  72181. continue;
  72182. if (!t4.containsKey$1($name))
  72183. if (!t1.get$isEmpty(t1))
  72184. t1.remove$1(0, $name);
  72185. }
  72186. },
  72187. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  72188. var t1, _0_0, $name, value;
  72189. if (!(configuration instanceof A.ExplicitConfiguration))
  72190. return;
  72191. t1 = configuration._configuration$_values;
  72192. if (t1.get$isEmpty(t1))
  72193. return;
  72194. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72195. _0_0 = t1.get$first(t1);
  72196. $name = _0_0._0;
  72197. value = _0_0._1;
  72198. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  72199. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  72200. },
  72201. _assertConfigurationIsEmpty$1(configuration) {
  72202. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  72203. },
  72204. visitFunctionRule$1(node) {
  72205. var t1 = this._environment,
  72206. t2 = t1.closure$0(),
  72207. t3 = this._inDependency,
  72208. t4 = t1._functions,
  72209. index = t4.length - 1,
  72210. t5 = node.name;
  72211. t1._functionIndices.$indexSet(0, t5, index);
  72212. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72213. return null;
  72214. },
  72215. visitIfRule$1(node) {
  72216. var t1, t2, _i, clauseToCheck,
  72217. clause = node.lastClause;
  72218. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72219. clauseToCheck = t1[_i];
  72220. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  72221. clause = clauseToCheck;
  72222. break;
  72223. }
  72224. }
  72225. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  72226. },
  72227. visitImportRule$1(node) {
  72228. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  72229. _s8_ = "__parent",
  72230. _s5_ = "_root",
  72231. _s13_ = "_endOfImports";
  72232. 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) {
  72233. $import = t1[_i];
  72234. if ($import instanceof A.DynamicImport)
  72235. _this._visitDynamicImport$1($import);
  72236. else {
  72237. t5._as($import);
  72238. t7 = $import.url;
  72239. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  72240. $self = $import.modifiers;
  72241. t8 = $self == null ? null : t4.call$1($self);
  72242. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  72243. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  72244. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  72245. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  72246. t7 = _this._assertInModule$2(_this.__root, _s5_);
  72247. node._parent = t7;
  72248. t7 = t7._children;
  72249. node._indexInParent = t7.length;
  72250. t7.push(node);
  72251. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72252. } else {
  72253. t7 = _this._outOfOrderImports;
  72254. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  72255. }
  72256. }
  72257. }
  72258. return null;
  72259. },
  72260. _visitDynamicImport$1($import) {
  72261. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  72262. },
  72263. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  72264. var importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
  72265. baseUrl = baseUrl;
  72266. try {
  72267. _this._importSpan = span;
  72268. importCache = null;
  72269. _0_0 = _this._evaluate$_importCache;
  72270. if (_0_0 != null) {
  72271. importCache = _0_0;
  72272. if (baseUrl == null) {
  72273. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  72274. baseUrl = t1.get$sourceUrl(t1);
  72275. }
  72276. importer = null;
  72277. canonicalUrl = null;
  72278. originalUrl = null;
  72279. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  72280. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  72281. importer = _1_0._0;
  72282. canonicalUrl = _1_0._1;
  72283. originalUrl = _1_0._2;
  72284. _this._loadedUrls.add$1(0, canonicalUrl);
  72285. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  72286. stylesheet = null;
  72287. t1 = importCache;
  72288. t2 = importer;
  72289. t3 = canonicalUrl;
  72290. t4 = originalUrl;
  72291. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._quietDeps && isDependency);
  72292. if (_2_0 != null) {
  72293. stylesheet = _2_0;
  72294. t1 = stylesheet;
  72295. t2 = importer;
  72296. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  72297. }
  72298. }
  72299. }
  72300. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  72301. throw A.wrapException(string$.x22packa);
  72302. else
  72303. throw A.wrapException("Can't find stylesheet to import.");
  72304. } catch (exception) {
  72305. t1 = A.unwrapException(exception);
  72306. if (t1 instanceof A.SassException)
  72307. throw exception;
  72308. else if (t1 instanceof A.ArgumentError) {
  72309. error = t1;
  72310. stackTrace = A.getTraceFromException(exception);
  72311. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  72312. } else {
  72313. error0 = t1;
  72314. stackTrace0 = A.getTraceFromException(exception);
  72315. message = null;
  72316. try {
  72317. message = A._asString(J.get$message$x(error0));
  72318. } catch (exception) {
  72319. message0 = J.toString$0$(error0);
  72320. message = message0;
  72321. }
  72322. A.throwWithTrace(_this._evaluate$_exception$1(message), error0, stackTrace0);
  72323. }
  72324. } finally {
  72325. _this._importSpan = null;
  72326. }
  72327. },
  72328. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  72329. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  72330. },
  72331. _loadStylesheet$3$forImport(url, span, forImport) {
  72332. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  72333. },
  72334. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  72335. var t1, _0_0, _1_8, t2, _this = this,
  72336. _s37_ = "Mixin doesn't accept a content block.",
  72337. _s10_ = "invocation";
  72338. $label0$0: {
  72339. if (mixin == null)
  72340. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  72341. t1 = mixin instanceof A.BuiltInCallable;
  72342. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  72343. t1 = _this._evaluateArguments$1($arguments)._values;
  72344. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  72345. 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));
  72346. }
  72347. if (t1) {
  72348. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  72349. break $label0$0;
  72350. }
  72351. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  72352. if (t1) {
  72353. _1_8 = mixin.declaration;
  72354. if (_1_8 instanceof A.MixinRule)
  72355. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  72356. else
  72357. t2 = false;
  72358. } else
  72359. t2 = false;
  72360. if (t2)
  72361. 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));
  72362. if (t1) {
  72363. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  72364. break $label0$0;
  72365. }
  72366. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  72367. }
  72368. },
  72369. visitIncludeRule$1(node) {
  72370. var _this = this;
  72371. _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)));
  72372. return null;
  72373. },
  72374. visitMixinRule$1(node) {
  72375. var t1 = this._environment,
  72376. t2 = t1.closure$0(),
  72377. t3 = this._inDependency,
  72378. t4 = t1._mixins,
  72379. index = t4.length - 1,
  72380. t5 = node.name;
  72381. t1._mixinIndices.$indexSet(0, t5, index);
  72382. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72383. return null;
  72384. },
  72385. visitLoudComment$1(node) {
  72386. var t1, _this = this,
  72387. _s8_ = "__parent",
  72388. _s13_ = "_endOfImports";
  72389. if (_this._inFunction)
  72390. return null;
  72391. 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))
  72392. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72393. t1 = node.text;
  72394. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  72395. return null;
  72396. },
  72397. visitMediaRule$1(node) {
  72398. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  72399. if (_this._declarationName != null)
  72400. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  72401. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  72402. queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
  72403. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  72404. t1 = mergedQueries == null;
  72405. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  72406. return null;
  72407. if (t1)
  72408. mergedSources = B.Set_empty1;
  72409. else {
  72410. t2 = _this._mediaQuerySources;
  72411. t2.toString;
  72412. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  72413. t3 = _this._mediaQueries;
  72414. t3.toString;
  72415. t2.addAll$1(0, t3);
  72416. t2.addAll$1(0, queries);
  72417. mergedSources = t2;
  72418. }
  72419. t1 = t1 ? queries : mergedQueries;
  72420. _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);
  72421. return null;
  72422. },
  72423. _mergeMediaQueries$2(queries1, queries2) {
  72424. var t1, t2, t3, t4, _0_0, result, t5,
  72425. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  72426. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  72427. t3 = t1.get$current(t1);
  72428. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  72429. $label0$1: {
  72430. _0_0 = t3.merge$1(t4.get$current(t4));
  72431. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  72432. continue;
  72433. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  72434. return null;
  72435. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult) {
  72436. result = _0_0;
  72437. t5 = true;
  72438. } else {
  72439. result = null;
  72440. t5 = false;
  72441. }
  72442. if (t5)
  72443. queries.push(result.query);
  72444. break $label0$1;
  72445. }
  72446. }
  72447. return queries;
  72448. },
  72449. visitReturnRule$1(node) {
  72450. var t1 = node.expression;
  72451. return this._withoutSlash$2(t1.accept$1(this), t1);
  72452. },
  72453. visitSilentComment$1(node) {
  72454. return null;
  72455. },
  72456. visitStyleRule$1(node) {
  72457. var t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  72458. _s11_ = "_stylesheet",
  72459. _s8_ = "__parent";
  72460. if (_this._declarationName != null)
  72461. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  72462. t1 = node.selector;
  72463. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  72464. selectorText = _0_0._0;
  72465. selectorMap = _0_0._1;
  72466. if (_this._inKeyframes) {
  72467. _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);
  72468. return _null;
  72469. }
  72470. t1 = A.SelectorList_SelectorList$parse(selectorText, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate$_logger);
  72471. t2 = _this._styleRuleIgnoringAtRoot;
  72472. t2 = t2 == null ? _null : t2.originalSelector;
  72473. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._atRootExcludingStyleRule);
  72474. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, parsedSelector);
  72475. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  72476. _this._atRootExcludingStyleRule = false;
  72477. _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);
  72478. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72479. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  72480. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  72481. complex = t1[_i];
  72482. if (!complex.accept$1(B._IsBogusVisitor_true))
  72483. continue;
  72484. if (complex.accept$1(B.C__IsUselessVisitor)) {
  72485. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72486. complex.accept$1(visitor);
  72487. _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);
  72488. } else if (complex.leadingCombinators.length !== 0) {
  72489. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72490. complex.accept$1(visitor);
  72491. _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);
  72492. } else {
  72493. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72494. complex.accept$1(visitor);
  72495. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72496. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  72497. t8 = A.SpanExtensions_trimRight(complex.span);
  72498. if (t5.get$length(0) === 0)
  72499. A.throwExpression(A.IterableElementError_noElement());
  72500. t9 = J.get$span$z(t5.$index(0, 0));
  72501. _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);
  72502. }
  72503. }
  72504. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  72505. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72506. t1 = !t1.get$isEmpty(t1);
  72507. } else
  72508. t1 = false;
  72509. if (t1) {
  72510. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72511. t1.get$last(t1).isGroupEnd = true;
  72512. }
  72513. return _null;
  72514. },
  72515. visitSupportsRule$1(node) {
  72516. var t1, _this = this;
  72517. if (_this._declarationName != null)
  72518. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  72519. t1 = node.condition;
  72520. _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);
  72521. return null;
  72522. },
  72523. _visitSupportsCondition$1(condition) {
  72524. var t1, _this = this, _box_0 = {};
  72525. $label0$0: {
  72526. if (condition instanceof A.SupportsOperation) {
  72527. t1 = condition.operator;
  72528. t1 = _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  72529. break $label0$0;
  72530. }
  72531. if (condition instanceof A.SupportsNegation) {
  72532. t1 = "not " + _this._parenthesize$1(condition.condition);
  72533. break $label0$0;
  72534. }
  72535. if (condition instanceof A.SupportsInterpolation) {
  72536. t1 = condition.expression;
  72537. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  72538. break $label0$0;
  72539. }
  72540. _box_0.declaration = null;
  72541. if (condition instanceof A.SupportsDeclaration) {
  72542. _box_0.declaration = condition;
  72543. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(_box_0, _this));
  72544. break $label0$0;
  72545. }
  72546. if (condition instanceof A.SupportsFunction) {
  72547. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  72548. break $label0$0;
  72549. }
  72550. if (condition instanceof A.SupportsAnything) {
  72551. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  72552. break $label0$0;
  72553. }
  72554. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  72555. }
  72556. return t1;
  72557. },
  72558. _withSupportsDeclaration$1$1(callback) {
  72559. var t1,
  72560. oldInSupportsDeclaration = this._inSupportsDeclaration;
  72561. this._inSupportsDeclaration = true;
  72562. try {
  72563. t1 = callback.call$0();
  72564. return t1;
  72565. } finally {
  72566. this._inSupportsDeclaration = oldInSupportsDeclaration;
  72567. }
  72568. },
  72569. _withSupportsDeclaration$1(callback) {
  72570. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  72571. },
  72572. _parenthesize$2(condition, operator) {
  72573. var t1;
  72574. if (!(condition instanceof A.SupportsNegation))
  72575. if (condition instanceof A.SupportsOperation)
  72576. t1 = operator == null || operator !== condition.operator;
  72577. else
  72578. t1 = false;
  72579. else
  72580. t1 = true;
  72581. if (t1)
  72582. return "(" + this._visitSupportsCondition$1(condition) + ")";
  72583. return this._visitSupportsCondition$1(condition);
  72584. },
  72585. _parenthesize$1(condition) {
  72586. return this._parenthesize$2(condition, null);
  72587. },
  72588. visitVariableDeclaration$1(node) {
  72589. var t2, value, _this = this, _null = null, t1 = {};
  72590. if (node.isGuarded) {
  72591. if (node.namespace == null && _this._environment._variables.length === 1) {
  72592. t1.override = null;
  72593. t2 = _this._configuration._configuration$_values;
  72594. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  72595. if (t2 != null) {
  72596. t1.override = t2;
  72597. t2 = !t2.value.$eq(0, B.C__SassNull);
  72598. } else
  72599. t2 = false;
  72600. if (t2) {
  72601. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  72602. return _null;
  72603. }
  72604. }
  72605. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  72606. if (value != null && !value.$eq(0, B.C__SassNull))
  72607. return _null;
  72608. }
  72609. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  72610. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  72611. _this._warn$3(t1, node.span, B.Deprecation_hzy);
  72612. }
  72613. t1 = node.expression;
  72614. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  72615. return _null;
  72616. },
  72617. visitUseRule$1(node) {
  72618. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  72619. t1 = node.configuration,
  72620. t2 = t1.length;
  72621. if (t2 !== 0) {
  72622. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  72623. for (_i = 0; _i < t2; ++_i) {
  72624. variable = t1[_i];
  72625. t3 = variable.expression;
  72626. variableNodeWithSpan = _this._expressionNode$1(t3);
  72627. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72628. }
  72629. configuration = new A.ExplicitConfiguration(node, values, null);
  72630. } else
  72631. configuration = B.Configuration_Map_empty_null;
  72632. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  72633. _this._assertConfigurationIsEmpty$1(configuration);
  72634. return null;
  72635. },
  72636. visitWarnRule$1(node) {
  72637. var _this = this,
  72638. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  72639. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  72640. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  72641. return null;
  72642. },
  72643. visitWhileRule$1(node) {
  72644. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  72645. },
  72646. visitBinaryOperationExpression$1(node) {
  72647. var t1, _this = this;
  72648. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  72649. t1 = node.operator;
  72650. t1 = t1 !== B.BinaryOperator_2jN && t1 !== B.BinaryOperator_t8B;
  72651. } else
  72652. t1 = false;
  72653. if (t1)
  72654. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  72655. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  72656. },
  72657. _slash$3(left, right, node) {
  72658. var t1, right0, _1_2, _1_1, _1_2_isSet, _null = null,
  72659. result = left.dividedBy$1(right);
  72660. if (left instanceof A.SassNumber) {
  72661. t1 = type$.SassNumber;
  72662. t1._as(left);
  72663. if (right instanceof A.SassNumber) {
  72664. t1._as(right);
  72665. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  72666. right0 = right;
  72667. _1_2 = right0;
  72668. } else {
  72669. right0 = _null;
  72670. _1_2 = right;
  72671. t1 = false;
  72672. }
  72673. _1_1 = left;
  72674. _1_2_isSet = true;
  72675. } else {
  72676. right0 = _null;
  72677. _1_2 = right0;
  72678. _1_1 = left;
  72679. left = _1_2;
  72680. _1_2_isSet = false;
  72681. t1 = false;
  72682. }
  72683. if (t1)
  72684. return type$.SassNumber._as(result).withSlash$2(left, right0);
  72685. if (_1_1 instanceof A.SassNumber)
  72686. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  72687. else
  72688. t1 = false;
  72689. if (t1) {
  72690. 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(0), B.Deprecation_xHK);
  72691. return result;
  72692. }
  72693. return result;
  72694. },
  72695. _operandAllowsSlash$1(node) {
  72696. var t1, t2;
  72697. if (node instanceof A.FunctionExpression)
  72698. if (node.namespace == null) {
  72699. t1 = node.originalName;
  72700. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  72701. t2 = this._environment;
  72702. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  72703. } else
  72704. t1 = false;
  72705. } else
  72706. t1 = false;
  72707. else
  72708. t1 = true;
  72709. return t1;
  72710. },
  72711. visitValueExpression$1(node) {
  72712. return node.value;
  72713. },
  72714. visitVariableExpression$1(node) {
  72715. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  72716. if (result != null)
  72717. return result;
  72718. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  72719. },
  72720. visitUnaryOperationExpression$1(node) {
  72721. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  72722. },
  72723. visitBooleanExpression$1(node) {
  72724. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  72725. },
  72726. visitIfExpression$1(node) {
  72727. var condition, t1, ifTrue, ifFalse, result, _this = this,
  72728. _0_0 = _this._evaluateMacroArguments$1(node),
  72729. positional = _0_0._0,
  72730. named = _0_0._1;
  72731. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  72732. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  72733. if (condition == null) {
  72734. t1 = named.$index(0, "condition");
  72735. t1.toString;
  72736. condition = t1;
  72737. }
  72738. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  72739. if (ifTrue == null) {
  72740. t1 = named.$index(0, "if-true");
  72741. t1.toString;
  72742. ifTrue = t1;
  72743. }
  72744. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  72745. if (ifFalse == null) {
  72746. t1 = named.$index(0, "if-false");
  72747. t1.toString;
  72748. ifFalse = t1;
  72749. }
  72750. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  72751. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  72752. },
  72753. visitNullExpression$1(node) {
  72754. return B.C__SassNull;
  72755. },
  72756. visitNumberExpression$1(node) {
  72757. return A.SassNumber_SassNumber(node.value, node.unit);
  72758. },
  72759. visitParenthesizedExpression$1(node) {
  72760. var _this = this;
  72761. 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);
  72762. },
  72763. visitColorExpression$1(node) {
  72764. return node.value;
  72765. },
  72766. visitListExpression$1(node) {
  72767. var t1 = node.contents;
  72768. 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);
  72769. },
  72770. visitMapExpression$1(node) {
  72771. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  72772. t1 = type$.Value,
  72773. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  72774. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  72775. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  72776. t4 = t2[_i];
  72777. key = t4._0;
  72778. value = t4._1;
  72779. keyValue = key.accept$1(this);
  72780. valueValue = value.accept$1(this);
  72781. if (map.containsKey$1(keyValue)) {
  72782. t1 = keyNodes.$index(0, keyValue);
  72783. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  72784. t1 = key.get$span(key);
  72785. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  72786. if (oldValueSpan != null)
  72787. t2.$indexSet(0, oldValueSpan, "first key");
  72788. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  72789. }
  72790. map.$indexSet(0, keyValue, valueValue);
  72791. keyNodes.$indexSet(0, keyValue, key);
  72792. }
  72793. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  72794. },
  72795. visitFunctionExpression$1(node) {
  72796. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  72797. _s11_ = "_stylesheet",
  72798. t1 = {},
  72799. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  72800. t1.$function = $function;
  72801. if ($function == null) {
  72802. if (node.namespace != null)
  72803. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  72804. t2 = node.originalName;
  72805. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  72806. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  72807. t3 = node.$arguments;
  72808. t4 = t3.named;
  72809. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  72810. } else
  72811. t3 = false;
  72812. if (t3)
  72813. return _this._visitCalculation$2$inLegacySassFunction(node, true);
  72814. 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)
  72815. return _this._visitCalculation$1(node);
  72816. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  72817. $function = null;
  72818. else {
  72819. t3 = _this._builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  72820. $function = t3;
  72821. }
  72822. t1.$function = $function == null ? new A.PlainCssCallable(t2) : $function;
  72823. }
  72824. oldInFunction = _this._inFunction;
  72825. _this._inFunction = true;
  72826. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  72827. _this._inFunction = oldInFunction;
  72828. return result;
  72829. },
  72830. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  72831. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  72832. t2 = node.$arguments,
  72833. t3 = t2.named;
  72834. if (t3.get$isNotEmpty(t3))
  72835. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  72836. else if (t2.rest != null)
  72837. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  72838. _this._checkCalculationArguments$1(node);
  72839. t3 = A._setArrayType([], type$.JSArray_Object);
  72840. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  72841. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  72842. $arguments = t3;
  72843. if (_this._inSupportsDeclaration)
  72844. return new A.SassCalculation(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  72845. oldCallableNode = _this._callableNode;
  72846. _this._callableNode = node;
  72847. try {
  72848. t1 = null;
  72849. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  72850. $label0$0: {
  72851. if ("calc" === _0_0) {
  72852. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  72853. break $label0$0;
  72854. }
  72855. if ("sqrt" === _0_0) {
  72856. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  72857. break $label0$0;
  72858. }
  72859. if ("sin" === _0_0) {
  72860. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  72861. break $label0$0;
  72862. }
  72863. if ("cos" === _0_0) {
  72864. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  72865. break $label0$0;
  72866. }
  72867. if ("tan" === _0_0) {
  72868. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  72869. break $label0$0;
  72870. }
  72871. if ("asin" === _0_0) {
  72872. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  72873. break $label0$0;
  72874. }
  72875. if ("acos" === _0_0) {
  72876. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  72877. break $label0$0;
  72878. }
  72879. if ("atan" === _0_0) {
  72880. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  72881. break $label0$0;
  72882. }
  72883. if ("abs" === _0_0) {
  72884. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  72885. break $label0$0;
  72886. }
  72887. if ("exp" === _0_0) {
  72888. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  72889. break $label0$0;
  72890. }
  72891. if ("sign" === _0_0) {
  72892. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  72893. break $label0$0;
  72894. }
  72895. if ("min" === _0_0) {
  72896. t1 = A.SassCalculation_min($arguments);
  72897. break $label0$0;
  72898. }
  72899. if ("max" === _0_0) {
  72900. t1 = A.SassCalculation_max($arguments);
  72901. break $label0$0;
  72902. }
  72903. if ("hypot" === _0_0) {
  72904. t1 = A.SassCalculation_hypot($arguments);
  72905. break $label0$0;
  72906. }
  72907. if ("pow" === _0_0) {
  72908. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72909. break $label0$0;
  72910. }
  72911. if ("atan2" === _0_0) {
  72912. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72913. break $label0$0;
  72914. }
  72915. if ("log" === _0_0) {
  72916. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72917. break $label0$0;
  72918. }
  72919. if ("mod" === _0_0) {
  72920. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72921. break $label0$0;
  72922. }
  72923. if ("rem" === _0_0) {
  72924. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72925. break $label0$0;
  72926. }
  72927. if ("round" === _0_0) {
  72928. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  72929. break $label0$0;
  72930. }
  72931. if ("clamp" === _0_0) {
  72932. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  72933. break $label0$0;
  72934. }
  72935. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".');
  72936. t1 = A.throwExpression(t3);
  72937. }
  72938. t1 = t1;
  72939. return t1;
  72940. } catch (exception) {
  72941. t1 = A.unwrapException(exception);
  72942. if (t1 instanceof A.SassScriptException) {
  72943. error = t1;
  72944. stackTrace = A.getTraceFromException(exception);
  72945. if (B.JSString_methods.contains$1(error.message, "compatible"))
  72946. _this._verifyCompatibleNumbers$2($arguments, t2);
  72947. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  72948. } else
  72949. throw exception;
  72950. } finally {
  72951. _this._callableNode = oldCallableNode;
  72952. }
  72953. },
  72954. _visitCalculation$1(node) {
  72955. return this._visitCalculation$2$inLegacySassFunction(node, false);
  72956. },
  72957. _checkCalculationArguments$1(node) {
  72958. var _0_0,
  72959. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  72960. $label0$0: {
  72961. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  72962. 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) {
  72963. check.call$1(1);
  72964. break $label0$0;
  72965. }
  72966. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  72967. check.call$0();
  72968. break $label0$0;
  72969. }
  72970. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  72971. check.call$1(2);
  72972. break $label0$0;
  72973. }
  72974. if ("round" === _0_0 || "clamp" === _0_0) {
  72975. check.call$1(3);
  72976. break $label0$0;
  72977. }
  72978. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".'));
  72979. }
  72980. },
  72981. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  72982. var i, t1, _0_0, arg, number1, j, number2;
  72983. for (i = 0; t1 = args.length, i < t1; ++i) {
  72984. _0_0 = args[i];
  72985. if (_0_0 instanceof A.SassNumber) {
  72986. t1 = _0_0.get$hasComplexUnits();
  72987. arg = _0_0;
  72988. } else {
  72989. arg = null;
  72990. t1 = false;
  72991. }
  72992. if (t1)
  72993. throw A.wrapException(this._evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  72994. }
  72995. for (i = 0; i < t1 - 1; ++i) {
  72996. number1 = args[i];
  72997. if (!(number1 instanceof A.SassNumber))
  72998. continue;
  72999. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  73000. number2 = args[j];
  73001. if (!(number2 instanceof A.SassNumber))
  73002. continue;
  73003. if (number1.hasPossiblyCompatibleUnits$1(number2))
  73004. continue;
  73005. 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));
  73006. }
  73007. }
  73008. },
  73009. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  73010. var inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {};
  73011. if (node instanceof A.ParenthesizedExpression) {
  73012. inner = node.expression;
  73013. t1 = true;
  73014. } else {
  73015. inner = _null;
  73016. t1 = false;
  73017. }
  73018. if (t1) {
  73019. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  73020. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  73021. }
  73022. if (node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor())) {
  73023. t1 = node.text;
  73024. t2 = t1.get$asPlain();
  73025. _0_0 = t2 == null ? _null : t2.toLowerCase();
  73026. $label0$0: {
  73027. if ("pi" === _0_0) {
  73028. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  73029. break $label0$0;
  73030. }
  73031. if ("e" === _0_0) {
  73032. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  73033. break $label0$0;
  73034. }
  73035. if ("infinity" === _0_0) {
  73036. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  73037. break $label0$0;
  73038. }
  73039. if ("-infinity" === _0_0) {
  73040. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  73041. break $label0$0;
  73042. }
  73043. if ("nan" === _0_0) {
  73044. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  73045. break $label0$0;
  73046. }
  73047. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  73048. break $label0$0;
  73049. }
  73050. return t1;
  73051. }
  73052. _box_0.right = _box_0.left = _box_0.operator = null;
  73053. if (node instanceof A.BinaryOperationExpression) {
  73054. _box_0.operator = node.operator;
  73055. _box_0.left = node.left;
  73056. _box_0.right = node.right;
  73057. t1 = true;
  73058. } else
  73059. t1 = false;
  73060. if (t1) {
  73061. _this._checkWhitespaceAroundCalculationOperator$1(node);
  73062. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  73063. }
  73064. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  73065. _1_0 = node.accept$1(_this);
  73066. $label1$1: {
  73067. if (_1_0 instanceof A.SassNumber) {
  73068. t1 = _1_0;
  73069. break $label1$1;
  73070. }
  73071. if (_1_0 instanceof A.SassCalculation) {
  73072. t1 = _1_0;
  73073. break $label1$1;
  73074. }
  73075. if (_1_0 instanceof A.SassString) {
  73076. t1 = !_1_0._hasQuotes;
  73077. result = _1_0;
  73078. } else {
  73079. result = _null;
  73080. t1 = false;
  73081. }
  73082. if (t1) {
  73083. t1 = result;
  73084. break $label1$1;
  73085. }
  73086. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  73087. }
  73088. return t1;
  73089. }
  73090. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_EVt === node.separator && node.contents.length >= 2) {
  73091. t1 = A._setArrayType([], type$.JSArray_Object);
  73092. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  73093. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  73094. _this._checkAdjacentCalculationValues$2(t1, node);
  73095. for (i = 0; i < t1.length; ++i) {
  73096. t3 = t1[i];
  73097. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  73098. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  73099. }
  73100. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  73101. }
  73102. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  73103. },
  73104. _checkWhitespaceAroundCalculationOperator$1(node) {
  73105. var t2, t3, t4, textBetweenOperands, first, last,
  73106. t1 = node.operator;
  73107. if (t1 !== B.BinaryOperator_anB && t1 !== B.BinaryOperator_olz)
  73108. return;
  73109. t1 = node.left;
  73110. t2 = t1.get$span(t1);
  73111. t2 = t2.get$file(t2);
  73112. t3 = node.right;
  73113. t4 = t3.get$span(t3);
  73114. if (t2 !== t4.get$file(t4))
  73115. return;
  73116. t2 = t1.get$span(t1);
  73117. t2 = t2.get$end(t2);
  73118. t4 = t3.get$span(t3);
  73119. if (t2.offset >= t4.get$start(t4).offset)
  73120. return;
  73121. t2 = t1.get$span(t1);
  73122. t2 = t2.get$file(t2);
  73123. t1 = t1.get$span(t1);
  73124. t1 = t1.get$end(t1);
  73125. t3 = t3.get$span(t3);
  73126. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  73127. first = textBetweenOperands.charCodeAt(0);
  73128. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  73129. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  73130. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  73131. else
  73132. t1 = true;
  73133. if (t1)
  73134. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  73135. },
  73136. _binaryOperatorToCalculationOperator$2(operator, node) {
  73137. var t1;
  73138. $label0$0: {
  73139. if (B.BinaryOperator_anB === operator) {
  73140. t1 = B.CalculationOperator_IyK;
  73141. break $label0$0;
  73142. }
  73143. if (B.BinaryOperator_olz === operator) {
  73144. t1 = B.CalculationOperator_2bx;
  73145. break $label0$0;
  73146. }
  73147. if (B.BinaryOperator_qN2 === operator) {
  73148. t1 = B.CalculationOperator_jFr;
  73149. break $label0$0;
  73150. }
  73151. if (B.BinaryOperator_t8B === operator) {
  73152. t1 = B.CalculationOperator_OvN;
  73153. break $label0$0;
  73154. }
  73155. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  73156. }
  73157. return t1;
  73158. },
  73159. _checkAdjacentCalculationValues$2(elements, node) {
  73160. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  73161. for (t1 = elements.length, i = 1; i < t1; ++i) {
  73162. t2 = i - 1;
  73163. previous = elements[t2];
  73164. current = elements[i];
  73165. if (previous instanceof A.SassString || current instanceof A.SassString)
  73166. continue;
  73167. t1 = node.contents;
  73168. previousNode = t1[t2];
  73169. currentNode = t1[i];
  73170. if (currentNode instanceof A.UnaryOperationExpression) {
  73171. _0_2 = currentNode.operator;
  73172. if (B.UnaryOperator_TLI !== _0_2)
  73173. t1 = B.UnaryOperator_gg4 === _0_2;
  73174. else
  73175. t1 = true;
  73176. } else
  73177. t1 = false;
  73178. if (!t1)
  73179. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  73180. else
  73181. t1 = true;
  73182. if (t1)
  73183. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  73184. else
  73185. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  73186. }
  73187. },
  73188. visitInterpolatedFunctionExpression$1(node) {
  73189. var result, _this = this,
  73190. t1 = _this._performInterpolation$1(node.name),
  73191. oldInFunction = _this._inFunction;
  73192. _this._inFunction = true;
  73193. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  73194. _this._inFunction = oldInFunction;
  73195. return result;
  73196. },
  73197. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  73198. var oldCallable, result, _this = this,
  73199. evaluated = _this._evaluateArguments$1($arguments),
  73200. $name = callable.declaration.name;
  73201. if ($name !== "@content")
  73202. $name += "()";
  73203. oldCallable = _this._currentCallable;
  73204. _this._currentCallable = callable;
  73205. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  73206. _this._currentCallable = oldCallable;
  73207. return result;
  73208. },
  73209. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  73210. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  73211. if (callable instanceof A.BuiltInCallable)
  73212. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  73213. else if (type$.UserDefinedCallable_Environment._is(callable))
  73214. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  73215. else if (callable instanceof A.PlainCssCallable) {
  73216. t1 = $arguments.named;
  73217. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  73218. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  73219. buffer = new A.StringBuffer(callable.name + "(");
  73220. try {
  73221. first = true;
  73222. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73223. argument = t1[_i];
  73224. if (first)
  73225. first = false;
  73226. else
  73227. buffer._contents += ", ";
  73228. t3 = argument;
  73229. buffer._contents += _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  73230. }
  73231. restArg = $arguments.rest;
  73232. if (restArg != null) {
  73233. rest = restArg.accept$1(_this);
  73234. if (!first)
  73235. buffer._contents += ", ";
  73236. buffer._contents += _this._evaluate$_serialize$2(rest, restArg);
  73237. }
  73238. } catch (exception) {
  73239. t1 = A.unwrapException(exception);
  73240. if (type$.SassRuntimeException._is(t1)) {
  73241. error = t1;
  73242. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  73243. throw exception;
  73244. 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));
  73245. } else
  73246. throw exception;
  73247. }
  73248. buffer._contents += A.Primitives_stringFromCharCode(41);
  73249. t1 = buffer._contents;
  73250. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  73251. } else
  73252. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  73253. },
  73254. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  73255. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  73256. evaluated = _this._evaluateArguments$1($arguments),
  73257. oldCallableNode = _this._callableNode;
  73258. _this._callableNode = nodeWithSpan;
  73259. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  73260. _box_0.callback = _box_0.overload = null;
  73261. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  73262. _box_0.overload = _0_0._0;
  73263. _box_0.callback = _0_0._1;
  73264. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  73265. declaredArguments = _box_0.overload.$arguments;
  73266. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  73267. argument = declaredArguments[i];
  73268. t2 = evaluated._values[2];
  73269. t3 = evaluated._values[0].remove$1(0, argument.name);
  73270. if (t3 == null) {
  73271. t3 = argument.defaultValue;
  73272. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  73273. }
  73274. t2.push(t3);
  73275. }
  73276. if (_box_0.overload.restArgument != null) {
  73277. if (evaluated._values[2].length > t1) {
  73278. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  73279. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  73280. } else
  73281. rest = B.List_empty8;
  73282. t1 = evaluated._values[0];
  73283. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated._values[4]);
  73284. evaluated._values[2].push(argumentList);
  73285. } else
  73286. argumentList = null;
  73287. result = null;
  73288. try {
  73289. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  73290. } catch (exception) {
  73291. t1 = A.unwrapException(exception);
  73292. if (t1 instanceof A.SassException)
  73293. throw exception;
  73294. else {
  73295. error = t1;
  73296. stackTrace = A.getTraceFromException(exception);
  73297. message = null;
  73298. try {
  73299. message = A._asString(J.get$message$x(error));
  73300. } catch (exception) {
  73301. message0 = J.toString$0$(error);
  73302. message = message0;
  73303. }
  73304. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  73305. }
  73306. }
  73307. _this._callableNode = oldCallableNode;
  73308. if (argumentList == null)
  73309. return result;
  73310. if (evaluated._values[0].__js_helper$_length === 0)
  73311. return result;
  73312. if (argumentList._wereKeywordsAccessed)
  73313. return result;
  73314. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence(evaluated._values[0].get$keys(0).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));
  73315. },
  73316. _evaluateArguments$1($arguments) {
  73317. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  73318. positional = A._setArrayType([], type$.JSArray_Value),
  73319. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  73320. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73321. expression = t1[_i];
  73322. nodeForSpan = _this._expressionNode$1(expression);
  73323. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  73324. positionalNodes.push(nodeForSpan);
  73325. }
  73326. t1 = type$.String;
  73327. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  73328. t2 = type$.AstNode;
  73329. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73330. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73331. t4 = t3.get$current(t3);
  73332. $name = t4._0;
  73333. value = t4._1;
  73334. nodeForSpan = _this._expressionNode$1(value);
  73335. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  73336. namedNodes.$indexSet(0, $name, nodeForSpan);
  73337. }
  73338. restArgs = $arguments.rest;
  73339. if (restArgs == null)
  73340. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  73341. rest = restArgs.accept$1(_this);
  73342. restNodeForSpan = _this._expressionNode$1(restArgs);
  73343. if (rest instanceof A.SassMap) {
  73344. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  73345. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73346. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  73347. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  73348. namedNodes.addAll$1(0, t3);
  73349. separator = B.ListSeparator_undecided_null_undecided;
  73350. } else if (rest instanceof A.SassList) {
  73351. t3 = rest._list$_contents;
  73352. 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>")));
  73353. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  73354. separator = rest._separator;
  73355. if (rest instanceof A.SassArgumentList) {
  73356. rest._wereKeywordsAccessed = true;
  73357. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  73358. }
  73359. } else {
  73360. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  73361. positionalNodes.push(restNodeForSpan);
  73362. separator = B.ListSeparator_undecided_null_undecided;
  73363. }
  73364. keywordRestArgs = $arguments.keywordRest;
  73365. if (keywordRestArgs == null)
  73366. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73367. keywordRest = keywordRestArgs.accept$1(_this);
  73368. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  73369. if (keywordRest instanceof A.SassMap) {
  73370. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  73371. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73372. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  73373. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  73374. namedNodes.addAll$1(0, t1);
  73375. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73376. } else
  73377. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  73378. },
  73379. _evaluateMacroArguments$1(invocation) {
  73380. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  73381. t1 = invocation.$arguments,
  73382. restArgs_ = t1.rest;
  73383. if (restArgs_ == null)
  73384. return new A._Record_2(t1.positional, t1.named);
  73385. t2 = t1.positional;
  73386. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  73387. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  73388. rest = restArgs_.accept$1(_this);
  73389. restNodeForSpan = _this._expressionNode$1(restArgs_);
  73390. if (rest instanceof A.SassMap)
  73391. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  73392. else if (rest instanceof A.SassList) {
  73393. t2 = rest._list$_contents;
  73394. 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>")));
  73395. if (rest instanceof A.SassArgumentList) {
  73396. rest._wereKeywordsAccessed = true;
  73397. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  73398. }
  73399. } else
  73400. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  73401. keywordRestArgs_ = t1.keywordRest;
  73402. if (keywordRestArgs_ == null)
  73403. return new A._Record_2(positional, named);
  73404. keywordRest = keywordRestArgs_.accept$1(_this);
  73405. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  73406. if (keywordRest instanceof A.SassMap) {
  73407. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  73408. return new A._Record_2(positional, named);
  73409. } else
  73410. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  73411. },
  73412. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  73413. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  73414. },
  73415. _addRestMap$4(values, map, nodeWithSpan, convert) {
  73416. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  73417. },
  73418. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  73419. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  73420. },
  73421. visitSelectorExpression$1(node) {
  73422. var t1 = this._styleRuleIgnoringAtRoot;
  73423. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  73424. return t1 == null ? B.C__SassNull : t1;
  73425. },
  73426. visitStringExpression$1(node) {
  73427. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  73428. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73429. _this._inSupportsDeclaration = false;
  73430. t1 = A._setArrayType([], type$.JSArray_String);
  73431. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0; _i < t3; ++_i) {
  73432. value = t2[_i];
  73433. $label0$0: {
  73434. if (typeof value == "string") {
  73435. t5 = value;
  73436. break $label0$0;
  73437. }
  73438. if (t4._is(value)) {
  73439. _0_0 = value.accept$1(_this);
  73440. $label1$1: {
  73441. if (_0_0 instanceof A.SassString) {
  73442. text = _0_0._string$_text;
  73443. t5 = text;
  73444. break $label1$1;
  73445. }
  73446. t5 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  73447. break $label1$1;
  73448. }
  73449. break $label0$0;
  73450. }
  73451. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  73452. }
  73453. t1.push(t5);
  73454. }
  73455. t1 = B.JSArray_methods.join$0(t1);
  73456. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73457. return new A.SassString(t1, node.hasQuotes);
  73458. },
  73459. visitSupportsExpression$1(expression) {
  73460. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  73461. },
  73462. visitCssAtRule$1(node) {
  73463. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  73464. if (_this._declarationName != null)
  73465. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  73466. if (node.isChildless) {
  73467. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  73468. return;
  73469. }
  73470. wasInKeyframes = _this._inKeyframes;
  73471. wasInUnknownAtRule = _this._inUnknownAtRule;
  73472. t1 = node.name;
  73473. if (A.unvendor(t1.value) === "keyframes")
  73474. _this._inKeyframes = true;
  73475. else
  73476. _this._inUnknownAtRule = true;
  73477. _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);
  73478. _this._inUnknownAtRule = wasInUnknownAtRule;
  73479. _this._inKeyframes = wasInKeyframes;
  73480. },
  73481. visitCssComment$1(node) {
  73482. var _this = this,
  73483. _s8_ = "__parent",
  73484. _s13_ = "_endOfImports";
  73485. 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))
  73486. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73487. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  73488. },
  73489. visitCssDeclaration$1(node) {
  73490. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  73491. },
  73492. visitCssImport$1(node) {
  73493. var t1, _this = this,
  73494. _s8_ = "__parent",
  73495. _s5_ = "_root",
  73496. _s13_ = "_endOfImports",
  73497. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  73498. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  73499. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  73500. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  73501. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  73502. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73503. } else {
  73504. t1 = _this._outOfOrderImports;
  73505. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  73506. }
  73507. },
  73508. visitCssKeyframeBlock$1(node) {
  73509. 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);
  73510. },
  73511. visitCssMediaRule$1(node) {
  73512. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  73513. if (_this._declarationName != null)
  73514. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  73515. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  73516. t1 = mergedQueries == null;
  73517. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  73518. return;
  73519. if (t1)
  73520. mergedSources = B.Set_empty1;
  73521. else {
  73522. t2 = _this._mediaQuerySources;
  73523. t2.toString;
  73524. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  73525. t3 = _this._mediaQueries;
  73526. t3.toString;
  73527. t2.addAll$1(0, t3);
  73528. t2.addAll$1(0, node.queries);
  73529. mergedSources = t2;
  73530. }
  73531. t1 = t1 ? node.queries : mergedQueries;
  73532. _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);
  73533. },
  73534. visitCssStyleRule$1(node) {
  73535. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this;
  73536. if (_this._declarationName != null)
  73537. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  73538. t1 = _this._atRootExcludingStyleRule;
  73539. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  73540. t2 = node._style_rule$_selector._box$_inner.value;
  73541. t3 = styleRule == null;
  73542. t4 = t3 ? null : styleRule.originalSelector;
  73543. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  73544. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, originalSelector);
  73545. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  73546. _this._atRootExcludingStyleRule = false;
  73547. _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);
  73548. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73549. t1 = _this._assertInModule$2(_this.__parent, "__parent").children._collection$_source;
  73550. t2 = J.getInterceptor$asx(t1);
  73551. _0_1 = t2.get$length(t1);
  73552. if (_0_1 >= 1) {
  73553. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  73554. t1 = t3;
  73555. } else {
  73556. lastChild = null;
  73557. t1 = false;
  73558. }
  73559. if (t1)
  73560. lastChild.isGroupEnd = true;
  73561. },
  73562. visitCssStylesheet$1(node) {
  73563. var t1;
  73564. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  73565. t1.get$current(t1).accept$1(this);
  73566. },
  73567. visitCssSupportsRule$1(node) {
  73568. var _this = this;
  73569. if (_this._declarationName != null)
  73570. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  73571. _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);
  73572. },
  73573. _handleReturn$1$2(list, callback) {
  73574. var t1, _i, _0_0;
  73575. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  73576. _0_0 = callback.call$1(list[_i]);
  73577. if (_0_0 != null)
  73578. return _0_0;
  73579. }
  73580. return null;
  73581. },
  73582. _handleReturn$2(list, callback) {
  73583. return this._handleReturn$1$2(list, callback, type$.dynamic);
  73584. },
  73585. _withEnvironment$1$2(environment, callback) {
  73586. var result,
  73587. oldEnvironment = this._environment;
  73588. this._environment = environment;
  73589. result = callback.call$0();
  73590. this._environment = oldEnvironment;
  73591. return result;
  73592. },
  73593. _withEnvironment$2(environment, callback) {
  73594. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  73595. },
  73596. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  73597. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  73598. t1 = trim ? A.trimAscii(result, true) : result;
  73599. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  73600. },
  73601. _interpolationToValue$1(interpolation) {
  73602. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  73603. },
  73604. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  73605. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  73606. },
  73607. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  73608. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  73609. },
  73610. _performInterpolation$1(interpolation) {
  73611. return this._performInterpolation$2$warnForColor(interpolation, false);
  73612. },
  73613. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  73614. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  73615. map = _0_0._1;
  73616. map.toString;
  73617. return new A._Record_2(_0_0._0, map);
  73618. },
  73619. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  73620. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  73621. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  73622. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73623. _this._inSupportsDeclaration = false;
  73624. 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) {
  73625. value = t1[_i];
  73626. if (!first)
  73627. if (!t4)
  73628. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  73629. if (typeof value == "string") {
  73630. t8 += value;
  73631. continue;
  73632. }
  73633. t3._as(value);
  73634. result = value.accept$1(_this);
  73635. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  73636. t9 = A._setArrayType([""], t5);
  73637. result0 = A.List_List$from(t9, false, t7);
  73638. result0.fixed$length = Array;
  73639. result0.immutable$list = Array;
  73640. result0 = new A.Interpolation(result0, t6);
  73641. result0.Interpolation$2(t9, t6);
  73642. t9 = $.$get$namesByColor();
  73643. _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));
  73644. }
  73645. t8 += _this._evaluate$_serialize$3$quote(result, value, false);
  73646. }
  73647. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73648. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  73649. },
  73650. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  73651. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  73652. },
  73653. _evaluate$_serialize$2(value, nodeWithSpan) {
  73654. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  73655. },
  73656. _expressionNode$1(expression) {
  73657. var t1;
  73658. if (expression instanceof A.VariableExpression) {
  73659. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  73660. return t1 == null ? expression : t1;
  73661. } else
  73662. return expression;
  73663. },
  73664. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  73665. var t1, result, _this = this;
  73666. _this._addChild$2$through(node, through);
  73667. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  73668. _this.__parent = node;
  73669. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  73670. _this.__parent = t1;
  73671. return result;
  73672. },
  73673. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  73674. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  73675. },
  73676. _withParent$2$2(node, callback, $S, $T) {
  73677. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  73678. },
  73679. _addChild$2$through(node, through) {
  73680. var _0_0, grandparent, t1,
  73681. $parent = this._assertInModule$2(this.__parent, "__parent");
  73682. if (through != null) {
  73683. for (; through.call$1($parent); $parent = _0_0) {
  73684. _0_0 = $parent._parent;
  73685. if (_0_0 == null)
  73686. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  73687. }
  73688. if ($parent.get$hasFollowingSibling()) {
  73689. grandparent = $parent._parent;
  73690. t1 = grandparent.children;
  73691. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  73692. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  73693. else {
  73694. $parent = $parent.copyWithoutChildren$0();
  73695. grandparent.addChild$1($parent);
  73696. }
  73697. }
  73698. }
  73699. $parent.addChild$1(node);
  73700. },
  73701. _addChild$1(node) {
  73702. return this._addChild$2$through(node, null);
  73703. },
  73704. _withStyleRule$1$2(rule, callback) {
  73705. var result,
  73706. oldRule = this._styleRuleIgnoringAtRoot;
  73707. this._styleRuleIgnoringAtRoot = rule;
  73708. result = callback.call$0();
  73709. this._styleRuleIgnoringAtRoot = oldRule;
  73710. return result;
  73711. },
  73712. _withStyleRule$2(rule, callback) {
  73713. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  73714. },
  73715. _withMediaQueries$1$3(queries, sources, callback) {
  73716. var result, _this = this,
  73717. oldMediaQueries = _this._mediaQueries,
  73718. oldSources = _this._mediaQuerySources;
  73719. _this._mediaQueries = queries;
  73720. _this._mediaQuerySources = sources;
  73721. result = callback.call$0();
  73722. _this._mediaQueries = oldMediaQueries;
  73723. _this._mediaQuerySources = oldSources;
  73724. return result;
  73725. },
  73726. _withMediaQueries$3(queries, sources, callback) {
  73727. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  73728. },
  73729. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  73730. var oldMember, result, _this = this,
  73731. t1 = _this._stack;
  73732. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  73733. oldMember = _this._member;
  73734. _this._member = member;
  73735. result = callback.call$0();
  73736. _this._member = oldMember;
  73737. t1.pop();
  73738. return result;
  73739. },
  73740. _withStackFrame$3(member, nodeWithSpan, callback) {
  73741. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  73742. },
  73743. _withoutSlash$2(value, nodeForSpan) {
  73744. if (value instanceof A.SassNumber && value.asSlash != null && true)
  73745. 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);
  73746. return value.withoutSlash$0();
  73747. },
  73748. _stackFrame$2(member, span) {
  73749. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  73750. },
  73751. _evaluate$_stackTrace$1(span) {
  73752. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  73753. t1 = A._setArrayType([], type$.JSArray_Frame);
  73754. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  73755. t4 = t2[_i];
  73756. nodeWithSpan = t4._1;
  73757. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  73758. }
  73759. if (span != null)
  73760. t1.push(_this._stackFrame$2(_this._member, span));
  73761. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  73762. },
  73763. _evaluate$_stackTrace$0() {
  73764. return this._evaluate$_stackTrace$1(null);
  73765. },
  73766. _warn$3(message, span, deprecation) {
  73767. var t1, trace, _this = this;
  73768. if (_this._quietDeps)
  73769. if (!_this._inDependency) {
  73770. t1 = _this._currentCallable;
  73771. t1 = t1 == null ? null : t1.inDependency;
  73772. t1 = t1 === true;
  73773. } else
  73774. t1 = true;
  73775. else
  73776. t1 = false;
  73777. if (t1)
  73778. return;
  73779. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  73780. return;
  73781. trace = _this._evaluate$_stackTrace$1(span);
  73782. t1 = _this._evaluate$_logger;
  73783. if (deprecation == null)
  73784. t1.warn$3$span$trace(0, message, span, trace);
  73785. else
  73786. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  73787. },
  73788. _warn$2(message, span) {
  73789. return this._warn$3(message, span, null);
  73790. },
  73791. _evaluate$_exception$2(message, span) {
  73792. var t1, t2;
  73793. if (span == null) {
  73794. t1 = B.JSArray_methods.get$last(this._stack)._1;
  73795. t1 = t1.get$span(t1);
  73796. } else
  73797. t1 = span;
  73798. t2 = this._evaluate$_stackTrace$1(span);
  73799. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  73800. },
  73801. _evaluate$_exception$1(message) {
  73802. return this._evaluate$_exception$2(message, null);
  73803. },
  73804. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  73805. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  73806. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  73807. },
  73808. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  73809. var error, stackTrace, t1, exception;
  73810. try {
  73811. t1 = callback.call$0();
  73812. return t1;
  73813. } catch (exception) {
  73814. t1 = A.unwrapException(exception);
  73815. if (t1 instanceof A.SassScriptException) {
  73816. error = t1;
  73817. stackTrace = A.getTraceFromException(exception);
  73818. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  73819. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  73820. } else
  73821. throw exception;
  73822. }
  73823. },
  73824. _addExceptionSpan$2(nodeWithSpan, callback) {
  73825. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  73826. },
  73827. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  73828. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  73829. },
  73830. _addExceptionTrace$1$1(callback) {
  73831. var error, stackTrace, t1, exception, t2;
  73832. try {
  73833. t1 = callback.call$0();
  73834. return t1;
  73835. } catch (exception) {
  73836. t1 = A.unwrapException(exception);
  73837. if (type$.SassRuntimeException._is(t1))
  73838. throw exception;
  73839. else if (t1 instanceof A.SassException) {
  73840. error = t1;
  73841. stackTrace = A.getTraceFromException(exception);
  73842. t1 = error;
  73843. t2 = J.getInterceptor$z(t1);
  73844. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  73845. } else
  73846. throw exception;
  73847. }
  73848. },
  73849. _addExceptionTrace$1(callback) {
  73850. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  73851. },
  73852. _addErrorSpan$1$2(nodeWithSpan, callback) {
  73853. var error, stackTrace, t1, exception, t2, t3;
  73854. try {
  73855. t1 = callback.call$0();
  73856. return t1;
  73857. } catch (exception) {
  73858. t1 = A.unwrapException(exception);
  73859. if (type$.SassRuntimeException._is(t1)) {
  73860. error = t1;
  73861. stackTrace = A.getTraceFromException(exception);
  73862. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  73863. throw exception;
  73864. t1 = error._span_exception$_message;
  73865. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73866. t3 = this._evaluate$_stackTrace$0();
  73867. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  73868. } else
  73869. throw exception;
  73870. }
  73871. },
  73872. _addErrorSpan$2(nodeWithSpan, callback) {
  73873. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  73874. }
  73875. };
  73876. A._EvaluateVisitor_closure.prototype = {
  73877. call$1($arguments) {
  73878. var module, t2,
  73879. t1 = J.getInterceptor$asx($arguments),
  73880. variable = t1.$index($arguments, 0).assertString$1("name");
  73881. t1 = t1.$index($arguments, 1).get$realNull();
  73882. module = t1 == null ? null : t1.assertString$1("module");
  73883. t1 = this.$this._environment;
  73884. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73885. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  73886. },
  73887. $signature: 21
  73888. };
  73889. A._EvaluateVisitor_closure0.prototype = {
  73890. call$1($arguments) {
  73891. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  73892. t1 = this.$this._environment;
  73893. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73894. },
  73895. $signature: 21
  73896. };
  73897. A._EvaluateVisitor_closure1.prototype = {
  73898. call$1($arguments) {
  73899. var module, t2, t3, t4,
  73900. t1 = J.getInterceptor$asx($arguments),
  73901. variable = t1.$index($arguments, 0).assertString$1("name");
  73902. t1 = t1.$index($arguments, 1).get$realNull();
  73903. module = t1 == null ? null : t1.assertString$1("module");
  73904. t1 = this.$this;
  73905. t2 = t1._environment;
  73906. t3 = variable._string$_text;
  73907. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  73908. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  73909. },
  73910. $signature: 21
  73911. };
  73912. A._EvaluateVisitor_closure2.prototype = {
  73913. call$1($arguments) {
  73914. var module, t2,
  73915. t1 = J.getInterceptor$asx($arguments),
  73916. variable = t1.$index($arguments, 0).assertString$1("name");
  73917. t1 = t1.$index($arguments, 1).get$realNull();
  73918. module = t1 == null ? null : t1.assertString$1("module");
  73919. t1 = this.$this._environment;
  73920. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73921. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73922. },
  73923. $signature: 21
  73924. };
  73925. A._EvaluateVisitor_closure3.prototype = {
  73926. call$1($arguments) {
  73927. var t1 = this.$this._environment;
  73928. if (!t1._inMixin)
  73929. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  73930. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  73931. },
  73932. $signature: 21
  73933. };
  73934. A._EvaluateVisitor_closure4.prototype = {
  73935. call$1($arguments) {
  73936. var t2, t3, t4,
  73937. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73938. module = this.$this._environment._environment$_modules.$index(0, t1);
  73939. if (module == null)
  73940. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73941. t1 = type$.Value;
  73942. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73943. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73944. t4 = t3.get$current(t3);
  73945. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  73946. }
  73947. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73948. },
  73949. $signature: 34
  73950. };
  73951. A._EvaluateVisitor_closure5.prototype = {
  73952. call$1($arguments) {
  73953. var t2, t3, t4,
  73954. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73955. module = this.$this._environment._environment$_modules.$index(0, t1);
  73956. if (module == null)
  73957. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73958. t1 = type$.Value;
  73959. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73960. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73961. t4 = t3.get$current(t3);
  73962. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  73963. }
  73964. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73965. },
  73966. $signature: 34
  73967. };
  73968. A._EvaluateVisitor_closure6.prototype = {
  73969. call$1($arguments) {
  73970. var t2, t3, t4,
  73971. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73972. module = this.$this._environment._environment$_modules.$index(0, t1);
  73973. if (module == null)
  73974. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73975. t1 = type$.Value;
  73976. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73977. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73978. t4 = t3.get$current(t3);
  73979. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  73980. }
  73981. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73982. },
  73983. $signature: 34
  73984. };
  73985. A._EvaluateVisitor_closure7.prototype = {
  73986. call$1($arguments) {
  73987. var module, t2, callable,
  73988. t1 = J.getInterceptor$asx($arguments),
  73989. $name = t1.$index($arguments, 0).assertString$1("name"),
  73990. css = t1.$index($arguments, 1).get$isTruthy();
  73991. t1 = t1.$index($arguments, 2).get$realNull();
  73992. module = t1 == null ? null : t1.assertString$1("module");
  73993. if (css) {
  73994. if (module != null)
  73995. throw A.wrapException(string$.x24css_a);
  73996. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  73997. }
  73998. t1 = this.$this;
  73999. t2 = t1._callableNode;
  74000. t2.toString;
  74001. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  74002. if (callable == null)
  74003. throw A.wrapException("Function not found: " + $name.toString$0(0));
  74004. return new A.SassFunction(callable);
  74005. },
  74006. $signature: 212
  74007. };
  74008. A._EvaluateVisitor__closure2.prototype = {
  74009. call$0() {
  74010. var local,
  74011. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74012. t1 = this.module,
  74013. namespace = t1 == null ? null : t1._string$_text;
  74014. t1 = this.$this;
  74015. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  74016. if (local != null || namespace != null)
  74017. return local;
  74018. return t1._builtInFunctions.$index(0, normalizedName);
  74019. },
  74020. $signature: 104
  74021. };
  74022. A._EvaluateVisitor_closure8.prototype = {
  74023. call$1($arguments) {
  74024. var module, t2, callable,
  74025. t1 = J.getInterceptor$asx($arguments),
  74026. $name = t1.$index($arguments, 0).assertString$1("name");
  74027. t1 = t1.$index($arguments, 1).get$realNull();
  74028. module = t1 == null ? null : t1.assertString$1("module");
  74029. t1 = this.$this;
  74030. t2 = t1._callableNode;
  74031. t2.toString;
  74032. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  74033. if (callable == null)
  74034. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  74035. return new A.SassMixin(callable);
  74036. },
  74037. $signature: 214
  74038. };
  74039. A._EvaluateVisitor__closure1.prototype = {
  74040. call$0() {
  74041. var t1 = this.$this._environment,
  74042. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74043. t3 = this.module;
  74044. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  74045. },
  74046. $signature: 104
  74047. };
  74048. A._EvaluateVisitor_closure9.prototype = {
  74049. call$1($arguments) {
  74050. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  74051. t1 = J.getInterceptor$asx($arguments),
  74052. $function = t1.$index($arguments, 0),
  74053. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74054. t1 = this.$this;
  74055. t2 = t1._callableNode;
  74056. t2.toString;
  74057. t3 = A._setArrayType([], type$.JSArray_Expression);
  74058. t4 = type$.String;
  74059. t5 = type$.Expression;
  74060. t6 = t2.get$span(t2);
  74061. t7 = t2.get$span(t2);
  74062. args._wereKeywordsAccessed = true;
  74063. t8 = args._keywords;
  74064. if (t8.get$isEmpty(t8))
  74065. t2 = null;
  74066. else {
  74067. t9 = type$.Value;
  74068. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  74069. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  74070. t11 = t8.get$current(t8);
  74071. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  74072. }
  74073. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  74074. }
  74075. 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);
  74076. if ($function instanceof A.SassString) {
  74077. t2 = $function.toString$0(0);
  74078. A.EvaluationContext_current().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_qVK);
  74079. callableNode = t1._callableNode;
  74080. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  74081. }
  74082. callable = $function.assertFunction$1("function").callable;
  74083. if (type$.Callable._is(callable)) {
  74084. t2 = t1._callableNode;
  74085. t2.toString;
  74086. return t1._runFunctionCallable$3(invocation, callable, t2);
  74087. } else
  74088. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  74089. },
  74090. $signature: 6
  74091. };
  74092. A._EvaluateVisitor_closure10.prototype = {
  74093. call$1($arguments) {
  74094. var withMap, t2, values, configuration, t3,
  74095. t1 = J.getInterceptor$asx($arguments),
  74096. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  74097. t1 = t1.$index($arguments, 1).get$realNull();
  74098. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  74099. t1 = this.$this;
  74100. t2 = t1._callableNode;
  74101. t2.toString;
  74102. if (withMap != null) {
  74103. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  74104. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  74105. configuration = new A.ExplicitConfiguration(t2, values, null);
  74106. } else
  74107. configuration = B.Configuration_Map_empty_null;
  74108. t3 = t2.get$span(t2);
  74109. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  74110. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  74111. },
  74112. $signature: 254
  74113. };
  74114. A._EvaluateVisitor__closure.prototype = {
  74115. call$2(variable, value) {
  74116. var t1 = variable.assertString$1("with key"),
  74117. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  74118. t1 = this.values;
  74119. if (t1.containsKey$1($name))
  74120. throw A.wrapException("The variable $" + $name + " was configured twice.");
  74121. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  74122. },
  74123. $signature: 85
  74124. };
  74125. A._EvaluateVisitor__closure0.prototype = {
  74126. call$2(module, _) {
  74127. var t1 = this.$this;
  74128. return t1._combineCss$2$clone(module, true).accept$1(t1);
  74129. },
  74130. $signature: 105
  74131. };
  74132. A._EvaluateVisitor_closure11.prototype = {
  74133. call$1($arguments) {
  74134. var callableNode, t2, t3, t4, t5, callable, $content,
  74135. t1 = J.getInterceptor$asx($arguments),
  74136. mixin = t1.$index($arguments, 0),
  74137. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74138. t1 = this.$this;
  74139. callableNode = t1._callableNode;
  74140. t2 = callableNode.get$span(callableNode);
  74141. t3 = callableNode.get$span(callableNode);
  74142. t4 = type$.Expression;
  74143. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  74144. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  74145. callable = mixin.assertMixin$1("mixin").callable;
  74146. $content = t1._environment._content;
  74147. if (type$.Callable._is(callable))
  74148. t1._applyMixin$5(callable, $content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  74149. else
  74150. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  74151. },
  74152. $signature: 254
  74153. };
  74154. A._EvaluateVisitor_run_closure.prototype = {
  74155. call$0() {
  74156. var module, _this = this, url = null,
  74157. t1 = _this.node,
  74158. t2 = t1.span,
  74159. _0_0 = t2.get$sourceUrl(t2);
  74160. if (_0_0 != null) {
  74161. url = _0_0;
  74162. t2 = _this.$this;
  74163. t2._activeModules.$indexSet(0, url, null);
  74164. t2._loadedUrls.add$1(0, url);
  74165. }
  74166. t2 = _this.$this;
  74167. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  74168. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  74169. },
  74170. $signature: 296
  74171. };
  74172. A._EvaluateVisitor_run__closure.prototype = {
  74173. call$0() {
  74174. return this.$this._execute$2(this.importer, this.node);
  74175. },
  74176. $signature: 295
  74177. };
  74178. A._EvaluateVisitor_runExpression_closure.prototype = {
  74179. call$0() {
  74180. var t1 = this.$this,
  74181. t2 = this.expression;
  74182. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  74183. },
  74184. $signature: 36
  74185. };
  74186. A._EvaluateVisitor_runExpression__closure.prototype = {
  74187. call$0() {
  74188. var t1 = this.$this;
  74189. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  74190. },
  74191. $signature: 36
  74192. };
  74193. A._EvaluateVisitor_runExpression___closure.prototype = {
  74194. call$0() {
  74195. return this.expression.accept$1(this.$this);
  74196. },
  74197. $signature: 36
  74198. };
  74199. A._EvaluateVisitor_runStatement_closure.prototype = {
  74200. call$0() {
  74201. var t1 = this.$this,
  74202. t2 = this.statement;
  74203. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  74204. },
  74205. $signature: 0
  74206. };
  74207. A._EvaluateVisitor_runStatement__closure.prototype = {
  74208. call$0() {
  74209. var t1 = this.$this;
  74210. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  74211. },
  74212. $signature: 0
  74213. };
  74214. A._EvaluateVisitor_runStatement___closure.prototype = {
  74215. call$0() {
  74216. return this.statement.accept$1(this.$this);
  74217. },
  74218. $signature: 0
  74219. };
  74220. A._EvaluateVisitor__loadModule_closure.prototype = {
  74221. call$0() {
  74222. return this.callback.call$2(this._box_1.builtInModule, false);
  74223. },
  74224. $signature: 0
  74225. };
  74226. A._EvaluateVisitor__loadModule_closure0.prototype = {
  74227. call$0() {
  74228. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  74229. t2 = _this.$this,
  74230. t3 = _this.nodeWithSpan,
  74231. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  74232. stylesheet = _1_0._0;
  74233. importer = _1_0._1;
  74234. t4 = stylesheet.span;
  74235. canonicalUrl = t4.get$sourceUrl(t4);
  74236. if (canonicalUrl != null) {
  74237. t4 = t2._activeModules;
  74238. if (t4.containsKey$1(canonicalUrl)) {
  74239. if (_this.namesInErrors) {
  74240. t1 = canonicalUrl;
  74241. t3 = $.$get$context();
  74242. t1.toString;
  74243. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  74244. } else
  74245. message = string$.Modulel;
  74246. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  74247. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  74248. } else
  74249. t4.$indexSet(0, canonicalUrl, t3);
  74250. }
  74251. t4 = t2._modules.containsKey$1(canonicalUrl);
  74252. oldInDependency = t2._inDependency;
  74253. t2._inDependency = _1_0._2;
  74254. t1.module = null;
  74255. try {
  74256. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  74257. } finally {
  74258. t2._activeModules.remove$1(0, canonicalUrl);
  74259. t2._inDependency = oldInDependency;
  74260. }
  74261. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  74262. },
  74263. $signature: 1
  74264. };
  74265. A._EvaluateVisitor__loadModule__closure.prototype = {
  74266. call$1(previousLoad) {
  74267. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74268. },
  74269. $signature: 88
  74270. };
  74271. A._EvaluateVisitor__loadModule__closure0.prototype = {
  74272. call$0() {
  74273. return this.callback.call$2(this._box_0.module, this.firstLoad);
  74274. },
  74275. $signature: 0
  74276. };
  74277. A._EvaluateVisitor__execute_closure.prototype = {
  74278. call$0() {
  74279. var t3, t4, t5, t6, _this = this,
  74280. t1 = _this.$this,
  74281. oldImporter = t1._importer,
  74282. oldStylesheet = t1.__stylesheet,
  74283. oldRoot = t1.__root,
  74284. oldPreModuleComments = t1._preModuleComments,
  74285. oldParent = t1.__parent,
  74286. oldEndOfImports = t1.__endOfImports,
  74287. oldOutOfOrderImports = t1._outOfOrderImports,
  74288. oldExtensionStore = t1.__extensionStore,
  74289. t2 = t1._atRootExcludingStyleRule,
  74290. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  74291. oldMediaQueries = t1._mediaQueries,
  74292. oldDeclarationName = t1._declarationName,
  74293. oldInUnknownAtRule = t1._inUnknownAtRule,
  74294. oldInKeyframes = t1._inKeyframes,
  74295. oldConfiguration = t1._configuration;
  74296. t1._importer = _this.importer;
  74297. t3 = t1.__stylesheet = _this.stylesheet;
  74298. t4 = t3.span;
  74299. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  74300. t1.__endOfImports = 0;
  74301. t1._outOfOrderImports = null;
  74302. t1.__extensionStore = _this.extensionStore;
  74303. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  74304. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  74305. t6 = _this.configuration;
  74306. if (t6 != null)
  74307. t1._configuration = t6;
  74308. t1.visitStylesheet$1(t3);
  74309. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  74310. _this.css._value = t3;
  74311. _this.preModuleComments._value = t1._preModuleComments;
  74312. t1._importer = oldImporter;
  74313. t1.__stylesheet = oldStylesheet;
  74314. t1.__root = oldRoot;
  74315. t1._preModuleComments = oldPreModuleComments;
  74316. t1.__parent = oldParent;
  74317. t1.__endOfImports = oldEndOfImports;
  74318. t1._outOfOrderImports = oldOutOfOrderImports;
  74319. t1.__extensionStore = oldExtensionStore;
  74320. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  74321. t1._mediaQueries = oldMediaQueries;
  74322. t1._declarationName = oldDeclarationName;
  74323. t1._inUnknownAtRule = oldInUnknownAtRule;
  74324. t1._atRootExcludingStyleRule = t2;
  74325. t1._inKeyframes = oldInKeyframes;
  74326. t1._configuration = oldConfiguration;
  74327. },
  74328. $signature: 1
  74329. };
  74330. A._EvaluateVisitor__combineCss_closure.prototype = {
  74331. call$1(module) {
  74332. return module.get$transitivelyContainsCss();
  74333. },
  74334. $signature: 121
  74335. };
  74336. A._EvaluateVisitor__combineCss_closure0.prototype = {
  74337. call$1(target) {
  74338. return !this.selectors.contains$1(0, target);
  74339. },
  74340. $signature: 15
  74341. };
  74342. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  74343. call$1(module) {
  74344. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  74345. if (!_this.seen.add$1(0, module))
  74346. return;
  74347. if (_this.clone)
  74348. module = module.cloneCss$0();
  74349. 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) {
  74350. upstream = t1[_i];
  74351. if (upstream.get$transitivelyContainsCss()) {
  74352. _1_0 = module.get$preModuleComments().$index(0, upstream);
  74353. if (_1_0 != null)
  74354. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  74355. _this.call$1(upstream);
  74356. }
  74357. }
  74358. _this.sorted.addFirst$1(module);
  74359. t1 = module.get$css(module);
  74360. statements = t1.get$children(t1);
  74361. index = _this.$this._indexAfterImports$1(statements);
  74362. t1 = J.getInterceptor$ax(statements);
  74363. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  74364. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  74365. },
  74366. $signature: 294
  74367. };
  74368. A._EvaluateVisitor__extendModules_closure.prototype = {
  74369. call$1(target) {
  74370. return !this.originalSelectors.contains$1(0, target);
  74371. },
  74372. $signature: 15
  74373. };
  74374. A._EvaluateVisitor__extendModules_closure0.prototype = {
  74375. call$0() {
  74376. return A._setArrayType([], type$.JSArray_ExtensionStore);
  74377. },
  74378. $signature: 222
  74379. };
  74380. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  74381. call$0() {
  74382. var t1, t2, t3, _i;
  74383. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74384. t1[_i].accept$1(t3);
  74385. },
  74386. $signature: 1
  74387. };
  74388. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  74389. call$0() {
  74390. var t1, t2, t3, _i;
  74391. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74392. t1[_i].accept$1(t3);
  74393. },
  74394. $signature: 0
  74395. };
  74396. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  74397. call$1(callback) {
  74398. var t1 = this.$this,
  74399. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  74400. t1.__parent = this.newParent;
  74401. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  74402. t1.__parent = t2;
  74403. },
  74404. $signature: 32
  74405. };
  74406. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  74407. call$1(callback) {
  74408. var t1 = this.$this,
  74409. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  74410. t1._atRootExcludingStyleRule = true;
  74411. this.innerScope.call$1(callback);
  74412. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74413. },
  74414. $signature: 32
  74415. };
  74416. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  74417. call$1(callback) {
  74418. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  74419. },
  74420. $signature: 32
  74421. };
  74422. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  74423. call$0() {
  74424. return this.innerScope.call$1(this.callback);
  74425. },
  74426. $signature: 1
  74427. };
  74428. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  74429. call$1(callback) {
  74430. var t1 = this.$this,
  74431. wasInKeyframes = t1._inKeyframes;
  74432. t1._inKeyframes = false;
  74433. this.innerScope.call$1(callback);
  74434. t1._inKeyframes = wasInKeyframes;
  74435. },
  74436. $signature: 32
  74437. };
  74438. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  74439. call$1($parent) {
  74440. return $parent instanceof A.ModifiableCssAtRule;
  74441. },
  74442. $signature: 224
  74443. };
  74444. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  74445. call$1(callback) {
  74446. var t1 = this.$this,
  74447. wasInUnknownAtRule = t1._inUnknownAtRule;
  74448. t1._inUnknownAtRule = false;
  74449. this.innerScope.call$1(callback);
  74450. t1._inUnknownAtRule = wasInUnknownAtRule;
  74451. },
  74452. $signature: 32
  74453. };
  74454. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  74455. call$0() {
  74456. var t1, t2, t3, _i;
  74457. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74458. t1[_i].accept$1(t3);
  74459. return null;
  74460. },
  74461. $signature: 1
  74462. };
  74463. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  74464. call$0() {
  74465. var t1, t2, t3, _i;
  74466. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74467. t1[_i].accept$1(t3);
  74468. },
  74469. $signature: 1
  74470. };
  74471. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  74472. call$1(value) {
  74473. var t1 = this.$this,
  74474. t2 = this.nodeWithSpan;
  74475. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  74476. },
  74477. $signature: 58
  74478. };
  74479. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  74480. call$1(value) {
  74481. return this.$this._setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  74482. },
  74483. $signature: 58
  74484. };
  74485. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  74486. call$0() {
  74487. var _this = this,
  74488. t1 = _this.$this;
  74489. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  74490. },
  74491. $signature: 40
  74492. };
  74493. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  74494. call$1(element) {
  74495. var t1;
  74496. this.setVariables.call$1(element);
  74497. t1 = this.$this;
  74498. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  74499. },
  74500. $signature: 292
  74501. };
  74502. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  74503. call$1(child) {
  74504. return child.accept$1(this.$this);
  74505. },
  74506. $signature: 109
  74507. };
  74508. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  74509. call$1(value) {
  74510. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  74511. },
  74512. $signature: 291
  74513. };
  74514. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  74515. call$0() {
  74516. var t2, t3, _i, _this = this,
  74517. t1 = _this.$this,
  74518. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74519. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  74520. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74521. t2[_i].accept$1(t1);
  74522. else
  74523. 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);
  74524. },
  74525. $signature: 1
  74526. };
  74527. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  74528. call$0() {
  74529. var t1, t2, t3, _i;
  74530. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74531. t1[_i].accept$1(t3);
  74532. },
  74533. $signature: 1
  74534. };
  74535. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  74536. call$1(node) {
  74537. return node instanceof A.ModifiableCssStyleRule;
  74538. },
  74539. $signature: 7
  74540. };
  74541. A._EvaluateVisitor_visitForRule_closure.prototype = {
  74542. call$0() {
  74543. return this.node.from.accept$1(this.$this).assertNumber$0();
  74544. },
  74545. $signature: 262
  74546. };
  74547. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  74548. call$0() {
  74549. return this.node.to.accept$1(this.$this).assertNumber$0();
  74550. },
  74551. $signature: 262
  74552. };
  74553. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  74554. call$0() {
  74555. return this.fromNumber.assertInt$0();
  74556. },
  74557. $signature: 10
  74558. };
  74559. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  74560. call$0() {
  74561. var t1 = this.fromNumber;
  74562. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74563. },
  74564. $signature: 10
  74565. };
  74566. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  74567. call$0() {
  74568. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  74569. t1 = _this.$this,
  74570. t2 = _this.node,
  74571. nodeWithSpan = t1._expressionNode$1(t2.from);
  74572. 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) {
  74573. t7 = t1._environment;
  74574. t8 = t6.get$numeratorUnits(t6);
  74575. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74576. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  74577. if (_0_0 != null)
  74578. return _0_0;
  74579. }
  74580. return null;
  74581. },
  74582. $signature: 40
  74583. };
  74584. A._EvaluateVisitor_visitForRule__closure.prototype = {
  74585. call$1(child) {
  74586. return child.accept$1(this.$this);
  74587. },
  74588. $signature: 109
  74589. };
  74590. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  74591. call$2(module, firstLoad) {
  74592. if (firstLoad)
  74593. this.$this._registerCommentsForModule$1(module);
  74594. this.$this._environment.forwardModule$2(module, this.node);
  74595. },
  74596. $signature: 105
  74597. };
  74598. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  74599. call$2(module, firstLoad) {
  74600. if (firstLoad)
  74601. this.$this._registerCommentsForModule$1(module);
  74602. this.$this._environment.forwardModule$2(module, this.node);
  74603. },
  74604. $signature: 105
  74605. };
  74606. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  74607. call$0() {
  74608. return A._setArrayType([], type$.JSArray_CssComment);
  74609. },
  74610. $signature: 233
  74611. };
  74612. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  74613. call$1(clause) {
  74614. var t1 = this.$this;
  74615. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74616. },
  74617. $signature: 289
  74618. };
  74619. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  74620. call$0() {
  74621. var t1 = this.$this;
  74622. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  74623. },
  74624. $signature: 40
  74625. };
  74626. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  74627. call$1(child) {
  74628. return child.accept$1(this.$this);
  74629. },
  74630. $signature: 109
  74631. };
  74632. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  74633. call$0() {
  74634. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  74635. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74636. t1 = this.$this;
  74637. t2 = this.$import;
  74638. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  74639. stylesheet = _box_0.stylesheet = _0_0._0;
  74640. importer = _0_0._1;
  74641. _box_0.importer = importer;
  74642. isDependency = _0_0._2;
  74643. _box_0.isDependency = isDependency;
  74644. t3 = stylesheet.span;
  74645. url = t3.get$sourceUrl(t3);
  74646. if (url != null) {
  74647. t3 = t1._activeModules;
  74648. if (t3.containsKey$1(url)) {
  74649. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  74650. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  74651. }
  74652. t3.$indexSet(0, url, t2);
  74653. }
  74654. t2 = stylesheet._uses;
  74655. t3 = type$.UnmodifiableListView_UseRule;
  74656. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  74657. oldImporter = t1._importer;
  74658. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  74659. oldInDependency = t1._inDependency;
  74660. t1._importer = importer;
  74661. t1.__stylesheet = stylesheet;
  74662. t1._inDependency = isDependency;
  74663. t1.visitStylesheet$1(stylesheet);
  74664. t1._importer = oldImporter;
  74665. t1.__stylesheet = t2;
  74666. t1._inDependency = oldInDependency;
  74667. t1._activeModules.remove$1(0, url);
  74668. return;
  74669. }
  74670. t2 = new A.UnmodifiableListView(t2, t3);
  74671. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  74672. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74673. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  74674. } else
  74675. loadsUserDefinedModules = true;
  74676. children = A._Cell$();
  74677. t2 = t1._environment;
  74678. t3 = type$.String;
  74679. t4 = type$.Module_Callable;
  74680. t5 = type$.AstNode;
  74681. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  74682. t7 = t2._variables;
  74683. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74684. t8 = t2._variableNodes;
  74685. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74686. t9 = t2._functions;
  74687. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74688. t10 = t2._mixins;
  74689. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74690. 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);
  74691. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  74692. module = environment.toDummyModule$0();
  74693. t1._environment.importForwards$1(module);
  74694. if (loadsUserDefinedModules) {
  74695. if (module.transitivelyContainsCss)
  74696. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  74697. visitor = new A._ImportedCssVisitor(t1);
  74698. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74699. t2.get$current(t2).accept$1(visitor);
  74700. }
  74701. t1._activeModules.remove$1(0, url);
  74702. },
  74703. $signature: 0
  74704. };
  74705. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  74706. call$1(previousLoad) {
  74707. 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));
  74708. },
  74709. $signature: 88
  74710. };
  74711. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  74712. call$1(rule) {
  74713. return rule.url.get$scheme() !== "sass";
  74714. },
  74715. $signature: 235
  74716. };
  74717. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  74718. call$1(rule) {
  74719. return rule.url.get$scheme() !== "sass";
  74720. },
  74721. $signature: 236
  74722. };
  74723. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  74724. call$0() {
  74725. var t7, t8, _this = this,
  74726. t1 = _this.$this,
  74727. oldImporter = t1._importer,
  74728. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  74729. t3 = t1._assertInModule$2(t1.__root, "_root"),
  74730. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  74731. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  74732. oldOutOfOrderImports = t1._outOfOrderImports,
  74733. oldConfiguration = t1._configuration,
  74734. oldInDependency = t1._inDependency,
  74735. t6 = _this._box_0;
  74736. t1._importer = t6.importer;
  74737. t7 = t6.stylesheet;
  74738. t1.__stylesheet = t7;
  74739. t8 = _this.loadsUserDefinedModules;
  74740. if (t8) {
  74741. t7 = A.ModifiableCssStylesheet$(t7.span);
  74742. t1.__root = t7;
  74743. t1.__parent = t1._assertInModule$2(t7, "_root");
  74744. t1.__endOfImports = 0;
  74745. t1._outOfOrderImports = null;
  74746. }
  74747. t1._inDependency = t6.isDependency;
  74748. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74749. if (!t7.get$isEmpty(t7))
  74750. t1._configuration = _this.environment.toImplicitConfiguration$0();
  74751. t1.visitStylesheet$1(t6.stylesheet);
  74752. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74753. _this.children._value = t6;
  74754. t1._importer = oldImporter;
  74755. t1.__stylesheet = t2;
  74756. if (t8) {
  74757. t1.__root = t3;
  74758. t1.__parent = t4;
  74759. t1.__endOfImports = t5;
  74760. t1._outOfOrderImports = oldOutOfOrderImports;
  74761. }
  74762. t1._configuration = oldConfiguration;
  74763. t1._inDependency = oldInDependency;
  74764. },
  74765. $signature: 1
  74766. };
  74767. A._EvaluateVisitor__applyMixin_closure.prototype = {
  74768. call$0() {
  74769. var _this = this,
  74770. t1 = _this.$this;
  74771. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  74772. },
  74773. $signature: 0
  74774. };
  74775. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  74776. call$0() {
  74777. var _this = this;
  74778. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  74779. },
  74780. $signature: 0
  74781. };
  74782. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  74783. call$0() {
  74784. var _this = this,
  74785. t1 = _this.$this;
  74786. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  74787. },
  74788. $signature: 1
  74789. };
  74790. A._EvaluateVisitor__applyMixin__closure.prototype = {
  74791. call$0() {
  74792. var t1 = this.$this;
  74793. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  74794. },
  74795. $signature: 0
  74796. };
  74797. A._EvaluateVisitor__applyMixin___closure.prototype = {
  74798. call$0() {
  74799. var t1, t2, t3, t4, _i;
  74800. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  74801. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  74802. },
  74803. $signature: 0
  74804. };
  74805. A._EvaluateVisitor__applyMixin____closure.prototype = {
  74806. call$0() {
  74807. return this.statement.accept$1(this.$this);
  74808. },
  74809. $signature: 40
  74810. };
  74811. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  74812. call$0() {
  74813. var t1 = this.node;
  74814. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  74815. },
  74816. $signature: 104
  74817. };
  74818. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  74819. call$1($content) {
  74820. var t1 = this.$this;
  74821. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  74822. },
  74823. $signature: 288
  74824. };
  74825. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  74826. call$0() {
  74827. return this.node.get$spanWithoutContent();
  74828. },
  74829. $signature: 25
  74830. };
  74831. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  74832. call$1(mediaQueries) {
  74833. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  74834. },
  74835. $signature: 94
  74836. };
  74837. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  74838. call$0() {
  74839. var _this = this,
  74840. t1 = _this.$this,
  74841. t2 = _this.mergedQueries;
  74842. if (t2 == null)
  74843. t2 = _this.queries;
  74844. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  74845. },
  74846. $signature: 1
  74847. };
  74848. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  74849. call$0() {
  74850. var t2, t3, _i,
  74851. t1 = this.$this,
  74852. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74853. if (_0_0 != null)
  74854. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  74855. else
  74856. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74857. t2[_i].accept$1(t1);
  74858. },
  74859. $signature: 1
  74860. };
  74861. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  74862. call$0() {
  74863. var t1, t2, t3, _i;
  74864. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74865. t1[_i].accept$1(t3);
  74866. },
  74867. $signature: 1
  74868. };
  74869. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  74870. call$1(node) {
  74871. var t1;
  74872. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74873. t1 = this.mergedSources;
  74874. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74875. } else
  74876. t1 = true;
  74877. return t1;
  74878. },
  74879. $signature: 7
  74880. };
  74881. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  74882. call$0() {
  74883. var t1, t2, t3, _i;
  74884. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74885. t1[_i].accept$1(t3);
  74886. },
  74887. $signature: 1
  74888. };
  74889. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  74890. call$1(node) {
  74891. return node instanceof A.ModifiableCssStyleRule;
  74892. },
  74893. $signature: 7
  74894. };
  74895. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  74896. call$0() {
  74897. var t1 = this.$this;
  74898. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  74899. },
  74900. $signature: 1
  74901. };
  74902. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  74903. call$0() {
  74904. var t1, t2, t3, _i;
  74905. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74906. t1[_i].accept$1(t3);
  74907. },
  74908. $signature: 1
  74909. };
  74910. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  74911. call$1(node) {
  74912. return node instanceof A.ModifiableCssStyleRule;
  74913. },
  74914. $signature: 7
  74915. };
  74916. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74917. call$1(child) {
  74918. return child instanceof A.ModifiableCssComment;
  74919. },
  74920. $signature: 118
  74921. };
  74922. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  74923. call$0() {
  74924. var t2, t3, _i,
  74925. t1 = this.$this,
  74926. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74927. if (_0_0 != null)
  74928. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  74929. else
  74930. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74931. t2[_i].accept$1(t1);
  74932. },
  74933. $signature: 1
  74934. };
  74935. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  74936. call$0() {
  74937. var t1, t2, t3, _i;
  74938. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74939. t1[_i].accept$1(t3);
  74940. },
  74941. $signature: 1
  74942. };
  74943. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  74944. call$1(node) {
  74945. return node instanceof A.ModifiableCssStyleRule;
  74946. },
  74947. $signature: 7
  74948. };
  74949. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  74950. call$0() {
  74951. var t4,
  74952. t1 = this.$this,
  74953. t2 = this._box_0,
  74954. t3 = t2.declaration.name;
  74955. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  74956. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74957. t2 = t2.declaration.value;
  74958. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  74959. },
  74960. $signature: 27
  74961. };
  74962. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  74963. call$0() {
  74964. var t1 = this.$this._environment,
  74965. t2 = this._box_0.override;
  74966. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74967. },
  74968. $signature: 1
  74969. };
  74970. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  74971. call$0() {
  74972. var t1 = this.node;
  74973. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  74974. },
  74975. $signature: 40
  74976. };
  74977. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  74978. call$0() {
  74979. var t1 = this.$this,
  74980. t2 = this.node;
  74981. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74982. },
  74983. $signature: 1
  74984. };
  74985. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  74986. call$2(module, firstLoad) {
  74987. var t1, t2, t3, _0_0, t4, t5, span;
  74988. if (firstLoad)
  74989. this.$this._registerCommentsForModule$1(module);
  74990. t1 = this.$this._environment;
  74991. t2 = this.node;
  74992. t3 = t2.namespace;
  74993. if (t3 == null) {
  74994. t1._globalModules.$indexSet(0, module, t2);
  74995. t1._allModules.push(module);
  74996. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  74997. if (_0_0 != null)
  74998. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74999. } else {
  75000. t4 = t1._environment$_modules;
  75001. if (t4.containsKey$1(t3)) {
  75002. t5 = t1._namespaceNodes.$index(0, t3);
  75003. span = t5 == null ? null : t5.span;
  75004. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  75005. if (span != null)
  75006. t5.$indexSet(0, span, "original @use");
  75007. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  75008. }
  75009. t4.$indexSet(0, t3, module);
  75010. t1._namespaceNodes.$indexSet(0, t3, t2);
  75011. t1._allModules.push(module);
  75012. }
  75013. },
  75014. $signature: 105
  75015. };
  75016. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  75017. call$0() {
  75018. return this.node.expression.accept$1(this.$this);
  75019. },
  75020. $signature: 36
  75021. };
  75022. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  75023. call$0() {
  75024. var t1, t2, t3, _0_0;
  75025. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  75026. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  75027. if (_0_0 != null)
  75028. return _0_0;
  75029. }
  75030. return null;
  75031. },
  75032. $signature: 40
  75033. };
  75034. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  75035. call$1(child) {
  75036. return child.accept$1(this.$this);
  75037. },
  75038. $signature: 109
  75039. };
  75040. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  75041. call$0() {
  75042. var t1 = this.node,
  75043. t2 = this.$this,
  75044. left = t1.left.accept$1(t2);
  75045. switch (t1.operator) {
  75046. case B.BinaryOperator_2jN:
  75047. t1 = t1.right.accept$1(t2);
  75048. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75049. break;
  75050. case B.BinaryOperator_M6L:
  75051. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  75052. break;
  75053. case B.BinaryOperator_SNp:
  75054. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  75055. break;
  75056. case B.BinaryOperator_ql5:
  75057. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75058. break;
  75059. case B.BinaryOperator_ViB:
  75060. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75061. break;
  75062. case B.BinaryOperator_cIH:
  75063. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  75064. break;
  75065. case B.BinaryOperator_7Tg:
  75066. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  75067. break;
  75068. case B.BinaryOperator_U8c:
  75069. t1 = left.lessThan$1(t1.right.accept$1(t2));
  75070. break;
  75071. case B.BinaryOperator_kpg:
  75072. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  75073. break;
  75074. case B.BinaryOperator_anB:
  75075. t1 = left.plus$1(t1.right.accept$1(t2));
  75076. break;
  75077. case B.BinaryOperator_olz:
  75078. t1 = left.minus$1(t1.right.accept$1(t2));
  75079. break;
  75080. case B.BinaryOperator_qN2:
  75081. t1 = left.times$1(t1.right.accept$1(t2));
  75082. break;
  75083. case B.BinaryOperator_t8B:
  75084. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  75085. break;
  75086. case B.BinaryOperator_OTG:
  75087. t1 = left.modulo$1(t1.right.accept$1(t2));
  75088. break;
  75089. default:
  75090. t1 = null;
  75091. }
  75092. return t1;
  75093. },
  75094. $signature: 36
  75095. };
  75096. A._EvaluateVisitor__slash_recommendation.prototype = {
  75097. call$1(expression) {
  75098. var t1;
  75099. $label0$0: {
  75100. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_t8B === expression.operator) {
  75101. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75102. break $label0$0;
  75103. }
  75104. if (expression instanceof A.ParenthesizedExpression) {
  75105. t1 = expression.expression.toString$0(0);
  75106. break $label0$0;
  75107. }
  75108. t1 = expression.toString$0(0);
  75109. break $label0$0;
  75110. }
  75111. return t1;
  75112. },
  75113. $signature: 120
  75114. };
  75115. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  75116. call$0() {
  75117. var t1 = this.node;
  75118. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  75119. },
  75120. $signature: 40
  75121. };
  75122. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  75123. call$0() {
  75124. var t1, _this = this;
  75125. switch (_this.node.operator) {
  75126. case B.UnaryOperator_gg4:
  75127. t1 = _this.operand.unaryPlus$0();
  75128. break;
  75129. case B.UnaryOperator_TLI:
  75130. t1 = _this.operand.unaryMinus$0();
  75131. break;
  75132. case B.UnaryOperator_Ix1:
  75133. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75134. break;
  75135. case B.UnaryOperator_not_not_not:
  75136. t1 = _this.operand.unaryNot$0();
  75137. break;
  75138. default:
  75139. t1 = null;
  75140. }
  75141. return t1;
  75142. },
  75143. $signature: 36
  75144. };
  75145. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  75146. call$1(expression) {
  75147. return expression.accept$1(this.$this);
  75148. },
  75149. $signature: 286
  75150. };
  75151. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  75152. call$0() {
  75153. var t1 = this.$this._environment,
  75154. t2 = this.node;
  75155. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  75156. },
  75157. $signature: 104
  75158. };
  75159. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  75160. call$1(argument) {
  75161. return argument.accept$1(new A._IsCalculationSafeVisitor());
  75162. },
  75163. $signature: 119
  75164. };
  75165. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  75166. call$0() {
  75167. var t1 = this.node;
  75168. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75169. },
  75170. $signature: 36
  75171. };
  75172. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  75173. call$1(maxArgs) {
  75174. var t1 = this.node,
  75175. t2 = t1.$arguments.positional.length;
  75176. if (t2 === 0)
  75177. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  75178. else if (maxArgs != null && t2 > maxArgs)
  75179. 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));
  75180. },
  75181. call$0() {
  75182. return this.call$1(null);
  75183. },
  75184. $signature: 99
  75185. };
  75186. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  75187. call$0() {
  75188. var _this = this,
  75189. t1 = _this.$this,
  75190. t2 = _this._box_0,
  75191. t3 = _this.inLegacySassFunction;
  75192. 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);
  75193. },
  75194. $signature: 82
  75195. };
  75196. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  75197. call$0() {
  75198. var t1 = this.node;
  75199. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75200. },
  75201. $signature: 36
  75202. };
  75203. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  75204. call$0() {
  75205. var _this = this,
  75206. t1 = _this.$this,
  75207. t2 = _this.callable;
  75208. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  75209. },
  75210. $signature() {
  75211. return this.V._eval$1("0()");
  75212. }
  75213. };
  75214. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  75215. call$0() {
  75216. var _this = this,
  75217. t1 = _this.$this,
  75218. t2 = _this.V;
  75219. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75220. },
  75221. $signature() {
  75222. return this.V._eval$1("0()");
  75223. }
  75224. };
  75225. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  75226. call$0() {
  75227. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  75228. t1 = _this.$this,
  75229. t2 = _this.evaluated._values,
  75230. t3 = _this.callable.declaration.$arguments,
  75231. t4 = _this.nodeWithSpan;
  75232. t1._verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75233. declaredArguments = t3.$arguments;
  75234. t5 = declaredArguments.length;
  75235. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75236. for (i = 0; i < minLength; ++i)
  75237. t1._environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75238. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  75239. argument = declaredArguments[i];
  75240. t6 = t2[0];
  75241. t7 = argument.name;
  75242. value = J.remove$1$z(t6, t7);
  75243. if (value == null) {
  75244. t6 = argument.defaultValue;
  75245. value = t1._withoutSlash$2(t6.accept$1(t1), t1._expressionNode$1(t6));
  75246. }
  75247. t6 = t1._environment;
  75248. t8 = J.$index$asx(t2[1], t7);
  75249. if (t8 == null) {
  75250. t8 = argument.defaultValue;
  75251. t8.toString;
  75252. t8 = t1._expressionNode$1(t8);
  75253. }
  75254. t6.setLocalVariable$3(t7, value, t8);
  75255. }
  75256. restArgument = t3.restArgument;
  75257. if (restArgument != null) {
  75258. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75259. t5 = t2[0];
  75260. t6 = t2[4];
  75261. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t6);
  75262. t1._environment.setLocalVariable$3(restArgument, argumentList, t4);
  75263. } else
  75264. argumentList = null;
  75265. result = _this.run.call$0();
  75266. if (argumentList == null)
  75267. return result;
  75268. t5 = t2[0].__js_helper$_length;
  75269. if (t5 === 0)
  75270. return result;
  75271. if (argumentList._wereKeywordsAccessed)
  75272. return result;
  75273. argumentWord = A.pluralize("argument", t5, null);
  75274. t2 = t2[0];
  75275. t5 = A.instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  75276. 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));
  75277. },
  75278. $signature() {
  75279. return this.V._eval$1("0()");
  75280. }
  75281. };
  75282. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  75283. call$1($name) {
  75284. return "$" + $name;
  75285. },
  75286. $signature: 5
  75287. };
  75288. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  75289. call$0() {
  75290. var t1, t2, t3, t4, _i, $returnValue;
  75291. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  75292. $returnValue = t2[_i].accept$1(t4);
  75293. if ($returnValue instanceof A.Value)
  75294. return $returnValue;
  75295. }
  75296. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  75297. },
  75298. $signature: 36
  75299. };
  75300. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  75301. call$0() {
  75302. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75303. },
  75304. $signature: 0
  75305. };
  75306. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  75307. call$0() {
  75308. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75309. },
  75310. $signature: 36
  75311. };
  75312. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  75313. call$1($name) {
  75314. return "$" + $name;
  75315. },
  75316. $signature: 5
  75317. };
  75318. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  75319. call$1(value) {
  75320. return value;
  75321. },
  75322. $signature: 39
  75323. };
  75324. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  75325. call$1(value) {
  75326. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  75327. },
  75328. $signature: 39
  75329. };
  75330. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  75331. call$2(key, value) {
  75332. var _this = this,
  75333. t1 = _this.restNodeForSpan;
  75334. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  75335. _this.namedNodes.$indexSet(0, key, t1);
  75336. },
  75337. $signature: 101
  75338. };
  75339. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  75340. call$1(value) {
  75341. return value;
  75342. },
  75343. $signature: 39
  75344. };
  75345. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  75346. call$1(value) {
  75347. var t1 = this.restArgs;
  75348. return new A.ValueExpression(value, t1.get$span(t1));
  75349. },
  75350. $signature: 59
  75351. };
  75352. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  75353. call$1(value) {
  75354. var t1 = this.restArgs;
  75355. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75356. },
  75357. $signature: 59
  75358. };
  75359. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  75360. call$2(key, value) {
  75361. var _this = this,
  75362. t1 = _this.restArgs;
  75363. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75364. },
  75365. $signature: 101
  75366. };
  75367. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  75368. call$1(value) {
  75369. var t1 = this.keywordRestArgs;
  75370. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75371. },
  75372. $signature: 59
  75373. };
  75374. A._EvaluateVisitor__addRestMap_closure.prototype = {
  75375. call$2(key, value) {
  75376. var t2, _this = this,
  75377. t1 = _this.$this;
  75378. if (key instanceof A.SassString)
  75379. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  75380. else {
  75381. t2 = _this.nodeWithSpan;
  75382. 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)));
  75383. }
  75384. },
  75385. $signature: 85
  75386. };
  75387. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  75388. call$0() {
  75389. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75390. },
  75391. $signature: 0
  75392. };
  75393. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  75394. call$0() {
  75395. var t1, t2, t3, t4;
  75396. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75397. t4 = t1.__internal$_current;
  75398. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75399. }
  75400. },
  75401. $signature: 1
  75402. };
  75403. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  75404. call$1(node) {
  75405. return node instanceof A.ModifiableCssStyleRule;
  75406. },
  75407. $signature: 7
  75408. };
  75409. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  75410. call$0() {
  75411. var t1, t2, t3, t4;
  75412. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75413. t4 = t1.__internal$_current;
  75414. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75415. }
  75416. },
  75417. $signature: 1
  75418. };
  75419. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  75420. call$1(node) {
  75421. return node instanceof A.ModifiableCssStyleRule;
  75422. },
  75423. $signature: 7
  75424. };
  75425. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  75426. call$1(mediaQueries) {
  75427. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  75428. },
  75429. $signature: 94
  75430. };
  75431. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  75432. call$0() {
  75433. var _this = this,
  75434. t1 = _this.$this,
  75435. t2 = _this.mergedQueries;
  75436. if (t2 == null)
  75437. t2 = _this.node.queries;
  75438. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  75439. },
  75440. $signature: 1
  75441. };
  75442. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  75443. call$0() {
  75444. var t2, t3, t4,
  75445. t1 = this.$this,
  75446. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75447. if (_0_0 != null)
  75448. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  75449. else
  75450. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  75451. t4 = t2.__internal$_current;
  75452. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75453. }
  75454. },
  75455. $signature: 1
  75456. };
  75457. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  75458. call$0() {
  75459. var t1, t2, t3, t4;
  75460. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75461. t4 = t1.__internal$_current;
  75462. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75463. }
  75464. },
  75465. $signature: 1
  75466. };
  75467. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  75468. call$1(node) {
  75469. var t1;
  75470. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75471. t1 = this.mergedSources;
  75472. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75473. } else
  75474. t1 = true;
  75475. return t1;
  75476. },
  75477. $signature: 7
  75478. };
  75479. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  75480. call$0() {
  75481. var t1 = this.$this;
  75482. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  75483. },
  75484. $signature: 1
  75485. };
  75486. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  75487. call$0() {
  75488. var t1, t2, t3, t4;
  75489. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75490. t4 = t1.__internal$_current;
  75491. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75492. }
  75493. },
  75494. $signature: 1
  75495. };
  75496. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  75497. call$1(node) {
  75498. return node instanceof A.ModifiableCssStyleRule;
  75499. },
  75500. $signature: 7
  75501. };
  75502. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  75503. call$0() {
  75504. var t2, t3, t4,
  75505. t1 = this.$this,
  75506. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75507. if (_0_0 != null)
  75508. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  75509. else
  75510. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  75511. t4 = t2.__internal$_current;
  75512. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75513. }
  75514. },
  75515. $signature: 1
  75516. };
  75517. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  75518. call$0() {
  75519. var t1, t2, t3, t4;
  75520. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75521. t4 = t1.__internal$_current;
  75522. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75523. }
  75524. },
  75525. $signature: 1
  75526. };
  75527. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  75528. call$1(node) {
  75529. return node instanceof A.ModifiableCssStyleRule;
  75530. },
  75531. $signature: 7
  75532. };
  75533. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  75534. call$1(targetLocations) {
  75535. return A.InterpolationMap$(this.interpolation, targetLocations);
  75536. },
  75537. $signature: 249
  75538. };
  75539. A._EvaluateVisitor__serialize_closure.prototype = {
  75540. call$0() {
  75541. return A.serializeValue(this.value, false, this.quote);
  75542. },
  75543. $signature: 27
  75544. };
  75545. A._EvaluateVisitor__expressionNode_closure.prototype = {
  75546. call$0() {
  75547. var t1 = this.expression;
  75548. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  75549. },
  75550. $signature: 250
  75551. };
  75552. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  75553. call$1(number) {
  75554. var t1, before, after,
  75555. _1_0 = number.asSlash;
  75556. $label0$0: {
  75557. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  75558. t1 = type$.SassNumber;
  75559. before = t1._as(_1_0._0);
  75560. after = t1._as(_1_0._1);
  75561. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  75562. break $label0$0;
  75563. }
  75564. t1 = A.serializeValue(number, true, true);
  75565. break $label0$0;
  75566. }
  75567. return t1;
  75568. },
  75569. $signature: 251
  75570. };
  75571. A._EvaluateVisitor__stackFrame_closure.prototype = {
  75572. call$1(url) {
  75573. var t1 = this.$this._evaluate$_importCache;
  75574. t1 = t1 == null ? null : t1.humanize$1(url);
  75575. return t1 == null ? url : t1;
  75576. },
  75577. $signature: 44
  75578. };
  75579. A._ImportedCssVisitor.prototype = {
  75580. visitCssAtRule$1(node) {
  75581. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  75582. this._visitor._addChild$2$through(node, t1);
  75583. },
  75584. visitCssComment$1(node) {
  75585. return this._visitor._addChild$1(node);
  75586. },
  75587. visitCssDeclaration$1(node) {
  75588. },
  75589. visitCssImport$1(node) {
  75590. var t2,
  75591. _s13_ = "_endOfImports",
  75592. t1 = this._visitor;
  75593. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  75594. t1._addChild$1(node);
  75595. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  75596. t1._addChild$1(node);
  75597. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  75598. } else {
  75599. t2 = t1._outOfOrderImports;
  75600. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  75601. }
  75602. },
  75603. visitCssKeyframeBlock$1(node) {
  75604. },
  75605. visitCssMediaRule$1(node) {
  75606. var t1 = this._visitor,
  75607. mediaQueries = t1._mediaQueries;
  75608. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  75609. },
  75610. visitCssStyleRule$1(node) {
  75611. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  75612. },
  75613. visitCssStylesheet$1(node) {
  75614. var t1, t2, t3;
  75615. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  75616. t3 = t1.__internal$_current;
  75617. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  75618. }
  75619. },
  75620. visitCssSupportsRule$1(node) {
  75621. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  75622. }
  75623. };
  75624. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  75625. call$1(node) {
  75626. return node instanceof A.ModifiableCssStyleRule;
  75627. },
  75628. $signature: 7
  75629. };
  75630. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  75631. call$1(node) {
  75632. var t1;
  75633. if (!(node instanceof A.ModifiableCssStyleRule))
  75634. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  75635. else
  75636. t1 = true;
  75637. return t1;
  75638. },
  75639. $signature: 7
  75640. };
  75641. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  75642. call$1(node) {
  75643. return node instanceof A.ModifiableCssStyleRule;
  75644. },
  75645. $signature: 7
  75646. };
  75647. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  75648. call$1(node) {
  75649. return node instanceof A.ModifiableCssStyleRule;
  75650. },
  75651. $signature: 7
  75652. };
  75653. A._EvaluationContext.prototype = {
  75654. get$currentCallableSpan() {
  75655. var _0_0 = this._visitor._callableNode;
  75656. if (_0_0 != null)
  75657. return _0_0.get$span(_0_0);
  75658. throw A.wrapException(A.StateError$(string$.No_Sasc));
  75659. },
  75660. warn$2(_, message, deprecation) {
  75661. var t1 = this._visitor,
  75662. t2 = t1._importSpan;
  75663. if (t2 == null) {
  75664. t2 = t1._callableNode;
  75665. t2 = t2 == null ? null : t2.get$span(t2);
  75666. }
  75667. if (t2 == null) {
  75668. t2 = this._defaultWarnNodeWithSpan;
  75669. t2 = t2.get$span(t2);
  75670. }
  75671. t1._warn$3(message, t2, deprecation);
  75672. },
  75673. $isEvaluationContext: 1
  75674. };
  75675. A.EveryCssVisitor.prototype = {
  75676. visitCssAtRule$1(node) {
  75677. var t1 = node.children;
  75678. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  75679. },
  75680. visitCssComment$1(node) {
  75681. return false;
  75682. },
  75683. visitCssDeclaration$1(node) {
  75684. return false;
  75685. },
  75686. visitCssImport$1(node) {
  75687. return false;
  75688. },
  75689. visitCssKeyframeBlock$1(node) {
  75690. var t1 = node.children;
  75691. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  75692. },
  75693. visitCssMediaRule$1(node) {
  75694. var t1 = node.children;
  75695. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  75696. },
  75697. visitCssStyleRule$1(node) {
  75698. var t1 = node.children;
  75699. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  75700. },
  75701. visitCssStylesheet$1(node) {
  75702. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  75703. },
  75704. visitCssSupportsRule$1(node) {
  75705. var t1 = node.children;
  75706. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  75707. }
  75708. };
  75709. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  75710. call$1(child) {
  75711. return child.accept$1(this.$this);
  75712. },
  75713. $signature: 7
  75714. };
  75715. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  75716. call$1(child) {
  75717. return child.accept$1(this.$this);
  75718. },
  75719. $signature: 7
  75720. };
  75721. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  75722. call$1(child) {
  75723. return child.accept$1(this.$this);
  75724. },
  75725. $signature: 7
  75726. };
  75727. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  75728. call$1(child) {
  75729. return child.accept$1(this.$this);
  75730. },
  75731. $signature: 7
  75732. };
  75733. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  75734. call$1(child) {
  75735. return child.accept$1(this.$this);
  75736. },
  75737. $signature: 7
  75738. };
  75739. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  75740. call$1(child) {
  75741. return child.accept$1(this.$this);
  75742. },
  75743. $signature: 7
  75744. };
  75745. A._MakeExpressionCalculationSafe.prototype = {
  75746. visitBinaryOperationExpression$1(node) {
  75747. var t1, t2, t3;
  75748. if (node.operator === B.BinaryOperator_OTG) {
  75749. t1 = A._setArrayType([node], type$.JSArray_Expression);
  75750. t2 = node.get$span(0);
  75751. t3 = type$.Expression;
  75752. 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(0));
  75753. t1 = t2;
  75754. } else
  75755. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(node);
  75756. return t1;
  75757. },
  75758. visitInterpolatedFunctionExpression$1(node) {
  75759. return node;
  75760. },
  75761. visitUnaryOperationExpression$1(node) {
  75762. var t1,
  75763. _0_0 = node.operator;
  75764. $label0$0: {
  75765. if (B.UnaryOperator_gg4 === _0_0) {
  75766. t1 = node.operand;
  75767. break $label0$0;
  75768. }
  75769. if (B.UnaryOperator_TLI === _0_0) {
  75770. t1 = new A.BinaryOperationExpression(B.BinaryOperator_qN2, new A.NumberExpression(-1, null, node.span), node.operand, false);
  75771. break $label0$0;
  75772. }
  75773. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(node);
  75774. break $label0$0;
  75775. }
  75776. return t1;
  75777. }
  75778. };
  75779. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  75780. A._FindDependenciesVisitor.prototype = {
  75781. visitEachRule$1(node) {
  75782. },
  75783. visitForRule$1(node) {
  75784. },
  75785. visitIfRule$1(node) {
  75786. },
  75787. visitWhileRule$1(node) {
  75788. },
  75789. visitUseRule$1(node) {
  75790. var t1 = node.url;
  75791. if (t1.get$scheme() !== "sass")
  75792. this._find_dependencies$_uses.add$1(0, t1);
  75793. else if (t1.toString$0(0) === "sass:meta")
  75794. this._metaNamespaces.add$1(0, node.namespace);
  75795. },
  75796. visitForwardRule$1(node) {
  75797. var t1 = node.url;
  75798. if (t1.get$scheme() !== "sass")
  75799. this._find_dependencies$_forwards.add$1(0, t1);
  75800. },
  75801. visitImportRule$1(node) {
  75802. var t1, t2, t3, _i, $import;
  75803. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  75804. $import = t1[_i];
  75805. if ($import instanceof A.DynamicImport)
  75806. t3.add$1(0, A.Uri_parse($import.urlString));
  75807. }
  75808. },
  75809. visitIncludeRule$1(node) {
  75810. var url, _0_0, _0_4, t1, _0_7, _0_7_isSet, _0_4_isSet, url0, exception, _null = null;
  75811. if (node.name !== "load-css")
  75812. return;
  75813. if (!this._metaNamespaces.contains$1(0, node.namespace))
  75814. return;
  75815. url = null;
  75816. _0_0 = node.$arguments.positional;
  75817. if (_0_0.length === 1) {
  75818. _0_4 = _0_0[0];
  75819. t1 = _0_4;
  75820. if (t1 instanceof A.StringExpression) {
  75821. type$.StringExpression._as(_0_4);
  75822. _0_7 = _0_4.text.get$asPlain();
  75823. t1 = _0_7;
  75824. t1 = t1 != null;
  75825. _0_7_isSet = true;
  75826. } else {
  75827. _0_7 = _null;
  75828. _0_7_isSet = false;
  75829. t1 = false;
  75830. }
  75831. _0_4_isSet = true;
  75832. } else {
  75833. _0_7 = _null;
  75834. _0_4 = _0_7;
  75835. _0_4_isSet = false;
  75836. _0_7_isSet = false;
  75837. t1 = false;
  75838. }
  75839. if (t1) {
  75840. if (_0_7_isSet)
  75841. url0 = _0_7;
  75842. else {
  75843. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  75844. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  75845. url0 = _0_7;
  75846. }
  75847. url = url0 == null ? A._asString(url0) : url0;
  75848. try {
  75849. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  75850. } catch (exception) {
  75851. if (!type$.FormatException._is(A.unwrapException(exception)))
  75852. throw exception;
  75853. }
  75854. }
  75855. }
  75856. };
  75857. A.DependencyReport.prototype = {};
  75858. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  75859. A.RecursiveStatementVisitor.prototype = {
  75860. visitAtRootRule$1(node) {
  75861. this.visitChildren$1(node.children);
  75862. },
  75863. visitAtRule$1(node) {
  75864. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  75865. },
  75866. visitContentBlock$1(node) {
  75867. return null;
  75868. },
  75869. visitContentRule$1(node) {
  75870. },
  75871. visitDebugRule$1(node) {
  75872. },
  75873. visitDeclaration$1(node) {
  75874. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  75875. },
  75876. visitEachRule$1(node) {
  75877. return this.visitChildren$1(node.children);
  75878. },
  75879. visitErrorRule$1(node) {
  75880. },
  75881. visitExtendRule$1(node) {
  75882. },
  75883. visitForRule$1(node) {
  75884. return this.visitChildren$1(node.children);
  75885. },
  75886. visitForwardRule$1(node) {
  75887. },
  75888. visitFunctionRule$1(node) {
  75889. return null;
  75890. },
  75891. visitIfRule$1(node) {
  75892. var t1, t2, _i, t3, t4, _i0, _0_0;
  75893. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  75894. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  75895. t3[_i0].accept$1(this);
  75896. _0_0 = node.lastClause;
  75897. if (_0_0 != null)
  75898. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  75899. t1[_i].accept$1(this);
  75900. },
  75901. visitImportRule$1(node) {
  75902. },
  75903. visitIncludeRule$1(node) {
  75904. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  75905. },
  75906. visitLoudComment$1(node) {
  75907. },
  75908. visitMediaRule$1(node) {
  75909. return this.visitChildren$1(node.children);
  75910. },
  75911. visitMixinRule$1(node) {
  75912. return null;
  75913. },
  75914. visitReturnRule$1(node) {
  75915. },
  75916. visitSilentComment$1(node) {
  75917. },
  75918. visitStyleRule$1(node) {
  75919. return this.visitChildren$1(node.children);
  75920. },
  75921. visitStylesheet$1(node) {
  75922. return this.visitChildren$1(node.children);
  75923. },
  75924. visitSupportsRule$1(node) {
  75925. return this.visitChildren$1(node.children);
  75926. },
  75927. visitUseRule$1(node) {
  75928. },
  75929. visitVariableDeclaration$1(node) {
  75930. },
  75931. visitWarnRule$1(node) {
  75932. },
  75933. visitWhileRule$1(node) {
  75934. return this.visitChildren$1(node.children);
  75935. },
  75936. visitChildren$1(children) {
  75937. var t1;
  75938. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  75939. t1.get$current(t1).accept$1(this);
  75940. }
  75941. };
  75942. A.ReplaceExpressionVisitor.prototype = {
  75943. visitBinaryOperationExpression$1(node) {
  75944. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  75945. },
  75946. visitBooleanExpression$1(node) {
  75947. return node;
  75948. },
  75949. visitColorExpression$1(node) {
  75950. return node;
  75951. },
  75952. visitFunctionExpression$1(node) {
  75953. return new A.FunctionExpression(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  75954. },
  75955. visitInterpolatedFunctionExpression$1(node) {
  75956. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  75957. },
  75958. visitIfExpression$1(node) {
  75959. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  75960. },
  75961. visitListExpression$1(node) {
  75962. var t1 = node.contents;
  75963. 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);
  75964. },
  75965. visitMapExpression$1(node) {
  75966. var t2, t3, _i, t4, key, value,
  75967. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  75968. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  75969. t4 = t2[_i];
  75970. key = t4._0;
  75971. value = t4._1;
  75972. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  75973. }
  75974. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  75975. },
  75976. visitNullExpression$1(node) {
  75977. return node;
  75978. },
  75979. visitNumberExpression$1(node) {
  75980. return node;
  75981. },
  75982. visitParenthesizedExpression$1(node) {
  75983. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  75984. },
  75985. visitSelectorExpression$1(node) {
  75986. return node;
  75987. },
  75988. visitStringExpression$1(node) {
  75989. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  75990. },
  75991. visitSupportsExpression$1(node) {
  75992. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  75993. },
  75994. visitUnaryOperationExpression$1(node) {
  75995. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  75996. },
  75997. visitValueExpression$1(node) {
  75998. return node;
  75999. },
  76000. visitVariableExpression$1(node) {
  76001. return node;
  76002. },
  76003. visitArgumentInvocation$1(invocation) {
  76004. var t5, t6, _this = this,
  76005. t1 = invocation.positional,
  76006. t2 = type$.String,
  76007. t3 = type$.Expression,
  76008. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  76009. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  76010. t6 = t5.get$current(t5);
  76011. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  76012. }
  76013. t5 = invocation.rest;
  76014. t5 = t5 == null ? null : t5.accept$1(_this);
  76015. t6 = invocation.keywordRest;
  76016. t6 = t6 == null ? null : t6.accept$1(_this);
  76017. 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);
  76018. },
  76019. visitSupportsCondition$1(condition) {
  76020. var _this = this;
  76021. if (condition instanceof A.SupportsOperation)
  76022. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  76023. else if (condition instanceof A.SupportsNegation)
  76024. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  76025. else if (condition instanceof A.SupportsInterpolation)
  76026. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  76027. else if (condition instanceof A.SupportsDeclaration)
  76028. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  76029. else
  76030. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  76031. },
  76032. visitInterpolation$1(interpolation) {
  76033. var t1 = interpolation.contents;
  76034. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  76035. }
  76036. };
  76037. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  76038. call$1(item) {
  76039. return item.accept$1(this.$this);
  76040. },
  76041. $signature: 217
  76042. };
  76043. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  76044. call$1(expression) {
  76045. return expression.accept$1(this.$this);
  76046. },
  76047. $signature: 217
  76048. };
  76049. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  76050. call$1(node) {
  76051. return type$.Expression._is(node) ? node.accept$1(this.$this) : node;
  76052. },
  76053. $signature: 67
  76054. };
  76055. A.SelectorSearchVisitor.prototype = {
  76056. visitAttributeSelector$1(attribute) {
  76057. return null;
  76058. },
  76059. visitClassSelector$1(klass) {
  76060. return null;
  76061. },
  76062. visitIDSelector$1(id) {
  76063. return null;
  76064. },
  76065. visitParentSelector$1(placeholder) {
  76066. return null;
  76067. },
  76068. visitPlaceholderSelector$1(placeholder) {
  76069. return null;
  76070. },
  76071. visitTypeSelector$1(type) {
  76072. return null;
  76073. },
  76074. visitUniversalSelector$1(universal) {
  76075. return null;
  76076. },
  76077. visitComplexSelector$1(complex) {
  76078. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  76079. },
  76080. visitCompoundSelector$1(compound) {
  76081. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  76082. },
  76083. visitPseudoSelector$1(pseudo) {
  76084. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  76085. },
  76086. visitSelectorList$1(list) {
  76087. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  76088. }
  76089. };
  76090. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  76091. call$1(component) {
  76092. return this.$this.visitCompoundSelector$1(component.selector);
  76093. },
  76094. $signature() {
  76095. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  76096. }
  76097. };
  76098. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  76099. call$1(simple) {
  76100. return simple.accept$1(this.$this);
  76101. },
  76102. $signature() {
  76103. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  76104. }
  76105. };
  76106. A.serialize_closure.prototype = {
  76107. call$1(codeUnit) {
  76108. return codeUnit > 127;
  76109. },
  76110. $signature: 46
  76111. };
  76112. A._SerializeVisitor.prototype = {
  76113. visitCssStylesheet$1(node) {
  76114. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  76115. 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();) {
  76116. previous0 = t1.get$current(t1);
  76117. if (t2)
  76118. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  76119. else
  76120. t7 = false;
  76121. if (t7)
  76122. continue;
  76123. if (previous != null) {
  76124. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  76125. t6.writeCharCode$1(59);
  76126. if (_this._isTrailingComment$2(previous0, previous)) {
  76127. if (t4)
  76128. t6.writeCharCode$1(32);
  76129. } else {
  76130. if (t4)
  76131. t6.write$1(0, "\n");
  76132. if (previous.get$isGroupEnd())
  76133. if (t4)
  76134. t6.write$1(0, "\n");
  76135. }
  76136. }
  76137. previous0.accept$1(_this);
  76138. previous = previous0;
  76139. }
  76140. if (previous != null)
  76141. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  76142. else
  76143. t1 = false;
  76144. if (t1)
  76145. t6.writeCharCode$1(59);
  76146. },
  76147. visitCssComment$1(node) {
  76148. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  76149. },
  76150. visitCssAtRule$1(node) {
  76151. var t1, _this = this;
  76152. _this._writeIndentation$0();
  76153. t1 = _this._serialize$_buffer;
  76154. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  76155. if (!node.isChildless) {
  76156. if (_this._style !== B.OutputStyle_1)
  76157. t1.writeCharCode$1(32);
  76158. _this._serialize$_visitChildren$1(node);
  76159. }
  76160. },
  76161. visitCssMediaRule$1(node) {
  76162. var t1, _this = this;
  76163. _this._writeIndentation$0();
  76164. t1 = _this._serialize$_buffer;
  76165. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  76166. if (_this._style !== B.OutputStyle_1)
  76167. t1.writeCharCode$1(32);
  76168. _this._serialize$_visitChildren$1(node);
  76169. },
  76170. visitCssImport$1(node) {
  76171. this._writeIndentation$0();
  76172. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  76173. },
  76174. _writeImportUrl$1(url) {
  76175. var urlContents, maybeQuote, _this = this;
  76176. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  76177. _this._serialize$_buffer.write$1(0, url);
  76178. return;
  76179. }
  76180. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  76181. maybeQuote = urlContents.charCodeAt(0);
  76182. if (maybeQuote === 39 || maybeQuote === 34)
  76183. _this._serialize$_buffer.write$1(0, urlContents);
  76184. else
  76185. _this._visitQuotedString$1(urlContents);
  76186. },
  76187. visitCssKeyframeBlock$1(node) {
  76188. var t1, _this = this;
  76189. _this._writeIndentation$0();
  76190. t1 = _this._serialize$_buffer;
  76191. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  76192. if (_this._style !== B.OutputStyle_1)
  76193. t1.writeCharCode$1(32);
  76194. _this._serialize$_visitChildren$1(node);
  76195. },
  76196. _visitMediaQuery$1(query) {
  76197. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  76198. _0_0 = query.modifier;
  76199. if (_0_0 != null) {
  76200. t1 = _this._serialize$_buffer;
  76201. t1.write$1(0, _0_0);
  76202. t1.writeCharCode$1(32);
  76203. }
  76204. _1_0 = query.type;
  76205. if (_1_0 != null) {
  76206. t1 = _this._serialize$_buffer;
  76207. t1.write$1(0, _1_0);
  76208. if (query.conditions.length !== 0)
  76209. t1.write$1(0, " and ");
  76210. }
  76211. _2_0 = query.conditions;
  76212. if (_2_0.length === 1)
  76213. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  76214. else
  76215. t1 = false;
  76216. if (t1) {
  76217. t1 = _this._serialize$_buffer;
  76218. t1.write$1(0, "not ");
  76219. condition = B.JSArray_methods.get$first(_2_0);
  76220. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  76221. } else {
  76222. operator = query.conjunction ? "and" : "or";
  76223. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  76224. t2 = _this._serialize$_buffer;
  76225. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  76226. }
  76227. },
  76228. visitCssStyleRule$1(node) {
  76229. var t1, _this = this;
  76230. _this._writeIndentation$0();
  76231. t1 = _this._serialize$_buffer;
  76232. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  76233. if (_this._style !== B.OutputStyle_1)
  76234. t1.writeCharCode$1(32);
  76235. _this._serialize$_visitChildren$1(node);
  76236. },
  76237. visitCssSupportsRule$1(node) {
  76238. var t1, _this = this;
  76239. _this._writeIndentation$0();
  76240. t1 = _this._serialize$_buffer;
  76241. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  76242. if (_this._style !== B.OutputStyle_1)
  76243. t1.writeCharCode$1(32);
  76244. _this._serialize$_visitChildren$1(node);
  76245. },
  76246. visitCssDeclaration$1(node) {
  76247. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76248. _this._writeIndentation$0();
  76249. t1 = node.name;
  76250. _this._serialize$_write$1(t1);
  76251. t2 = _this._serialize$_buffer;
  76252. t2.writeCharCode$1(58);
  76253. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  76254. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  76255. else {
  76256. if (_this._style !== B.OutputStyle_1)
  76257. t2.writeCharCode$1(32);
  76258. try {
  76259. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  76260. } catch (exception) {
  76261. t1 = A.unwrapException(exception);
  76262. if (t1 instanceof A.MultiSpanSassScriptException) {
  76263. error = t1;
  76264. stackTrace = A.getTraceFromException(exception);
  76265. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  76266. } else if (t1 instanceof A.SassScriptException) {
  76267. error0 = t1;
  76268. stackTrace0 = A.getTraceFromException(exception);
  76269. t1 = error0.message;
  76270. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  76271. } else
  76272. throw exception;
  76273. }
  76274. }
  76275. },
  76276. _writeFoldedValue$1(node) {
  76277. var t1, t2, next, t3,
  76278. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  76279. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  76280. next = scanner.readChar$0();
  76281. if (next !== 10) {
  76282. t2.writeCharCode$1(next);
  76283. continue;
  76284. }
  76285. t2.writeCharCode$1(32);
  76286. while (true) {
  76287. t3 = scanner.peekChar$0();
  76288. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  76289. break;
  76290. scanner.readChar$0();
  76291. }
  76292. }
  76293. },
  76294. _writeReindentedValue$1(node) {
  76295. var _0_0, t1, _this = this,
  76296. value = type$.SassString._as(node.value.value)._string$_text;
  76297. $label0$0: {
  76298. _0_0 = _this._minimumIndentation$1(value);
  76299. if (_0_0 == null) {
  76300. _this._serialize$_buffer.write$1(0, value);
  76301. break $label0$0;
  76302. }
  76303. if (-1 === _0_0) {
  76304. t1 = _this._serialize$_buffer;
  76305. t1.write$1(0, A.trimAsciiRight(value, true));
  76306. t1.writeCharCode$1(32);
  76307. break $label0$0;
  76308. }
  76309. t1 = node.name.span;
  76310. t1 = t1.get$start(t1);
  76311. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  76312. }
  76313. },
  76314. _minimumIndentation$1(text) {
  76315. var character, t2, min, next, min0,
  76316. scanner = A.LineScanner$(text),
  76317. t1 = scanner.string.length;
  76318. while (true) {
  76319. if (scanner._string_scanner$_position !== t1) {
  76320. character = scanner.super$StringScanner$readChar();
  76321. scanner._adjustLineAndColumn$1(character);
  76322. t2 = character !== 10;
  76323. } else
  76324. t2 = false;
  76325. if (!t2)
  76326. break;
  76327. }
  76328. if (scanner._string_scanner$_position === t1)
  76329. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  76330. for (min = null; scanner._string_scanner$_position !== t1;) {
  76331. for (; scanner._string_scanner$_position !== t1;) {
  76332. next = scanner.peekChar$0();
  76333. if (next !== 32 && next !== 9)
  76334. break;
  76335. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  76336. }
  76337. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  76338. continue;
  76339. min0 = scanner._line_scanner$_column;
  76340. min = min == null ? min0 : Math.min(min, min0);
  76341. while (true) {
  76342. if (scanner._string_scanner$_position !== t1) {
  76343. character = scanner.super$StringScanner$readChar();
  76344. scanner._adjustLineAndColumn$1(character);
  76345. t2 = character !== 10;
  76346. } else
  76347. t2 = false;
  76348. if (!t2)
  76349. break;
  76350. }
  76351. }
  76352. return min == null ? -1 : min;
  76353. },
  76354. _writeWithIndent$2(text, minimumIndentation) {
  76355. var t1, t2, t3, character, lineStart, newlines, end,
  76356. scanner = A.LineScanner$(text);
  76357. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  76358. character = scanner.super$StringScanner$readChar();
  76359. scanner._adjustLineAndColumn$1(character);
  76360. if (character === 10)
  76361. break;
  76362. t3.writeCharCode$1(character);
  76363. }
  76364. for (; true;) {
  76365. lineStart = scanner._string_scanner$_position;
  76366. for (newlines = 1; true;) {
  76367. if (scanner._string_scanner$_position === t2) {
  76368. t3.writeCharCode$1(32);
  76369. return;
  76370. }
  76371. $label0$2: {
  76372. character = scanner.super$StringScanner$readChar();
  76373. scanner._adjustLineAndColumn$1(character);
  76374. if (32 === character || 9 === character)
  76375. continue;
  76376. if (10 === character) {
  76377. lineStart = scanner._string_scanner$_position;
  76378. ++newlines;
  76379. break $label0$2;
  76380. }
  76381. break;
  76382. }
  76383. }
  76384. this._writeTimes$2(10, newlines);
  76385. this._writeIndentation$0();
  76386. end = scanner._string_scanner$_position;
  76387. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  76388. for (; true;) {
  76389. if (scanner._string_scanner$_position === t2)
  76390. return;
  76391. character = scanner.super$StringScanner$readChar();
  76392. scanner._adjustLineAndColumn$1(character);
  76393. if (character === 10)
  76394. break;
  76395. t3.writeCharCode$1(character);
  76396. }
  76397. }
  76398. },
  76399. visitCalculation$1(value) {
  76400. var t2, _this = this,
  76401. t1 = _this._serialize$_buffer;
  76402. t1.write$1(0, value.name);
  76403. t1.writeCharCode$1(40);
  76404. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  76405. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  76406. t1.writeCharCode$1(41);
  76407. },
  76408. _writeCalculationValue$1(value) {
  76409. var t1, _2_4, t2, _2_4_isSet, _0_0, _1_0, first, rest, operator, left, right, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this, _null = null;
  76410. $label1$1: {
  76411. t1 = value instanceof A.SassNumber;
  76412. if (t1) {
  76413. _2_4 = value.get$hasComplexUnits();
  76414. t2 = _2_4 && !_this._inspect;
  76415. _2_4_isSet = true;
  76416. } else {
  76417. _2_4 = _null;
  76418. _2_4_isSet = false;
  76419. t2 = false;
  76420. }
  76421. if (t2)
  76422. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  76423. if (t1 && !isFinite(value._number$_value)) {
  76424. $label0$0: {
  76425. _0_0 = value._number$_value;
  76426. if (1 / 0 === _0_0) {
  76427. _this._serialize$_buffer.write$1(0, "infinity");
  76428. break $label0$0;
  76429. }
  76430. if (-1 / 0 === _0_0) {
  76431. _this._serialize$_buffer.write$1(0, "-infinity");
  76432. break $label0$0;
  76433. }
  76434. if (isNaN(_0_0))
  76435. _this._serialize$_buffer.write$1(0, "NaN");
  76436. }
  76437. t1 = J.getInterceptor$x(value);
  76438. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  76439. break $label1$1;
  76440. }
  76441. if (t1)
  76442. t1 = _2_4_isSet ? _2_4 : value.get$hasComplexUnits();
  76443. else
  76444. t1 = false;
  76445. if (t1) {
  76446. _this._writeNumber$1(value._number$_value);
  76447. t1 = J.getInterceptor$x(value);
  76448. _1_0 = t1.get$numeratorUnits(value);
  76449. if (_1_0.length >= 1) {
  76450. first = _1_0[0];
  76451. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  76452. _this._serialize$_buffer.write$1(0, first);
  76453. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  76454. } else
  76455. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  76456. break $label1$1;
  76457. }
  76458. if (value instanceof A.Value) {
  76459. value.accept$1(_this);
  76460. break $label1$1;
  76461. }
  76462. if (value instanceof A.CalculationOperation) {
  76463. operator = value._operator;
  76464. left = value._left;
  76465. right = value._right;
  76466. right = right;
  76467. t1 = true;
  76468. } else {
  76469. right = _null;
  76470. left = right;
  76471. operator = left;
  76472. t1 = false;
  76473. }
  76474. if (t1) {
  76475. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  76476. if (parenthesizeLeft)
  76477. _this._serialize$_buffer.writeCharCode$1(40);
  76478. _this._writeCalculationValue$1(left);
  76479. if (parenthesizeLeft)
  76480. _this._serialize$_buffer.writeCharCode$1(41);
  76481. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  76482. if (operatorWhitespace)
  76483. _this._serialize$_buffer.writeCharCode$1(32);
  76484. t1 = _this._serialize$_buffer;
  76485. t1.write$1(0, operator.operator);
  76486. if (operatorWhitespace)
  76487. t1.writeCharCode$1(32);
  76488. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator)))
  76489. if (operator === B.CalculationOperator_OvN) {
  76490. if (right instanceof A.SassNumber)
  76491. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  76492. else
  76493. t2 = false;
  76494. parenthesizeRight = t2;
  76495. } else
  76496. parenthesizeRight = false;
  76497. else
  76498. parenthesizeRight = true;
  76499. if (parenthesizeRight)
  76500. t1.writeCharCode$1(40);
  76501. _this._writeCalculationValue$1(right);
  76502. if (parenthesizeRight)
  76503. t1.writeCharCode$1(41);
  76504. }
  76505. }
  76506. },
  76507. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  76508. var t1, t2, t3, t4;
  76509. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  76510. t4 = t1.get$current(t1);
  76511. if (t3)
  76512. t2.writeCharCode$1(32);
  76513. t2.writeCharCode$1(42);
  76514. if (t3)
  76515. t2.writeCharCode$1(32);
  76516. t2.writeCharCode$1(49);
  76517. t2.write$1(0, t4);
  76518. }
  76519. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  76520. t4 = t1.get$current(t1);
  76521. if (t3)
  76522. t2.writeCharCode$1(32);
  76523. t2.writeCharCode$1(47);
  76524. if (t3)
  76525. t2.writeCharCode$1(32);
  76526. t2.writeCharCode$1(49);
  76527. t2.write$1(0, t4);
  76528. }
  76529. },
  76530. _parenthesizeCalculationRhs$2(outer, right) {
  76531. var t1;
  76532. $label0$0: {
  76533. if (B.CalculationOperator_OvN === outer) {
  76534. t1 = true;
  76535. break $label0$0;
  76536. }
  76537. if (B.CalculationOperator_IyK === outer) {
  76538. t1 = false;
  76539. break $label0$0;
  76540. }
  76541. t1 = right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  76542. break $label0$0;
  76543. }
  76544. return t1;
  76545. },
  76546. visitColor$1(value) {
  76547. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  76548. if (_this._style === B.OutputStyle_1)
  76549. if (!A.fuzzyEquals(value._alpha, 1))
  76550. _this._writeRgb$1(value);
  76551. else {
  76552. hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
  76553. _0_0 = $.$get$namesByColor().$index(0, value);
  76554. if (_0_0 != null) {
  76555. t1 = _0_0.length <= hexLength;
  76556. $name = _0_0;
  76557. } else {
  76558. $name = null;
  76559. t1 = false;
  76560. }
  76561. if (t1)
  76562. _this._serialize$_buffer.write$1(0, $name);
  76563. else {
  76564. t1 = _this._serialize$_buffer;
  76565. if (_this._canUseShortHex$1(value)) {
  76566. t1.writeCharCode$1(35);
  76567. t1.writeCharCode$1(A.hexCharFor(value.get$red(0) & 15));
  76568. t1.writeCharCode$1(A.hexCharFor(value.get$green(0) & 15));
  76569. t1.writeCharCode$1(A.hexCharFor(value.get$blue(0) & 15));
  76570. } else {
  76571. t1.writeCharCode$1(35);
  76572. _this._writeHexComponent$1(value.get$red(0));
  76573. _this._writeHexComponent$1(value.get$green(0));
  76574. _this._writeHexComponent$1(value.get$blue(0));
  76575. }
  76576. }
  76577. }
  76578. else {
  76579. _1_0 = value.format;
  76580. if (_1_0 != null)
  76581. $label0$0: {
  76582. if (B._ColorFormatEnum_rgbFunction === _1_0) {
  76583. _this._writeRgb$1(value);
  76584. break $label0$0;
  76585. }
  76586. if (B._ColorFormatEnum_hslFunction === _1_0) {
  76587. t1 = value._alpha;
  76588. opaque = A.fuzzyEquals(t1, 1);
  76589. t2 = _this._serialize$_buffer;
  76590. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  76591. _this._writeNumber$1(value.get$hue(0));
  76592. t2.write$1(0, ", ");
  76593. _this._writeNumber$1(value.get$saturation(0));
  76594. t2.writeCharCode$1(37);
  76595. t2.write$1(0, ", ");
  76596. _this._writeNumber$1(value.get$lightness(0));
  76597. t2.writeCharCode$1(37);
  76598. if (!opaque) {
  76599. t2.write$1(0, ", ");
  76600. _this._writeNumber$1(t1);
  76601. }
  76602. t2.writeCharCode$1(41);
  76603. break $label0$0;
  76604. }
  76605. if (_1_0 instanceof A.SpanColorFormat) {
  76606. _this._serialize$_buffer.write$1(0, _1_0._color$_span.get$text());
  76607. break $label0$0;
  76608. }
  76609. }
  76610. else {
  76611. _3_0 = $.$get$namesByColor().$index(0, value);
  76612. if (_3_0 != null) {
  76613. t1 = !A.fuzzyEquals(value._alpha, 0);
  76614. $name = _3_0;
  76615. } else {
  76616. $name = null;
  76617. t1 = false;
  76618. }
  76619. if (t1)
  76620. _this._serialize$_buffer.write$1(0, $name);
  76621. else if (A.fuzzyEquals(value._alpha, 1)) {
  76622. _this._serialize$_buffer.writeCharCode$1(35);
  76623. _this._writeHexComponent$1(value.get$red(0));
  76624. _this._writeHexComponent$1(value.get$green(0));
  76625. _this._writeHexComponent$1(value.get$blue(0));
  76626. } else
  76627. _this._writeRgb$1(value);
  76628. }
  76629. }
  76630. },
  76631. _writeRgb$1(value) {
  76632. var t3,
  76633. t1 = value._alpha,
  76634. opaque = A.fuzzyEquals(t1, 1),
  76635. t2 = this._serialize$_buffer;
  76636. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  76637. t2.write$1(0, value.get$red(0));
  76638. t3 = this._style === B.OutputStyle_1;
  76639. t2.write$1(0, t3 ? "," : ", ");
  76640. t2.write$1(0, value.get$green(0));
  76641. t2.write$1(0, t3 ? "," : ", ");
  76642. t2.write$1(0, value.get$blue(0));
  76643. if (!opaque) {
  76644. t2.write$1(0, t3 ? "," : ", ");
  76645. this._writeNumber$1(t1);
  76646. }
  76647. t2.writeCharCode$1(41);
  76648. },
  76649. _canUseShortHex$1(color) {
  76650. var t1 = color.get$red(0);
  76651. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76652. t1 = color.get$green(0);
  76653. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76654. t1 = color.get$blue(0);
  76655. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  76656. } else
  76657. t1 = false;
  76658. } else
  76659. t1 = false;
  76660. return t1;
  76661. },
  76662. _writeHexComponent$1(color) {
  76663. var t1 = this._serialize$_buffer;
  76664. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  76665. t1.writeCharCode$1(A.hexCharFor(color & 15));
  76666. },
  76667. visitList$1(value) {
  76668. var t2, t3, singleton, t4, t5, _this = this,
  76669. t1 = value._hasBrackets;
  76670. if (t1)
  76671. _this._serialize$_buffer.writeCharCode$1(91);
  76672. else if (value._list$_contents.length === 0) {
  76673. if (!_this._inspect)
  76674. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  76675. _this._serialize$_buffer.write$1(0, "()");
  76676. return;
  76677. }
  76678. t2 = _this._inspect;
  76679. if (t2)
  76680. if (value._list$_contents.length === 1) {
  76681. t3 = value._separator;
  76682. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  76683. singleton = t3;
  76684. } else
  76685. singleton = false;
  76686. else
  76687. singleton = false;
  76688. if (singleton && !t1)
  76689. _this._serialize$_buffer.writeCharCode$1(40);
  76690. t3 = value._list$_contents;
  76691. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  76692. t4 = value._separator;
  76693. t5 = _this._separatorString$1(t4);
  76694. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  76695. if (singleton) {
  76696. t2 = _this._serialize$_buffer;
  76697. t2.write$1(0, t4.separator);
  76698. if (!t1)
  76699. t2.writeCharCode$1(41);
  76700. }
  76701. if (t1)
  76702. _this._serialize$_buffer.writeCharCode$1(93);
  76703. },
  76704. _separatorString$1(separator) {
  76705. var t1;
  76706. $label0$0: {
  76707. if (B.ListSeparator_rXA === separator) {
  76708. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  76709. break $label0$0;
  76710. }
  76711. if (B.ListSeparator_zg9 === separator) {
  76712. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  76713. break $label0$0;
  76714. }
  76715. if (B.ListSeparator_EVt === separator) {
  76716. t1 = " ";
  76717. break $label0$0;
  76718. }
  76719. t1 = "";
  76720. break $label0$0;
  76721. }
  76722. return t1;
  76723. },
  76724. _elementNeedsParens$2(separator, value) {
  76725. var t1;
  76726. $label1$1: {
  76727. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  76728. $label0$0: {
  76729. if (B.ListSeparator_rXA === separator) {
  76730. t1 = value._separator === B.ListSeparator_rXA;
  76731. break $label0$0;
  76732. }
  76733. if (B.ListSeparator_zg9 === separator) {
  76734. t1 = value._separator;
  76735. t1 = t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  76736. break $label0$0;
  76737. }
  76738. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  76739. break $label0$0;
  76740. }
  76741. break $label1$1;
  76742. }
  76743. t1 = false;
  76744. break $label1$1;
  76745. }
  76746. return t1;
  76747. },
  76748. visitMap$1(map) {
  76749. var t1, t2, _this = this;
  76750. if (!_this._inspect)
  76751. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  76752. t1 = _this._serialize$_buffer;
  76753. t1.writeCharCode$1(40);
  76754. t2 = map._map$_contents;
  76755. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  76756. t1.writeCharCode$1(41);
  76757. },
  76758. _writeMapElement$1(value) {
  76759. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  76760. if (needsParens)
  76761. this._serialize$_buffer.writeCharCode$1(40);
  76762. value.accept$1(this);
  76763. if (needsParens)
  76764. this._serialize$_buffer.writeCharCode$1(41);
  76765. },
  76766. visitNumber$1(value) {
  76767. var before, after, t1, _1_0, _this = this,
  76768. _0_0 = value.asSlash;
  76769. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  76770. before = _0_0._0;
  76771. after = _0_0._1;
  76772. _this.visitNumber$1(before);
  76773. _this._serialize$_buffer.writeCharCode$1(47);
  76774. _this.visitNumber$1(after);
  76775. return;
  76776. }
  76777. t1 = value._number$_value;
  76778. if (!isFinite(t1)) {
  76779. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  76780. return;
  76781. }
  76782. if (value.get$hasComplexUnits()) {
  76783. if (!_this._inspect)
  76784. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  76785. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  76786. } else {
  76787. _this._writeNumber$1(t1);
  76788. _1_0 = value.get$numeratorUnits(value);
  76789. if (_1_0.length === 1)
  76790. _this._serialize$_buffer.write$1(0, _1_0[0]);
  76791. }
  76792. },
  76793. _writeNumber$1(number) {
  76794. var text, _this = this,
  76795. _0_0 = A.fuzzyAsInt(number);
  76796. if (_0_0 != null) {
  76797. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  76798. return;
  76799. }
  76800. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  76801. if (text.length < 12) {
  76802. if (_this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48)
  76803. text = B.JSString_methods.substring$1(text, 1);
  76804. _this._serialize$_buffer.write$1(0, text);
  76805. return;
  76806. }
  76807. _this._writeRounded$1(text);
  76808. },
  76809. _removeExponent$1(text) {
  76810. var buffer, t2, t3, additionalZeroes,
  76811. negative = text.charCodeAt(0) === 45,
  76812. exponent = A._Cell$(),
  76813. t1 = text.length,
  76814. i = 0;
  76815. while (true) {
  76816. if (!(i < t1)) {
  76817. buffer = null;
  76818. break;
  76819. }
  76820. c$0: {
  76821. if (text.charCodeAt(i) !== 101)
  76822. break c$0;
  76823. buffer = new A.StringBuffer("");
  76824. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  76825. if (negative) {
  76826. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  76827. buffer._contents = t2;
  76828. if (i > 3)
  76829. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  76830. } else if (i > 2)
  76831. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  76832. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  76833. break;
  76834. }
  76835. ++i;
  76836. }
  76837. if (buffer == null)
  76838. return text;
  76839. if (exponent._readLocal$0() > 0) {
  76840. t1 = exponent._readLocal$0();
  76841. t2 = buffer._contents;
  76842. t3 = negative ? 1 : 0;
  76843. additionalZeroes = t1 - (t2.length - 1 - t3);
  76844. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  76845. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  76846. return t1.charCodeAt(0) == 0 ? t1 : t1;
  76847. } else {
  76848. negative = text.charCodeAt(0) === 45;
  76849. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  76850. t2 = exponent.__late_helper$_name;
  76851. i = -1;
  76852. while (true) {
  76853. t3 = exponent._value;
  76854. if (t3 === exponent)
  76855. A.throwExpression(A.LateError$localNI(t2));
  76856. if (!(i > t3))
  76857. break;
  76858. t1 += A.Primitives_stringFromCharCode(48);
  76859. --i;
  76860. }
  76861. if (negative) {
  76862. t2 = buffer._contents;
  76863. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  76864. } else
  76865. t2 = buffer;
  76866. t2 = t1 + A.S(t2);
  76867. return t2.charCodeAt(0) == 0 ? t2 : t2;
  76868. }
  76869. },
  76870. _writeRounded$1(text) {
  76871. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  76872. if (B.JSString_methods.endsWith$1(text, ".0")) {
  76873. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  76874. return;
  76875. }
  76876. t1 = text.length;
  76877. digits = new Uint8Array(t1 + 1);
  76878. negative = text.charCodeAt(0) === 45;
  76879. textIndex = negative ? 1 : 0;
  76880. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  76881. if (textIndex === t1) {
  76882. _this._serialize$_buffer.write$1(0, text);
  76883. return;
  76884. }
  76885. textIndex0 = textIndex + 1;
  76886. codeUnit = text.charCodeAt(textIndex);
  76887. if (codeUnit === 46) {
  76888. textIndex = textIndex0;
  76889. break;
  76890. }
  76891. digitsIndex0 = digitsIndex + 1;
  76892. digits[digitsIndex] = codeUnit - 48;
  76893. }
  76894. indexAfterPrecision = textIndex + 10;
  76895. if (indexAfterPrecision >= t1) {
  76896. _this._serialize$_buffer.write$1(0, text);
  76897. return;
  76898. }
  76899. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  76900. digitsIndex1 = digitsIndex0 + 1;
  76901. textIndex0 = textIndex + 1;
  76902. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  76903. }
  76904. if (text.charCodeAt(textIndex) - 48 >= 5)
  76905. for (; true; digitsIndex0 = digitsIndex1) {
  76906. digitsIndex1 = digitsIndex0 - 1;
  76907. newDigit = digits[digitsIndex1] + 1;
  76908. digits[digitsIndex1] = newDigit;
  76909. if (newDigit !== 10)
  76910. break;
  76911. }
  76912. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  76913. digits[digitsIndex0] = 0;
  76914. while (true) {
  76915. t1 = digitsIndex0 > digitsIndex;
  76916. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  76917. break;
  76918. --digitsIndex0;
  76919. }
  76920. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  76921. _this._serialize$_buffer.writeCharCode$1(48);
  76922. return;
  76923. }
  76924. if (negative)
  76925. _this._serialize$_buffer.writeCharCode$1(45);
  76926. if (digits[0] === 0)
  76927. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  76928. else
  76929. writtenIndex = 0;
  76930. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  76931. t2.writeCharCode$1(48 + digits[writtenIndex]);
  76932. if (t1) {
  76933. t2.writeCharCode$1(46);
  76934. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  76935. t2.writeCharCode$1(48 + digits[writtenIndex]);
  76936. }
  76937. },
  76938. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  76939. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  76940. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  76941. if (forceDoubleQuote)
  76942. buffer.writeCharCode$1(34);
  76943. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  76944. char = string.charCodeAt(i);
  76945. _1_2 = 39 === char;
  76946. if (_1_2 && forceDoubleQuote) {
  76947. buffer.writeCharCode$1(39);
  76948. continue;
  76949. }
  76950. if (_1_2 && includesDoubleQuote) {
  76951. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  76952. return;
  76953. }
  76954. if (_1_2) {
  76955. buffer.writeCharCode$1(39);
  76956. includesSingleQuote = true;
  76957. continue;
  76958. }
  76959. _1_4 = 34 === char;
  76960. if (_1_4 && forceDoubleQuote) {
  76961. buffer.writeCharCode$1(92);
  76962. buffer.writeCharCode$1(34);
  76963. continue;
  76964. }
  76965. if (_1_4 && includesSingleQuote) {
  76966. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  76967. return;
  76968. }
  76969. if (_1_4) {
  76970. buffer.writeCharCode$1(34);
  76971. includesDoubleQuote = true;
  76972. continue;
  76973. }
  76974. 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) {
  76975. _this._writeEscape$4(buffer, char, string, i);
  76976. continue;
  76977. }
  76978. if (92 === char) {
  76979. buffer.writeCharCode$1(92);
  76980. buffer.writeCharCode$1(92);
  76981. continue;
  76982. }
  76983. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  76984. if (_0_0 != null)
  76985. i = _0_0;
  76986. else
  76987. buffer.writeCharCode$1(char);
  76988. }
  76989. if (forceDoubleQuote)
  76990. buffer.writeCharCode$1(34);
  76991. else {
  76992. quote = includesDoubleQuote ? 39 : 34;
  76993. t1 = _this._serialize$_buffer;
  76994. t1.writeCharCode$1(quote);
  76995. t1.write$1(0, buffer);
  76996. t1.writeCharCode$1(quote);
  76997. }
  76998. },
  76999. _visitQuotedString$1(string) {
  77000. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  77001. },
  77002. _visitUnquotedString$1(string) {
  77003. var t1, t2, afterNewline, i, _1_0, _0_0;
  77004. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  77005. _1_0 = string.charCodeAt(i);
  77006. if (10 === _1_0) {
  77007. t2.writeCharCode$1(32);
  77008. afterNewline = true;
  77009. continue;
  77010. }
  77011. if (32 === _1_0) {
  77012. if (!afterNewline)
  77013. t2.writeCharCode$1(32);
  77014. continue;
  77015. }
  77016. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  77017. if (_0_0 != null)
  77018. i = _0_0;
  77019. else
  77020. t2.writeCharCode$1(_1_0);
  77021. afterNewline = false;
  77022. }
  77023. },
  77024. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  77025. var t1;
  77026. if (this._style === B.OutputStyle_1)
  77027. return null;
  77028. if (codeUnit >= 57344 && codeUnit <= 63743) {
  77029. this._writeEscape$4(buffer, codeUnit, string, i);
  77030. return i;
  77031. }
  77032. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  77033. t1 = i + 1;
  77034. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  77035. return t1;
  77036. }
  77037. return null;
  77038. },
  77039. _writeEscape$4(buffer, character, string, i) {
  77040. var t1, next;
  77041. buffer.writeCharCode$1(92);
  77042. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  77043. t1 = i + 1;
  77044. if (string.length === t1)
  77045. return;
  77046. next = string.charCodeAt(t1);
  77047. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  77048. buffer.writeCharCode$1(32);
  77049. },
  77050. visitAttributeSelector$1(attribute) {
  77051. var _0_0, t2,
  77052. t1 = this._serialize$_buffer;
  77053. t1.writeCharCode$1(91);
  77054. t1.write$1(0, attribute.name);
  77055. _0_0 = attribute.value;
  77056. if (_0_0 != null) {
  77057. t1.write$1(0, attribute.op);
  77058. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  77059. t1.write$1(0, _0_0);
  77060. t2 = attribute.modifier;
  77061. if (t2 != null)
  77062. t1.writeCharCode$1(32);
  77063. } else {
  77064. this._visitQuotedString$1(_0_0);
  77065. t2 = attribute.modifier;
  77066. if (t2 != null)
  77067. if (this._style !== B.OutputStyle_1)
  77068. t1.writeCharCode$1(32);
  77069. }
  77070. A.NullableExtension_andThen(t2, t1.get$write(t1));
  77071. }
  77072. t1.writeCharCode$1(93);
  77073. },
  77074. visitClassSelector$1(klass) {
  77075. var t1 = this._serialize$_buffer;
  77076. t1.writeCharCode$1(46);
  77077. t1.write$1(0, klass.name);
  77078. },
  77079. visitComplexSelector$1(complex) {
  77080. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  77081. t1 = complex.leadingCombinators;
  77082. _this._writeCombinators$1(t1);
  77083. if (t1.length >= 1 && complex.components.length >= 1)
  77084. if (_this._style !== B.OutputStyle_1)
  77085. _this._serialize$_buffer.writeCharCode$1(32);
  77086. 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) {
  77087. component = t1[i];
  77088. _this.visitCompoundSelector$1(component.selector);
  77089. t7 = component.combinators;
  77090. t8 = t7.length === 0;
  77091. if (!t8)
  77092. if (t6)
  77093. t4.writeCharCode$1(32);
  77094. t9 = t5 ? "" : " ";
  77095. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  77096. if (i !== t3)
  77097. t7 = !t5 || t8;
  77098. else
  77099. t7 = false;
  77100. if (t7)
  77101. t4.writeCharCode$1(32);
  77102. }
  77103. },
  77104. _writeCombinators$1(combinators) {
  77105. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  77106. t2 = this._serialize$_buffer;
  77107. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  77108. },
  77109. visitCompoundSelector$1(compound) {
  77110. var t2, t3, _i,
  77111. t1 = this._serialize$_buffer,
  77112. start = t1.get$length(t1);
  77113. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77114. t2[_i].accept$1(this);
  77115. if (t1.get$length(t1) === start)
  77116. t1.writeCharCode$1(42);
  77117. },
  77118. visitIDSelector$1(id) {
  77119. var t1 = this._serialize$_buffer;
  77120. t1.writeCharCode$1(35);
  77121. t1.write$1(0, id.name);
  77122. },
  77123. visitSelectorList$1(list) {
  77124. var t1, t2, t3, first, t4, _this = this,
  77125. complexes = list.components;
  77126. 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();) {
  77127. t4 = t1.get$current(t1);
  77128. if (first)
  77129. first = false;
  77130. else {
  77131. t3.writeCharCode$1(44);
  77132. if (t4.lineBreak) {
  77133. if (t2)
  77134. t3.write$1(0, "\n");
  77135. _this._writeIndentation$0();
  77136. } else if (t2)
  77137. t3.writeCharCode$1(32);
  77138. }
  77139. _this.visitComplexSelector$1(t4);
  77140. }
  77141. },
  77142. visitParentSelector$1($parent) {
  77143. var t1 = this._serialize$_buffer;
  77144. t1.writeCharCode$1(38);
  77145. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  77146. },
  77147. visitPlaceholderSelector$1(placeholder) {
  77148. var t1 = this._serialize$_buffer;
  77149. t1.writeCharCode$1(37);
  77150. t1.write$1(0, placeholder.name);
  77151. },
  77152. visitPseudoSelector$1(pseudo) {
  77153. var _0_4, t2, t3,
  77154. t1 = pseudo.name;
  77155. if ("not" === t1) {
  77156. _0_4 = pseudo.selector;
  77157. if (_0_4 instanceof A.SelectorList)
  77158. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  77159. else
  77160. t2 = false;
  77161. } else
  77162. t2 = false;
  77163. if (t2)
  77164. return;
  77165. t2 = this._serialize$_buffer;
  77166. t2.writeCharCode$1(58);
  77167. if (!pseudo.isSyntacticClass)
  77168. t2.writeCharCode$1(58);
  77169. t2.write$1(0, t1);
  77170. t1 = pseudo.argument;
  77171. t3 = t1 == null;
  77172. if (t3 && pseudo.selector == null)
  77173. return;
  77174. t2.writeCharCode$1(40);
  77175. if (!t3) {
  77176. t2.write$1(0, t1);
  77177. if (pseudo.selector != null)
  77178. t2.writeCharCode$1(32);
  77179. }
  77180. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  77181. t2.writeCharCode$1(41);
  77182. },
  77183. visitTypeSelector$1(type) {
  77184. this._serialize$_buffer.write$1(0, type.name);
  77185. },
  77186. visitUniversalSelector$1(universal) {
  77187. var t2,
  77188. t1 = universal.namespace;
  77189. if (t1 != null) {
  77190. t2 = this._serialize$_buffer;
  77191. t2.write$1(0, t1);
  77192. t2.writeCharCode$1(124);
  77193. }
  77194. this._serialize$_buffer.writeCharCode$1(42);
  77195. },
  77196. _serialize$_write$1(value) {
  77197. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  77198. },
  77199. _serialize$_visitChildren$1($parent) {
  77200. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  77201. t1 = _this._serialize$_buffer;
  77202. t1.writeCharCode$1(123);
  77203. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._style === B.OutputStyle_1, t5 = !t4, t6 = _this.get$_requiresSemicolon(), t7 = !_this._inspect, t3 = t3._eval$1("ListBase.E"), prePrevious = null, previous = null; t2.moveNext$0();) {
  77204. t8 = t2.__internal$_current;
  77205. previous0 = t8 == null ? t3._as(t8) : t8;
  77206. if (t7)
  77207. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  77208. else
  77209. t8 = false;
  77210. if (t8)
  77211. continue;
  77212. t8 = previous == null;
  77213. t9 = t8 ? null : t6.call$1(previous);
  77214. if (t9 == null ? false : t9)
  77215. t1.writeCharCode$1(59);
  77216. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  77217. if (t5)
  77218. t1.writeCharCode$1(32);
  77219. savedIndentation = _this._indentation;
  77220. _this._indentation = 0;
  77221. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  77222. _this._indentation = savedIndentation;
  77223. } else {
  77224. if (t5)
  77225. t1.write$1(0, "\n");
  77226. ++_this._indentation;
  77227. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  77228. --_this._indentation;
  77229. }
  77230. prePrevious = previous;
  77231. previous = previous0;
  77232. }
  77233. if (previous != null) {
  77234. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  77235. t1.writeCharCode$1(59);
  77236. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  77237. if (t5)
  77238. t1.writeCharCode$1(32);
  77239. } else {
  77240. _this._writeLineFeed$0();
  77241. _this._writeIndentation$0();
  77242. }
  77243. }
  77244. t1.writeCharCode$1(125);
  77245. },
  77246. _requiresSemicolon$1(node) {
  77247. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  77248. },
  77249. _isTrailingComment$2(node, previous) {
  77250. var t1, t2, t3, searchFrom, endOffset, t4, span;
  77251. if (this._style === B.OutputStyle_1)
  77252. return false;
  77253. if (!(node instanceof A.ModifiableCssComment))
  77254. return false;
  77255. t1 = node.span;
  77256. t2 = t1.get$sourceUrl(t1);
  77257. t3 = previous.get$span(previous);
  77258. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  77259. return false;
  77260. t2 = previous.get$span(previous);
  77261. 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)) {
  77262. t1 = t1.get$start(t1);
  77263. t1 = t1.file.getLine$1(t1.offset);
  77264. t2 = previous.get$span(previous);
  77265. t2 = t2.get$end(t2);
  77266. return t1 === t2.file.getLine$1(t2.offset);
  77267. }
  77268. t2 = t1.get$start(t1);
  77269. t3 = previous.get$span(previous);
  77270. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  77271. if (searchFrom < 0)
  77272. return false;
  77273. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  77274. t2 = previous.get$span(previous);
  77275. t2 = t2.get$file(t2);
  77276. t3 = previous.get$span(previous);
  77277. t3 = t3.get$start(t3);
  77278. t4 = previous.get$span(previous);
  77279. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  77280. t1 = t1.get$start(t1);
  77281. t1 = t1.file.getLine$1(t1.offset);
  77282. t4 = A.FileLocation$_(span.file, span._end);
  77283. return t1 === t4.file.getLine$1(t4.offset);
  77284. },
  77285. _writeLineFeed$0() {
  77286. if (this._style !== B.OutputStyle_1)
  77287. this._serialize$_buffer.write$1(0, "\n");
  77288. },
  77289. _writeIndentation$0() {
  77290. var _this = this;
  77291. if (_this._style === B.OutputStyle_1)
  77292. return;
  77293. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  77294. },
  77295. _writeTimes$2(char, times) {
  77296. var t1, i;
  77297. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  77298. t1.writeCharCode$1(char);
  77299. },
  77300. _writeBetween$1$3(iterable, text, callback) {
  77301. var t1, t2, first, value;
  77302. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  77303. value = t1.get$current(t1);
  77304. if (first)
  77305. first = false;
  77306. else
  77307. t2.write$1(0, text);
  77308. callback.call$1(value);
  77309. }
  77310. },
  77311. _writeBetween$3(iterable, text, callback) {
  77312. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  77313. }
  77314. };
  77315. A._SerializeVisitor_visitCssComment_closure.prototype = {
  77316. call$0() {
  77317. var t2, t3, _0_0, minimumIndentation,
  77318. t1 = this.$this;
  77319. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  77320. return;
  77321. t2 = this.node;
  77322. t3 = t2.text;
  77323. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  77324. return;
  77325. _0_0 = t1._minimumIndentation$1(t3);
  77326. if (_0_0 != null) {
  77327. t2 = t2.span;
  77328. t2 = t2.get$start(t2);
  77329. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  77330. t1._writeIndentation$0();
  77331. t1._writeWithIndent$2(t3, minimumIndentation);
  77332. } else {
  77333. t1._writeIndentation$0();
  77334. t1._serialize$_buffer.write$1(0, t3);
  77335. }
  77336. },
  77337. $signature: 1
  77338. };
  77339. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  77340. call$0() {
  77341. var t3, _0_0,
  77342. t1 = this.$this,
  77343. t2 = t1._serialize$_buffer;
  77344. t2.writeCharCode$1(64);
  77345. t3 = this.node;
  77346. t1._serialize$_write$1(t3.name);
  77347. _0_0 = t3.value;
  77348. if (_0_0 != null) {
  77349. t2.writeCharCode$1(32);
  77350. t1._serialize$_write$1(_0_0);
  77351. }
  77352. },
  77353. $signature: 1
  77354. };
  77355. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  77356. call$0() {
  77357. var t3, firstQuery, t4, t5,
  77358. t1 = this.$this,
  77359. t2 = t1._serialize$_buffer;
  77360. t2.write$1(0, "@media");
  77361. t3 = this.node.queries;
  77362. firstQuery = B.JSArray_methods.get$first(t3);
  77363. t4 = t1._style === B.OutputStyle_1;
  77364. if (t4)
  77365. if (firstQuery.modifier == null)
  77366. if (firstQuery.type == null) {
  77367. t5 = firstQuery.conditions;
  77368. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  77369. } else
  77370. t5 = true;
  77371. else
  77372. t5 = true;
  77373. else
  77374. t5 = true;
  77375. if (t5)
  77376. t2.writeCharCode$1(32);
  77377. t2 = t4 ? "," : ", ";
  77378. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  77379. },
  77380. $signature: 1
  77381. };
  77382. A._SerializeVisitor_visitCssImport_closure.prototype = {
  77383. call$0() {
  77384. var t3, t4, _0_0,
  77385. t1 = this.$this,
  77386. t2 = t1._serialize$_buffer;
  77387. t2.write$1(0, "@import");
  77388. t3 = t1._style !== B.OutputStyle_1;
  77389. if (t3)
  77390. t2.writeCharCode$1(32);
  77391. t4 = this.node;
  77392. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  77393. _0_0 = t4.modifiers;
  77394. if (_0_0 != null) {
  77395. if (t3)
  77396. t2.writeCharCode$1(32);
  77397. t2.write$1(0, _0_0);
  77398. }
  77399. },
  77400. $signature: 1
  77401. };
  77402. A._SerializeVisitor_visitCssImport__closure.prototype = {
  77403. call$0() {
  77404. return this.$this._writeImportUrl$1(this.node.url.value);
  77405. },
  77406. $signature: 0
  77407. };
  77408. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  77409. call$0() {
  77410. var t1 = this.$this,
  77411. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  77412. t3 = t1._serialize$_buffer;
  77413. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  77414. },
  77415. $signature: 0
  77416. };
  77417. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  77418. call$0() {
  77419. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  77420. },
  77421. $signature: 0
  77422. };
  77423. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  77424. call$0() {
  77425. var t1 = this.$this,
  77426. t2 = t1._serialize$_buffer;
  77427. t2.write$1(0, "@supports");
  77428. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  77429. t2.writeCharCode$1(32);
  77430. t1._serialize$_write$1(this.node.condition);
  77431. },
  77432. $signature: 1
  77433. };
  77434. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  77435. call$0() {
  77436. var t1 = this.$this,
  77437. t2 = this.node;
  77438. if (t1._style === B.OutputStyle_1)
  77439. t1._writeFoldedValue$1(t2);
  77440. else
  77441. t1._writeReindentedValue$1(t2);
  77442. },
  77443. $signature: 1
  77444. };
  77445. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  77446. call$0() {
  77447. return this.node.value.value.accept$1(this.$this);
  77448. },
  77449. $signature: 0
  77450. };
  77451. A._SerializeVisitor_visitList_closure.prototype = {
  77452. call$1(element) {
  77453. return !element.get$isBlank();
  77454. },
  77455. $signature: 69
  77456. };
  77457. A._SerializeVisitor_visitList_closure0.prototype = {
  77458. call$1(element) {
  77459. var t1 = this.$this,
  77460. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  77461. if (needsParens)
  77462. t1._serialize$_buffer.writeCharCode$1(40);
  77463. element.accept$1(t1);
  77464. if (needsParens)
  77465. t1._serialize$_buffer.writeCharCode$1(41);
  77466. },
  77467. $signature: 58
  77468. };
  77469. A._SerializeVisitor_visitList_closure1.prototype = {
  77470. call$1(element) {
  77471. element.accept$1(this.$this);
  77472. },
  77473. $signature: 58
  77474. };
  77475. A._SerializeVisitor_visitMap_closure.prototype = {
  77476. call$1(entry) {
  77477. var t1 = this.$this;
  77478. t1._writeMapElement$1(entry.key);
  77479. t1._serialize$_buffer.write$1(0, ": ");
  77480. t1._writeMapElement$1(entry.value);
  77481. },
  77482. $signature: 273
  77483. };
  77484. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  77485. call$1(complex) {
  77486. return !complex.accept$1(B._IsInvisibleVisitor_true);
  77487. },
  77488. $signature: 18
  77489. };
  77490. A._SerializeVisitor__write_closure.prototype = {
  77491. call$0() {
  77492. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  77493. },
  77494. $signature: 0
  77495. };
  77496. A._SerializeVisitor__visitChildren_closure.prototype = {
  77497. call$0() {
  77498. return this.child.accept$1(this.$this);
  77499. },
  77500. $signature: 0
  77501. };
  77502. A._SerializeVisitor__visitChildren_closure0.prototype = {
  77503. call$0() {
  77504. this.child.accept$1(this.$this);
  77505. },
  77506. $signature: 0
  77507. };
  77508. A.OutputStyle.prototype = {
  77509. _enumToString$0() {
  77510. return "OutputStyle." + this._name;
  77511. }
  77512. };
  77513. A.LineFeed.prototype = {
  77514. _enumToString$0() {
  77515. return "LineFeed." + this._name;
  77516. },
  77517. toString$0(_) {
  77518. return "lf";
  77519. }
  77520. };
  77521. A.StatementSearchVisitor.prototype = {
  77522. visitAtRootRule$1(node) {
  77523. return this.visitChildren$1(node.children);
  77524. },
  77525. visitAtRule$1(node) {
  77526. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77527. },
  77528. visitContentBlock$1(node) {
  77529. return this.visitChildren$1(node.children);
  77530. },
  77531. visitContentRule$1(node) {
  77532. return null;
  77533. },
  77534. visitDebugRule$1(node) {
  77535. return null;
  77536. },
  77537. visitDeclaration$1(node) {
  77538. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77539. },
  77540. visitEachRule$1(node) {
  77541. return this.visitChildren$1(node.children);
  77542. },
  77543. visitErrorRule$1(node) {
  77544. return null;
  77545. },
  77546. visitExtendRule$1(node) {
  77547. return null;
  77548. },
  77549. visitForRule$1(node) {
  77550. return this.visitChildren$1(node.children);
  77551. },
  77552. visitForwardRule$1(node) {
  77553. return null;
  77554. },
  77555. visitFunctionRule$1(node) {
  77556. return this.visitChildren$1(node.children);
  77557. },
  77558. visitIfRule$1(node) {
  77559. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  77560. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  77561. },
  77562. visitImportRule$1(node) {
  77563. return null;
  77564. },
  77565. visitIncludeRule$1(node) {
  77566. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  77567. },
  77568. visitLoudComment$1(node) {
  77569. return null;
  77570. },
  77571. visitMediaRule$1(node) {
  77572. return this.visitChildren$1(node.children);
  77573. },
  77574. visitMixinRule$1(node) {
  77575. return this.visitChildren$1(node.children);
  77576. },
  77577. visitReturnRule$1(node) {
  77578. return null;
  77579. },
  77580. visitSilentComment$1(node) {
  77581. return null;
  77582. },
  77583. visitStyleRule$1(node) {
  77584. return this.visitChildren$1(node.children);
  77585. },
  77586. visitStylesheet$1(node) {
  77587. return this.visitChildren$1(node.children);
  77588. },
  77589. visitSupportsRule$1(node) {
  77590. return this.visitChildren$1(node.children);
  77591. },
  77592. visitUseRule$1(node) {
  77593. return null;
  77594. },
  77595. visitVariableDeclaration$1(node) {
  77596. return null;
  77597. },
  77598. visitWarnRule$1(node) {
  77599. return null;
  77600. },
  77601. visitWhileRule$1(node) {
  77602. return this.visitChildren$1(node.children);
  77603. },
  77604. visitChildren$1(children) {
  77605. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  77606. }
  77607. };
  77608. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  77609. call$1(clause) {
  77610. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  77611. },
  77612. $signature() {
  77613. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  77614. }
  77615. };
  77616. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  77617. call$1(child) {
  77618. return child.accept$1(this.$this);
  77619. },
  77620. $signature() {
  77621. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77622. }
  77623. };
  77624. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  77625. call$1(lastClause) {
  77626. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  77627. },
  77628. $signature() {
  77629. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  77630. }
  77631. };
  77632. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  77633. call$1(child) {
  77634. return child.accept$1(this.$this);
  77635. },
  77636. $signature() {
  77637. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77638. }
  77639. };
  77640. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  77641. call$1(child) {
  77642. return child.accept$1(this.$this);
  77643. },
  77644. $signature() {
  77645. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77646. }
  77647. };
  77648. A.Entry.prototype = {
  77649. compareTo$1(_, other) {
  77650. var t1, t2,
  77651. res = this.target.compareTo$1(0, other.target);
  77652. if (res !== 0)
  77653. return res;
  77654. t1 = this.source;
  77655. t2 = other.source;
  77656. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  77657. if (res !== 0)
  77658. return res;
  77659. return t1.compareTo$1(0, t2);
  77660. },
  77661. $isComparable: 1
  77662. };
  77663. A.Mapping.prototype = {};
  77664. A.SingleMapping.prototype = {
  77665. toJson$1$includeSourceContents(includeSourceContents) {
  77666. 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,
  77667. buff = new A.StringBuffer("");
  77668. 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) {
  77669. entry = t1[_i];
  77670. nextLine = entry.line;
  77671. if (nextLine > line) {
  77672. for (i = line; i < nextLine; ++i)
  77673. buff._contents += ";";
  77674. line = nextLine;
  77675. column = 0;
  77676. first = true;
  77677. }
  77678. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  77679. t4 = t3.get$current(t3);
  77680. if (!first)
  77681. buff._contents += ",";
  77682. column0 = t4.column;
  77683. t5 = A.encodeVlq(column0 - column);
  77684. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  77685. buff._contents = t5;
  77686. newUrlId = t4.sourceUrlId;
  77687. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  77688. buff._contents = t5;
  77689. srcLine0 = t4.sourceLine;
  77690. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  77691. buff._contents = t5;
  77692. srcColumn0 = t4.sourceColumn;
  77693. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  77694. buff._contents = t5;
  77695. srcNameId0 = t4.sourceNameId;
  77696. if (srcNameId0 == null) {
  77697. srcUrlId = newUrlId;
  77698. srcColumn = srcColumn0;
  77699. srcLine = srcLine0;
  77700. continue;
  77701. }
  77702. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  77703. srcNameId = srcNameId0;
  77704. srcUrlId = newUrlId;
  77705. srcColumn = srcColumn0;
  77706. srcLine = srcLine0;
  77707. }
  77708. }
  77709. t1 = _this.sourceRoot;
  77710. if (t1 == null)
  77711. t1 = "";
  77712. t2 = buff._contents;
  77713. 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);
  77714. t1 = _this.targetUrl;
  77715. if (t1 != null)
  77716. result.$indexSet(0, "file", t1);
  77717. if (includeSourceContents) {
  77718. t1 = _this.files;
  77719. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  77720. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  77721. }
  77722. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  77723. return result;
  77724. },
  77725. toJson$0() {
  77726. return this.toJson$1$includeSourceContents(false);
  77727. },
  77728. toString$0(_) {
  77729. var _this = this,
  77730. 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) + "]";
  77731. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77732. }
  77733. };
  77734. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  77735. call$0() {
  77736. return this.urls.__js_helper$_length;
  77737. },
  77738. $signature: 10
  77739. };
  77740. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  77741. call$0() {
  77742. return this.sourceEntry.source.file;
  77743. },
  77744. $signature: 274
  77745. };
  77746. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  77747. call$1(i) {
  77748. return this.files.$index(0, i);
  77749. },
  77750. $signature: 275
  77751. };
  77752. A.SingleMapping_toJson_closure.prototype = {
  77753. call$1(file) {
  77754. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  77755. },
  77756. $signature: 276
  77757. };
  77758. A.SingleMapping_toJson_closure0.prototype = {
  77759. call$2($name, value) {
  77760. this.result.$indexSet(0, $name, value);
  77761. return value;
  77762. },
  77763. $signature: 129
  77764. };
  77765. A.TargetLineEntry.prototype = {
  77766. toString$0(_) {
  77767. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  77768. }
  77769. };
  77770. A.TargetEntry.prototype = {
  77771. toString$0(_) {
  77772. var _this = this;
  77773. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  77774. }
  77775. };
  77776. A.SourceFile.prototype = {
  77777. get$length(_) {
  77778. return this._decodedChars.length;
  77779. },
  77780. get$lines() {
  77781. return this._lineStarts.length;
  77782. },
  77783. SourceFile$decoded$2$url(decodedChars, url) {
  77784. var t1, t2, t3, i, c, j;
  77785. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  77786. c = t1[i];
  77787. if (c === 13) {
  77788. j = i + 1;
  77789. if (j >= t2 || t1[j] !== 10)
  77790. c = 10;
  77791. }
  77792. if (c === 10)
  77793. t3.push(i + 1);
  77794. }
  77795. },
  77796. span$2(_, start, end) {
  77797. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  77798. },
  77799. span$1(_, start) {
  77800. return this.span$2(0, start, null);
  77801. },
  77802. getLine$1(offset) {
  77803. var t1, _this = this;
  77804. if (offset < 0)
  77805. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  77806. else if (offset > _this._decodedChars.length)
  77807. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  77808. t1 = _this._lineStarts;
  77809. if (offset < B.JSArray_methods.get$first(t1))
  77810. return -1;
  77811. if (offset >= B.JSArray_methods.get$last(t1))
  77812. return t1.length - 1;
  77813. if (_this._isNearCachedLine$1(offset)) {
  77814. t1 = _this._cachedLine;
  77815. t1.toString;
  77816. return t1;
  77817. }
  77818. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  77819. },
  77820. _isNearCachedLine$1(offset) {
  77821. var t2, t3,
  77822. t1 = this._cachedLine;
  77823. if (t1 == null)
  77824. return false;
  77825. t2 = this._lineStarts;
  77826. if (offset < t2[t1])
  77827. return false;
  77828. t3 = t2.length;
  77829. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  77830. return true;
  77831. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  77832. this._cachedLine = t1 + 1;
  77833. return true;
  77834. }
  77835. return false;
  77836. },
  77837. _binarySearch$1(offset) {
  77838. var min, half,
  77839. t1 = this._lineStarts,
  77840. max = t1.length - 1;
  77841. for (min = 0; min < max;) {
  77842. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  77843. if (t1[half] > offset)
  77844. max = half;
  77845. else
  77846. min = half + 1;
  77847. }
  77848. return max;
  77849. },
  77850. getColumn$1(offset) {
  77851. var line, lineStart, _this = this;
  77852. if (offset < 0)
  77853. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  77854. else if (offset > _this._decodedChars.length)
  77855. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  77856. line = _this.getLine$1(offset);
  77857. lineStart = _this._lineStarts[line];
  77858. if (lineStart > offset)
  77859. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  77860. return offset - lineStart;
  77861. },
  77862. getOffset$1(line) {
  77863. var t1, t2, result, t3;
  77864. if (line < 0)
  77865. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  77866. else {
  77867. t1 = this._lineStarts;
  77868. t2 = t1.length;
  77869. if (line >= t2)
  77870. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  77871. }
  77872. result = t1[line];
  77873. if (result <= this._decodedChars.length) {
  77874. t3 = line + 1;
  77875. t1 = t3 < t2 && result >= t1[t3];
  77876. } else
  77877. t1 = true;
  77878. if (t1)
  77879. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  77880. return result;
  77881. }
  77882. };
  77883. A.FileLocation.prototype = {
  77884. get$sourceUrl(_) {
  77885. return this.file.url;
  77886. },
  77887. get$line() {
  77888. return this.file.getLine$1(this.offset);
  77889. },
  77890. get$column() {
  77891. return this.file.getColumn$1(this.offset);
  77892. },
  77893. FileLocation$_$2(file, offset) {
  77894. var t2,
  77895. t1 = this.offset;
  77896. if (t1 < 0)
  77897. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  77898. else {
  77899. t2 = this.file;
  77900. if (t1 > t2._decodedChars.length)
  77901. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  77902. }
  77903. },
  77904. pointSpan$0() {
  77905. var t1 = this.offset;
  77906. return A._FileSpan$(this.file, t1, t1);
  77907. },
  77908. get$offset() {
  77909. return this.offset;
  77910. }
  77911. };
  77912. A._FileSpan.prototype = {
  77913. get$sourceUrl(_) {
  77914. return this.file.url;
  77915. },
  77916. get$length(_) {
  77917. return this._end - this._file$_start;
  77918. },
  77919. get$start(_) {
  77920. return A.FileLocation$_(this.file, this._file$_start);
  77921. },
  77922. get$end(_) {
  77923. return A.FileLocation$_(this.file, this._end);
  77924. },
  77925. get$text() {
  77926. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  77927. },
  77928. get$context(_) {
  77929. var _this = this,
  77930. t1 = _this.file,
  77931. endOffset = _this._end,
  77932. endLine = t1.getLine$1(endOffset);
  77933. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  77934. if (endOffset - _this._file$_start === 0)
  77935. 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);
  77936. } else
  77937. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  77938. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  77939. },
  77940. _FileSpan$3(file, _start, _end) {
  77941. var t3,
  77942. t1 = this._end,
  77943. t2 = this._file$_start;
  77944. if (t1 < t2)
  77945. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  77946. else {
  77947. t3 = this.file;
  77948. if (t1 > t3._decodedChars.length)
  77949. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  77950. else if (t2 < 0)
  77951. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  77952. }
  77953. },
  77954. compareTo$1(_, other) {
  77955. var result;
  77956. if (!(other instanceof A._FileSpan))
  77957. return this.super$SourceSpanMixin$compareTo(0, other);
  77958. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  77959. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  77960. },
  77961. $eq(_, other) {
  77962. var _this = this;
  77963. if (other == null)
  77964. return false;
  77965. if (!type$.FileSpan._is(other))
  77966. return _this.super$SourceSpanMixin$$eq(0, other);
  77967. if (!(other instanceof A._FileSpan))
  77968. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  77969. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  77970. },
  77971. get$hashCode(_) {
  77972. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  77973. },
  77974. expand$1(_, other) {
  77975. var t2, t3, _this = this,
  77976. t1 = _this.file;
  77977. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  77978. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  77979. t2 = _this._file$_start;
  77980. t3 = _this._end;
  77981. if (other instanceof A._FileSpan)
  77982. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  77983. else
  77984. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  77985. },
  77986. $isFileSpan: 1,
  77987. $isSourceSpanWithContext: 1,
  77988. get$file(receiver) {
  77989. return this.file;
  77990. }
  77991. };
  77992. A.Highlighter.prototype = {
  77993. highlight$0() {
  77994. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  77995. t1 = _this._lines;
  77996. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  77997. t2 = _this._maxMultilineSpans;
  77998. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  77999. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  78000. line = t1[i];
  78001. if (i > 0) {
  78002. lastLine = t1[i - 1];
  78003. t5 = lastLine.url;
  78004. t6 = line.url;
  78005. if (!J.$eq$(t5, t6)) {
  78006. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78007. t3._contents += "\n";
  78008. _this._writeFileStart$1(t6);
  78009. } else if (lastLine.number + 1 !== line.number) {
  78010. _this._writeSidebar$1$text("...");
  78011. t3._contents += "\n";
  78012. }
  78013. }
  78014. for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get$length(0), t6._eval$1("ListIterator<ListIterable.E>")), t6 = t6._eval$1("ListIterable.E"), t8 = line.number, t9 = line.text; t7.moveNext$0();) {
  78015. t10 = t7.__internal$_current;
  78016. if (t10 == null)
  78017. t10 = t6._as(t10);
  78018. t11 = t10.span;
  78019. 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()))) {
  78020. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  78021. if (index < 0)
  78022. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  78023. highlightsByColumn[index] = t10;
  78024. }
  78025. }
  78026. _this._writeSidebar$1$line(t8);
  78027. t3._contents += " ";
  78028. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  78029. if (t2)
  78030. t3._contents += " ";
  78031. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  78032. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  78033. t6 = primary != null;
  78034. if (t6) {
  78035. t7 = primary.span;
  78036. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  78037. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  78038. } else
  78039. _this._writeText$1(t9);
  78040. t3._contents += "\n";
  78041. if (t6)
  78042. _this._writeIndicator$3(line, primary, highlightsByColumn);
  78043. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  78044. highlight = t5[_i];
  78045. if (highlight.isPrimary)
  78046. continue;
  78047. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  78048. }
  78049. }
  78050. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78051. t1 = t3._contents;
  78052. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78053. },
  78054. _writeFileStart$1(url) {
  78055. var _this = this,
  78056. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  78057. t2 = $._glyphs;
  78058. if (t1)
  78059. _this._writeSidebar$1$end(t2.get$downEnd());
  78060. else {
  78061. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  78062. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  78063. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  78064. }
  78065. _this._highlighter$_buffer._contents += "\n";
  78066. },
  78067. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  78068. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  78069. _box_0.openedOnThisLine = false;
  78070. _box_0.openedOnThisLineColor = null;
  78071. t1 = current == null;
  78072. if (t1)
  78073. currentColor = null;
  78074. else
  78075. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78076. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  78077. highlight = highlightsByColumn[_i];
  78078. t6 = highlight == null;
  78079. if (t6)
  78080. startLine = null;
  78081. else {
  78082. t7 = highlight.span;
  78083. startLine = t7.get$start(t7).get$line();
  78084. }
  78085. if (t6)
  78086. endLine = null;
  78087. else {
  78088. t7 = highlight.span;
  78089. endLine = t7.get$end(t7).get$line();
  78090. }
  78091. if (t1 && highlight === current) {
  78092. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  78093. foundCurrent = true;
  78094. } else if (foundCurrent)
  78095. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  78096. else if (t6)
  78097. if (_box_0.openedOnThisLine)
  78098. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  78099. else
  78100. t5._contents += " ";
  78101. else {
  78102. t6 = highlight.isPrimary ? t4 : t3;
  78103. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  78104. }
  78105. }
  78106. },
  78107. _writeMultilineHighlights$2(line, highlightsByColumn) {
  78108. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  78109. },
  78110. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  78111. var _this = this;
  78112. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  78113. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  78114. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  78115. },
  78116. _writeIndicator$3(line, highlight, highlightsByColumn) {
  78117. var t2, coversWholeLine, _this = this,
  78118. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  78119. t1 = highlight.span;
  78120. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  78121. _this._writeSidebar$0();
  78122. t1 = _this._highlighter$_buffer;
  78123. t1._contents += " ";
  78124. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78125. if (highlightsByColumn.length !== 0)
  78126. t1._contents += " ";
  78127. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  78128. } else {
  78129. t2 = line.number;
  78130. if (t1.get$start(t1).get$line() === t2) {
  78131. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  78132. return;
  78133. A.replaceFirstNull(highlightsByColumn, highlight);
  78134. _this._writeSidebar$0();
  78135. t1 = _this._highlighter$_buffer;
  78136. t1._contents += " ";
  78137. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78138. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  78139. t1._contents += "\n";
  78140. } else if (t1.get$end(t1).get$line() === t2) {
  78141. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  78142. if (coversWholeLine && highlight.label == null) {
  78143. A.replaceWithNull(highlightsByColumn, highlight);
  78144. return;
  78145. }
  78146. _this._writeSidebar$0();
  78147. _this._highlighter$_buffer._contents += " ";
  78148. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78149. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  78150. A.replaceWithNull(highlightsByColumn, highlight);
  78151. }
  78152. }
  78153. },
  78154. _writeArrow$3$beginning(line, column, beginning) {
  78155. var t2,
  78156. t1 = beginning ? 0 : 1,
  78157. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  78158. t1 = this._highlighter$_buffer;
  78159. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  78160. t1._contents = t2 + "^";
  78161. },
  78162. _writeArrow$2(line, column) {
  78163. return this._writeArrow$3$beginning(line, column, true);
  78164. },
  78165. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  78166. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  78167. label = highlight.label;
  78168. if (label == null) {
  78169. _this._highlighter$_buffer._contents += "\n";
  78170. return;
  78171. }
  78172. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  78173. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78174. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  78175. t1 = _this._highlighter$_buffer;
  78176. t1._contents += "\n";
  78177. for (t2 = A.SubListIterable$(lines, 1, null, type$.String), t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = highlightsByColumn.length, t3 = t3._eval$1("ListIterable.E"); t2.moveNext$0();) {
  78178. t5 = t2.__internal$_current;
  78179. if (t5 == null)
  78180. t5 = t3._as(t5);
  78181. _this._writeSidebar$0();
  78182. t6 = t1._contents += " ";
  78183. for (_i = 0; _i < t4; ++_i) {
  78184. columnHighlight = highlightsByColumn[_i];
  78185. if (columnHighlight == null || columnHighlight === highlight) {
  78186. t6 += " ";
  78187. t1._contents = t6;
  78188. } else
  78189. t6 = t1._contents += $._glyphs.get$verticalLine();
  78190. }
  78191. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  78192. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  78193. t1._contents += "\n";
  78194. }
  78195. },
  78196. _writeText$1(text) {
  78197. var t1, t2, t3, t4;
  78198. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this._highlighter$_buffer, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  78199. t4 = t1.__internal$_current;
  78200. if (t4 == null)
  78201. t4 = t2._as(t4);
  78202. if (t4 === 9)
  78203. t3._contents += B.JSString_methods.$mul(" ", 4);
  78204. else
  78205. t3._contents += A.Primitives_stringFromCharCode(t4);
  78206. }
  78207. },
  78208. _writeSidebar$3$end$line$text(end, line, text) {
  78209. var t1 = {};
  78210. t1.text = text;
  78211. if (line != null)
  78212. t1.text = B.JSInt_methods.toString$0(line + 1);
  78213. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  78214. },
  78215. _writeSidebar$1$end(end) {
  78216. return this._writeSidebar$3$end$line$text(end, null, null);
  78217. },
  78218. _writeSidebar$1$text(text) {
  78219. return this._writeSidebar$3$end$line$text(null, null, text);
  78220. },
  78221. _writeSidebar$1$line(line) {
  78222. return this._writeSidebar$3$end$line$text(null, line, null);
  78223. },
  78224. _writeSidebar$0() {
  78225. return this._writeSidebar$3$end$line$text(null, null, null);
  78226. },
  78227. _countTabs$1(text) {
  78228. var t1, t2, count, t3;
  78229. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) {
  78230. t3 = t1.__internal$_current;
  78231. if ((t3 == null ? t2._as(t3) : t3) === 9)
  78232. ++count;
  78233. }
  78234. return count;
  78235. },
  78236. _isOnlyWhitespace$1(text) {
  78237. var t1, t2, t3;
  78238. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  78239. t3 = t1.__internal$_current;
  78240. if (t3 == null)
  78241. t3 = t2._as(t3);
  78242. if (t3 !== 32 && t3 !== 9)
  78243. return false;
  78244. }
  78245. return true;
  78246. },
  78247. _colorize$1$2$color(callback, color) {
  78248. var result,
  78249. t1 = this._primaryColor != null;
  78250. if (t1 && color != null)
  78251. this._highlighter$_buffer._contents += color;
  78252. result = callback.call$0();
  78253. if (t1 && color != null)
  78254. this._highlighter$_buffer._contents += "\x1b[0m";
  78255. return result;
  78256. },
  78257. _colorize$2$color(callback, color) {
  78258. return this._colorize$1$2$color(callback, color, type$.dynamic);
  78259. }
  78260. };
  78261. A.Highlighter_closure.prototype = {
  78262. call$0() {
  78263. var t1 = this.color,
  78264. t2 = J.getInterceptor$(t1);
  78265. if (t2.$eq(t1, true))
  78266. return "\x1b[31m";
  78267. if (t2.$eq(t1, false))
  78268. return null;
  78269. return A._asStringQ(t1);
  78270. },
  78271. $signature: 45
  78272. };
  78273. A.Highlighter$__closure.prototype = {
  78274. call$1(line) {
  78275. var t1 = line.highlights;
  78276. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  78277. },
  78278. $signature: 277
  78279. };
  78280. A.Highlighter$___closure.prototype = {
  78281. call$1(highlight) {
  78282. var t1 = highlight.span;
  78283. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  78284. },
  78285. $signature: 136
  78286. };
  78287. A.Highlighter$__closure0.prototype = {
  78288. call$1(line) {
  78289. return line.url;
  78290. },
  78291. $signature: 279
  78292. };
  78293. A.Highlighter__collateLines_closure.prototype = {
  78294. call$1(highlight) {
  78295. var t1 = highlight.span;
  78296. t1 = t1.get$sourceUrl(t1);
  78297. return t1 == null ? new A.Object() : t1;
  78298. },
  78299. $signature: 280
  78300. };
  78301. A.Highlighter__collateLines_closure0.prototype = {
  78302. call$2(highlight1, highlight2) {
  78303. return highlight1.span.compareTo$1(0, highlight2.span);
  78304. },
  78305. $signature: 281
  78306. };
  78307. A.Highlighter__collateLines_closure1.prototype = {
  78308. call$1(entry) {
  78309. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6,
  78310. url = entry.key,
  78311. highlightsForFile = entry.value,
  78312. lines = A._setArrayType([], type$.JSArray__Line);
  78313. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  78314. t4 = t2.get$current(t2).span;
  78315. context = t4.get$context(t4);
  78316. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  78317. t5.toString;
  78318. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  78319. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  78320. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  78321. line = t4[_i];
  78322. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  78323. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  78324. ++lineNumber;
  78325. }
  78326. }
  78327. activeHighlights = A._setArrayType([], t3);
  78328. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  78329. line = lines[_i];
  78330. if (!!activeHighlights.fixed$length)
  78331. A.throwExpression(A.UnsupportedError$("removeWhere"));
  78332. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  78333. oldHighlightLength = activeHighlights.length;
  78334. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t4 = A._instanceType(t3), t3 = new A.ListIterator(t3, t3.get$length(t3), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  78335. t5 = t3.__internal$_current;
  78336. if (t5 == null)
  78337. t5 = t4._as(t5);
  78338. t6 = t5.span;
  78339. if (t6.get$start(t6).get$line() > line.number)
  78340. break;
  78341. activeHighlights.push(t5);
  78342. }
  78343. highlightIndex += activeHighlights.length - oldHighlightLength;
  78344. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  78345. }
  78346. return lines;
  78347. },
  78348. $signature: 282
  78349. };
  78350. A.Highlighter__collateLines__closure.prototype = {
  78351. call$1(highlight) {
  78352. var t1 = highlight.span;
  78353. return t1.get$end(t1).get$line() < this.line.number;
  78354. },
  78355. $signature: 136
  78356. };
  78357. A.Highlighter_highlight_closure.prototype = {
  78358. call$1(highlight) {
  78359. return highlight.isPrimary;
  78360. },
  78361. $signature: 136
  78362. };
  78363. A.Highlighter__writeFileStart_closure.prototype = {
  78364. call$0() {
  78365. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  78366. return null;
  78367. },
  78368. $signature: 0
  78369. };
  78370. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  78371. call$0() {
  78372. var t1 = $._glyphs;
  78373. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  78374. this.$this._highlighter$_buffer._contents += t1;
  78375. },
  78376. $signature: 1
  78377. };
  78378. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  78379. call$0() {
  78380. var t1 = $._glyphs;
  78381. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  78382. this.$this._highlighter$_buffer._contents += t1;
  78383. },
  78384. $signature: 1
  78385. };
  78386. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  78387. call$0() {
  78388. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  78389. return null;
  78390. },
  78391. $signature: 0
  78392. };
  78393. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  78394. call$0() {
  78395. var _this = this,
  78396. t1 = _this._box_0,
  78397. t2 = t1.openedOnThisLine,
  78398. t3 = $._glyphs,
  78399. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  78400. if (_this.current != null)
  78401. _this.$this._highlighter$_buffer._contents += vertical;
  78402. else {
  78403. t2 = _this.line;
  78404. t3 = t2.number;
  78405. if (_this.startLine === t3) {
  78406. t2 = _this.$this;
  78407. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  78408. t1.openedOnThisLine = true;
  78409. if (t1.openedOnThisLineColor == null)
  78410. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  78411. } else {
  78412. if (_this.endLine === t3) {
  78413. t3 = _this.highlight.span;
  78414. t2 = t3.get$end(t3).get$column() === t2.text.length;
  78415. } else
  78416. t2 = false;
  78417. t3 = _this.$this;
  78418. if (t2) {
  78419. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  78420. t3._highlighter$_buffer._contents += t1;
  78421. } else
  78422. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  78423. }
  78424. }
  78425. },
  78426. $signature: 1
  78427. };
  78428. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  78429. call$0() {
  78430. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  78431. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  78432. },
  78433. $signature: 1
  78434. };
  78435. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  78436. call$0() {
  78437. this.$this._highlighter$_buffer._contents += this.vertical;
  78438. },
  78439. $signature: 1
  78440. };
  78441. A.Highlighter__writeHighlightedText_closure.prototype = {
  78442. call$0() {
  78443. var _this = this;
  78444. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  78445. },
  78446. $signature: 0
  78447. };
  78448. A.Highlighter__writeIndicator_closure.prototype = {
  78449. call$0() {
  78450. var startColumn, endColumn, tabsBefore, tabsInside,
  78451. t1 = this.$this,
  78452. t2 = t1._highlighter$_buffer,
  78453. t3 = t2._contents,
  78454. t4 = this.highlight,
  78455. t5 = t4.span;
  78456. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  78457. startColumn = t5.get$start(t5).get$column();
  78458. endColumn = t5.get$end(t5).get$column();
  78459. t5 = this.line.text;
  78460. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  78461. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  78462. startColumn += tabsBefore * 3;
  78463. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  78464. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  78465. return t4.length - t3.length;
  78466. },
  78467. $signature: 10
  78468. };
  78469. A.Highlighter__writeIndicator_closure0.prototype = {
  78470. call$0() {
  78471. var t1 = this.highlight.span;
  78472. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  78473. },
  78474. $signature: 0
  78475. };
  78476. A.Highlighter__writeIndicator_closure1.prototype = {
  78477. call$0() {
  78478. var t4, _this = this,
  78479. t1 = _this.$this,
  78480. t2 = t1._highlighter$_buffer,
  78481. t3 = t2._contents;
  78482. if (_this.coversWholeLine)
  78483. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  78484. else {
  78485. t4 = _this.highlight.span;
  78486. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  78487. }
  78488. return t2._contents.length - t3.length;
  78489. },
  78490. $signature: 10
  78491. };
  78492. A.Highlighter__writeLabel_closure.prototype = {
  78493. call$0() {
  78494. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  78495. return null;
  78496. },
  78497. $signature: 0
  78498. };
  78499. A.Highlighter__writeLabel_closure0.prototype = {
  78500. call$0() {
  78501. this.$this._highlighter$_buffer._contents += " " + this.text;
  78502. return null;
  78503. },
  78504. $signature: 0
  78505. };
  78506. A.Highlighter__writeSidebar_closure.prototype = {
  78507. call$0() {
  78508. var t1 = this.$this,
  78509. t2 = t1._highlighter$_buffer,
  78510. t3 = this._box_0.text;
  78511. if (t3 == null)
  78512. t3 = "";
  78513. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  78514. t1 = this.end;
  78515. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  78516. },
  78517. $signature: 1
  78518. };
  78519. A._Highlight.prototype = {
  78520. toString$0(_) {
  78521. var t1 = this.isPrimary ? "" + "primary " : "",
  78522. t2 = this.span;
  78523. 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());
  78524. t1 = this.label;
  78525. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  78526. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78527. }
  78528. };
  78529. A._Highlight_closure.prototype = {
  78530. call$0() {
  78531. var t2, t3, t4, t5,
  78532. t1 = this.span;
  78533. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  78534. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  78535. t3 = t1.get$end(t1).get$offset();
  78536. t4 = t1.get$sourceUrl(t1);
  78537. t5 = A.countCodeUnits(t1.get$text(), 10);
  78538. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  78539. }
  78540. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  78541. },
  78542. $signature: 283
  78543. };
  78544. A._Line.prototype = {
  78545. toString$0(_) {
  78546. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  78547. }
  78548. };
  78549. A.SourceLocation.prototype = {
  78550. distance$1(other) {
  78551. var t1 = this.sourceUrl;
  78552. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78553. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78554. return Math.abs(this.offset - other.get$offset());
  78555. },
  78556. compareTo$1(_, other) {
  78557. var t1 = this.sourceUrl;
  78558. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78559. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78560. return this.offset - other.get$offset();
  78561. },
  78562. $eq(_, other) {
  78563. if (other == null)
  78564. return false;
  78565. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78566. },
  78567. get$hashCode(_) {
  78568. var t1 = this.sourceUrl;
  78569. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78570. if (t1 == null)
  78571. t1 = 0;
  78572. return t1 + this.offset;
  78573. },
  78574. toString$0(_) {
  78575. var _this = this,
  78576. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  78577. source = _this.sourceUrl;
  78578. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  78579. },
  78580. $isComparable: 1,
  78581. get$sourceUrl(receiver) {
  78582. return this.sourceUrl;
  78583. },
  78584. get$offset() {
  78585. return this.offset;
  78586. },
  78587. get$line() {
  78588. return this.line;
  78589. },
  78590. get$column() {
  78591. return this.column;
  78592. }
  78593. };
  78594. A.SourceLocationMixin.prototype = {
  78595. distance$1(other) {
  78596. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78597. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78598. return Math.abs(this.offset - other.get$offset());
  78599. },
  78600. compareTo$1(_, other) {
  78601. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78602. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78603. return this.offset - other.get$offset();
  78604. },
  78605. $eq(_, other) {
  78606. if (other == null)
  78607. return false;
  78608. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78609. },
  78610. get$hashCode(_) {
  78611. var t1 = this.file.url;
  78612. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78613. if (t1 == null)
  78614. t1 = 0;
  78615. return t1 + this.offset;
  78616. },
  78617. toString$0(_) {
  78618. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  78619. t2 = this.offset,
  78620. t3 = this.file,
  78621. source = t3.url;
  78622. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  78623. },
  78624. $isComparable: 1,
  78625. $isSourceLocation: 1
  78626. };
  78627. A.SourceSpanBase.prototype = {
  78628. SourceSpanBase$3(start, end, text) {
  78629. var t3,
  78630. t1 = this.end,
  78631. t2 = this.start;
  78632. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  78633. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  78634. else if (t1.get$offset() < t2.get$offset())
  78635. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  78636. else {
  78637. t3 = this.text;
  78638. if (t3.length !== t2.distance$1(t1))
  78639. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  78640. }
  78641. },
  78642. get$start(receiver) {
  78643. return this.start;
  78644. },
  78645. get$end(receiver) {
  78646. return this.end;
  78647. },
  78648. get$text() {
  78649. return this.text;
  78650. }
  78651. };
  78652. A.SourceSpanException.prototype = {
  78653. get$message(_) {
  78654. return this._span_exception$_message;
  78655. },
  78656. get$span(_) {
  78657. return this._span;
  78658. },
  78659. toString$1$color(_, color) {
  78660. var _this = this;
  78661. _this.get$span(_this);
  78662. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  78663. },
  78664. toString$0(_) {
  78665. return this.toString$1$color(0, null);
  78666. },
  78667. $isException: 1
  78668. };
  78669. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  78670. get$source() {
  78671. return this.source;
  78672. }
  78673. };
  78674. A.MultiSourceSpanException.prototype = {
  78675. toString$0(_) {
  78676. var _this = this;
  78677. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  78678. },
  78679. get$primaryLabel() {
  78680. return this.primaryLabel;
  78681. },
  78682. get$secondarySpans() {
  78683. return this.secondarySpans;
  78684. }
  78685. };
  78686. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  78687. A.SourceSpanMixin.prototype = {
  78688. get$sourceUrl(_) {
  78689. var t1 = this.get$start(this);
  78690. return t1.get$sourceUrl(t1);
  78691. },
  78692. get$length(_) {
  78693. var _this = this;
  78694. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  78695. },
  78696. compareTo$1(_, other) {
  78697. var _this = this,
  78698. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  78699. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  78700. },
  78701. message$2$color(_, message, color) {
  78702. var t2, t3, highlight, _this = this,
  78703. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  78704. if (_this.get$sourceUrl(_this) != null) {
  78705. t2 = _this.get$sourceUrl(_this);
  78706. t3 = $.$get$context();
  78707. t2.toString;
  78708. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  78709. t1 = t2;
  78710. }
  78711. t1 += ": " + message;
  78712. highlight = _this.highlight$1$color(color);
  78713. if (highlight.length !== 0)
  78714. t1 = t1 + "\n" + highlight;
  78715. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78716. },
  78717. message$1(_, message) {
  78718. return this.message$2$color(0, message, null);
  78719. },
  78720. highlight$1$color(color) {
  78721. var _this = this;
  78722. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  78723. return "";
  78724. return A.Highlighter$(_this, color).highlight$0();
  78725. },
  78726. $eq(_, other) {
  78727. var _this = this;
  78728. if (other == null)
  78729. return false;
  78730. 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));
  78731. },
  78732. get$hashCode(_) {
  78733. var _this = this;
  78734. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  78735. },
  78736. toString$0(_) {
  78737. var _this = this;
  78738. 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() + '">';
  78739. },
  78740. $isComparable: 1,
  78741. $isSourceSpan: 1
  78742. };
  78743. A.SourceSpanWithContext.prototype = {
  78744. get$context(_) {
  78745. return this._context;
  78746. }
  78747. };
  78748. A.Chain.prototype = {
  78749. toTrace$0() {
  78750. var t1 = this.traces;
  78751. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  78752. },
  78753. toString$0(_) {
  78754. var t1 = this.traces,
  78755. t2 = A._arrayInstanceType(t1);
  78756. 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_____);
  78757. },
  78758. $isStackTrace: 1
  78759. };
  78760. A.Chain_Chain$parse_closure.prototype = {
  78761. call$1(line) {
  78762. return line.length !== 0;
  78763. },
  78764. $signature: 4
  78765. };
  78766. A.Chain_toTrace_closure.prototype = {
  78767. call$1(trace) {
  78768. return trace.get$frames();
  78769. },
  78770. $signature: 284
  78771. };
  78772. A.Chain_toString_closure0.prototype = {
  78773. call$1(trace) {
  78774. var t1 = trace.get$frames();
  78775. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  78776. },
  78777. $signature: 285
  78778. };
  78779. A.Chain_toString__closure0.prototype = {
  78780. call$1(frame) {
  78781. return frame.get$location().length;
  78782. },
  78783. $signature: 265
  78784. };
  78785. A.Chain_toString_closure.prototype = {
  78786. call$1(trace) {
  78787. var t1 = trace.get$frames();
  78788. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  78789. },
  78790. $signature: 287
  78791. };
  78792. A.Chain_toString__closure.prototype = {
  78793. call$1(frame) {
  78794. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  78795. },
  78796. $signature: 264
  78797. };
  78798. A.Frame.prototype = {
  78799. get$isCore() {
  78800. return this.uri.get$scheme() === "dart";
  78801. },
  78802. get$library() {
  78803. var t1 = this.uri;
  78804. if (t1.get$scheme() === "data")
  78805. return "data:...";
  78806. return $.$get$context().prettyUri$1(t1);
  78807. },
  78808. get$$package() {
  78809. var t1 = this.uri;
  78810. if (t1.get$scheme() !== "package")
  78811. return null;
  78812. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  78813. },
  78814. get$location() {
  78815. var t2, _this = this,
  78816. t1 = _this.line;
  78817. if (t1 == null)
  78818. return _this.get$library();
  78819. t2 = _this.column;
  78820. if (t2 == null)
  78821. return _this.get$library() + " " + A.S(t1);
  78822. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  78823. },
  78824. toString$0(_) {
  78825. return this.get$location() + " in " + A.S(this.member);
  78826. },
  78827. get$uri() {
  78828. return this.uri;
  78829. },
  78830. get$line() {
  78831. return this.line;
  78832. },
  78833. get$column() {
  78834. return this.column;
  78835. },
  78836. get$member() {
  78837. return this.member;
  78838. }
  78839. };
  78840. A.Frame_Frame$parseVM_closure.prototype = {
  78841. call$0() {
  78842. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  78843. t1 = this.frame;
  78844. if (t1 === "...")
  78845. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  78846. match = $.$get$_vmFrame().firstMatch$1(t1);
  78847. if (match == null)
  78848. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78849. t1 = match._match;
  78850. t2 = t1[1];
  78851. t2.toString;
  78852. t3 = $.$get$_asyncBody();
  78853. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  78854. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  78855. t2 = t1[2];
  78856. t3 = t2;
  78857. t3.toString;
  78858. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  78859. uri = A.Uri_Uri$dataFromString("", _null, _null);
  78860. else {
  78861. t2 = t2;
  78862. t2.toString;
  78863. uri = A.Uri_parse(t2);
  78864. }
  78865. lineAndColumn = t1[3].split(":");
  78866. t1 = lineAndColumn.length;
  78867. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  78868. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  78869. },
  78870. $signature: 77
  78871. };
  78872. A.Frame_Frame$parseV8_closure.prototype = {
  78873. call$0() {
  78874. var t2, t3, _s4_ = "<fn>",
  78875. t1 = this.frame,
  78876. match = $.$get$_v8Frame().firstMatch$1(t1);
  78877. if (match == null)
  78878. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  78879. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  78880. t2 = match._match;
  78881. t3 = t2[2];
  78882. if (t3 != null) {
  78883. t3 = t3;
  78884. t3.toString;
  78885. t2 = t2[1];
  78886. t2.toString;
  78887. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  78888. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  78889. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  78890. } else {
  78891. t2 = t2[3];
  78892. t2.toString;
  78893. return t1.call$2(t2, _s4_);
  78894. }
  78895. },
  78896. $signature: 77
  78897. };
  78898. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  78899. call$2($location, member) {
  78900. var t2, urlMatch, uri, line, columnMatch, _null = null,
  78901. t1 = $.$get$_v8EvalLocation(),
  78902. evalMatch = t1.firstMatch$1($location);
  78903. for (; evalMatch != null; $location = t2) {
  78904. t2 = evalMatch._match[1];
  78905. t2.toString;
  78906. evalMatch = t1.firstMatch$1(t2);
  78907. }
  78908. if ($location === "native")
  78909. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  78910. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  78911. if (urlMatch == null)
  78912. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  78913. t1 = urlMatch._match;
  78914. t2 = t1[1];
  78915. t2.toString;
  78916. uri = A.Frame__uriOrPathToUri(t2);
  78917. t2 = t1[2];
  78918. t2.toString;
  78919. line = A.int_parse(t2, _null);
  78920. columnMatch = t1[3];
  78921. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  78922. },
  78923. $signature: 290
  78924. };
  78925. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  78926. call$0() {
  78927. var t2, member, uri, line, _null = null,
  78928. t1 = this.frame,
  78929. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  78930. if (match == null)
  78931. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78932. t1 = match._match;
  78933. t2 = t1[1];
  78934. t2.toString;
  78935. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  78936. t2 = t1[2];
  78937. t2.toString;
  78938. uri = A.Frame__uriOrPathToUri(t2);
  78939. t1 = t1[3];
  78940. t1.toString;
  78941. line = A.int_parse(t1, _null);
  78942. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  78943. },
  78944. $signature: 77
  78945. };
  78946. A.Frame_Frame$parseFirefox_closure.prototype = {
  78947. call$0() {
  78948. var t2, t3, t4, uri, member, line, column, _null = null,
  78949. t1 = this.frame,
  78950. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  78951. if (match == null)
  78952. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78953. t2 = match._match;
  78954. t3 = t2[3];
  78955. t4 = t3;
  78956. t4.toString;
  78957. if (B.JSString_methods.contains$1(t4, " line "))
  78958. return A.Frame_Frame$_parseFirefoxEval(t1);
  78959. t1 = t3;
  78960. t1.toString;
  78961. uri = A.Frame__uriOrPathToUri(t1);
  78962. member = t2[1];
  78963. if (member != null) {
  78964. t1 = t2[2];
  78965. t1.toString;
  78966. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  78967. if (member === "")
  78968. member = "<fn>";
  78969. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  78970. } else
  78971. member = "<fn>";
  78972. t1 = t2[4];
  78973. if (t1 === "")
  78974. line = _null;
  78975. else {
  78976. t1 = t1;
  78977. t1.toString;
  78978. line = A.int_parse(t1, _null);
  78979. }
  78980. t1 = t2[5];
  78981. if (t1 == null || t1 === "")
  78982. column = _null;
  78983. else {
  78984. t1 = t1;
  78985. t1.toString;
  78986. column = A.int_parse(t1, _null);
  78987. }
  78988. return new A.Frame(uri, line, column, member);
  78989. },
  78990. $signature: 77
  78991. };
  78992. A.Frame_Frame$parseFriendly_closure.prototype = {
  78993. call$0() {
  78994. var t2, uri, line, column, _null = null,
  78995. t1 = this.frame,
  78996. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  78997. if (match == null)
  78998. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  78999. t1 = match._match;
  79000. t2 = t1[1];
  79001. if (t2 === "data:...")
  79002. uri = A.Uri_Uri$dataFromString("", _null, _null);
  79003. else {
  79004. t2 = t2;
  79005. t2.toString;
  79006. uri = A.Uri_parse(t2);
  79007. }
  79008. if (uri.get$scheme() === "") {
  79009. t2 = $.$get$context();
  79010. 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));
  79011. }
  79012. t2 = t1[2];
  79013. if (t2 == null)
  79014. line = _null;
  79015. else {
  79016. t2 = t2;
  79017. t2.toString;
  79018. line = A.int_parse(t2, _null);
  79019. }
  79020. t2 = t1[3];
  79021. if (t2 == null)
  79022. column = _null;
  79023. else {
  79024. t2 = t2;
  79025. t2.toString;
  79026. column = A.int_parse(t2, _null);
  79027. }
  79028. return new A.Frame(uri, line, column, t1[4]);
  79029. },
  79030. $signature: 77
  79031. };
  79032. A.LazyTrace.prototype = {
  79033. get$_lazy_trace$_trace() {
  79034. var result, _this = this,
  79035. value = _this.__LazyTrace__trace_FI;
  79036. if (value === $) {
  79037. result = _this._thunk.call$0();
  79038. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  79039. _this.__LazyTrace__trace_FI = result;
  79040. value = result;
  79041. }
  79042. return value;
  79043. },
  79044. get$frames() {
  79045. return this.get$_lazy_trace$_trace().get$frames();
  79046. },
  79047. get$terse() {
  79048. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  79049. },
  79050. toString$0(_) {
  79051. return this.get$_lazy_trace$_trace().toString$0(0);
  79052. },
  79053. $isStackTrace: 1,
  79054. $isTrace: 1
  79055. };
  79056. A.LazyTrace_terse_closure.prototype = {
  79057. call$0() {
  79058. return this.$this.get$_lazy_trace$_trace().get$terse();
  79059. },
  79060. $signature: 261
  79061. };
  79062. A.Trace.prototype = {
  79063. get$terse() {
  79064. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  79065. },
  79066. foldFrames$2$terse(predicate, terse) {
  79067. var newFrames, t1, t2, t3, _box_0 = {};
  79068. _box_0.predicate = predicate;
  79069. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  79070. newFrames = A._setArrayType([], type$.JSArray_Frame);
  79071. for (t1 = this.frames, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) {
  79072. t3 = t1.__internal$_current;
  79073. if (t3 == null)
  79074. t3 = t2._as(t3);
  79075. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  79076. newFrames.push(t3);
  79077. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  79078. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  79079. }
  79080. t1 = type$.MappedListIterable_Frame_Frame;
  79081. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  79082. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  79083. B.JSArray_methods.removeAt$1(newFrames, 0);
  79084. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  79085. },
  79086. toString$0(_) {
  79087. var t1 = this.frames,
  79088. t2 = A._arrayInstanceType(t1);
  79089. 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);
  79090. },
  79091. $isStackTrace: 1,
  79092. get$frames() {
  79093. return this.frames;
  79094. }
  79095. };
  79096. A.Trace_Trace$from_closure.prototype = {
  79097. call$0() {
  79098. return A.Trace_Trace$parse(this.trace.toString$0(0));
  79099. },
  79100. $signature: 261
  79101. };
  79102. A.Trace__parseVM_closure.prototype = {
  79103. call$1(line) {
  79104. return line.length !== 0;
  79105. },
  79106. $signature: 4
  79107. };
  79108. A.Trace$parseV8_closure.prototype = {
  79109. call$1(line) {
  79110. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  79111. },
  79112. $signature: 4
  79113. };
  79114. A.Trace$parseJSCore_closure.prototype = {
  79115. call$1(line) {
  79116. return line !== "\tat ";
  79117. },
  79118. $signature: 4
  79119. };
  79120. A.Trace$parseFirefox_closure.prototype = {
  79121. call$1(line) {
  79122. return line.length !== 0 && line !== "[native code]";
  79123. },
  79124. $signature: 4
  79125. };
  79126. A.Trace$parseFriendly_closure.prototype = {
  79127. call$1(line) {
  79128. return !B.JSString_methods.startsWith$1(line, "=====");
  79129. },
  79130. $signature: 4
  79131. };
  79132. A.Trace_terse_closure.prototype = {
  79133. call$1(_) {
  79134. return false;
  79135. },
  79136. $signature: 259
  79137. };
  79138. A.Trace_foldFrames_closure.prototype = {
  79139. call$1(frame) {
  79140. var t1;
  79141. if (this.oldPredicate.call$1(frame))
  79142. return true;
  79143. if (frame.get$isCore())
  79144. return true;
  79145. if (frame.get$$package() === "stack_trace")
  79146. return true;
  79147. t1 = frame.get$member();
  79148. t1.toString;
  79149. if (!B.JSString_methods.contains$1(t1, "<async>"))
  79150. return false;
  79151. return frame.get$line() == null;
  79152. },
  79153. $signature: 259
  79154. };
  79155. A.Trace_foldFrames_closure0.prototype = {
  79156. call$1(frame) {
  79157. var t1, t2;
  79158. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  79159. return frame;
  79160. t1 = frame.get$library();
  79161. t2 = $.$get$_terseRegExp();
  79162. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  79163. },
  79164. $signature: 293
  79165. };
  79166. A.Trace_toString_closure0.prototype = {
  79167. call$1(frame) {
  79168. return frame.get$location().length;
  79169. },
  79170. $signature: 265
  79171. };
  79172. A.Trace_toString_closure.prototype = {
  79173. call$1(frame) {
  79174. if (frame instanceof A.UnparsedFrame)
  79175. return frame.toString$0(0) + "\n";
  79176. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  79177. },
  79178. $signature: 264
  79179. };
  79180. A.UnparsedFrame.prototype = {
  79181. toString$0(_) {
  79182. return this.member;
  79183. },
  79184. $isFrame: 1,
  79185. get$uri() {
  79186. return this.uri;
  79187. },
  79188. get$line() {
  79189. return null;
  79190. },
  79191. get$column() {
  79192. return null;
  79193. },
  79194. get$isCore() {
  79195. return false;
  79196. },
  79197. get$library() {
  79198. return "unparsed";
  79199. },
  79200. get$$package() {
  79201. return null;
  79202. },
  79203. get$location() {
  79204. return "unparsed";
  79205. },
  79206. get$member() {
  79207. return this.member;
  79208. }
  79209. };
  79210. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  79211. call$0() {
  79212. var t2, subscription, t3, t4, _this = this, t1 = {};
  79213. t1.valuesDone = false;
  79214. t2 = _this.controller;
  79215. 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));
  79216. t3 = _this._box_1;
  79217. t3.subscription = subscription;
  79218. t2.set$onPause(subscription.get$pause(subscription));
  79219. t4 = t3.subscription;
  79220. t2.set$onResume(t4.get$resume(t4));
  79221. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  79222. },
  79223. $signature: 0
  79224. };
  79225. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  79226. call$1(value) {
  79227. return this.handleData.call$2(value, this.controller);
  79228. },
  79229. $signature() {
  79230. return this.S._eval$1("~(0)");
  79231. }
  79232. };
  79233. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  79234. call$2(error, stackTrace) {
  79235. this.handleError.call$3(error, stackTrace, this.controller);
  79236. },
  79237. $signature: 53
  79238. };
  79239. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  79240. call$0() {
  79241. this._box_0.valuesDone = true;
  79242. this.handleDone.call$1(this.controller);
  79243. },
  79244. $signature: 0
  79245. };
  79246. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  79247. call$0() {
  79248. var t1 = this._box_1,
  79249. toCancel = t1.subscription;
  79250. t1.subscription = null;
  79251. if (!this._box_0.valuesDone)
  79252. return toCancel.cancel$0();
  79253. return null;
  79254. },
  79255. $signature: 253
  79256. };
  79257. A.RateLimit__debounceAggregate_closure.prototype = {
  79258. call$2(value, sink) {
  79259. var _this = this,
  79260. t1 = _this._box_0,
  79261. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  79262. t3 = t1.timer;
  79263. if (t3 != null)
  79264. t3.cancel$0();
  79265. t1.soFar = _this.collect.call$2(value, t1.soFar);
  79266. t1.hasPending = true;
  79267. if (t1.timer == null && _this.leading) {
  79268. t1.emittedLatestAsLeading = true;
  79269. t2.call$0();
  79270. } else
  79271. t1.emittedLatestAsLeading = false;
  79272. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  79273. },
  79274. $signature() {
  79275. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  79276. }
  79277. };
  79278. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  79279. call$0() {
  79280. var t1 = this._box_0,
  79281. t2 = t1.soFar;
  79282. if (t2 == null)
  79283. t2 = this.S._as(t2);
  79284. this.sink.add$1(0, t2);
  79285. t1.soFar = null;
  79286. t1.hasPending = false;
  79287. },
  79288. $signature: 0
  79289. };
  79290. A.RateLimit__debounceAggregate__closure.prototype = {
  79291. call$0() {
  79292. var t1 = this._box_0,
  79293. t2 = t1.emittedLatestAsLeading;
  79294. if (!t2)
  79295. this.emit.call$0();
  79296. if (t1.shouldClose)
  79297. this.sink.close$0(0);
  79298. t1.timer = null;
  79299. },
  79300. $signature: 0
  79301. };
  79302. A.RateLimit__debounceAggregate_closure0.prototype = {
  79303. call$1(sink) {
  79304. var t1 = this._box_0;
  79305. if (t1.hasPending && this.trailing)
  79306. t1.shouldClose = true;
  79307. else {
  79308. t1 = t1.timer;
  79309. if (t1 != null)
  79310. t1.cancel$0();
  79311. sink.close$0(0);
  79312. }
  79313. },
  79314. $signature() {
  79315. return this.S._eval$1("~(EventSink<0>)");
  79316. }
  79317. };
  79318. A.StringScannerException.prototype = {
  79319. get$source() {
  79320. return A._asString(this.source);
  79321. }
  79322. };
  79323. A.LineScanner.prototype = {
  79324. scanChar$1(character) {
  79325. if (!this.super$StringScanner$scanChar(character))
  79326. return false;
  79327. this._adjustLineAndColumn$1(character);
  79328. return true;
  79329. },
  79330. _adjustLineAndColumn$1(character) {
  79331. var t1, _this = this;
  79332. if (character !== 10)
  79333. t1 = character === 13 && _this.peekChar$0() !== 10;
  79334. else
  79335. t1 = true;
  79336. if (t1) {
  79337. ++_this._line_scanner$_line;
  79338. _this._line_scanner$_column = 0;
  79339. } else {
  79340. t1 = _this._line_scanner$_column;
  79341. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  79342. }
  79343. },
  79344. scan$1(pattern) {
  79345. var t1, newlines, t2, _this = this;
  79346. if (!_this.super$StringScanner$scan(pattern))
  79347. return false;
  79348. t1 = _this.get$lastMatch();
  79349. newlines = _this._newlinesIn$1(t1.pattern);
  79350. t1 = _this._line_scanner$_line;
  79351. t2 = newlines.length;
  79352. _this._line_scanner$_line = t1 + t2;
  79353. if (t2 === 0) {
  79354. t1 = _this._line_scanner$_column;
  79355. t2 = _this.get$lastMatch();
  79356. _this._line_scanner$_column = t1 + t2.pattern.length;
  79357. } else {
  79358. t1 = _this.get$lastMatch();
  79359. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  79360. }
  79361. return true;
  79362. },
  79363. _newlinesIn$1(text) {
  79364. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  79365. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  79366. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  79367. B.JSArray_methods.removeLast$0(newlines);
  79368. return newlines;
  79369. }
  79370. };
  79371. A.SpanScanner.prototype = {
  79372. set$state(state) {
  79373. if (state._scanner !== this)
  79374. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  79375. this.set$position(state.position);
  79376. },
  79377. spanFrom$2(startState, endState) {
  79378. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  79379. return this._sourceFile.span$2(0, startState.position, endPosition);
  79380. },
  79381. spanFrom$1(startState) {
  79382. return this.spanFrom$2(startState, null);
  79383. },
  79384. matches$1(pattern) {
  79385. var t1, t2, _this = this;
  79386. if (!_this.super$StringScanner$matches(pattern))
  79387. return false;
  79388. t1 = _this._string_scanner$_position;
  79389. t2 = _this.get$lastMatch();
  79390. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  79391. return true;
  79392. },
  79393. error$3$length$position(_, message, $length, position) {
  79394. var match, t2, _this = this,
  79395. t1 = _this.string;
  79396. A.validateErrorArgs(t1, null, position, $length);
  79397. match = position == null && $length == null ? _this.get$lastMatch() : null;
  79398. if (position == null)
  79399. position = match == null ? _this._string_scanner$_position : match.start;
  79400. if ($length == null)
  79401. if (match == null)
  79402. $length = 0;
  79403. else {
  79404. t2 = match.start;
  79405. $length = t2 + match.pattern.length - t2;
  79406. }
  79407. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  79408. },
  79409. error$1(_, message) {
  79410. return this.error$3$length$position(0, message, null, null);
  79411. },
  79412. error$2$position(_, message, position) {
  79413. return this.error$3$length$position(0, message, null, position);
  79414. },
  79415. error$2$length(_, message, $length) {
  79416. return this.error$3$length$position(0, message, $length, null);
  79417. }
  79418. };
  79419. A._SpanScannerState.prototype = {};
  79420. A.StringScanner.prototype = {
  79421. set$position(position) {
  79422. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  79423. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  79424. this._string_scanner$_position = position;
  79425. this._lastMatch = null;
  79426. },
  79427. get$lastMatch() {
  79428. var _this = this;
  79429. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  79430. _this._lastMatch = null;
  79431. return _this._lastMatch;
  79432. },
  79433. readChar$0() {
  79434. var _this = this,
  79435. t1 = _this.string;
  79436. if (_this._string_scanner$_position === t1.length)
  79437. _this._fail$1("more input");
  79438. return t1.charCodeAt(_this._string_scanner$_position++);
  79439. },
  79440. peekChar$1(offset) {
  79441. var index;
  79442. if (offset == null)
  79443. offset = 0;
  79444. index = this._string_scanner$_position + offset;
  79445. if (index < 0 || index >= this.string.length)
  79446. return null;
  79447. return this.string.charCodeAt(index);
  79448. },
  79449. peekChar$0() {
  79450. return this.peekChar$1(null);
  79451. },
  79452. scanChar$1(character) {
  79453. var t1, t2, t3, t4, _this = this;
  79454. if (character >= 65536 && character <= 1114111) {
  79455. t1 = _this._string_scanner$_position;
  79456. t2 = t1 + 1;
  79457. t3 = _this.string;
  79458. if (t2 < t3.length) {
  79459. t4 = character - 65536;
  79460. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  79461. } else
  79462. t2 = true;
  79463. if (t2)
  79464. return false;
  79465. else {
  79466. _this._string_scanner$_position = t1 + 2;
  79467. return true;
  79468. }
  79469. } else {
  79470. t1 = _this._string_scanner$_position;
  79471. t2 = _this.string;
  79472. if (t1 === t2.length)
  79473. return false;
  79474. if (t2.charCodeAt(t1) !== character)
  79475. return false;
  79476. _this._string_scanner$_position = t1 + 1;
  79477. return true;
  79478. }
  79479. },
  79480. expectChar$2$name(character, $name) {
  79481. if (this.scanChar$1(character))
  79482. return;
  79483. if ($name == null)
  79484. if (character === 92)
  79485. $name = '"\\"';
  79486. else
  79487. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  79488. this._fail$1($name);
  79489. },
  79490. expectChar$1(character) {
  79491. return this.expectChar$2$name(character, null);
  79492. },
  79493. scan$1(pattern) {
  79494. var t1, _this = this,
  79495. success = _this.matches$1(pattern);
  79496. if (success) {
  79497. t1 = _this._lastMatch;
  79498. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  79499. }
  79500. return success;
  79501. },
  79502. expect$1(pattern) {
  79503. var t1, $name;
  79504. if (this.scan$1(pattern))
  79505. return;
  79506. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  79507. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  79508. this._fail$1($name);
  79509. },
  79510. expectDone$0() {
  79511. if (this._string_scanner$_position === this.string.length)
  79512. return;
  79513. this._fail$1("no more input");
  79514. },
  79515. matches$1(pattern) {
  79516. var _this = this,
  79517. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  79518. _this._lastMatch = t1;
  79519. _this._lastMatchPosition = _this._string_scanner$_position;
  79520. return t1 != null;
  79521. },
  79522. substring$1(_, start) {
  79523. var end = this._string_scanner$_position;
  79524. return B.JSString_methods.substring$2(this.string, start, end);
  79525. },
  79526. error$3$length$position(_, message, $length, position) {
  79527. var t1 = this.string;
  79528. A.validateErrorArgs(t1, null, position, $length);
  79529. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  79530. },
  79531. _fail$1($name) {
  79532. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  79533. }
  79534. };
  79535. A.AsciiGlyphSet.prototype = {
  79536. glyphOrAscii$2(glyph, alternative) {
  79537. return alternative;
  79538. },
  79539. get$horizontalLine() {
  79540. return "-";
  79541. },
  79542. get$verticalLine() {
  79543. return "|";
  79544. },
  79545. get$topLeftCorner() {
  79546. return ",";
  79547. },
  79548. get$bottomLeftCorner() {
  79549. return "'";
  79550. },
  79551. get$cross() {
  79552. return "+";
  79553. },
  79554. get$upEnd() {
  79555. return "'";
  79556. },
  79557. get$downEnd() {
  79558. return ",";
  79559. },
  79560. get$horizontalLineBold() {
  79561. return "=";
  79562. }
  79563. };
  79564. A.UnicodeGlyphSet.prototype = {
  79565. glyphOrAscii$2(glyph, alternative) {
  79566. return glyph;
  79567. },
  79568. get$horizontalLine() {
  79569. return "\u2500";
  79570. },
  79571. get$verticalLine() {
  79572. return "\u2502";
  79573. },
  79574. get$topLeftCorner() {
  79575. return "\u250c";
  79576. },
  79577. get$bottomLeftCorner() {
  79578. return "\u2514";
  79579. },
  79580. get$cross() {
  79581. return "\u253c";
  79582. },
  79583. get$upEnd() {
  79584. return "\u2575";
  79585. },
  79586. get$downEnd() {
  79587. return "\u2577";
  79588. },
  79589. get$horizontalLineBold() {
  79590. return "\u2501";
  79591. }
  79592. };
  79593. A.WatchEvent.prototype = {
  79594. toString$0(_) {
  79595. return this.type.toString$0(0) + " " + this.path;
  79596. }
  79597. };
  79598. A.ChangeType.prototype = {
  79599. toString$0(_) {
  79600. return this._watch_event$_name;
  79601. }
  79602. };
  79603. A.AnySelectorVisitor0.prototype = {
  79604. visitComplexSelector$1(complex) {
  79605. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  79606. },
  79607. visitCompoundSelector$1(compound) {
  79608. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  79609. },
  79610. visitPseudoSelector$1(pseudo) {
  79611. var selector = pseudo.selector;
  79612. return selector == null ? false : this.visitSelectorList$1(selector);
  79613. },
  79614. visitSelectorList$1(list) {
  79615. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  79616. },
  79617. visitAttributeSelector$1(attribute) {
  79618. return false;
  79619. },
  79620. visitClassSelector$1(klass) {
  79621. return false;
  79622. },
  79623. visitIDSelector$1(id) {
  79624. return false;
  79625. },
  79626. visitParentSelector$1($parent) {
  79627. return false;
  79628. },
  79629. visitPlaceholderSelector$1(placeholder) {
  79630. return false;
  79631. },
  79632. visitTypeSelector$1(type) {
  79633. return false;
  79634. },
  79635. visitUniversalSelector$1(universal) {
  79636. return false;
  79637. }
  79638. };
  79639. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  79640. call$1(component) {
  79641. return this.$this.visitCompoundSelector$1(component.selector);
  79642. },
  79643. $signature: 51
  79644. };
  79645. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  79646. call$1(simple) {
  79647. return simple.accept$1(this.$this);
  79648. },
  79649. $signature: 14
  79650. };
  79651. A.SupportsAnything0.prototype = {
  79652. toString$0(_) {
  79653. return "(" + this.contents.toString$0(0) + ")";
  79654. },
  79655. $isAstNode0: 1,
  79656. get$span(receiver) {
  79657. return this.span;
  79658. }
  79659. };
  79660. A.Argument0.prototype = {
  79661. toString$0(_) {
  79662. var t1 = this.defaultValue,
  79663. t2 = this.name;
  79664. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  79665. },
  79666. $isAstNode0: 1,
  79667. get$span(receiver) {
  79668. return this.span;
  79669. }
  79670. };
  79671. A.ArgumentDeclaration0.prototype = {
  79672. get$spanWithName() {
  79673. var t3, t4,
  79674. t1 = this.span,
  79675. t2 = t1.file,
  79676. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  79677. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  79678. while (true) {
  79679. if (i > 0) {
  79680. t3 = text.charCodeAt(i);
  79681. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  79682. } else
  79683. t3 = false;
  79684. if (!t3)
  79685. break;
  79686. --i;
  79687. }
  79688. t3 = text.charCodeAt(i);
  79689. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  79690. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79691. else
  79692. t3 = true;
  79693. if (!t3)
  79694. return t1;
  79695. --i;
  79696. while (true) {
  79697. if (i >= 0) {
  79698. t3 = text.charCodeAt(i);
  79699. if (t3 !== 95) {
  79700. if (!(t3 >= 97 && t3 <= 122))
  79701. t4 = t3 >= 65 && t3 <= 90;
  79702. else
  79703. t4 = true;
  79704. t4 = t4 || t3 >= 128;
  79705. } else
  79706. t4 = true;
  79707. if (!t4)
  79708. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79709. else
  79710. t3 = true;
  79711. } else
  79712. t3 = false;
  79713. if (!t3)
  79714. break;
  79715. --i;
  79716. }
  79717. t3 = i + 1;
  79718. t4 = text.charCodeAt(t3);
  79719. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  79720. return t1;
  79721. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  79722. },
  79723. verify$2(positional, names) {
  79724. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  79725. _s10_ = "invocation",
  79726. _s8_ = "argument";
  79727. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  79728. argument = t1[i];
  79729. if (i < positional) {
  79730. t4 = argument.name;
  79731. if (t3.containsKey$1(t4))
  79732. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  79733. } else {
  79734. t4 = argument.name;
  79735. if (t3.containsKey$1(t4))
  79736. ++namedUsed;
  79737. else if (argument.defaultValue == null)
  79738. 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)));
  79739. }
  79740. }
  79741. if (_this.restArgument != null)
  79742. return;
  79743. if (positional > t2) {
  79744. t1 = names.get$isEmpty(0) ? "" : "positional ";
  79745. 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)));
  79746. }
  79747. if (namedUsed < t3.get$length(t3)) {
  79748. t2 = type$.String;
  79749. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  79750. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  79751. 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)));
  79752. }
  79753. },
  79754. _argument_declaration$_originalArgumentName$1($name) {
  79755. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  79756. if ($name === this.restArgument) {
  79757. t1 = this.span;
  79758. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  79759. 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, "."));
  79760. }
  79761. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  79762. argument = t1[_i];
  79763. if (argument.name === $name) {
  79764. t1 = argument.defaultValue;
  79765. t2 = argument.span;
  79766. t3 = t2.file;
  79767. t4 = t2._file$_start;
  79768. t2 = t2._end;
  79769. if (t1 == null) {
  79770. t1 = t3._decodedChars;
  79771. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  79772. } else {
  79773. t1 = t3._decodedChars;
  79774. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  79775. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  79776. end = A._lastNonWhitespace0(t1, false);
  79777. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  79778. }
  79779. return t1;
  79780. }
  79781. }
  79782. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  79783. },
  79784. matches$2(positional, names) {
  79785. var t1, t2, t3, namedUsed, i, argument;
  79786. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  79787. argument = t1[i];
  79788. if (i < positional) {
  79789. if (t3.containsKey$1(argument.name))
  79790. return false;
  79791. } else if (t3.containsKey$1(argument.name))
  79792. ++namedUsed;
  79793. else if (argument.defaultValue == null)
  79794. return false;
  79795. }
  79796. if (this.restArgument != null)
  79797. return true;
  79798. if (positional > t2)
  79799. return false;
  79800. if (namedUsed < t3.get$length(t3))
  79801. return false;
  79802. return true;
  79803. },
  79804. toString$0(_) {
  79805. var t2, t3, _i,
  79806. t1 = A._setArrayType([], type$.JSArray_String);
  79807. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79808. t1.push("$" + A.S(t2[_i]));
  79809. t2 = this.restArgument;
  79810. if (t2 != null)
  79811. t1.push("$" + t2 + "...");
  79812. return B.JSArray_methods.join$1(t1, ", ");
  79813. },
  79814. $isAstNode0: 1,
  79815. get$span(receiver) {
  79816. return this.span;
  79817. }
  79818. };
  79819. A.ArgumentDeclaration_verify_closure1.prototype = {
  79820. call$1(argument) {
  79821. return argument.name;
  79822. },
  79823. $signature: 297
  79824. };
  79825. A.ArgumentDeclaration_verify_closure2.prototype = {
  79826. call$1($name) {
  79827. return "$" + $name;
  79828. },
  79829. $signature: 5
  79830. };
  79831. A.ArgumentInvocation0.prototype = {
  79832. get$isEmpty(_) {
  79833. var t1;
  79834. if (this.positional.length === 0) {
  79835. t1 = this.named;
  79836. t1 = t1.get$isEmpty(t1) && this.rest == null;
  79837. } else
  79838. t1 = false;
  79839. return t1;
  79840. },
  79841. toString$0(_) {
  79842. var t2, t3, _i, _1_0, _2_0, _this = this,
  79843. t1 = A._setArrayType([], type$.JSArray_String);
  79844. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79845. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  79846. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  79847. t3 = t2.get$current(t2);
  79848. t1.push("$" + t3._0 + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3._1));
  79849. }
  79850. _1_0 = _this.rest;
  79851. if (_1_0 != null)
  79852. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_1_0) + "...");
  79853. _2_0 = _this.keywordRest;
  79854. if (_2_0 != null)
  79855. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_2_0) + "...");
  79856. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  79857. },
  79858. _argument_invocation$_parenthesizeArgument$1(argument) {
  79859. var t1;
  79860. $label0$0: {
  79861. if (argument instanceof A.ListExpression0 && B.ListSeparator_rXA0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  79862. t1 = "(" + argument.toString$0(0) + ")";
  79863. break $label0$0;
  79864. }
  79865. t1 = argument.toString$0(0);
  79866. break $label0$0;
  79867. }
  79868. return t1;
  79869. },
  79870. $isAstNode0: 1,
  79871. get$span(receiver) {
  79872. return this.span;
  79873. }
  79874. };
  79875. A.argumentListClass_closure.prototype = {
  79876. call$0() {
  79877. var t1 = type$.JSClass,
  79878. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  79879. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  79880. 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);
  79881. return jsClass;
  79882. },
  79883. $signature: 13
  79884. };
  79885. A.argumentListClass__closure.prototype = {
  79886. call$4($self, contents, keywords, separator) {
  79887. var t3,
  79888. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  79889. t2 = type$.Value_2;
  79890. t1 = J.cast$1$0$ax(t1, t2);
  79891. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  79892. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  79893. },
  79894. call$3($self, contents, keywords) {
  79895. return this.call$4($self, contents, keywords, ",");
  79896. },
  79897. "call*": "call$4",
  79898. $requiredArgCount: 3,
  79899. $defaultValues() {
  79900. return [","];
  79901. },
  79902. $signature: 299
  79903. };
  79904. A.argumentListClass__closure0.prototype = {
  79905. call$1($self) {
  79906. $self._argument_list$_wereKeywordsAccessed = true;
  79907. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  79908. },
  79909. $signature: 300
  79910. };
  79911. A.SassArgumentList0.prototype = {};
  79912. A.JSArray1.prototype = {};
  79913. A.AsyncImporter0.prototype = {
  79914. isNonCanonicalScheme$1(scheme) {
  79915. return false;
  79916. }
  79917. };
  79918. A.JSToDartAsyncImporter.prototype = {
  79919. canonicalize$1(_, url) {
  79920. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  79921. },
  79922. canonicalize$body$JSToDartAsyncImporter(_, url) {
  79923. var $async$goto = 0,
  79924. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  79925. $async$returnValue, $async$self = this, t1, result;
  79926. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79927. if ($async$errorCode === 1)
  79928. return A._asyncRethrow($async$result, $async$completer);
  79929. while (true)
  79930. switch ($async$goto) {
  79931. case 0:
  79932. // Function start
  79933. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  79934. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79935. break;
  79936. case 3:
  79937. // then
  79938. $async$goto = 5;
  79939. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  79940. case 5:
  79941. // returning from await.
  79942. result = $async$result;
  79943. case 4:
  79944. // join
  79945. if (result == null) {
  79946. $async$returnValue = null;
  79947. // goto return
  79948. $async$goto = 1;
  79949. break;
  79950. }
  79951. t1 = self.URL;
  79952. if (result instanceof t1) {
  79953. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  79954. // goto return
  79955. $async$goto = 1;
  79956. break;
  79957. }
  79958. A.jsThrow(new self.Error(string$.The_ca));
  79959. case 1:
  79960. // return
  79961. return A._asyncReturn($async$returnValue, $async$completer);
  79962. }
  79963. });
  79964. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  79965. },
  79966. load$1(_, url) {
  79967. return this.load$body$JSToDartAsyncImporter(0, url);
  79968. },
  79969. load$body$JSToDartAsyncImporter(_, url) {
  79970. var $async$goto = 0,
  79971. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  79972. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  79973. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79974. if ($async$errorCode === 1)
  79975. return A._asyncRethrow($async$result, $async$completer);
  79976. while (true)
  79977. switch ($async$goto) {
  79978. case 0:
  79979. // Function start
  79980. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  79981. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79982. break;
  79983. case 3:
  79984. // then
  79985. $async$goto = 5;
  79986. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  79987. case 5:
  79988. // returning from await.
  79989. result = $async$result;
  79990. case 4:
  79991. // join
  79992. if (result == null) {
  79993. $async$returnValue = null;
  79994. // goto return
  79995. $async$goto = 1;
  79996. break;
  79997. }
  79998. type$.JSImporterResult._as(result);
  79999. t1 = J.getInterceptor$x(result);
  80000. contents = t1.get$contents(result);
  80001. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  80002. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  80003. syntax = t1.get$syntax(result);
  80004. if (contents == null || syntax == null)
  80005. A.jsThrow(new self.Error(string$.The_lo));
  80006. t2 = A.parseSyntax(syntax);
  80007. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  80008. // goto return
  80009. $async$goto = 1;
  80010. break;
  80011. case 1:
  80012. // return
  80013. return A._asyncReturn($async$returnValue, $async$completer);
  80014. }
  80015. });
  80016. return A._asyncStartSync($async$load$1, $async$completer);
  80017. },
  80018. isNonCanonicalScheme$1(scheme) {
  80019. return this._nonCanonicalSchemes.contains$1(0, scheme);
  80020. }
  80021. };
  80022. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  80023. call$0() {
  80024. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl0(), A.utils1__dartToJSUrl$closure())});
  80025. },
  80026. $signature: 35
  80027. };
  80028. A.JSToDartAsyncImporter_load_closure.prototype = {
  80029. call$0() {
  80030. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  80031. },
  80032. $signature: 35
  80033. };
  80034. A.AsyncBuiltInCallable0.prototype = {
  80035. callbackFor$2(positional, names) {
  80036. return new A._Record_2(this._async_built_in0$_arguments, this._async_built_in0$_callback);
  80037. },
  80038. $isAsyncCallable0: 1,
  80039. get$name(receiver) {
  80040. return this.name;
  80041. },
  80042. get$acceptsContent() {
  80043. return this.acceptsContent;
  80044. }
  80045. };
  80046. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  80047. call$1($arguments) {
  80048. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  80049. },
  80050. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  80051. var $async$goto = 0,
  80052. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  80053. $async$returnValue, $async$self = this, t1;
  80054. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80055. if ($async$errorCode === 1)
  80056. return A._asyncRethrow($async$result, $async$completer);
  80057. while (true)
  80058. switch ($async$goto) {
  80059. case 0:
  80060. // Function start
  80061. t1 = $async$self.callback.call$1($arguments);
  80062. $async$goto = 3;
  80063. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  80064. case 3:
  80065. // returning from await.
  80066. $async$returnValue = B.C__SassNull0;
  80067. // goto return
  80068. $async$goto = 1;
  80069. break;
  80070. case 1:
  80071. // return
  80072. return A._asyncReturn($async$returnValue, $async$completer);
  80073. }
  80074. });
  80075. return A._asyncStartSync($async$call$1, $async$completer);
  80076. },
  80077. $signature: 98
  80078. };
  80079. A._compileStylesheet_closure2.prototype = {
  80080. call$1(url) {
  80081. 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);
  80082. },
  80083. $signature: 5
  80084. };
  80085. A.AsyncEnvironment0.prototype = {
  80086. closure$0() {
  80087. var t4, t5, t6, _this = this,
  80088. t1 = _this._async_environment0$_forwardedModules,
  80089. t2 = _this._async_environment0$_nestedForwardedModules,
  80090. t3 = _this._async_environment0$_variables;
  80091. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  80092. t4 = _this._async_environment0$_variableNodes;
  80093. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  80094. t5 = _this._async_environment0$_functions;
  80095. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  80096. t6 = _this._async_environment0$_mixins;
  80097. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  80098. 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);
  80099. },
  80100. forwardModule$2(module, rule) {
  80101. var view, t1, t2, _this = this,
  80102. forwardedModules = _this._async_environment0$_forwardedModules;
  80103. if (forwardedModules == null)
  80104. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80105. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  80106. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  80107. t2 = t1.__js_helper$_current;
  80108. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  80109. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  80110. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  80111. }
  80112. _this._async_environment0$_allModules.push(module);
  80113. forwardedModules.$indexSet(0, view, rule);
  80114. },
  80115. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  80116. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  80117. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  80118. larger = oldMembers;
  80119. smaller = newMembers;
  80120. } else {
  80121. larger = newMembers;
  80122. smaller = oldMembers;
  80123. }
  80124. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  80125. t4 = t2.get$current(t2);
  80126. $name = t4._0;
  80127. small = t4._1;
  80128. large = larger.$index(0, $name);
  80129. if (large == null)
  80130. continue;
  80131. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  80132. continue;
  80133. if (t3)
  80134. $name = "$" + $name;
  80135. t2 = this._async_environment0$_forwardedModules;
  80136. if (t2 == null)
  80137. span = null;
  80138. else {
  80139. t2 = t2.$index(0, oldModule);
  80140. span = t2 == null ? null : J.get$span$z(t2);
  80141. }
  80142. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  80143. if (span != null)
  80144. t2.$indexSet(0, span, "original @forward");
  80145. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  80146. }
  80147. },
  80148. importForwards$1(module) {
  80149. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  80150. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  80151. if (forwarded == null)
  80152. return;
  80153. forwardedModules = _this._async_environment0$_forwardedModules;
  80154. if (forwardedModules != null) {
  80155. t1 = type$.Module_AsyncCallable_2;
  80156. t2 = type$.AstNode_2;
  80157. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  80158. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  80159. t4 = t1.get$current(t1);
  80160. module = t4._0;
  80161. node = t4._1;
  80162. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  80163. t3.$indexSet(0, module, node);
  80164. }
  80165. forwarded = t3;
  80166. } else
  80167. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80168. t1 = type$.String;
  80169. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80170. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  80171. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  80172. t2.add$1(0, t4.get$current(t4));
  80173. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80174. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  80175. t5 = t4.__js_helper$_current;
  80176. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80177. t3.add$1(0, t5.get$current(t5));
  80178. }
  80179. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80180. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  80181. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80182. t1.add$1(0, t5.get$current(t5));
  80183. t4 = _this._async_environment0$_variables;
  80184. t5 = t4.length;
  80185. if (t5 === 1) {
  80186. 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) {
  80187. t11 = t8[_i];
  80188. module = t11._0;
  80189. node = t11._1;
  80190. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80191. if (shadowed != null) {
  80192. t5.remove$1(0, module);
  80193. t11 = shadowed.variables;
  80194. if (t11.get$isEmpty(t11)) {
  80195. t11 = shadowed.functions;
  80196. if (t11.get$isEmpty(t11)) {
  80197. t11 = shadowed.mixins;
  80198. if (t11.get$isEmpty(t11)) {
  80199. t11 = shadowed._shadowed_view0$_inner;
  80200. t11 = t11.get$css(t11);
  80201. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  80202. } else
  80203. t11 = false;
  80204. } else
  80205. t11 = false;
  80206. } else
  80207. t11 = false;
  80208. if (!t11)
  80209. t5.$indexSet(0, shadowed, node);
  80210. }
  80211. }
  80212. 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) {
  80213. t8 = t6[_i];
  80214. module = t8._0;
  80215. node = t8._1;
  80216. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80217. if (shadowed != null) {
  80218. forwardedModules.remove$1(0, module);
  80219. t8 = shadowed.variables;
  80220. if (t8.get$isEmpty(t8)) {
  80221. t8 = shadowed.functions;
  80222. if (t8.get$isEmpty(t8)) {
  80223. t8 = shadowed.mixins;
  80224. if (t8.get$isEmpty(t8)) {
  80225. t8 = shadowed._shadowed_view0$_inner;
  80226. t8 = t8.get$css(t8);
  80227. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  80228. } else
  80229. t8 = false;
  80230. } else
  80231. t8 = false;
  80232. } else
  80233. t8 = false;
  80234. if (!t8)
  80235. forwardedModules.$indexSet(0, shadowed, node);
  80236. }
  80237. }
  80238. t5.addAll$1(0, forwarded);
  80239. forwardedModules.addAll$1(0, forwarded);
  80240. } else {
  80241. t6 = _this._async_environment0$_nestedForwardedModules;
  80242. if (t6 == null) {
  80243. _length = t5 - 1;
  80244. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  80245. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  80246. _list[_i] = A._setArrayType([], t5);
  80247. _this._async_environment0$_nestedForwardedModules = _list;
  80248. t5 = _list;
  80249. } else
  80250. t5 = t6;
  80251. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  80252. }
  80253. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80254. t8 = t2._collection$_current;
  80255. if (t8 == null)
  80256. t8 = t7._as(t8);
  80257. t5.remove$1(0, t8);
  80258. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  80259. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  80260. }
  80261. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80262. t6 = t2._collection$_current;
  80263. if (t6 == null)
  80264. t6 = t5._as(t6);
  80265. t3.remove$1(0, t6);
  80266. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  80267. }
  80268. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  80269. t5 = t1._collection$_current;
  80270. if (t5 == null)
  80271. t5 = t4._as(t5);
  80272. t2.remove$1(0, t5);
  80273. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  80274. }
  80275. },
  80276. getVariable$2$namespace($name, namespace) {
  80277. var t1, _0_0, _1_0, _this = this;
  80278. if (namespace != null)
  80279. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  80280. if (_this._async_environment0$_lastVariableName === $name) {
  80281. t1 = _this._async_environment0$_lastVariableIndex;
  80282. t1.toString;
  80283. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  80284. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80285. }
  80286. t1 = _this._async_environment0$_variableIndices;
  80287. _0_0 = t1.$index(0, $name);
  80288. if (_0_0 != null) {
  80289. _this._async_environment0$_lastVariableName = $name;
  80290. _this._async_environment0$_lastVariableIndex = _0_0;
  80291. t1 = J.$index$asx(_this._async_environment0$_variables[_0_0], $name);
  80292. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80293. } else {
  80294. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80295. if (_1_0 != null) {
  80296. _this._async_environment0$_lastVariableName = $name;
  80297. _this._async_environment0$_lastVariableIndex = _1_0;
  80298. t1.$indexSet(0, $name, _1_0);
  80299. t1 = J.$index$asx(_this._async_environment0$_variables[_1_0], $name);
  80300. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80301. } else
  80302. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  80303. }
  80304. },
  80305. getVariable$1($name) {
  80306. return this.getVariable$2$namespace($name, null);
  80307. },
  80308. _async_environment0$_getVariableFromGlobalModule$1($name) {
  80309. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  80310. },
  80311. getVariableNode$2$namespace($name, namespace) {
  80312. var t1, _0_0, _1_0, _this = this;
  80313. if (namespace != null)
  80314. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  80315. if (_this._async_environment0$_lastVariableName === $name) {
  80316. t1 = _this._async_environment0$_lastVariableIndex;
  80317. t1.toString;
  80318. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  80319. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80320. }
  80321. t1 = _this._async_environment0$_variableIndices;
  80322. _0_0 = t1.$index(0, $name);
  80323. if (_0_0 != null) {
  80324. _this._async_environment0$_lastVariableName = $name;
  80325. _this._async_environment0$_lastVariableIndex = _0_0;
  80326. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_0_0], $name);
  80327. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80328. } else {
  80329. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80330. if (_1_0 != null) {
  80331. _this._async_environment0$_lastVariableName = $name;
  80332. _this._async_environment0$_lastVariableIndex = _1_0;
  80333. t1.$indexSet(0, $name, _1_0);
  80334. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_1_0], $name);
  80335. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80336. } else
  80337. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  80338. }
  80339. },
  80340. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  80341. var t1, t2, _0_0;
  80342. 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();) {
  80343. t1 = t2._currentIterator;
  80344. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  80345. if (_0_0 != null)
  80346. return _0_0;
  80347. }
  80348. return null;
  80349. },
  80350. globalVariableExists$2$namespace($name, namespace) {
  80351. if (namespace != null)
  80352. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  80353. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  80354. return true;
  80355. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  80356. },
  80357. globalVariableExists$1($name) {
  80358. return this.globalVariableExists$2$namespace($name, null);
  80359. },
  80360. _async_environment0$_variableIndex$1($name) {
  80361. var t1, i;
  80362. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  80363. if (t1[i].containsKey$1($name))
  80364. return i;
  80365. return null;
  80366. },
  80367. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  80368. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  80369. if (namespace != null) {
  80370. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  80371. return;
  80372. }
  80373. if (global || _this._async_environment0$_variables.length === 1) {
  80374. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  80375. t1 = _this._async_environment0$_variables;
  80376. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  80377. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  80378. if (moduleWithName != null) {
  80379. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  80380. return;
  80381. }
  80382. }
  80383. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  80384. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  80385. return;
  80386. }
  80387. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  80388. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  80389. for (t1 = A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  80390. t3 = t2.__internal$_current;
  80391. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  80392. t5 = t3.__internal$_current;
  80393. if (t5 == null)
  80394. t5 = t4._as(t5);
  80395. if (t5.get$variables().containsKey$1($name)) {
  80396. t5.setVariable$3($name, value, nodeWithSpan);
  80397. return;
  80398. }
  80399. }
  80400. }
  80401. if (_this._async_environment0$_lastVariableName === $name) {
  80402. t1 = _this._async_environment0$_lastVariableIndex;
  80403. t1.toString;
  80404. index = t1;
  80405. } else
  80406. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  80407. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  80408. index = _this._async_environment0$_variables.length - 1;
  80409. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80410. }
  80411. _this._async_environment0$_lastVariableName = $name;
  80412. _this._async_environment0$_lastVariableIndex = index;
  80413. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  80414. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80415. },
  80416. setVariable$4$global($name, value, nodeWithSpan, global) {
  80417. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  80418. },
  80419. setLocalVariable$3($name, value, nodeWithSpan) {
  80420. var index, _this = this,
  80421. t1 = _this._async_environment0$_variables,
  80422. t2 = t1.length;
  80423. _this._async_environment0$_lastVariableName = $name;
  80424. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  80425. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80426. J.$indexSet$ax(t1[index], $name, value);
  80427. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80428. },
  80429. getFunction$2$namespace($name, namespace) {
  80430. var t1, _0_0, _1_0, _this = this;
  80431. if (namespace != null) {
  80432. t1 = _this._async_environment0$_getModule$1(namespace);
  80433. return t1.get$functions(t1).$index(0, $name);
  80434. }
  80435. t1 = _this._async_environment0$_functionIndices;
  80436. _0_0 = t1.$index(0, $name);
  80437. if (_0_0 != null) {
  80438. t1 = J.$index$asx(_this._async_environment0$_functions[_0_0], $name);
  80439. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80440. } else {
  80441. _1_0 = _this._async_environment0$_functionIndex$1($name);
  80442. if (_1_0 != null) {
  80443. t1.$indexSet(0, $name, _1_0);
  80444. t1 = J.$index$asx(_this._async_environment0$_functions[_1_0], $name);
  80445. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80446. } else
  80447. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  80448. }
  80449. },
  80450. getFunction$1($name) {
  80451. return this.getFunction$2$namespace($name, null);
  80452. },
  80453. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  80454. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  80455. },
  80456. _async_environment0$_functionIndex$1($name) {
  80457. var t1, i;
  80458. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  80459. if (t1[i].containsKey$1($name))
  80460. return i;
  80461. return null;
  80462. },
  80463. getMixin$2$namespace($name, namespace) {
  80464. var t1, _0_0, _1_0, _this = this;
  80465. if (namespace != null)
  80466. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  80467. t1 = _this._async_environment0$_mixinIndices;
  80468. _0_0 = t1.$index(0, $name);
  80469. if (_0_0 != null) {
  80470. t1 = J.$index$asx(_this._async_environment0$_mixins[_0_0], $name);
  80471. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80472. } else {
  80473. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  80474. if (_1_0 != null) {
  80475. t1.$indexSet(0, $name, _1_0);
  80476. t1 = J.$index$asx(_this._async_environment0$_mixins[_1_0], $name);
  80477. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80478. } else
  80479. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  80480. }
  80481. },
  80482. _async_environment0$_getMixinFromGlobalModule$1($name) {
  80483. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  80484. },
  80485. _async_environment0$_mixinIndex$1($name) {
  80486. var t1, i;
  80487. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80488. if (t1[i].containsKey$1($name))
  80489. return i;
  80490. return null;
  80491. },
  80492. withContent$2($content, callback) {
  80493. return this.withContent$body$AsyncEnvironment0($content, callback);
  80494. },
  80495. withContent$body$AsyncEnvironment0($content, callback) {
  80496. var $async$goto = 0,
  80497. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80498. $async$self = this, oldContent;
  80499. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80500. if ($async$errorCode === 1)
  80501. return A._asyncRethrow($async$result, $async$completer);
  80502. while (true)
  80503. switch ($async$goto) {
  80504. case 0:
  80505. // Function start
  80506. oldContent = $async$self._async_environment0$_content;
  80507. $async$self._async_environment0$_content = $content;
  80508. $async$goto = 2;
  80509. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  80510. case 2:
  80511. // returning from await.
  80512. $async$self._async_environment0$_content = oldContent;
  80513. // implicit return
  80514. return A._asyncReturn(null, $async$completer);
  80515. }
  80516. });
  80517. return A._asyncStartSync($async$withContent$2, $async$completer);
  80518. },
  80519. asMixin$1(callback) {
  80520. var $async$goto = 0,
  80521. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80522. $async$self = this, oldInMixin;
  80523. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80524. if ($async$errorCode === 1)
  80525. return A._asyncRethrow($async$result, $async$completer);
  80526. while (true)
  80527. switch ($async$goto) {
  80528. case 0:
  80529. // Function start
  80530. oldInMixin = $async$self._async_environment0$_inMixin;
  80531. $async$self._async_environment0$_inMixin = true;
  80532. $async$goto = 2;
  80533. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  80534. case 2:
  80535. // returning from await.
  80536. $async$self._async_environment0$_inMixin = oldInMixin;
  80537. // implicit return
  80538. return A._asyncReturn(null, $async$completer);
  80539. }
  80540. });
  80541. return A._asyncStartSync($async$asMixin$1, $async$completer);
  80542. },
  80543. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  80544. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  80545. },
  80546. scope$1$1(callback, $T) {
  80547. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80548. },
  80549. scope$1$2$when(callback, when, $T) {
  80550. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80551. },
  80552. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80553. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80554. },
  80555. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  80556. var $async$goto = 0,
  80557. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  80558. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  80559. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80560. if ($async$errorCode === 1) {
  80561. $async$currentError = $async$result;
  80562. $async$goto = $async$handler;
  80563. }
  80564. while (true)
  80565. switch ($async$goto) {
  80566. case 0:
  80567. // Function start
  80568. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  80569. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  80570. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  80571. $async$goto = !when ? 3 : 4;
  80572. break;
  80573. case 3:
  80574. // then
  80575. $async$handler = 5;
  80576. $async$goto = 8;
  80577. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80578. case 8:
  80579. // returning from await.
  80580. t1 = $async$result;
  80581. $async$returnValue = t1;
  80582. $async$next = [1];
  80583. // goto finally
  80584. $async$goto = 6;
  80585. break;
  80586. $async$next.push(7);
  80587. // goto finally
  80588. $async$goto = 6;
  80589. break;
  80590. case 5:
  80591. // uncaught
  80592. $async$next = [2];
  80593. case 6:
  80594. // finally
  80595. $async$handler = 2;
  80596. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80597. // goto the next finally handler
  80598. $async$goto = $async$next.pop();
  80599. break;
  80600. case 7:
  80601. // after finally
  80602. case 4:
  80603. // join
  80604. t1 = $async$self._async_environment0$_variables;
  80605. t2 = type$.String;
  80606. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80607. t3 = $async$self._async_environment0$_variableNodes;
  80608. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80609. t4 = $async$self._async_environment0$_functions;
  80610. t5 = type$.AsyncCallable_2;
  80611. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80612. t6 = $async$self._async_environment0$_mixins;
  80613. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80614. t5 = $async$self._async_environment0$_nestedForwardedModules;
  80615. if (t5 != null)
  80616. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  80617. $async$handler = 9;
  80618. $async$goto = 12;
  80619. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80620. case 12:
  80621. // returning from await.
  80622. t2 = $async$result;
  80623. $async$returnValue = t2;
  80624. $async$next = [1];
  80625. // goto finally
  80626. $async$goto = 10;
  80627. break;
  80628. $async$next.push(11);
  80629. // goto finally
  80630. $async$goto = 10;
  80631. break;
  80632. case 9:
  80633. // uncaught
  80634. $async$next = [2];
  80635. case 10:
  80636. // finally
  80637. $async$handler = 2;
  80638. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80639. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  80640. 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();) {
  80641. $name = t1.get$current(t1);
  80642. t2.remove$1(0, $name);
  80643. }
  80644. B.JSArray_methods.removeLast$0(t3);
  80645. 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();) {
  80646. name0 = t1.get$current(t1);
  80647. t2.remove$1(0, name0);
  80648. }
  80649. 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();) {
  80650. name1 = t1.get$current(t1);
  80651. t2.remove$1(0, name1);
  80652. }
  80653. t1 = $async$self._async_environment0$_nestedForwardedModules;
  80654. if (t1 != null)
  80655. t1.pop();
  80656. // goto the next finally handler
  80657. $async$goto = $async$next.pop();
  80658. break;
  80659. case 11:
  80660. // after finally
  80661. case 1:
  80662. // return
  80663. return A._asyncReturn($async$returnValue, $async$completer);
  80664. case 2:
  80665. // rethrow
  80666. return A._asyncRethrow($async$currentError, $async$completer);
  80667. }
  80668. });
  80669. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  80670. },
  80671. toImplicitConfiguration$0() {
  80672. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  80673. t1 = type$.String,
  80674. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  80675. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  80676. values = t2[i];
  80677. nodes = t4[i];
  80678. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80679. t6 = t5.get$current(t5);
  80680. $name = t6._0;
  80681. value = t6._1;
  80682. t6 = nodes.$index(0, $name);
  80683. t6.toString;
  80684. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  80685. }
  80686. }
  80687. return new A.Configuration0(configuration, null);
  80688. },
  80689. toModule$3(css, preModuleComments, extensionStore) {
  80690. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  80691. },
  80692. toDummyModule$0() {
  80693. 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()));
  80694. },
  80695. _async_environment0$_getModule$1(namespace) {
  80696. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  80697. if (_0_0 != null)
  80698. return _0_0;
  80699. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80700. },
  80701. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  80702. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  80703. _0_0 = this._async_environment0$_nestedForwardedModules;
  80704. if (_0_0 != null)
  80705. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  80706. t3 = t2.__internal$_current;
  80707. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  80708. t5 = t3.__internal$_current;
  80709. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80710. if (_1_0 != null)
  80711. return _1_0;
  80712. }
  80713. }
  80714. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  80715. _2_0 = callback.call$1(t1.__js_helper$_current);
  80716. if (_2_0 != null)
  80717. return _2_0;
  80718. }
  80719. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  80720. t4 = t2.__js_helper$_current;
  80721. valueInModule = callback.call$1(t4);
  80722. if (valueInModule == null)
  80723. continue;
  80724. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  80725. if (identityFromModule.$eq(0, identity))
  80726. continue;
  80727. if (value != null) {
  80728. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80729. 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();) {
  80730. t1 = t3.get$current(t3);
  80731. module = t1._0;
  80732. node = t1._1;
  80733. if (callback.call$1(module) != null)
  80734. t2.$indexSet(0, node.get$span(node), t4);
  80735. }
  80736. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  80737. }
  80738. identity = identityFromModule;
  80739. value = valueInModule;
  80740. }
  80741. return value;
  80742. },
  80743. _async_environment0$_fromOneModule$3($name, type, callback) {
  80744. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  80745. }
  80746. };
  80747. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  80748. call$1(module) {
  80749. return module.get$variables().$index(0, this.name);
  80750. },
  80751. $signature: 303
  80752. };
  80753. A.AsyncEnvironment_setVariable_closure2.prototype = {
  80754. call$0() {
  80755. var t1 = this.$this;
  80756. t1._async_environment0$_lastVariableName = this.name;
  80757. return t1._async_environment0$_lastVariableIndex = 0;
  80758. },
  80759. $signature: 10
  80760. };
  80761. A.AsyncEnvironment_setVariable_closure3.prototype = {
  80762. call$1(module) {
  80763. return module.get$variables().containsKey$1(this.name) ? module : null;
  80764. },
  80765. $signature: 304
  80766. };
  80767. A.AsyncEnvironment_setVariable_closure4.prototype = {
  80768. call$0() {
  80769. var t1 = this.$this,
  80770. t2 = t1._async_environment0$_variableIndex$1(this.name);
  80771. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  80772. },
  80773. $signature: 10
  80774. };
  80775. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  80776. call$1(module) {
  80777. return module.get$functions(module).$index(0, this.name);
  80778. },
  80779. $signature: 237
  80780. };
  80781. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  80782. call$1(module) {
  80783. return module.get$mixins().$index(0, this.name);
  80784. },
  80785. $signature: 237
  80786. };
  80787. A.AsyncEnvironment_toModule_closure0.prototype = {
  80788. call$1(modules) {
  80789. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  80790. },
  80791. $signature: 234
  80792. };
  80793. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  80794. call$1(modules) {
  80795. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  80796. },
  80797. $signature: 234
  80798. };
  80799. A._EnvironmentModule2.prototype = {
  80800. get$url(_) {
  80801. var t1 = this.css;
  80802. return t1.get$span(t1).file.url;
  80803. },
  80804. setVariable$3($name, value, nodeWithSpan) {
  80805. var t1, t2,
  80806. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  80807. if (_0_0 != null) {
  80808. _0_0.setVariable$3($name, value, nodeWithSpan);
  80809. return;
  80810. }
  80811. t1 = this._async_environment0$_environment;
  80812. t2 = t1._async_environment0$_variables;
  80813. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  80814. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  80815. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  80816. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  80817. return;
  80818. },
  80819. variableIdentity$1($name) {
  80820. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  80821. return module == null ? this : module.variableIdentity$1($name);
  80822. },
  80823. cloneCss$0() {
  80824. var _0_0, _this = this;
  80825. if (!_this.transitivelyContainsCss)
  80826. return _this;
  80827. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  80828. 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);
  80829. },
  80830. toString$0(_) {
  80831. var t2,
  80832. t1 = this.css;
  80833. if (t1.get$span(t1).file.url == null)
  80834. t1 = "<unknown url>";
  80835. else {
  80836. t1 = t1.get$span(t1).file.url;
  80837. t2 = $.$get$context();
  80838. t1.toString;
  80839. t1 = t2.prettyUri$1(t1);
  80840. }
  80841. return t1;
  80842. },
  80843. $isModule1: 1,
  80844. get$upstream() {
  80845. return this.upstream;
  80846. },
  80847. get$variables() {
  80848. return this.variables;
  80849. },
  80850. get$variableNodes() {
  80851. return this.variableNodes;
  80852. },
  80853. get$functions(receiver) {
  80854. return this.functions;
  80855. },
  80856. get$mixins() {
  80857. return this.mixins;
  80858. },
  80859. get$extensionStore() {
  80860. return this.extensionStore;
  80861. },
  80862. get$css(receiver) {
  80863. return this.css;
  80864. },
  80865. get$preModuleComments() {
  80866. return this.preModuleComments;
  80867. },
  80868. get$transitivelyContainsCss() {
  80869. return this.transitivelyContainsCss;
  80870. },
  80871. get$transitivelyContainsExtensions() {
  80872. return this.transitivelyContainsExtensions;
  80873. }
  80874. };
  80875. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  80876. call$1(module) {
  80877. return module.get$variables();
  80878. },
  80879. $signature: 307
  80880. };
  80881. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  80882. call$1(module) {
  80883. return module.get$variableNodes();
  80884. },
  80885. $signature: 308
  80886. };
  80887. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  80888. call$1(module) {
  80889. return module.get$functions(module);
  80890. },
  80891. $signature: 229
  80892. };
  80893. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  80894. call$1(module) {
  80895. return module.get$mixins();
  80896. },
  80897. $signature: 229
  80898. };
  80899. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  80900. call$1(module) {
  80901. return module.get$transitivelyContainsCss();
  80902. },
  80903. $signature: 124
  80904. };
  80905. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  80906. call$1(module) {
  80907. return module.get$transitivelyContainsExtensions();
  80908. },
  80909. $signature: 124
  80910. };
  80911. A._EvaluateVisitor2.prototype = {
  80912. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  80913. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  80914. _s20_ = "$name, $module: null",
  80915. _s9_ = "sass:meta",
  80916. _s7_ = "$module",
  80917. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  80918. 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),
  80919. 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);
  80920. t1 = type$.AsyncBuiltInCallable_2;
  80921. t2 = A.List_List$of($.$get$global6(), true, t1);
  80922. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  80923. B.JSArray_methods.addAll$1(t2, metaFunctions);
  80924. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  80925. 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) {
  80926. module = t1[_i];
  80927. t3.$indexSet(0, module.url, module);
  80928. }
  80929. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  80930. B.JSArray_methods.addAll$1(t1, functions);
  80931. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  80932. B.JSArray_methods.addAll$1(t1, metaFunctions);
  80933. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  80934. $function = t1[_i];
  80935. t4 = J.get$name$x($function);
  80936. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  80937. }
  80938. },
  80939. run$2(_, importer, node) {
  80940. return this.run$body$_EvaluateVisitor0(0, importer, node);
  80941. },
  80942. run$body$_EvaluateVisitor0(_, importer, node) {
  80943. var $async$goto = 0,
  80944. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  80945. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  80946. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80947. if ($async$errorCode === 1) {
  80948. $async$currentError = $async$result;
  80949. $async$goto = $async$handler;
  80950. }
  80951. while (true)
  80952. switch ($async$goto) {
  80953. case 0:
  80954. // Function start
  80955. $async$handler = 4;
  80956. t1 = type$.nullable_Object;
  80957. 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);
  80958. $async$goto = 7;
  80959. 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);
  80960. case 7:
  80961. // returning from await.
  80962. t1 = $async$result;
  80963. $async$returnValue = t1;
  80964. // goto return
  80965. $async$goto = 1;
  80966. break;
  80967. $async$handler = 2;
  80968. // goto after finally
  80969. $async$goto = 6;
  80970. break;
  80971. case 4:
  80972. // catch
  80973. $async$handler = 3;
  80974. $async$exception = $async$currentError;
  80975. t1 = A.unwrapException($async$exception);
  80976. if (t1 instanceof A.SassException0) {
  80977. error = t1;
  80978. stackTrace = A.getTraceFromException($async$exception);
  80979. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  80980. } else
  80981. throw $async$exception;
  80982. // goto after finally
  80983. $async$goto = 6;
  80984. break;
  80985. case 3:
  80986. // uncaught
  80987. // goto rethrow
  80988. $async$goto = 2;
  80989. break;
  80990. case 6:
  80991. // after finally
  80992. case 1:
  80993. // return
  80994. return A._asyncReturn($async$returnValue, $async$completer);
  80995. case 2:
  80996. // rethrow
  80997. return A._asyncRethrow($async$currentError, $async$completer);
  80998. }
  80999. });
  81000. return A._asyncStartSync($async$run$2, $async$completer);
  81001. },
  81002. _async_evaluate0$_assertInModule$1$2(value, $name) {
  81003. if (value != null)
  81004. return value;
  81005. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  81006. },
  81007. _async_evaluate0$_assertInModule$2(value, $name) {
  81008. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  81009. },
  81010. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81011. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  81012. },
  81013. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  81014. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  81015. },
  81016. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  81017. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  81018. },
  81019. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81020. var $async$goto = 0,
  81021. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  81022. $async$returnValue, $async$self = this, _0_0, t2, t1;
  81023. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81024. if ($async$errorCode === 1)
  81025. return A._asyncRethrow($async$result, $async$completer);
  81026. while (true)
  81027. switch ($async$goto) {
  81028. case 0:
  81029. // Function start
  81030. t1 = {};
  81031. t1.builtInModule = null;
  81032. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  81033. $async$goto = _0_0 != null ? 3 : 4;
  81034. break;
  81035. case 3:
  81036. // then
  81037. t1.builtInModule = _0_0;
  81038. if (configuration instanceof A.ExplicitConfiguration0) {
  81039. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  81040. t2 = configuration.nodeWithSpan;
  81041. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  81042. }
  81043. $async$goto = 5;
  81044. 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);
  81045. case 5:
  81046. // returning from await.
  81047. // goto return
  81048. $async$goto = 1;
  81049. break;
  81050. case 4:
  81051. // join
  81052. $async$goto = 6;
  81053. 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);
  81054. case 6:
  81055. // returning from await.
  81056. case 1:
  81057. // return
  81058. return A._asyncReturn($async$returnValue, $async$completer);
  81059. }
  81060. });
  81061. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  81062. },
  81063. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81064. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  81065. },
  81066. _async_evaluate0$_execute$2(importer, stylesheet) {
  81067. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  81068. },
  81069. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81070. var $async$goto = 0,
  81071. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  81072. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  81073. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81074. if ($async$errorCode === 1)
  81075. return A._asyncRethrow($async$result, $async$completer);
  81076. while (true)
  81077. switch ($async$goto) {
  81078. case 0:
  81079. // Function start
  81080. url = stylesheet.span.file.url;
  81081. t1 = $async$self._async_evaluate0$_modules;
  81082. _0_0 = t1.$index(0, url);
  81083. if (_0_0 != null) {
  81084. t1 = configuration == null;
  81085. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  81086. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  81087. t3 = t2._configuration0$__originalConfiguration;
  81088. t2 = t3 == null ? t2 : t3;
  81089. t3 = currentConfiguration._configuration0$__originalConfiguration;
  81090. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  81091. if (namesInErrors) {
  81092. t2 = $.$get$context();
  81093. url.toString;
  81094. message = t2.prettyUri$1(url) + string$.x20was_a;
  81095. } else
  81096. message = string$.This_mw;
  81097. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  81098. existingSpan = t2 == null ? null : t2.get$span(t2);
  81099. if (t1) {
  81100. t1 = currentConfiguration.nodeWithSpan;
  81101. configurationSpan = t1.get$span(t1);
  81102. } else
  81103. configurationSpan = null;
  81104. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81105. if (existingSpan != null)
  81106. t1.$indexSet(0, existingSpan, "original load");
  81107. if (configurationSpan != null)
  81108. t1.$indexSet(0, configurationSpan, "configuration");
  81109. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  81110. }
  81111. $async$returnValue = _0_0;
  81112. // goto return
  81113. $async$goto = 1;
  81114. break;
  81115. }
  81116. environment = A.AsyncEnvironment$0();
  81117. css = A._Cell$();
  81118. preModuleComments = A._Cell$();
  81119. extensionStore = A.ExtensionStore$0();
  81120. $async$goto = 3;
  81121. 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);
  81122. case 3:
  81123. // returning from await.
  81124. t2 = css._readLocal$0();
  81125. t3 = preModuleComments._readLocal$0();
  81126. module = environment.toModule$3(t2, t3 == null ? B.Map_empty15 : t3, extensionStore);
  81127. if (url != null) {
  81128. t1.$indexSet(0, url, module);
  81129. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  81130. if (nodeWithSpan != null)
  81131. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  81132. }
  81133. $async$returnValue = module;
  81134. // goto return
  81135. $async$goto = 1;
  81136. break;
  81137. case 1:
  81138. // return
  81139. return A._asyncReturn($async$returnValue, $async$completer);
  81140. }
  81141. });
  81142. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  81143. },
  81144. _async_evaluate0$_addOutOfOrderImports$0() {
  81145. var t1, t2, _this = this, _s5_ = "_root",
  81146. _s13_ = "_endOfImports",
  81147. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  81148. $label0$0: {
  81149. if (_0_0 == null) {
  81150. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81151. break $label0$0;
  81152. }
  81153. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81154. 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);
  81155. B.JSArray_methods.addAll$1(t1, _0_0);
  81156. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81157. 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")));
  81158. break $label0$0;
  81159. }
  81160. return t1;
  81161. },
  81162. _async_evaluate0$_combineCss$2$clone(root, clone) {
  81163. var selectors, _0_0, t1, imports, css, sorted, t2;
  81164. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  81165. selectors = root.get$extensionStore().get$simpleSelectors();
  81166. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  81167. if (_0_0 != null)
  81168. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  81169. return root.get$css(root);
  81170. }
  81171. t1 = type$.JSArray_CssNode_2;
  81172. imports = A._setArrayType([], t1);
  81173. css = A._setArrayType([], t1);
  81174. t1 = type$.Module_AsyncCallable_2;
  81175. sorted = A.ListQueue$(t1);
  81176. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  81177. if (root.get$transitivelyContainsExtensions())
  81178. this._async_evaluate0$_extendModules$1(sorted);
  81179. t1 = B.JSArray_methods.$add(imports, css);
  81180. t2 = root.get$css(root);
  81181. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  81182. },
  81183. _async_evaluate0$_combineCss$1(root) {
  81184. return this._async_evaluate0$_combineCss$2$clone(root, false);
  81185. },
  81186. _async_evaluate0$_extendModules$1(sortedModules) {
  81187. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  81188. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  81189. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  81190. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  81191. t3 = t1._collection$_current;
  81192. if (t3 == null)
  81193. t3 = t2._as(t3);
  81194. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  81195. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  81196. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  81197. t4 = t3.get$extensionStore().get$addExtensions();
  81198. if ($self != null)
  81199. t4.call$1($self);
  81200. t4 = t3.get$extensionStore();
  81201. if (t4.get$isEmpty(t4))
  81202. continue;
  81203. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  81204. upstream = t4[_i];
  81205. _0_0 = upstream.get$url(upstream);
  81206. if (_0_0 != null)
  81207. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  81208. }
  81209. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  81210. }
  81211. if (unsatisfiedExtensions._collection$_length !== 0)
  81212. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  81213. },
  81214. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  81215. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  81216. },
  81217. _async_evaluate0$_indexAfterImports$1(statements) {
  81218. var t1, lastImport, i, _0_0;
  81219. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  81220. $label0$0: {
  81221. _0_0 = t1.$index(statements, i);
  81222. if (_0_0 instanceof A.ModifiableCssImport0)
  81223. break $label0$0;
  81224. if (_0_0 instanceof A.ModifiableCssComment0)
  81225. continue;
  81226. break;
  81227. }
  81228. lastImport = i;
  81229. }
  81230. return lastImport + 1;
  81231. },
  81232. visitStylesheet$1(node) {
  81233. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  81234. },
  81235. visitStylesheet$body$_EvaluateVisitor0(node) {
  81236. var $async$goto = 0,
  81237. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81238. $async$returnValue, $async$self = this, t1, t2, _i;
  81239. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81240. if ($async$errorCode === 1)
  81241. return A._asyncRethrow($async$result, $async$completer);
  81242. while (true)
  81243. switch ($async$goto) {
  81244. case 0:
  81245. // Function start
  81246. t1 = node.children, t2 = t1.length, _i = 0;
  81247. case 3:
  81248. // for condition
  81249. if (!(_i < t2)) {
  81250. // goto after for
  81251. $async$goto = 5;
  81252. break;
  81253. }
  81254. $async$goto = 6;
  81255. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  81256. case 6:
  81257. // returning from await.
  81258. case 4:
  81259. // for update
  81260. ++_i;
  81261. // goto for condition
  81262. $async$goto = 3;
  81263. break;
  81264. case 5:
  81265. // after for
  81266. $async$returnValue = null;
  81267. // goto return
  81268. $async$goto = 1;
  81269. break;
  81270. case 1:
  81271. // return
  81272. return A._asyncReturn($async$returnValue, $async$completer);
  81273. }
  81274. });
  81275. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  81276. },
  81277. visitAtRootRule$1(node) {
  81278. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  81279. },
  81280. visitAtRootRule$body$_EvaluateVisitor0(node) {
  81281. var $async$goto = 0,
  81282. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81283. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  81284. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81285. if ($async$errorCode === 1)
  81286. return A._asyncRethrow($async$result, $async$completer);
  81287. while (true)
  81288. switch ($async$goto) {
  81289. case 0:
  81290. // Function start
  81291. _0_0 = node.query;
  81292. $async$goto = _0_0 != null ? 3 : 5;
  81293. break;
  81294. case 3:
  81295. // then
  81296. $async$goto = 6;
  81297. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  81298. case 6:
  81299. // returning from await.
  81300. _1_0 = $async$result;
  81301. resolved = _1_0._0;
  81302. _1_0._1;
  81303. query = A.AtRootQueryParser$0(resolved, $async$self._async_evaluate0$_logger, null).parse$0();
  81304. // goto join
  81305. $async$goto = 4;
  81306. break;
  81307. case 5:
  81308. // else
  81309. query = B.AtRootQuery_UsS0;
  81310. case 4:
  81311. // join
  81312. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81313. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  81314. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  81315. if (!query.excludes$1($parent))
  81316. included.push($parent);
  81317. _2_0 = $parent._node$_parent;
  81318. if (_2_0 == null)
  81319. throw A.wrapException(A.StateError$(string$.CssNod));
  81320. }
  81321. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  81322. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  81323. break;
  81324. case 7:
  81325. // then
  81326. $async$goto = 9;
  81327. 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);
  81328. case 9:
  81329. // returning from await.
  81330. $async$returnValue = null;
  81331. // goto return
  81332. $async$goto = 1;
  81333. break;
  81334. case 8:
  81335. // join
  81336. if (included.length >= 1) {
  81337. first = included[0];
  81338. rest = B.JSArray_methods.sublist$1(included, 1);
  81339. innerCopy = first.copyWithoutChildren$0();
  81340. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  81341. copy = rest[_i].copyWithoutChildren$0();
  81342. copy.addChild$1(outerCopy);
  81343. }
  81344. root.addChild$1(outerCopy);
  81345. } else
  81346. innerCopy = root;
  81347. $async$goto = 10;
  81348. 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);
  81349. case 10:
  81350. // returning from await.
  81351. $async$returnValue = null;
  81352. // goto return
  81353. $async$goto = 1;
  81354. break;
  81355. case 1:
  81356. // return
  81357. return A._asyncReturn($async$returnValue, $async$completer);
  81358. }
  81359. });
  81360. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  81361. },
  81362. _async_evaluate0$_trimIncluded$1(nodes) {
  81363. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  81364. _s22_ = " to be an ancestor of ";
  81365. if (nodes.length === 0)
  81366. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81367. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  81368. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  81369. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  81370. _0_0 = $parent._node$_parent;
  81371. if (_0_0 == null)
  81372. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81373. }
  81374. if (innermostContiguous == null)
  81375. innermostContiguous = i;
  81376. _1_0 = $parent._node$_parent;
  81377. if (_1_0 == null)
  81378. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81379. }
  81380. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  81381. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81382. innermostContiguous.toString;
  81383. root = nodes[innermostContiguous];
  81384. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  81385. return root;
  81386. },
  81387. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  81388. var _this = this,
  81389. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  81390. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  81391. if (t1 !== query.include)
  81392. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  81393. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  81394. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  81395. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  81396. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  81397. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  81398. },
  81399. visitContentBlock$1(node) {
  81400. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  81401. },
  81402. visitContentRule$1(node) {
  81403. return this.visitContentRule$body$_EvaluateVisitor0(node);
  81404. },
  81405. visitContentRule$body$_EvaluateVisitor0(node) {
  81406. var $async$goto = 0,
  81407. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81408. $async$returnValue, $async$self = this, $content;
  81409. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81410. if ($async$errorCode === 1)
  81411. return A._asyncRethrow($async$result, $async$completer);
  81412. while (true)
  81413. switch ($async$goto) {
  81414. case 0:
  81415. // Function start
  81416. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  81417. if ($content == null) {
  81418. $async$returnValue = null;
  81419. // goto return
  81420. $async$goto = 1;
  81421. break;
  81422. }
  81423. $async$goto = 3;
  81424. 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);
  81425. case 3:
  81426. // returning from await.
  81427. $async$returnValue = null;
  81428. // goto return
  81429. $async$goto = 1;
  81430. break;
  81431. case 1:
  81432. // return
  81433. return A._asyncReturn($async$returnValue, $async$completer);
  81434. }
  81435. });
  81436. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  81437. },
  81438. visitDebugRule$1(node) {
  81439. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  81440. },
  81441. visitDebugRule$body$_EvaluateVisitor0(node) {
  81442. var $async$goto = 0,
  81443. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81444. $async$returnValue, $async$self = this, value, t1;
  81445. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81446. if ($async$errorCode === 1)
  81447. return A._asyncRethrow($async$result, $async$completer);
  81448. while (true)
  81449. switch ($async$goto) {
  81450. case 0:
  81451. // Function start
  81452. $async$goto = 3;
  81453. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  81454. case 3:
  81455. // returning from await.
  81456. value = $async$result;
  81457. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  81458. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  81459. $async$returnValue = null;
  81460. // goto return
  81461. $async$goto = 1;
  81462. break;
  81463. case 1:
  81464. // return
  81465. return A._asyncReturn($async$returnValue, $async$completer);
  81466. }
  81467. });
  81468. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  81469. },
  81470. visitDeclaration$1(node) {
  81471. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  81472. },
  81473. visitDeclaration$body$_EvaluateVisitor0(node) {
  81474. var $async$goto = 0,
  81475. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81476. $async$returnValue, $async$self = this, t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, t1;
  81477. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81478. if ($async$errorCode === 1)
  81479. return A._asyncRethrow($async$result, $async$completer);
  81480. while (true)
  81481. switch ($async$goto) {
  81482. case 0:
  81483. // Function start
  81484. t1 = {};
  81485. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  81486. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  81487. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  81488. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  81489. t2 = node.name;
  81490. $async$goto = 3;
  81491. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  81492. case 3:
  81493. // returning from await.
  81494. $name = $async$result;
  81495. _0_0 = $async$self._async_evaluate0$_declarationName;
  81496. if (_0_0 != null)
  81497. $name = new A.CssValue0(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  81498. _1_0 = node.value;
  81499. $async$goto = _1_0 != null ? 4 : 5;
  81500. break;
  81501. case 4:
  81502. // then
  81503. $async$goto = 6;
  81504. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  81505. case 6:
  81506. // returning from await.
  81507. value = $async$result;
  81508. if (!value.get$isBlank() || value.get$asList().length === 0) {
  81509. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81510. t4 = _1_0.get$span(_1_0);
  81511. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  81512. if ($async$self._async_evaluate0$_sourceMap) {
  81513. t5 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
  81514. t5 = t5 == null ? null : J.get$span$z(t5);
  81515. } else
  81516. t5 = null;
  81517. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  81518. } else if (J.startsWith$1$s($name.value, "--"))
  81519. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  81520. case 5:
  81521. // join
  81522. t1.children = null;
  81523. _2_0 = node.children;
  81524. $async$goto = _2_0 != null ? 7 : 8;
  81525. break;
  81526. case 7:
  81527. // then
  81528. t1.children = _2_0;
  81529. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  81530. $async$self._async_evaluate0$_declarationName = $name.value;
  81531. $async$goto = 9;
  81532. 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);
  81533. case 9:
  81534. // returning from await.
  81535. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  81536. case 8:
  81537. // join
  81538. $async$returnValue = null;
  81539. // goto return
  81540. $async$goto = 1;
  81541. break;
  81542. case 1:
  81543. // return
  81544. return A._asyncReturn($async$returnValue, $async$completer);
  81545. }
  81546. });
  81547. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  81548. },
  81549. visitEachRule$1(node) {
  81550. return this.visitEachRule$body$_EvaluateVisitor0(node);
  81551. },
  81552. visitEachRule$body$_EvaluateVisitor0(node) {
  81553. var $async$goto = 0,
  81554. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81555. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  81556. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81557. if ($async$errorCode === 1)
  81558. return A._asyncRethrow($async$result, $async$completer);
  81559. while (true)
  81560. switch ($async$goto) {
  81561. case 0:
  81562. // Function start
  81563. _box_0 = {};
  81564. t1 = node.list;
  81565. $async$goto = 3;
  81566. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  81567. case 3:
  81568. // returning from await.
  81569. list = $async$result;
  81570. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  81571. _0_0 = node.variables;
  81572. $label0$0: {
  81573. _box_0.variable = null;
  81574. if (_0_0.length === 1) {
  81575. _box_0.variable = _0_0[0];
  81576. t1 = new A._EvaluateVisitor_visitEachRule_closure8(_box_0, $async$self, nodeWithSpan);
  81577. break $label0$0;
  81578. }
  81579. _box_0.variables = null;
  81580. _box_0.variables = _0_0;
  81581. t1 = new A._EvaluateVisitor_visitEachRule_closure9(_box_0, $async$self, nodeWithSpan);
  81582. break $label0$0;
  81583. }
  81584. $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);
  81585. // goto return
  81586. $async$goto = 1;
  81587. break;
  81588. case 1:
  81589. // return
  81590. return A._asyncReturn($async$returnValue, $async$completer);
  81591. }
  81592. });
  81593. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  81594. },
  81595. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  81596. var i,
  81597. list = value.get$asList(),
  81598. t1 = variables.length,
  81599. minLength = Math.min(t1, list.length);
  81600. for (i = 0; i < minLength; ++i)
  81601. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  81602. for (i = minLength; i < t1; ++i)
  81603. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  81604. },
  81605. visitErrorRule$1(node) {
  81606. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  81607. },
  81608. visitErrorRule$body$_EvaluateVisitor0(node) {
  81609. var $async$goto = 0,
  81610. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  81611. $async$self = this, $async$temp1, $async$temp2;
  81612. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81613. if ($async$errorCode === 1)
  81614. return A._asyncRethrow($async$result, $async$completer);
  81615. while (true)
  81616. switch ($async$goto) {
  81617. case 0:
  81618. // Function start
  81619. $async$temp1 = A;
  81620. $async$temp2 = J;
  81621. $async$goto = 2;
  81622. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  81623. case 2:
  81624. // returning from await.
  81625. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  81626. // implicit return
  81627. return A._asyncReturn(null, $async$completer);
  81628. }
  81629. });
  81630. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  81631. },
  81632. visitExtendRule$1(node) {
  81633. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  81634. },
  81635. visitExtendRule$body$_EvaluateVisitor0(node) {
  81636. var $async$goto = 0,
  81637. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81638. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  81639. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81640. if ($async$errorCode === 1)
  81641. return A._asyncRethrow($async$result, $async$completer);
  81642. while (true)
  81643. switch ($async$goto) {
  81644. case 0:
  81645. // Function start
  81646. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  81647. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  81648. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  81649. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  81650. complex = t1[_i];
  81651. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81652. continue;
  81653. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  81654. complex.accept$1(visitor);
  81655. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81656. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  81657. $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);
  81658. }
  81659. $async$goto = 3;
  81660. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  81661. case 3:
  81662. // returning from await.
  81663. _0_0 = $async$result;
  81664. targetText = _0_0._0;
  81665. targetMap = _0_0._1;
  81666. 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) {
  81667. complex = t1[_i];
  81668. compound = complex.get$singleCompound();
  81669. if (compound == null)
  81670. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  81671. t4 = compound.components;
  81672. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  81673. if (t5 == null)
  81674. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  81675. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  81676. }
  81677. $async$returnValue = null;
  81678. // goto return
  81679. $async$goto = 1;
  81680. break;
  81681. case 1:
  81682. // return
  81683. return A._asyncReturn($async$returnValue, $async$completer);
  81684. }
  81685. });
  81686. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  81687. },
  81688. visitAtRule$1(node) {
  81689. return this.visitAtRule$body$_EvaluateVisitor0(node);
  81690. },
  81691. visitAtRule$body$_EvaluateVisitor0(node) {
  81692. var $async$goto = 0,
  81693. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81694. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  81695. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81696. if ($async$errorCode === 1)
  81697. return A._asyncRethrow($async$result, $async$completer);
  81698. while (true)
  81699. switch ($async$goto) {
  81700. case 0:
  81701. // Function start
  81702. if ($async$self._async_evaluate0$_declarationName != null)
  81703. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  81704. $async$goto = 3;
  81705. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  81706. case 3:
  81707. // returning from await.
  81708. $name = $async$result;
  81709. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  81710. $async$goto = 4;
  81711. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  81712. case 4:
  81713. // returning from await.
  81714. value = $async$result;
  81715. children = node.children;
  81716. if (children == null) {
  81717. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  81718. $async$returnValue = null;
  81719. // goto return
  81720. $async$goto = 1;
  81721. break;
  81722. }
  81723. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  81724. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  81725. if (A.unvendor0($name.value) === "keyframes")
  81726. $async$self._async_evaluate0$_inKeyframes = true;
  81727. else
  81728. $async$self._async_evaluate0$_inUnknownAtRule = true;
  81729. $async$goto = 5;
  81730. 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);
  81731. case 5:
  81732. // returning from await.
  81733. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  81734. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  81735. $async$returnValue = null;
  81736. // goto return
  81737. $async$goto = 1;
  81738. break;
  81739. case 1:
  81740. // return
  81741. return A._asyncReturn($async$returnValue, $async$completer);
  81742. }
  81743. });
  81744. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  81745. },
  81746. visitForRule$1(node) {
  81747. return this.visitForRule$body$_EvaluateVisitor0(node);
  81748. },
  81749. visitForRule$body$_EvaluateVisitor0(node) {
  81750. var $async$goto = 0,
  81751. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81752. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  81753. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81754. if ($async$errorCode === 1)
  81755. return A._asyncRethrow($async$result, $async$completer);
  81756. while (true)
  81757. switch ($async$goto) {
  81758. case 0:
  81759. // Function start
  81760. t1 = {};
  81761. t2 = node.from;
  81762. t3 = type$.SassNumber_2;
  81763. $async$goto = 3;
  81764. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  81765. case 3:
  81766. // returning from await.
  81767. fromNumber = $async$result;
  81768. t4 = node.to;
  81769. $async$goto = 4;
  81770. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  81771. case 4:
  81772. // returning from await.
  81773. toNumber = $async$result;
  81774. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  81775. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  81776. direction = from > to ? -1 : 1;
  81777. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  81778. $async$returnValue = null;
  81779. // goto return
  81780. $async$goto = 1;
  81781. break;
  81782. }
  81783. $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);
  81784. // goto return
  81785. $async$goto = 1;
  81786. break;
  81787. case 1:
  81788. // return
  81789. return A._asyncReturn($async$returnValue, $async$completer);
  81790. }
  81791. });
  81792. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  81793. },
  81794. visitForwardRule$1(node) {
  81795. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  81796. },
  81797. visitForwardRule$body$_EvaluateVisitor0(node) {
  81798. var $async$goto = 0,
  81799. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81800. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  81801. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81802. if ($async$errorCode === 1)
  81803. return A._asyncRethrow($async$result, $async$completer);
  81804. while (true)
  81805. switch ($async$goto) {
  81806. case 0:
  81807. // Function start
  81808. oldConfiguration = $async$self._async_evaluate0$_configuration;
  81809. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  81810. t1 = node.configuration;
  81811. t2 = t1.length;
  81812. t3 = node.url;
  81813. $async$goto = t2 !== 0 ? 3 : 5;
  81814. break;
  81815. case 3:
  81816. // then
  81817. $async$goto = 6;
  81818. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  81819. case 6:
  81820. // returning from await.
  81821. newConfiguration = $async$result;
  81822. $async$goto = 7;
  81823. 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);
  81824. case 7:
  81825. // returning from await.
  81826. t3 = type$.String;
  81827. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  81828. for (_i = 0; _i < t2; ++_i) {
  81829. variable = t1[_i];
  81830. if (!variable.isGuarded)
  81831. t4.add$1(0, variable.name);
  81832. }
  81833. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  81834. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  81835. for (_i = 0; _i < t2; ++_i)
  81836. t3.add$1(0, t1[_i].name);
  81837. 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) {
  81838. $name = t2[_i];
  81839. if (!t3.contains$1(0, $name))
  81840. if (!t1.get$isEmpty(t1))
  81841. t1.remove$1(0, $name);
  81842. }
  81843. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  81844. // goto join
  81845. $async$goto = 4;
  81846. break;
  81847. case 5:
  81848. // else
  81849. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  81850. $async$goto = 8;
  81851. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  81852. case 8:
  81853. // returning from await.
  81854. $async$self._async_evaluate0$_configuration = oldConfiguration;
  81855. case 4:
  81856. // join
  81857. $async$returnValue = null;
  81858. // goto return
  81859. $async$goto = 1;
  81860. break;
  81861. case 1:
  81862. // return
  81863. return A._asyncReturn($async$returnValue, $async$completer);
  81864. }
  81865. });
  81866. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  81867. },
  81868. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  81869. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  81870. },
  81871. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  81872. var $async$goto = 0,
  81873. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  81874. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  81875. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81876. if ($async$errorCode === 1)
  81877. return A._asyncRethrow($async$result, $async$completer);
  81878. while (true)
  81879. switch ($async$goto) {
  81880. case 0:
  81881. // Function start
  81882. t1 = configuration._configuration0$_values;
  81883. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  81884. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  81885. case 3:
  81886. // for condition
  81887. if (!(_i < t3)) {
  81888. // goto after for
  81889. $async$goto = 5;
  81890. break;
  81891. }
  81892. variable = t2[_i];
  81893. if (variable.isGuarded) {
  81894. t6 = variable.name;
  81895. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  81896. if (oldValue != null)
  81897. t7 = !oldValue.value.$eq(0, B.C__SassNull0);
  81898. else {
  81899. oldValue = null;
  81900. t7 = false;
  81901. }
  81902. if (t7) {
  81903. newValues.$indexSet(0, t6, oldValue);
  81904. // goto for update
  81905. $async$goto = 4;
  81906. break;
  81907. }
  81908. }
  81909. t6 = variable.expression;
  81910. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  81911. t7 = variable.name;
  81912. t6 = t6.accept$1($async$self);
  81913. if (!t5._is(t6)) {
  81914. t8 = new A._Future($.Zone__current, t4);
  81915. t8._state = 8;
  81916. t8._resultOrListeners = t6;
  81917. t6 = t8;
  81918. }
  81919. $async$temp1 = newValues;
  81920. $async$temp2 = t7;
  81921. $async$temp3 = A;
  81922. $async$goto = 6;
  81923. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  81924. case 6:
  81925. // returning from await.
  81926. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  81927. case 4:
  81928. // for update
  81929. ++_i;
  81930. // goto for condition
  81931. $async$goto = 3;
  81932. break;
  81933. case 5:
  81934. // after for
  81935. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  81936. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  81937. // goto return
  81938. $async$goto = 1;
  81939. break;
  81940. } else {
  81941. $async$returnValue = new A.Configuration0(newValues, null);
  81942. // goto return
  81943. $async$goto = 1;
  81944. break;
  81945. }
  81946. case 1:
  81947. // return
  81948. return A._asyncReturn($async$returnValue, $async$completer);
  81949. }
  81950. });
  81951. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  81952. },
  81953. _async_evaluate0$_registerCommentsForModule$1(module) {
  81954. var _this = this, _s5_ = "_root",
  81955. t1 = _this._async_evaluate0$__root;
  81956. if (t1 == null)
  81957. return;
  81958. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  81959. return;
  81960. t1 = _this._async_evaluate0$_preModuleComments;
  81961. if (t1 == null)
  81962. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  81963. 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));
  81964. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  81965. _this._async_evaluate0$__endOfImports = 0;
  81966. },
  81967. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  81968. var t1, t2, t3, t4, _i, $name;
  81969. 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) {
  81970. $name = t2[_i];
  81971. if (except.contains$1(0, $name))
  81972. continue;
  81973. if (!t4.containsKey$1($name))
  81974. if (!t1.get$isEmpty(t1))
  81975. t1.remove$1(0, $name);
  81976. }
  81977. },
  81978. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  81979. var t1, _0_0, $name, value;
  81980. if (!(configuration instanceof A.ExplicitConfiguration0))
  81981. return;
  81982. t1 = configuration._configuration0$_values;
  81983. if (t1.get$isEmpty(t1))
  81984. return;
  81985. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  81986. _0_0 = t1.get$first(t1);
  81987. $name = _0_0._0;
  81988. value = _0_0._1;
  81989. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  81990. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  81991. },
  81992. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  81993. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  81994. },
  81995. visitFunctionRule$1(node) {
  81996. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  81997. },
  81998. visitFunctionRule$body$_EvaluateVisitor0(node) {
  81999. var $async$goto = 0,
  82000. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82001. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82002. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82003. if ($async$errorCode === 1)
  82004. return A._asyncRethrow($async$result, $async$completer);
  82005. while (true)
  82006. switch ($async$goto) {
  82007. case 0:
  82008. // Function start
  82009. t1 = $async$self._async_evaluate0$_environment;
  82010. t2 = t1.closure$0();
  82011. t3 = $async$self._async_evaluate0$_inDependency;
  82012. t4 = t1._async_environment0$_functions;
  82013. index = t4.length - 1;
  82014. t5 = node.name;
  82015. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  82016. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82017. $async$returnValue = null;
  82018. // goto return
  82019. $async$goto = 1;
  82020. break;
  82021. case 1:
  82022. // return
  82023. return A._asyncReturn($async$returnValue, $async$completer);
  82024. }
  82025. });
  82026. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  82027. },
  82028. visitIfRule$1(node) {
  82029. return this.visitIfRule$body$_EvaluateVisitor0(node);
  82030. },
  82031. visitIfRule$body$_EvaluateVisitor0(node) {
  82032. var $async$goto = 0,
  82033. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82034. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  82035. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82036. if ($async$errorCode === 1)
  82037. return A._asyncRethrow($async$result, $async$completer);
  82038. while (true)
  82039. switch ($async$goto) {
  82040. case 0:
  82041. // Function start
  82042. clause = node.lastClause;
  82043. t1 = node.clauses, t2 = t1.length, _i = 0;
  82044. case 3:
  82045. // for condition
  82046. if (!(_i < t2)) {
  82047. // goto after for
  82048. $async$goto = 5;
  82049. break;
  82050. }
  82051. clauseToCheck = t1[_i];
  82052. $async$goto = 6;
  82053. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  82054. case 6:
  82055. // returning from await.
  82056. if ($async$result.get$isTruthy()) {
  82057. clause = clauseToCheck;
  82058. // goto after for
  82059. $async$goto = 5;
  82060. break;
  82061. }
  82062. case 4:
  82063. // for update
  82064. ++_i;
  82065. // goto for condition
  82066. $async$goto = 3;
  82067. break;
  82068. case 5:
  82069. // after for
  82070. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  82071. $async$goto = 7;
  82072. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  82073. case 7:
  82074. // returning from await.
  82075. $async$returnValue = $async$result;
  82076. // goto return
  82077. $async$goto = 1;
  82078. break;
  82079. case 1:
  82080. // return
  82081. return A._asyncReturn($async$returnValue, $async$completer);
  82082. }
  82083. });
  82084. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  82085. },
  82086. visitImportRule$1(node) {
  82087. return this.visitImportRule$body$_EvaluateVisitor0(node);
  82088. },
  82089. visitImportRule$body$_EvaluateVisitor0(node) {
  82090. var $async$goto = 0,
  82091. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82092. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  82093. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82094. if ($async$errorCode === 1)
  82095. return A._asyncRethrow($async$result, $async$completer);
  82096. while (true)
  82097. switch ($async$goto) {
  82098. case 0:
  82099. // Function start
  82100. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  82101. case 3:
  82102. // for condition
  82103. if (!(_i < t2)) {
  82104. // goto after for
  82105. $async$goto = 5;
  82106. break;
  82107. }
  82108. $import = t1[_i];
  82109. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  82110. break;
  82111. case 6:
  82112. // then
  82113. $async$goto = 9;
  82114. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  82115. case 9:
  82116. // returning from await.
  82117. // goto join
  82118. $async$goto = 7;
  82119. break;
  82120. case 8:
  82121. // else
  82122. $async$goto = 10;
  82123. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  82124. case 10:
  82125. // returning from await.
  82126. case 7:
  82127. // join
  82128. case 4:
  82129. // for update
  82130. ++_i;
  82131. // goto for condition
  82132. $async$goto = 3;
  82133. break;
  82134. case 5:
  82135. // after for
  82136. $async$returnValue = null;
  82137. // goto return
  82138. $async$goto = 1;
  82139. break;
  82140. case 1:
  82141. // return
  82142. return A._asyncReturn($async$returnValue, $async$completer);
  82143. }
  82144. });
  82145. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  82146. },
  82147. _async_evaluate0$_visitDynamicImport$1($import) {
  82148. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  82149. },
  82150. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  82151. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  82152. },
  82153. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  82154. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  82155. },
  82156. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  82157. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  82158. },
  82159. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  82160. var $async$goto = 0,
  82161. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  82162. $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;
  82163. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82164. if ($async$errorCode === 1) {
  82165. $async$currentError = $async$result;
  82166. $async$goto = $async$handler;
  82167. }
  82168. while (true)
  82169. switch ($async$goto) {
  82170. case 0:
  82171. // Function start
  82172. baseUrl = baseUrl;
  82173. $async$handler = 4;
  82174. $async$self._async_evaluate0$_importSpan = span;
  82175. importCache = null;
  82176. _0_0 = $async$self._async_evaluate0$_importCache;
  82177. $async$goto = _0_0 != null ? 7 : 8;
  82178. break;
  82179. case 7:
  82180. // then
  82181. importCache = _0_0;
  82182. if (baseUrl == null)
  82183. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  82184. importer = null;
  82185. canonicalUrl = null;
  82186. originalUrl = null;
  82187. $async$goto = 9;
  82188. 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);
  82189. case 9:
  82190. // returning from await.
  82191. _1_0 = $async$result;
  82192. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  82193. break;
  82194. case 10:
  82195. // then
  82196. importer = _1_0._0;
  82197. canonicalUrl = _1_0._1;
  82198. originalUrl = _1_0._2;
  82199. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  82200. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  82201. stylesheet = null;
  82202. t1 = importCache;
  82203. t2 = importer;
  82204. t3 = canonicalUrl;
  82205. t4 = originalUrl;
  82206. $async$goto = 12;
  82207. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate0$_quietDeps && isDependency), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  82208. case 12:
  82209. // returning from await.
  82210. _2_0 = $async$result;
  82211. if (_2_0 != null) {
  82212. stylesheet = _2_0;
  82213. t1 = stylesheet;
  82214. t2 = importer;
  82215. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  82216. $async$next = [1];
  82217. // goto finally
  82218. $async$goto = 5;
  82219. break;
  82220. }
  82221. case 11:
  82222. // join
  82223. case 8:
  82224. // join
  82225. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  82226. break;
  82227. case 13:
  82228. // then
  82229. result = null;
  82230. t1 = baseUrl;
  82231. $async$goto = 15;
  82232. 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);
  82233. case 15:
  82234. // returning from await.
  82235. _3_0 = $async$result;
  82236. if (_3_0 != null) {
  82237. result = _3_0;
  82238. t1 = $async$self._async_evaluate0$_loadedUrls;
  82239. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  82240. t1 = result;
  82241. $async$returnValue = t1;
  82242. $async$next = [1];
  82243. // goto finally
  82244. $async$goto = 5;
  82245. break;
  82246. }
  82247. case 14:
  82248. // join
  82249. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  82250. throw A.wrapException(string$.x22packa);
  82251. else
  82252. throw A.wrapException("Can't find stylesheet to import.");
  82253. $async$next.push(6);
  82254. // goto finally
  82255. $async$goto = 5;
  82256. break;
  82257. case 4:
  82258. // catch
  82259. $async$handler = 3;
  82260. $async$exception = $async$currentError;
  82261. t1 = A.unwrapException($async$exception);
  82262. if (t1 instanceof A.SassException0)
  82263. throw $async$exception;
  82264. else if (t1 instanceof A.ArgumentError) {
  82265. error = t1;
  82266. stackTrace = A.getTraceFromException($async$exception);
  82267. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  82268. } else {
  82269. error0 = t1;
  82270. stackTrace0 = A.getTraceFromException($async$exception);
  82271. message = null;
  82272. try {
  82273. message = A._asString(J.get$message$x(error0));
  82274. } catch (exception) {
  82275. message0 = J.toString$0$(error0);
  82276. message = message0;
  82277. }
  82278. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), error0, stackTrace0);
  82279. }
  82280. $async$next.push(6);
  82281. // goto finally
  82282. $async$goto = 5;
  82283. break;
  82284. case 3:
  82285. // uncaught
  82286. $async$next = [2];
  82287. case 5:
  82288. // finally
  82289. $async$handler = 2;
  82290. $async$self._async_evaluate0$_importSpan = null;
  82291. // goto the next finally handler
  82292. $async$goto = $async$next.pop();
  82293. break;
  82294. case 6:
  82295. // after finally
  82296. case 1:
  82297. // return
  82298. return A._asyncReturn($async$returnValue, $async$completer);
  82299. case 2:
  82300. // rethrow
  82301. return A._asyncRethrow($async$currentError, $async$completer);
  82302. }
  82303. });
  82304. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  82305. },
  82306. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  82307. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  82308. },
  82309. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  82310. var $async$goto = 0,
  82311. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  82312. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  82313. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82314. if ($async$errorCode === 1)
  82315. return A._asyncRethrow($async$result, $async$completer);
  82316. while (true)
  82317. switch ($async$goto) {
  82318. case 0:
  82319. // Function start
  82320. t1 = $async$self._async_evaluate0$_nodeImporter;
  82321. result = t1.loadRelative$3(originalUrl, previous, forImport);
  82322. $async$goto = result != null ? 3 : 5;
  82323. break;
  82324. case 3:
  82325. // then
  82326. isDependency = $async$self._async_evaluate0$_inDependency;
  82327. // goto join
  82328. $async$goto = 4;
  82329. break;
  82330. case 5:
  82331. // else
  82332. $async$goto = 6;
  82333. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  82334. case 6:
  82335. // returning from await.
  82336. result = $async$result;
  82337. if (result == null) {
  82338. $async$returnValue = null;
  82339. // goto return
  82340. $async$goto = 1;
  82341. break;
  82342. }
  82343. isDependency = true;
  82344. case 4:
  82345. // join
  82346. url = result._1;
  82347. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  82348. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  82349. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  82350. // goto return
  82351. $async$goto = 1;
  82352. break;
  82353. case 1:
  82354. // return
  82355. return A._asyncReturn($async$returnValue, $async$completer);
  82356. }
  82357. });
  82358. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  82359. },
  82360. _async_evaluate0$_visitStaticImport$1($import) {
  82361. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  82362. },
  82363. _visitStaticImport$body$_EvaluateVisitor0($import) {
  82364. var $async$goto = 0,
  82365. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82366. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  82367. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82368. if ($async$errorCode === 1)
  82369. return A._asyncRethrow($async$result, $async$completer);
  82370. while (true)
  82371. switch ($async$goto) {
  82372. case 0:
  82373. // Function start
  82374. $async$goto = 2;
  82375. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  82376. case 2:
  82377. // returning from await.
  82378. t1 = $async$result;
  82379. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  82380. $async$temp1 = A;
  82381. $async$temp2 = t1;
  82382. $async$goto = 3;
  82383. 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);
  82384. case 3:
  82385. // returning from await.
  82386. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  82387. 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"))
  82388. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  82389. 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)) {
  82390. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  82391. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82392. } else {
  82393. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  82394. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  82395. }
  82396. // implicit return
  82397. return A._asyncReturn(null, $async$completer);
  82398. }
  82399. });
  82400. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  82401. },
  82402. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82403. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  82404. },
  82405. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82406. var $async$goto = 0,
  82407. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82408. $async$self = this, t1, _0_0, _1_8, t2;
  82409. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82410. if ($async$errorCode === 1)
  82411. return A._asyncRethrow($async$result, $async$completer);
  82412. while (true)
  82413. switch ($async$goto) {
  82414. case 0:
  82415. // Function start
  82416. if (mixin == null)
  82417. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  82418. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  82419. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  82420. break;
  82421. case 3:
  82422. // then
  82423. $async$goto = 5;
  82424. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  82425. case 5:
  82426. // returning from await.
  82427. t1 = $async$result._values;
  82428. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  82429. 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));
  82430. case 4:
  82431. // join
  82432. $async$goto = t1 ? 6 : 7;
  82433. break;
  82434. case 6:
  82435. // then
  82436. $async$goto = 8;
  82437. return A._asyncAwait($async$self._async_evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure5($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate0$_applyMixin$5);
  82438. case 8:
  82439. // returning from await.
  82440. // goto break $label0$0
  82441. $async$goto = 2;
  82442. break;
  82443. case 7:
  82444. // join
  82445. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  82446. if (t1) {
  82447. _1_8 = mixin.declaration;
  82448. if (_1_8 instanceof A.MixinRule0)
  82449. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  82450. else
  82451. t2 = false;
  82452. } else
  82453. t2 = false;
  82454. if (t2)
  82455. 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));
  82456. $async$goto = t1 ? 9 : 10;
  82457. break;
  82458. case 9:
  82459. // then
  82460. $async$goto = 11;
  82461. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure6($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate0$_applyMixin$5);
  82462. case 11:
  82463. // returning from await.
  82464. // goto break $label0$0
  82465. $async$goto = 2;
  82466. break;
  82467. case 10:
  82468. // join
  82469. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  82470. case 2:
  82471. // break $label0$0
  82472. // implicit return
  82473. return A._asyncReturn(null, $async$completer);
  82474. }
  82475. });
  82476. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  82477. },
  82478. visitIncludeRule$1(node) {
  82479. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  82480. },
  82481. visitIncludeRule$body$_EvaluateVisitor0(node) {
  82482. var $async$goto = 0,
  82483. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82484. $async$returnValue, $async$self = this;
  82485. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82486. if ($async$errorCode === 1)
  82487. return A._asyncRethrow($async$result, $async$completer);
  82488. while (true)
  82489. switch ($async$goto) {
  82490. case 0:
  82491. // Function start
  82492. $async$goto = 3;
  82493. 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);
  82494. case 3:
  82495. // returning from await.
  82496. $async$returnValue = null;
  82497. // goto return
  82498. $async$goto = 1;
  82499. break;
  82500. case 1:
  82501. // return
  82502. return A._asyncReturn($async$returnValue, $async$completer);
  82503. }
  82504. });
  82505. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  82506. },
  82507. visitMixinRule$1(node) {
  82508. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  82509. },
  82510. visitMixinRule$body$_EvaluateVisitor0(node) {
  82511. var $async$goto = 0,
  82512. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82513. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82514. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82515. if ($async$errorCode === 1)
  82516. return A._asyncRethrow($async$result, $async$completer);
  82517. while (true)
  82518. switch ($async$goto) {
  82519. case 0:
  82520. // Function start
  82521. t1 = $async$self._async_evaluate0$_environment;
  82522. t2 = t1.closure$0();
  82523. t3 = $async$self._async_evaluate0$_inDependency;
  82524. t4 = t1._async_environment0$_mixins;
  82525. index = t4.length - 1;
  82526. t5 = node.name;
  82527. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  82528. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82529. $async$returnValue = null;
  82530. // goto return
  82531. $async$goto = 1;
  82532. break;
  82533. case 1:
  82534. // return
  82535. return A._asyncReturn($async$returnValue, $async$completer);
  82536. }
  82537. });
  82538. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  82539. },
  82540. visitLoudComment$1(node) {
  82541. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  82542. },
  82543. visitLoudComment$body$_EvaluateVisitor0(node) {
  82544. var $async$goto = 0,
  82545. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82546. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82547. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82548. if ($async$errorCode === 1)
  82549. return A._asyncRethrow($async$result, $async$completer);
  82550. while (true)
  82551. switch ($async$goto) {
  82552. case 0:
  82553. // Function start
  82554. if ($async$self._async_evaluate0$_inFunction) {
  82555. $async$returnValue = null;
  82556. // goto return
  82557. $async$goto = 1;
  82558. break;
  82559. }
  82560. 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))
  82561. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82562. t1 = node.text;
  82563. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  82564. $async$temp2 = A;
  82565. $async$goto = 3;
  82566. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  82567. case 3:
  82568. // returning from await.
  82569. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  82570. $async$returnValue = null;
  82571. // goto return
  82572. $async$goto = 1;
  82573. break;
  82574. case 1:
  82575. // return
  82576. return A._asyncReturn($async$returnValue, $async$completer);
  82577. }
  82578. });
  82579. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  82580. },
  82581. visitMediaRule$1(node) {
  82582. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  82583. },
  82584. visitMediaRule$body$_EvaluateVisitor0(node) {
  82585. var $async$goto = 0,
  82586. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82587. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  82588. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82589. if ($async$errorCode === 1)
  82590. return A._asyncRethrow($async$result, $async$completer);
  82591. while (true)
  82592. switch ($async$goto) {
  82593. case 0:
  82594. // Function start
  82595. if ($async$self._async_evaluate0$_declarationName != null)
  82596. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  82597. $async$goto = 3;
  82598. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  82599. case 3:
  82600. // returning from await.
  82601. queries = $async$result;
  82602. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  82603. t1 = mergedQueries == null;
  82604. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  82605. $async$returnValue = null;
  82606. // goto return
  82607. $async$goto = 1;
  82608. break;
  82609. }
  82610. if (t1)
  82611. mergedSources = B.Set_empty5;
  82612. else {
  82613. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  82614. t2.toString;
  82615. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  82616. t3 = $async$self._async_evaluate0$_mediaQueries;
  82617. t3.toString;
  82618. t2.addAll$1(0, t3);
  82619. t2.addAll$1(0, queries);
  82620. mergedSources = t2;
  82621. }
  82622. t1 = t1 ? queries : mergedQueries;
  82623. $async$goto = 4;
  82624. 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);
  82625. case 4:
  82626. // returning from await.
  82627. $async$returnValue = null;
  82628. // goto return
  82629. $async$goto = 1;
  82630. break;
  82631. case 1:
  82632. // return
  82633. return A._asyncReturn($async$returnValue, $async$completer);
  82634. }
  82635. });
  82636. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  82637. },
  82638. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  82639. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  82640. },
  82641. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  82642. var $async$goto = 0,
  82643. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  82644. $async$returnValue, $async$self = this, _0_0;
  82645. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82646. if ($async$errorCode === 1)
  82647. return A._asyncRethrow($async$result, $async$completer);
  82648. while (true)
  82649. switch ($async$goto) {
  82650. case 0:
  82651. // Function start
  82652. $async$goto = 3;
  82653. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  82654. case 3:
  82655. // returning from await.
  82656. _0_0 = $async$result;
  82657. $async$returnValue = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, $async$self._async_evaluate0$_logger);
  82658. // goto return
  82659. $async$goto = 1;
  82660. break;
  82661. case 1:
  82662. // return
  82663. return A._asyncReturn($async$returnValue, $async$completer);
  82664. }
  82665. });
  82666. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  82667. },
  82668. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  82669. var t1, t2, t3, t4, _0_0, result, t5,
  82670. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  82671. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  82672. t3 = t1.get$current(t1);
  82673. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  82674. $label0$1: {
  82675. _0_0 = t3.merge$1(t4.get$current(t4));
  82676. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  82677. continue;
  82678. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  82679. return null;
  82680. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult0) {
  82681. result = _0_0;
  82682. t5 = true;
  82683. } else {
  82684. result = null;
  82685. t5 = false;
  82686. }
  82687. if (t5)
  82688. queries.push(result.query);
  82689. break $label0$1;
  82690. }
  82691. }
  82692. return queries;
  82693. },
  82694. visitReturnRule$1(node) {
  82695. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  82696. },
  82697. visitReturnRule$body$_EvaluateVisitor0(node) {
  82698. var $async$goto = 0,
  82699. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  82700. $async$returnValue, $async$self = this, t1, t2;
  82701. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82702. if ($async$errorCode === 1)
  82703. return A._asyncRethrow($async$result, $async$completer);
  82704. while (true)
  82705. switch ($async$goto) {
  82706. case 0:
  82707. // Function start
  82708. t1 = node.expression;
  82709. t2 = t1.accept$1($async$self);
  82710. $async$goto = 3;
  82711. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  82712. case 3:
  82713. // returning from await.
  82714. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  82715. // goto return
  82716. $async$goto = 1;
  82717. break;
  82718. case 1:
  82719. // return
  82720. return A._asyncReturn($async$returnValue, $async$completer);
  82721. }
  82722. });
  82723. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  82724. },
  82725. visitSilentComment$1(node) {
  82726. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  82727. },
  82728. visitSilentComment$body$_EvaluateVisitor0(node) {
  82729. var $async$goto = 0,
  82730. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82731. $async$returnValue;
  82732. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82733. if ($async$errorCode === 1)
  82734. return A._asyncRethrow($async$result, $async$completer);
  82735. while (true)
  82736. switch ($async$goto) {
  82737. case 0:
  82738. // Function start
  82739. $async$returnValue = null;
  82740. // goto return
  82741. $async$goto = 1;
  82742. break;
  82743. case 1:
  82744. // return
  82745. return A._asyncReturn($async$returnValue, $async$completer);
  82746. }
  82747. });
  82748. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  82749. },
  82750. visitStyleRule$1(node) {
  82751. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  82752. },
  82753. visitStyleRule$body$_EvaluateVisitor0(node) {
  82754. var $async$goto = 0,
  82755. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82756. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  82757. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82758. if ($async$errorCode === 1)
  82759. return A._asyncRethrow($async$result, $async$completer);
  82760. while (true)
  82761. switch ($async$goto) {
  82762. case 0:
  82763. // Function start
  82764. if ($async$self._async_evaluate0$_declarationName != null)
  82765. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  82766. t1 = node.selector;
  82767. $async$goto = 3;
  82768. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  82769. case 3:
  82770. // returning from await.
  82771. _0_0 = $async$result;
  82772. selectorText = _0_0._0;
  82773. selectorMap = _0_0._1;
  82774. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  82775. break;
  82776. case 4:
  82777. // then
  82778. $async$goto = 6;
  82779. 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);
  82780. case 6:
  82781. // returning from await.
  82782. $async$returnValue = null;
  82783. // goto return
  82784. $async$goto = 1;
  82785. break;
  82786. case 5:
  82787. // join
  82788. 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);
  82789. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  82790. t2 = t2 == null ? null : t2.originalSelector;
  82791. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule);
  82792. 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);
  82793. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  82794. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  82795. $async$goto = 7;
  82796. 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);
  82797. case 7:
  82798. // returning from await.
  82799. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  82800. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  82801. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  82802. complex = t1[_i];
  82803. if (!complex.accept$1(B._IsBogusVisitor_true0))
  82804. continue;
  82805. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  82806. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82807. complex.accept$1(visitor);
  82808. $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);
  82809. } else if (complex.leadingCombinators.length !== 0) {
  82810. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82811. complex.accept$1(visitor);
  82812. $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);
  82813. } else {
  82814. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82815. complex.accept$1(visitor);
  82816. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  82817. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  82818. t8 = A.SpanExtensions_trimRight0(complex.span);
  82819. if (t5.get$length(0) === 0)
  82820. A.throwExpression(A.IterableElementError_noElement());
  82821. t9 = J.get$span$z(t5.$index(0, 0));
  82822. $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);
  82823. }
  82824. }
  82825. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  82826. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  82827. t1 = !t1.get$isEmpty(t1);
  82828. } else
  82829. t1 = false;
  82830. if (t1) {
  82831. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  82832. t1.get$last(t1).isGroupEnd = true;
  82833. }
  82834. $async$returnValue = null;
  82835. // goto return
  82836. $async$goto = 1;
  82837. break;
  82838. case 1:
  82839. // return
  82840. return A._asyncReturn($async$returnValue, $async$completer);
  82841. }
  82842. });
  82843. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  82844. },
  82845. visitSupportsRule$1(node) {
  82846. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  82847. },
  82848. visitSupportsRule$body$_EvaluateVisitor0(node) {
  82849. var $async$goto = 0,
  82850. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82851. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82852. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82853. if ($async$errorCode === 1)
  82854. return A._asyncRethrow($async$result, $async$completer);
  82855. while (true)
  82856. switch ($async$goto) {
  82857. case 0:
  82858. // Function start
  82859. if ($async$self._async_evaluate0$_declarationName != null)
  82860. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  82861. t1 = node.condition;
  82862. $async$temp1 = A;
  82863. $async$temp2 = A;
  82864. $async$goto = 4;
  82865. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  82866. case 4:
  82867. // returning from await.
  82868. $async$goto = 3;
  82869. 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);
  82870. case 3:
  82871. // returning from await.
  82872. $async$returnValue = null;
  82873. // goto return
  82874. $async$goto = 1;
  82875. break;
  82876. case 1:
  82877. // return
  82878. return A._asyncReturn($async$returnValue, $async$completer);
  82879. }
  82880. });
  82881. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  82882. },
  82883. _async_evaluate0$_visitSupportsCondition$1(condition) {
  82884. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  82885. },
  82886. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  82887. var $async$goto = 0,
  82888. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  82889. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  82890. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82891. if ($async$errorCode === 1)
  82892. return A._asyncRethrow($async$result, $async$completer);
  82893. while (true)
  82894. switch ($async$goto) {
  82895. case 0:
  82896. // Function start
  82897. _box_0 = {};
  82898. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  82899. break;
  82900. case 4:
  82901. // then
  82902. t1 = condition.operator;
  82903. $async$temp1 = A;
  82904. $async$goto = 6;
  82905. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  82906. case 6:
  82907. // returning from await.
  82908. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  82909. $async$temp2 = A;
  82910. $async$goto = 7;
  82911. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  82912. case 7:
  82913. // returning from await.
  82914. t1 = $async$temp1 + $async$temp2.S($async$result);
  82915. // goto break $label0$0
  82916. $async$goto = 3;
  82917. break;
  82918. case 5:
  82919. // join
  82920. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  82921. break;
  82922. case 8:
  82923. // then
  82924. $async$temp1 = A;
  82925. $async$goto = 10;
  82926. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  82927. case 10:
  82928. // returning from await.
  82929. t1 = "not " + $async$temp1.S($async$result);
  82930. // goto break $label0$0
  82931. $async$goto = 3;
  82932. break;
  82933. case 9:
  82934. // join
  82935. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  82936. break;
  82937. case 11:
  82938. // then
  82939. $async$goto = 13;
  82940. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  82941. case 13:
  82942. // returning from await.
  82943. t1 = $async$result;
  82944. // goto break $label0$0
  82945. $async$goto = 3;
  82946. break;
  82947. case 12:
  82948. // join
  82949. _box_0.declaration = null;
  82950. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  82951. break;
  82952. case 14:
  82953. // then
  82954. _box_0.declaration = condition;
  82955. $async$goto = 16;
  82956. 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);
  82957. case 16:
  82958. // returning from await.
  82959. t1 = $async$result;
  82960. // goto break $label0$0
  82961. $async$goto = 3;
  82962. break;
  82963. case 15:
  82964. // join
  82965. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  82966. break;
  82967. case 17:
  82968. // then
  82969. $async$temp1 = A;
  82970. $async$goto = 19;
  82971. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  82972. case 19:
  82973. // returning from await.
  82974. $async$temp1 = $async$temp1.S($async$result) + "(";
  82975. $async$temp2 = A;
  82976. $async$goto = 20;
  82977. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  82978. case 20:
  82979. // returning from await.
  82980. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  82981. // goto break $label0$0
  82982. $async$goto = 3;
  82983. break;
  82984. case 18:
  82985. // join
  82986. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  82987. break;
  82988. case 21:
  82989. // then
  82990. $async$temp1 = A;
  82991. $async$goto = 23;
  82992. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  82993. case 23:
  82994. // returning from await.
  82995. t1 = "(" + $async$temp1.S($async$result) + ")";
  82996. // goto break $label0$0
  82997. $async$goto = 3;
  82998. break;
  82999. case 22:
  83000. // join
  83001. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  83002. case 3:
  83003. // break $label0$0
  83004. $async$returnValue = t1;
  83005. // goto return
  83006. $async$goto = 1;
  83007. break;
  83008. case 1:
  83009. // return
  83010. return A._asyncReturn($async$returnValue, $async$completer);
  83011. }
  83012. });
  83013. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  83014. },
  83015. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  83016. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  83017. },
  83018. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  83019. var $async$goto = 0,
  83020. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  83021. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  83022. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83023. if ($async$errorCode === 1) {
  83024. $async$currentError = $async$result;
  83025. $async$goto = $async$handler;
  83026. }
  83027. while (true)
  83028. switch ($async$goto) {
  83029. case 0:
  83030. // Function start
  83031. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  83032. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  83033. $async$handler = 3;
  83034. t1 = callback.call$0();
  83035. $async$goto = 6;
  83036. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  83037. case 6:
  83038. // returning from await.
  83039. t1 = $async$result;
  83040. $async$returnValue = t1;
  83041. $async$next = [1];
  83042. // goto finally
  83043. $async$goto = 4;
  83044. break;
  83045. $async$next.push(5);
  83046. // goto finally
  83047. $async$goto = 4;
  83048. break;
  83049. case 3:
  83050. // uncaught
  83051. $async$next = [2];
  83052. case 4:
  83053. // finally
  83054. $async$handler = 2;
  83055. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83056. // goto the next finally handler
  83057. $async$goto = $async$next.pop();
  83058. break;
  83059. case 5:
  83060. // after finally
  83061. case 1:
  83062. // return
  83063. return A._asyncReturn($async$returnValue, $async$completer);
  83064. case 2:
  83065. // rethrow
  83066. return A._asyncRethrow($async$currentError, $async$completer);
  83067. }
  83068. });
  83069. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  83070. },
  83071. _async_evaluate0$_parenthesize$2(condition, operator) {
  83072. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  83073. },
  83074. _async_evaluate0$_parenthesize$1(condition) {
  83075. return this._async_evaluate0$_parenthesize$2(condition, null);
  83076. },
  83077. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  83078. var $async$goto = 0,
  83079. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  83080. $async$returnValue, $async$self = this, t1, $async$temp1;
  83081. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83082. if ($async$errorCode === 1)
  83083. return A._asyncRethrow($async$result, $async$completer);
  83084. while (true)
  83085. switch ($async$goto) {
  83086. case 0:
  83087. // Function start
  83088. if (!(condition instanceof A.SupportsNegation0))
  83089. if (condition instanceof A.SupportsOperation0)
  83090. t1 = operator == null || operator !== condition.operator;
  83091. else
  83092. t1 = false;
  83093. else
  83094. t1 = true;
  83095. $async$goto = t1 ? 3 : 4;
  83096. break;
  83097. case 3:
  83098. // then
  83099. $async$temp1 = A;
  83100. $async$goto = 5;
  83101. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83102. case 5:
  83103. // returning from await.
  83104. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  83105. // goto return
  83106. $async$goto = 1;
  83107. break;
  83108. case 4:
  83109. // join
  83110. $async$goto = 6;
  83111. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83112. case 6:
  83113. // returning from await.
  83114. $async$returnValue = $async$result;
  83115. // goto return
  83116. $async$goto = 1;
  83117. break;
  83118. case 1:
  83119. // return
  83120. return A._asyncReturn($async$returnValue, $async$completer);
  83121. }
  83122. });
  83123. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  83124. },
  83125. visitVariableDeclaration$1(node) {
  83126. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  83127. },
  83128. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  83129. var $async$goto = 0,
  83130. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83131. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  83132. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83133. if ($async$errorCode === 1)
  83134. return A._asyncRethrow($async$result, $async$completer);
  83135. while (true)
  83136. switch ($async$goto) {
  83137. case 0:
  83138. // Function start
  83139. t1 = {};
  83140. if (node.isGuarded) {
  83141. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  83142. t1.override = null;
  83143. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  83144. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  83145. if (t2 != null) {
  83146. t1.override = t2;
  83147. t2 = !t2.value.$eq(0, B.C__SassNull0);
  83148. } else
  83149. t2 = false;
  83150. if (t2) {
  83151. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  83152. $async$returnValue = null;
  83153. // goto return
  83154. $async$goto = 1;
  83155. break;
  83156. }
  83157. }
  83158. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  83159. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  83160. $async$returnValue = null;
  83161. // goto return
  83162. $async$goto = 1;
  83163. break;
  83164. }
  83165. }
  83166. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  83167. 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.";
  83168. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  83169. }
  83170. t1 = node.expression;
  83171. t2 = t1.accept$1($async$self);
  83172. $async$temp1 = node;
  83173. $async$temp2 = A;
  83174. $async$temp3 = node;
  83175. $async$goto = 3;
  83176. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  83177. case 3:
  83178. // returning from await.
  83179. $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)));
  83180. $async$returnValue = null;
  83181. // goto return
  83182. $async$goto = 1;
  83183. break;
  83184. case 1:
  83185. // return
  83186. return A._asyncReturn($async$returnValue, $async$completer);
  83187. }
  83188. });
  83189. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  83190. },
  83191. visitUseRule$1(node) {
  83192. return this.visitUseRule$body$_EvaluateVisitor0(node);
  83193. },
  83194. visitUseRule$body$_EvaluateVisitor0(node) {
  83195. var $async$goto = 0,
  83196. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83197. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  83198. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83199. if ($async$errorCode === 1)
  83200. return A._asyncRethrow($async$result, $async$completer);
  83201. while (true)
  83202. switch ($async$goto) {
  83203. case 0:
  83204. // Function start
  83205. t1 = node.configuration;
  83206. t2 = t1.length;
  83207. $async$goto = t2 !== 0 ? 3 : 5;
  83208. break;
  83209. case 3:
  83210. // then
  83211. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  83212. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  83213. case 6:
  83214. // for condition
  83215. if (!(_i < t2)) {
  83216. // goto after for
  83217. $async$goto = 8;
  83218. break;
  83219. }
  83220. variable = t1[_i];
  83221. t5 = variable.expression;
  83222. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  83223. t6 = variable.name;
  83224. t5 = t5.accept$1($async$self);
  83225. if (!t4._is(t5)) {
  83226. t7 = new A._Future($.Zone__current, t3);
  83227. t7._state = 8;
  83228. t7._resultOrListeners = t5;
  83229. t5 = t7;
  83230. }
  83231. $async$temp1 = values;
  83232. $async$temp2 = t6;
  83233. $async$temp3 = A;
  83234. $async$goto = 9;
  83235. return A._asyncAwait(t5, $async$visitUseRule$1);
  83236. case 9:
  83237. // returning from await.
  83238. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83239. case 7:
  83240. // for update
  83241. ++_i;
  83242. // goto for condition
  83243. $async$goto = 6;
  83244. break;
  83245. case 8:
  83246. // after for
  83247. configuration = new A.ExplicitConfiguration0(node, values, null);
  83248. // goto join
  83249. $async$goto = 4;
  83250. break;
  83251. case 5:
  83252. // else
  83253. configuration = B.Configuration_Map_empty_null0;
  83254. case 4:
  83255. // join
  83256. $async$goto = 10;
  83257. 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);
  83258. case 10:
  83259. // returning from await.
  83260. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  83261. $async$returnValue = null;
  83262. // goto return
  83263. $async$goto = 1;
  83264. break;
  83265. case 1:
  83266. // return
  83267. return A._asyncReturn($async$returnValue, $async$completer);
  83268. }
  83269. });
  83270. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  83271. },
  83272. visitWarnRule$1(node) {
  83273. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  83274. },
  83275. visitWarnRule$body$_EvaluateVisitor0(node) {
  83276. var $async$goto = 0,
  83277. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83278. $async$returnValue, $async$self = this, value, t1;
  83279. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83280. if ($async$errorCode === 1)
  83281. return A._asyncRethrow($async$result, $async$completer);
  83282. while (true)
  83283. switch ($async$goto) {
  83284. case 0:
  83285. // Function start
  83286. $async$goto = 3;
  83287. 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);
  83288. case 3:
  83289. // returning from await.
  83290. value = $async$result;
  83291. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  83292. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  83293. $async$returnValue = null;
  83294. // goto return
  83295. $async$goto = 1;
  83296. break;
  83297. case 1:
  83298. // return
  83299. return A._asyncReturn($async$returnValue, $async$completer);
  83300. }
  83301. });
  83302. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  83303. },
  83304. visitWhileRule$1(node) {
  83305. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83306. },
  83307. visitBinaryOperationExpression$1(node) {
  83308. var t1, _this = this;
  83309. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83310. t1 = node.operator;
  83311. t1 = t1 !== B.BinaryOperator_2jN0 && t1 !== B.BinaryOperator_t8B0;
  83312. } else
  83313. t1 = false;
  83314. if (t1)
  83315. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  83316. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  83317. },
  83318. _async_evaluate0$_slash$3(left, right, node) {
  83319. var t1, right0, _1_2, _1_1, _1_2_isSet, _null = null,
  83320. result = left.dividedBy$1(right);
  83321. if (left instanceof A.SassNumber0) {
  83322. t1 = type$.SassNumber_2;
  83323. t1._as(left);
  83324. if (right instanceof A.SassNumber0) {
  83325. t1._as(right);
  83326. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  83327. right0 = right;
  83328. _1_2 = right0;
  83329. } else {
  83330. right0 = _null;
  83331. _1_2 = right;
  83332. t1 = false;
  83333. }
  83334. _1_1 = left;
  83335. _1_2_isSet = true;
  83336. } else {
  83337. right0 = _null;
  83338. _1_2 = right0;
  83339. _1_1 = left;
  83340. left = _1_2;
  83341. _1_2_isSet = false;
  83342. t1 = false;
  83343. }
  83344. if (t1)
  83345. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  83346. if (_1_1 instanceof A.SassNumber0)
  83347. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  83348. else
  83349. t1 = false;
  83350. if (t1) {
  83351. 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(0), B.Deprecation_wWh);
  83352. return result;
  83353. }
  83354. return result;
  83355. },
  83356. _async_evaluate0$_operandAllowsSlash$1(node) {
  83357. var t1, t2;
  83358. if (node instanceof A.FunctionExpression0)
  83359. if (node.namespace == null) {
  83360. t1 = node.originalName;
  83361. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  83362. t2 = this._async_evaluate0$_environment;
  83363. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  83364. } else
  83365. t1 = false;
  83366. } else
  83367. t1 = false;
  83368. else
  83369. t1 = true;
  83370. return t1;
  83371. },
  83372. visitValueExpression$1(node) {
  83373. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  83374. },
  83375. visitValueExpression$body$_EvaluateVisitor0(node) {
  83376. var $async$goto = 0,
  83377. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83378. $async$returnValue;
  83379. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83380. if ($async$errorCode === 1)
  83381. return A._asyncRethrow($async$result, $async$completer);
  83382. while (true)
  83383. switch ($async$goto) {
  83384. case 0:
  83385. // Function start
  83386. $async$returnValue = node.value;
  83387. // goto return
  83388. $async$goto = 1;
  83389. break;
  83390. case 1:
  83391. // return
  83392. return A._asyncReturn($async$returnValue, $async$completer);
  83393. }
  83394. });
  83395. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  83396. },
  83397. visitVariableExpression$1(node) {
  83398. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  83399. },
  83400. visitVariableExpression$body$_EvaluateVisitor0(node) {
  83401. var $async$goto = 0,
  83402. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83403. $async$returnValue, $async$self = this, result;
  83404. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83405. if ($async$errorCode === 1)
  83406. return A._asyncRethrow($async$result, $async$completer);
  83407. while (true)
  83408. switch ($async$goto) {
  83409. case 0:
  83410. // Function start
  83411. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  83412. if (result != null) {
  83413. $async$returnValue = result;
  83414. // goto return
  83415. $async$goto = 1;
  83416. break;
  83417. }
  83418. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  83419. case 1:
  83420. // return
  83421. return A._asyncReturn($async$returnValue, $async$completer);
  83422. }
  83423. });
  83424. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  83425. },
  83426. visitUnaryOperationExpression$1(node) {
  83427. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  83428. },
  83429. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  83430. var $async$goto = 0,
  83431. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83432. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  83433. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83434. if ($async$errorCode === 1)
  83435. return A._asyncRethrow($async$result, $async$completer);
  83436. while (true)
  83437. switch ($async$goto) {
  83438. case 0:
  83439. // Function start
  83440. $async$temp1 = node;
  83441. $async$temp2 = A;
  83442. $async$temp3 = node;
  83443. $async$goto = 3;
  83444. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  83445. case 3:
  83446. // returning from await.
  83447. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  83448. // goto return
  83449. $async$goto = 1;
  83450. break;
  83451. case 1:
  83452. // return
  83453. return A._asyncReturn($async$returnValue, $async$completer);
  83454. }
  83455. });
  83456. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  83457. },
  83458. visitBooleanExpression$1(node) {
  83459. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  83460. },
  83461. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  83462. var $async$goto = 0,
  83463. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  83464. $async$returnValue;
  83465. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83466. if ($async$errorCode === 1)
  83467. return A._asyncRethrow($async$result, $async$completer);
  83468. while (true)
  83469. switch ($async$goto) {
  83470. case 0:
  83471. // Function start
  83472. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83473. // goto return
  83474. $async$goto = 1;
  83475. break;
  83476. case 1:
  83477. // return
  83478. return A._asyncReturn($async$returnValue, $async$completer);
  83479. }
  83480. });
  83481. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  83482. },
  83483. visitIfExpression$1(node) {
  83484. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  83485. },
  83486. visitIfExpression$body$_EvaluateVisitor0(node) {
  83487. var $async$goto = 0,
  83488. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83489. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  83490. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83491. if ($async$errorCode === 1)
  83492. return A._asyncRethrow($async$result, $async$completer);
  83493. while (true)
  83494. switch ($async$goto) {
  83495. case 0:
  83496. // Function start
  83497. $async$goto = 3;
  83498. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  83499. case 3:
  83500. // returning from await.
  83501. _0_0 = $async$result;
  83502. positional = _0_0._0;
  83503. named = _0_0._1;
  83504. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  83505. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  83506. if (condition == null) {
  83507. t1 = named.$index(0, "condition");
  83508. t1.toString;
  83509. condition = t1;
  83510. }
  83511. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  83512. if (ifTrue == null) {
  83513. t1 = named.$index(0, "if-true");
  83514. t1.toString;
  83515. ifTrue = t1;
  83516. }
  83517. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  83518. if (ifFalse == null) {
  83519. t1 = named.$index(0, "if-false");
  83520. t1.toString;
  83521. ifFalse = t1;
  83522. }
  83523. $async$goto = 4;
  83524. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  83525. case 4:
  83526. // returning from await.
  83527. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  83528. t1 = result.accept$1($async$self);
  83529. $async$goto = 5;
  83530. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  83531. case 5:
  83532. // returning from await.
  83533. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  83534. // goto return
  83535. $async$goto = 1;
  83536. break;
  83537. case 1:
  83538. // return
  83539. return A._asyncReturn($async$returnValue, $async$completer);
  83540. }
  83541. });
  83542. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  83543. },
  83544. visitNullExpression$1(node) {
  83545. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  83546. },
  83547. visitNullExpression$body$_EvaluateVisitor0(node) {
  83548. var $async$goto = 0,
  83549. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83550. $async$returnValue;
  83551. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83552. if ($async$errorCode === 1)
  83553. return A._asyncRethrow($async$result, $async$completer);
  83554. while (true)
  83555. switch ($async$goto) {
  83556. case 0:
  83557. // Function start
  83558. $async$returnValue = B.C__SassNull0;
  83559. // goto return
  83560. $async$goto = 1;
  83561. break;
  83562. case 1:
  83563. // return
  83564. return A._asyncReturn($async$returnValue, $async$completer);
  83565. }
  83566. });
  83567. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  83568. },
  83569. visitNumberExpression$1(node) {
  83570. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  83571. },
  83572. visitNumberExpression$body$_EvaluateVisitor0(node) {
  83573. var $async$goto = 0,
  83574. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  83575. $async$returnValue;
  83576. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83577. if ($async$errorCode === 1)
  83578. return A._asyncRethrow($async$result, $async$completer);
  83579. while (true)
  83580. switch ($async$goto) {
  83581. case 0:
  83582. // Function start
  83583. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  83584. // goto return
  83585. $async$goto = 1;
  83586. break;
  83587. case 1:
  83588. // return
  83589. return A._asyncReturn($async$returnValue, $async$completer);
  83590. }
  83591. });
  83592. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  83593. },
  83594. visitParenthesizedExpression$1(node) {
  83595. var _this = this;
  83596. 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);
  83597. },
  83598. visitColorExpression$1(node) {
  83599. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  83600. },
  83601. visitColorExpression$body$_EvaluateVisitor0(node) {
  83602. var $async$goto = 0,
  83603. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  83604. $async$returnValue;
  83605. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83606. if ($async$errorCode === 1)
  83607. return A._asyncRethrow($async$result, $async$completer);
  83608. while (true)
  83609. switch ($async$goto) {
  83610. case 0:
  83611. // Function start
  83612. $async$returnValue = node.value;
  83613. // goto return
  83614. $async$goto = 1;
  83615. break;
  83616. case 1:
  83617. // return
  83618. return A._asyncReturn($async$returnValue, $async$completer);
  83619. }
  83620. });
  83621. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  83622. },
  83623. visitListExpression$1(node) {
  83624. return this.visitListExpression$body$_EvaluateVisitor0(node);
  83625. },
  83626. visitListExpression$body$_EvaluateVisitor0(node) {
  83627. var $async$goto = 0,
  83628. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  83629. $async$returnValue, $async$self = this, $async$temp1;
  83630. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83631. if ($async$errorCode === 1)
  83632. return A._asyncRethrow($async$result, $async$completer);
  83633. while (true)
  83634. switch ($async$goto) {
  83635. case 0:
  83636. // Function start
  83637. $async$temp1 = A;
  83638. $async$goto = 3;
  83639. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  83640. case 3:
  83641. // returning from await.
  83642. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  83643. // goto return
  83644. $async$goto = 1;
  83645. break;
  83646. case 1:
  83647. // return
  83648. return A._asyncReturn($async$returnValue, $async$completer);
  83649. }
  83650. });
  83651. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  83652. },
  83653. visitMapExpression$1(node) {
  83654. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  83655. },
  83656. visitMapExpression$body$_EvaluateVisitor0(node) {
  83657. var $async$goto = 0,
  83658. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  83659. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  83660. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83661. if ($async$errorCode === 1)
  83662. return A._asyncRethrow($async$result, $async$completer);
  83663. while (true)
  83664. switch ($async$goto) {
  83665. case 0:
  83666. // Function start
  83667. t1 = type$.Value_2;
  83668. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  83669. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83670. t2 = node.pairs, t3 = t2.length, _i = 0;
  83671. case 3:
  83672. // for condition
  83673. if (!(_i < t3)) {
  83674. // goto after for
  83675. $async$goto = 5;
  83676. break;
  83677. }
  83678. t4 = t2[_i];
  83679. key = t4._0;
  83680. value = t4._1;
  83681. $async$goto = 6;
  83682. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  83683. case 6:
  83684. // returning from await.
  83685. keyValue = $async$result;
  83686. $async$goto = 7;
  83687. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  83688. case 7:
  83689. // returning from await.
  83690. valueValue = $async$result;
  83691. if (map.containsKey$1(keyValue)) {
  83692. t1 = keyNodes.$index(0, keyValue);
  83693. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  83694. t1 = key.get$span(key);
  83695. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  83696. if (oldValueSpan != null)
  83697. t2.$indexSet(0, oldValueSpan, "first key");
  83698. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  83699. }
  83700. map.$indexSet(0, keyValue, valueValue);
  83701. keyNodes.$indexSet(0, keyValue, key);
  83702. case 4:
  83703. // for update
  83704. ++_i;
  83705. // goto for condition
  83706. $async$goto = 3;
  83707. break;
  83708. case 5:
  83709. // after for
  83710. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  83711. // goto return
  83712. $async$goto = 1;
  83713. break;
  83714. case 1:
  83715. // return
  83716. return A._asyncReturn($async$returnValue, $async$completer);
  83717. }
  83718. });
  83719. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  83720. },
  83721. visitFunctionExpression$1(node) {
  83722. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  83723. },
  83724. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  83725. var $async$goto = 0,
  83726. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83727. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  83728. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83729. if ($async$errorCode === 1)
  83730. return A._asyncRethrow($async$result, $async$completer);
  83731. while (true)
  83732. switch ($async$goto) {
  83733. case 0:
  83734. // Function start
  83735. t1 = {};
  83736. $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));
  83737. t1.$function = $function;
  83738. $async$goto = $function == null ? 3 : 4;
  83739. break;
  83740. case 3:
  83741. // then
  83742. if (node.namespace != null)
  83743. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  83744. t2 = node.originalName;
  83745. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  83746. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  83747. t3 = node.$arguments;
  83748. t4 = t3.named;
  83749. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  83750. } else
  83751. t3 = false;
  83752. $async$goto = t3 ? 5 : 6;
  83753. break;
  83754. case 5:
  83755. // then
  83756. $async$goto = 7;
  83757. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  83758. case 7:
  83759. // returning from await.
  83760. $async$returnValue = $async$result;
  83761. // goto return
  83762. $async$goto = 1;
  83763. break;
  83764. case 6:
  83765. // join
  83766. $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;
  83767. break;
  83768. case 8:
  83769. // then
  83770. $async$goto = 10;
  83771. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  83772. case 10:
  83773. // returning from await.
  83774. $async$returnValue = $async$result;
  83775. // goto return
  83776. $async$goto = 1;
  83777. break;
  83778. case 9:
  83779. // join
  83780. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  83781. $function = null;
  83782. else {
  83783. t3 = $async$self._async_evaluate0$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  83784. $function = t3;
  83785. }
  83786. t1.$function = $function == null ? new A.PlainCssCallable0(t2) : $function;
  83787. case 4:
  83788. // join
  83789. oldInFunction = $async$self._async_evaluate0$_inFunction;
  83790. $async$self._async_evaluate0$_inFunction = true;
  83791. $async$goto = 11;
  83792. 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);
  83793. case 11:
  83794. // returning from await.
  83795. result = $async$result;
  83796. $async$self._async_evaluate0$_inFunction = oldInFunction;
  83797. $async$returnValue = result;
  83798. // goto return
  83799. $async$goto = 1;
  83800. break;
  83801. case 1:
  83802. // return
  83803. return A._asyncReturn($async$returnValue, $async$completer);
  83804. }
  83805. });
  83806. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  83807. },
  83808. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  83809. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  83810. },
  83811. _async_evaluate0$_visitCalculation$1(node) {
  83812. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  83813. },
  83814. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  83815. var $async$goto = 0,
  83816. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83817. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  83818. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83819. if ($async$errorCode === 1)
  83820. return A._asyncRethrow($async$result, $async$completer);
  83821. while (true)
  83822. switch ($async$goto) {
  83823. case 0:
  83824. // Function start
  83825. t2 = node.$arguments;
  83826. t3 = t2.named;
  83827. if (t3.get$isNotEmpty(t3))
  83828. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  83829. else if (t2.rest != null)
  83830. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  83831. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  83832. t3 = A._setArrayType([], type$.JSArray_Object);
  83833. t2 = t2.positional, t4 = t2.length, _i = 0;
  83834. case 3:
  83835. // for condition
  83836. if (!(_i < t4)) {
  83837. // goto after for
  83838. $async$goto = 5;
  83839. break;
  83840. }
  83841. $async$temp1 = t3;
  83842. $async$goto = 6;
  83843. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  83844. case 6:
  83845. // returning from await.
  83846. $async$temp1.push($async$result);
  83847. case 4:
  83848. // for update
  83849. ++_i;
  83850. // goto for condition
  83851. $async$goto = 3;
  83852. break;
  83853. case 5:
  83854. // after for
  83855. $arguments = t3;
  83856. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  83857. $async$returnValue = new A.SassCalculation0(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  83858. // goto return
  83859. $async$goto = 1;
  83860. break;
  83861. }
  83862. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  83863. $async$self._async_evaluate0$_callableNode = node;
  83864. try {
  83865. t1 = null;
  83866. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  83867. $label0$0: {
  83868. if ("calc" === _0_0) {
  83869. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  83870. break $label0$0;
  83871. }
  83872. if ("sqrt" === _0_0) {
  83873. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  83874. break $label0$0;
  83875. }
  83876. if ("sin" === _0_0) {
  83877. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  83878. break $label0$0;
  83879. }
  83880. if ("cos" === _0_0) {
  83881. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  83882. break $label0$0;
  83883. }
  83884. if ("tan" === _0_0) {
  83885. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  83886. break $label0$0;
  83887. }
  83888. if ("asin" === _0_0) {
  83889. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  83890. break $label0$0;
  83891. }
  83892. if ("acos" === _0_0) {
  83893. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  83894. break $label0$0;
  83895. }
  83896. if ("atan" === _0_0) {
  83897. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  83898. break $label0$0;
  83899. }
  83900. if ("abs" === _0_0) {
  83901. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  83902. break $label0$0;
  83903. }
  83904. if ("exp" === _0_0) {
  83905. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  83906. break $label0$0;
  83907. }
  83908. if ("sign" === _0_0) {
  83909. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  83910. break $label0$0;
  83911. }
  83912. if ("min" === _0_0) {
  83913. t1 = A.SassCalculation_min0($arguments);
  83914. break $label0$0;
  83915. }
  83916. if ("max" === _0_0) {
  83917. t1 = A.SassCalculation_max0($arguments);
  83918. break $label0$0;
  83919. }
  83920. if ("hypot" === _0_0) {
  83921. t1 = A.SassCalculation_hypot0($arguments);
  83922. break $label0$0;
  83923. }
  83924. if ("pow" === _0_0) {
  83925. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83926. break $label0$0;
  83927. }
  83928. if ("atan2" === _0_0) {
  83929. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83930. break $label0$0;
  83931. }
  83932. if ("log" === _0_0) {
  83933. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83934. break $label0$0;
  83935. }
  83936. if ("mod" === _0_0) {
  83937. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83938. break $label0$0;
  83939. }
  83940. if ("rem" === _0_0) {
  83941. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83942. break $label0$0;
  83943. }
  83944. if ("round" === _0_0) {
  83945. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  83946. break $label0$0;
  83947. }
  83948. if ("clamp" === _0_0) {
  83949. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  83950. break $label0$0;
  83951. }
  83952. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".');
  83953. t1 = A.throwExpression(t3);
  83954. }
  83955. t1 = t1;
  83956. $async$returnValue = t1;
  83957. // goto return
  83958. $async$goto = 1;
  83959. break;
  83960. } catch (exception) {
  83961. t1 = A.unwrapException(exception);
  83962. if (t1 instanceof A.SassScriptException0) {
  83963. error = t1;
  83964. stackTrace = A.getTraceFromException(exception);
  83965. if (B.JSString_methods.contains$1(error.message, "compatible"))
  83966. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  83967. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  83968. } else
  83969. throw exception;
  83970. } finally {
  83971. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  83972. }
  83973. case 1:
  83974. // return
  83975. return A._asyncReturn($async$returnValue, $async$completer);
  83976. }
  83977. });
  83978. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  83979. },
  83980. _async_evaluate0$_checkCalculationArguments$1(node) {
  83981. var _0_0,
  83982. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  83983. $label0$0: {
  83984. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  83985. 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) {
  83986. check.call$1(1);
  83987. break $label0$0;
  83988. }
  83989. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  83990. check.call$0();
  83991. break $label0$0;
  83992. }
  83993. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  83994. check.call$1(2);
  83995. break $label0$0;
  83996. }
  83997. if ("round" === _0_0 || "clamp" === _0_0) {
  83998. check.call$1(3);
  83999. break $label0$0;
  84000. }
  84001. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".'));
  84002. }
  84003. },
  84004. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  84005. var i, t1, _0_0, arg, number1, j, number2;
  84006. for (i = 0; t1 = args.length, i < t1; ++i) {
  84007. _0_0 = args[i];
  84008. if (_0_0 instanceof A.SassNumber0) {
  84009. t1 = _0_0.get$hasComplexUnits();
  84010. arg = _0_0;
  84011. } else {
  84012. arg = null;
  84013. t1 = false;
  84014. }
  84015. if (t1)
  84016. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  84017. }
  84018. for (i = 0; i < t1 - 1; ++i) {
  84019. number1 = args[i];
  84020. if (!(number1 instanceof A.SassNumber0))
  84021. continue;
  84022. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  84023. number2 = args[j];
  84024. if (!(number2 instanceof A.SassNumber0))
  84025. continue;
  84026. if (number1.hasPossiblyCompatibleUnits$1(number2))
  84027. continue;
  84028. 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));
  84029. }
  84030. }
  84031. },
  84032. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  84033. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  84034. },
  84035. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  84036. var $async$goto = 0,
  84037. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  84038. $async$returnValue, $async$self = this, inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _box_0, $async$temp1;
  84039. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84040. if ($async$errorCode === 1)
  84041. return A._asyncRethrow($async$result, $async$completer);
  84042. while (true)
  84043. switch ($async$goto) {
  84044. case 0:
  84045. // Function start
  84046. _box_0 = {};
  84047. if (node instanceof A.ParenthesizedExpression0) {
  84048. inner = node.expression;
  84049. t1 = true;
  84050. } else {
  84051. inner = null;
  84052. t1 = false;
  84053. }
  84054. $async$goto = t1 ? 3 : 4;
  84055. break;
  84056. case 3:
  84057. // then
  84058. $async$goto = 5;
  84059. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84060. case 5:
  84061. // returning from await.
  84062. result = $async$result;
  84063. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  84064. // goto return
  84065. $async$goto = 1;
  84066. break;
  84067. case 4:
  84068. // join
  84069. $async$goto = node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0()) ? 6 : 7;
  84070. break;
  84071. case 6:
  84072. // then
  84073. t1 = node.text;
  84074. t2 = t1.get$asPlain();
  84075. _0_0 = t2 == null ? null : t2.toLowerCase();
  84076. if ("pi" === _0_0) {
  84077. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  84078. // goto break $label0$0
  84079. $async$goto = 8;
  84080. break;
  84081. }
  84082. if ("e" === _0_0) {
  84083. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  84084. // goto break $label0$0
  84085. $async$goto = 8;
  84086. break;
  84087. }
  84088. if ("infinity" === _0_0) {
  84089. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  84090. // goto break $label0$0
  84091. $async$goto = 8;
  84092. break;
  84093. }
  84094. if ("-infinity" === _0_0) {
  84095. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  84096. // goto break $label0$0
  84097. $async$goto = 8;
  84098. break;
  84099. }
  84100. if ("nan" === _0_0) {
  84101. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  84102. // goto break $label0$0
  84103. $async$goto = 8;
  84104. break;
  84105. }
  84106. $async$temp1 = A;
  84107. $async$goto = 9;
  84108. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84109. case 9:
  84110. // returning from await.
  84111. t1 = new $async$temp1.SassString0($async$result, false);
  84112. // goto break $label0$0
  84113. $async$goto = 8;
  84114. break;
  84115. case 8:
  84116. // break $label0$0
  84117. $async$returnValue = t1;
  84118. // goto return
  84119. $async$goto = 1;
  84120. break;
  84121. case 7:
  84122. // join
  84123. _box_0.right = _box_0.left = _box_0.operator = null;
  84124. if (node instanceof A.BinaryOperationExpression0) {
  84125. _box_0.operator = node.operator;
  84126. _box_0.left = node.left;
  84127. _box_0.right = node.right;
  84128. t1 = true;
  84129. } else
  84130. t1 = false;
  84131. $async$goto = t1 ? 10 : 11;
  84132. break;
  84133. case 10:
  84134. // then
  84135. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  84136. $async$goto = 12;
  84137. 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);
  84138. case 12:
  84139. // returning from await.
  84140. $async$returnValue = $async$result;
  84141. // goto return
  84142. $async$goto = 1;
  84143. break;
  84144. case 11:
  84145. // join
  84146. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  84147. break;
  84148. case 13:
  84149. // then
  84150. $async$goto = 15;
  84151. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84152. case 15:
  84153. // returning from await.
  84154. _1_0 = $async$result;
  84155. $label1$1: {
  84156. if (_1_0 instanceof A.SassNumber0) {
  84157. t1 = _1_0;
  84158. break $label1$1;
  84159. }
  84160. if (_1_0 instanceof A.SassCalculation0) {
  84161. t1 = _1_0;
  84162. break $label1$1;
  84163. }
  84164. if (_1_0 instanceof A.SassString0) {
  84165. t1 = !_1_0._string0$_hasQuotes;
  84166. result = _1_0;
  84167. } else {
  84168. result = null;
  84169. t1 = false;
  84170. }
  84171. if (t1) {
  84172. t1 = result;
  84173. break $label1$1;
  84174. }
  84175. 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)));
  84176. }
  84177. $async$returnValue = t1;
  84178. // goto return
  84179. $async$goto = 1;
  84180. break;
  84181. case 14:
  84182. // join
  84183. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_EVt0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  84184. break;
  84185. case 16:
  84186. // then
  84187. t1 = A._setArrayType([], type$.JSArray_Object);
  84188. t2 = node.contents, t3 = t2.length, _i = 0;
  84189. case 18:
  84190. // for condition
  84191. if (!(_i < t3)) {
  84192. // goto after for
  84193. $async$goto = 20;
  84194. break;
  84195. }
  84196. $async$temp1 = t1;
  84197. $async$goto = 21;
  84198. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84199. case 21:
  84200. // returning from await.
  84201. $async$temp1.push($async$result);
  84202. case 19:
  84203. // for update
  84204. ++_i;
  84205. // goto for condition
  84206. $async$goto = 18;
  84207. break;
  84208. case 20:
  84209. // after for
  84210. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  84211. for (i = 0; i < t1.length; ++i) {
  84212. t3 = t1[i];
  84213. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  84214. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  84215. }
  84216. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  84217. // goto return
  84218. $async$goto = 1;
  84219. break;
  84220. case 17:
  84221. // join
  84222. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  84223. case 1:
  84224. // return
  84225. return A._asyncReturn($async$returnValue, $async$completer);
  84226. }
  84227. });
  84228. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  84229. },
  84230. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  84231. var t2, t3, t4, textBetweenOperands, first, last,
  84232. t1 = node.operator;
  84233. if (t1 !== B.BinaryOperator_anB0 && t1 !== B.BinaryOperator_olz0)
  84234. return;
  84235. t1 = node.left;
  84236. t2 = t1.get$span(t1);
  84237. t2 = t2.get$file(t2);
  84238. t3 = node.right;
  84239. t4 = t3.get$span(t3);
  84240. if (t2 !== t4.get$file(t4))
  84241. return;
  84242. t2 = t1.get$span(t1);
  84243. t2 = t2.get$end(t2);
  84244. t4 = t3.get$span(t3);
  84245. if (t2.offset >= t4.get$start(t4).offset)
  84246. return;
  84247. t2 = t1.get$span(t1);
  84248. t2 = t2.get$file(t2);
  84249. t1 = t1.get$span(t1);
  84250. t1 = t1.get$end(t1);
  84251. t3 = t3.get$span(t3);
  84252. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  84253. first = textBetweenOperands.charCodeAt(0);
  84254. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  84255. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  84256. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  84257. else
  84258. t1 = true;
  84259. if (t1)
  84260. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  84261. },
  84262. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  84263. var t1;
  84264. $label0$0: {
  84265. if (B.BinaryOperator_anB0 === operator) {
  84266. t1 = B.CalculationOperator_IyK0;
  84267. break $label0$0;
  84268. }
  84269. if (B.BinaryOperator_olz0 === operator) {
  84270. t1 = B.CalculationOperator_2bx0;
  84271. break $label0$0;
  84272. }
  84273. if (B.BinaryOperator_qN20 === operator) {
  84274. t1 = B.CalculationOperator_jFr0;
  84275. break $label0$0;
  84276. }
  84277. if (B.BinaryOperator_t8B0 === operator) {
  84278. t1 = B.CalculationOperator_OvN0;
  84279. break $label0$0;
  84280. }
  84281. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  84282. }
  84283. return t1;
  84284. },
  84285. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  84286. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  84287. for (t1 = elements.length, i = 1; i < t1; ++i) {
  84288. t2 = i - 1;
  84289. previous = elements[t2];
  84290. current = elements[i];
  84291. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  84292. continue;
  84293. t1 = node.contents;
  84294. previousNode = t1[t2];
  84295. currentNode = t1[i];
  84296. if (currentNode instanceof A.UnaryOperationExpression0) {
  84297. _0_2 = currentNode.operator;
  84298. if (B.UnaryOperator_TLI0 !== _0_2)
  84299. t1 = B.UnaryOperator_gg40 === _0_2;
  84300. else
  84301. t1 = true;
  84302. } else
  84303. t1 = false;
  84304. if (!t1)
  84305. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  84306. else
  84307. t1 = true;
  84308. if (t1)
  84309. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  84310. else
  84311. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  84312. }
  84313. },
  84314. visitInterpolatedFunctionExpression$1(node) {
  84315. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  84316. },
  84317. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  84318. var $async$goto = 0,
  84319. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84320. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  84321. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84322. if ($async$errorCode === 1)
  84323. return A._asyncRethrow($async$result, $async$completer);
  84324. while (true)
  84325. switch ($async$goto) {
  84326. case 0:
  84327. // Function start
  84328. $async$goto = 3;
  84329. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  84330. case 3:
  84331. // returning from await.
  84332. t1 = $async$result;
  84333. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84334. $async$self._async_evaluate0$_inFunction = true;
  84335. $async$goto = 4;
  84336. 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);
  84337. case 4:
  84338. // returning from await.
  84339. result = $async$result;
  84340. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84341. $async$returnValue = result;
  84342. // goto return
  84343. $async$goto = 1;
  84344. break;
  84345. case 1:
  84346. // return
  84347. return A._asyncReturn($async$returnValue, $async$completer);
  84348. }
  84349. });
  84350. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  84351. },
  84352. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  84353. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  84354. },
  84355. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  84356. var $async$goto = 0,
  84357. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  84358. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  84359. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84360. if ($async$errorCode === 1)
  84361. return A._asyncRethrow($async$result, $async$completer);
  84362. while (true)
  84363. switch ($async$goto) {
  84364. case 0:
  84365. // Function start
  84366. $async$goto = 3;
  84367. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  84368. case 3:
  84369. // returning from await.
  84370. evaluated = $async$result;
  84371. $name = callable.declaration.name;
  84372. if ($name !== "@content")
  84373. $name += "()";
  84374. oldCallable = $async$self._async_evaluate0$_currentCallable;
  84375. $async$self._async_evaluate0$_currentCallable = callable;
  84376. $async$goto = 4;
  84377. 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);
  84378. case 4:
  84379. // returning from await.
  84380. result = $async$result;
  84381. $async$self._async_evaluate0$_currentCallable = oldCallable;
  84382. $async$returnValue = result;
  84383. // goto return
  84384. $async$goto = 1;
  84385. break;
  84386. case 1:
  84387. // return
  84388. return A._asyncReturn($async$returnValue, $async$completer);
  84389. }
  84390. });
  84391. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  84392. },
  84393. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  84394. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84395. },
  84396. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84397. var $async$goto = 0,
  84398. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84399. $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;
  84400. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84401. if ($async$errorCode === 1) {
  84402. $async$currentError = $async$result;
  84403. $async$goto = $async$handler;
  84404. }
  84405. while (true)
  84406. switch ($async$goto) {
  84407. case 0:
  84408. // Function start
  84409. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  84410. break;
  84411. case 3:
  84412. // then
  84413. $async$goto = 6;
  84414. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  84415. case 6:
  84416. // returning from await.
  84417. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  84418. // goto return
  84419. $async$goto = 1;
  84420. break;
  84421. // goto join
  84422. $async$goto = 4;
  84423. break;
  84424. case 5:
  84425. // else
  84426. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  84427. break;
  84428. case 7:
  84429. // then
  84430. $async$goto = 10;
  84431. 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);
  84432. case 10:
  84433. // returning from await.
  84434. $async$returnValue = $async$result;
  84435. // goto return
  84436. $async$goto = 1;
  84437. break;
  84438. // goto join
  84439. $async$goto = 8;
  84440. break;
  84441. case 9:
  84442. // else
  84443. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  84444. break;
  84445. case 11:
  84446. // then
  84447. t1 = $arguments.named;
  84448. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  84449. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  84450. buffer = new A.StringBuffer(callable.name + "(");
  84451. $async$handler = 15;
  84452. first = true;
  84453. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  84454. case 18:
  84455. // for condition
  84456. if (!(_i < t2)) {
  84457. // goto after for
  84458. $async$goto = 20;
  84459. break;
  84460. }
  84461. argument = t1[_i];
  84462. if (first)
  84463. first = false;
  84464. else
  84465. buffer._contents += ", ";
  84466. $async$temp1 = buffer;
  84467. $async$temp2 = A;
  84468. $async$goto = 21;
  84469. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  84470. case 21:
  84471. // returning from await.
  84472. $async$temp1._contents += $async$temp2.S($async$result);
  84473. case 19:
  84474. // for update
  84475. ++_i;
  84476. // goto for condition
  84477. $async$goto = 18;
  84478. break;
  84479. case 20:
  84480. // after for
  84481. restArg = $arguments.rest;
  84482. $async$goto = restArg != null ? 22 : 23;
  84483. break;
  84484. case 22:
  84485. // then
  84486. $async$goto = 24;
  84487. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  84488. case 24:
  84489. // returning from await.
  84490. rest = $async$result;
  84491. if (!first)
  84492. buffer._contents += ", ";
  84493. buffer._contents += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  84494. case 23:
  84495. // join
  84496. $async$handler = 2;
  84497. // goto after finally
  84498. $async$goto = 17;
  84499. break;
  84500. case 15:
  84501. // catch
  84502. $async$handler = 14;
  84503. $async$exception = $async$currentError;
  84504. t1 = A.unwrapException($async$exception);
  84505. if (type$.SassRuntimeException_2._is(t1)) {
  84506. error = t1;
  84507. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  84508. throw $async$exception;
  84509. 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));
  84510. } else
  84511. throw $async$exception;
  84512. // goto after finally
  84513. $async$goto = 17;
  84514. break;
  84515. case 14:
  84516. // uncaught
  84517. // goto rethrow
  84518. $async$goto = 2;
  84519. break;
  84520. case 17:
  84521. // after finally
  84522. buffer._contents += A.Primitives_stringFromCharCode(41);
  84523. t1 = buffer._contents;
  84524. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  84525. // goto return
  84526. $async$goto = 1;
  84527. break;
  84528. // goto join
  84529. $async$goto = 12;
  84530. break;
  84531. case 13:
  84532. // else
  84533. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  84534. case 12:
  84535. // join
  84536. case 8:
  84537. // join
  84538. case 4:
  84539. // join
  84540. case 1:
  84541. // return
  84542. return A._asyncReturn($async$returnValue, $async$completer);
  84543. case 2:
  84544. // rethrow
  84545. return A._asyncRethrow($async$currentError, $async$completer);
  84546. }
  84547. });
  84548. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  84549. },
  84550. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  84551. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84552. },
  84553. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84554. var $async$goto = 0,
  84555. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84556. $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;
  84557. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84558. if ($async$errorCode === 1) {
  84559. $async$currentError = $async$result;
  84560. $async$goto = $async$handler;
  84561. }
  84562. while (true)
  84563. switch ($async$goto) {
  84564. case 0:
  84565. // Function start
  84566. _box_0 = {};
  84567. $async$goto = 3;
  84568. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  84569. case 3:
  84570. // returning from await.
  84571. evaluated = $async$result;
  84572. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84573. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  84574. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  84575. _box_0.callback = _box_0.overload = null;
  84576. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  84577. _box_0.overload = _0_0._0;
  84578. _box_0.callback = _0_0._1;
  84579. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  84580. declaredArguments = _box_0.overload.$arguments;
  84581. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  84582. case 4:
  84583. // for condition
  84584. if (!(i < t1)) {
  84585. // goto after for
  84586. $async$goto = 6;
  84587. break;
  84588. }
  84589. argument = declaredArguments[i];
  84590. t4 = evaluated._values[2];
  84591. t5 = evaluated._values[0].remove$1(0, argument.name);
  84592. $async$goto = t5 == null ? 7 : 8;
  84593. break;
  84594. case 7:
  84595. // then
  84596. t5 = argument.defaultValue;
  84597. t6 = t5.accept$1($async$self);
  84598. if (!t3._is(t6)) {
  84599. t7 = new A._Future($.Zone__current, t2);
  84600. t7._state = 8;
  84601. t7._resultOrListeners = t6;
  84602. t6 = t7;
  84603. }
  84604. $async$goto = 9;
  84605. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  84606. case 9:
  84607. // returning from await.
  84608. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  84609. case 8:
  84610. // join
  84611. J.add$1$ax(t4, t5);
  84612. case 5:
  84613. // for update
  84614. ++i;
  84615. // goto for condition
  84616. $async$goto = 4;
  84617. break;
  84618. case 6:
  84619. // after for
  84620. if (_box_0.overload.restArgument != null) {
  84621. if (J.get$length$asx(evaluated._values[2]) > t1) {
  84622. rest = J.sublist$1$ax(evaluated._values[2], t1);
  84623. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  84624. } else
  84625. rest = B.List_empty19;
  84626. t1 = evaluated._values[0];
  84627. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated._values[4]);
  84628. J.add$1$ax(evaluated._values[2], argumentList);
  84629. } else
  84630. argumentList = null;
  84631. result = null;
  84632. $async$handler = 11;
  84633. $async$goto = 14;
  84634. 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);
  84635. case 14:
  84636. // returning from await.
  84637. result = $async$result;
  84638. $async$handler = 2;
  84639. // goto after finally
  84640. $async$goto = 13;
  84641. break;
  84642. case 11:
  84643. // catch
  84644. $async$handler = 10;
  84645. $async$exception = $async$currentError;
  84646. t1 = A.unwrapException($async$exception);
  84647. if (t1 instanceof A.SassException0)
  84648. throw $async$exception;
  84649. else {
  84650. error = t1;
  84651. stackTrace = A.getTraceFromException($async$exception);
  84652. message = null;
  84653. try {
  84654. message = A._asString(J.get$message$x(error));
  84655. } catch (exception) {
  84656. message0 = J.toString$0$(error);
  84657. message = message0;
  84658. }
  84659. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  84660. }
  84661. // goto after finally
  84662. $async$goto = 13;
  84663. break;
  84664. case 10:
  84665. // uncaught
  84666. // goto rethrow
  84667. $async$goto = 2;
  84668. break;
  84669. case 13:
  84670. // after finally
  84671. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84672. if (argumentList == null) {
  84673. $async$returnValue = result;
  84674. // goto return
  84675. $async$goto = 1;
  84676. break;
  84677. }
  84678. t1 = evaluated._values[0];
  84679. if (t1.get$isEmpty(t1)) {
  84680. $async$returnValue = result;
  84681. // goto return
  84682. $async$goto = 1;
  84683. break;
  84684. }
  84685. if (argumentList._argument_list$_wereKeywordsAccessed) {
  84686. $async$returnValue = result;
  84687. // goto return
  84688. $async$goto = 1;
  84689. break;
  84690. }
  84691. t1 = evaluated._values[0];
  84692. t1 = A.pluralize0("argument", J.get$length$asx(t1.get$keys(t1)), null);
  84693. t2 = evaluated._values[0];
  84694. 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));
  84695. case 1:
  84696. // return
  84697. return A._asyncReturn($async$returnValue, $async$completer);
  84698. case 2:
  84699. // rethrow
  84700. return A._asyncRethrow($async$currentError, $async$completer);
  84701. }
  84702. });
  84703. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  84704. },
  84705. _async_evaluate0$_evaluateArguments$1($arguments) {
  84706. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  84707. },
  84708. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  84709. var $async$goto = 0,
  84710. $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),
  84711. $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;
  84712. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84713. if ($async$errorCode === 1)
  84714. return A._asyncRethrow($async$result, $async$completer);
  84715. while (true)
  84716. switch ($async$goto) {
  84717. case 0:
  84718. // Function start
  84719. positional = A._setArrayType([], type$.JSArray_Value_2);
  84720. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  84721. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  84722. case 3:
  84723. // for condition
  84724. if (!(_i < t2)) {
  84725. // goto after for
  84726. $async$goto = 5;
  84727. break;
  84728. }
  84729. expression = t1[_i];
  84730. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  84731. t5 = expression.accept$1($async$self);
  84732. if (!t4._is(t5)) {
  84733. t6 = new A._Future($.Zone__current, t3);
  84734. t6._state = 8;
  84735. t6._resultOrListeners = t5;
  84736. t5 = t6;
  84737. }
  84738. $async$temp1 = positional;
  84739. $async$goto = 6;
  84740. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  84741. case 6:
  84742. // returning from await.
  84743. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  84744. positionalNodes.push(nodeForSpan);
  84745. case 4:
  84746. // for update
  84747. ++_i;
  84748. // goto for condition
  84749. $async$goto = 3;
  84750. break;
  84751. case 5:
  84752. // after for
  84753. t1 = type$.String;
  84754. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  84755. t2 = type$.AstNode_2;
  84756. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84757. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  84758. case 7:
  84759. // for condition
  84760. if (!t5.moveNext$0()) {
  84761. // goto after for
  84762. $async$goto = 8;
  84763. break;
  84764. }
  84765. t6 = t5.get$current(t5);
  84766. $name = t6._0;
  84767. value = t6._1;
  84768. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  84769. t6 = value.accept$1($async$self);
  84770. if (!t4._is(t6)) {
  84771. t7 = new A._Future($.Zone__current, t3);
  84772. t7._state = 8;
  84773. t7._resultOrListeners = t6;
  84774. t6 = t7;
  84775. }
  84776. $async$temp1 = named;
  84777. $async$temp2 = $name;
  84778. $async$goto = 9;
  84779. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  84780. case 9:
  84781. // returning from await.
  84782. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  84783. namedNodes.$indexSet(0, $name, nodeForSpan);
  84784. // goto for condition
  84785. $async$goto = 7;
  84786. break;
  84787. case 8:
  84788. // after for
  84789. restArgs = $arguments.rest;
  84790. if (restArgs == null) {
  84791. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  84792. // goto return
  84793. $async$goto = 1;
  84794. break;
  84795. }
  84796. $async$goto = 10;
  84797. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  84798. case 10:
  84799. // returning from await.
  84800. rest = $async$result;
  84801. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  84802. if (rest instanceof A.SassMap0) {
  84803. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  84804. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84805. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  84806. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  84807. namedNodes.addAll$1(0, t3);
  84808. separator = B.ListSeparator_undecided_null_undecided0;
  84809. } else if (rest instanceof A.SassList0) {
  84810. t3 = rest._list1$_contents;
  84811. 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>")));
  84812. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  84813. separator = rest._list1$_separator;
  84814. if (rest instanceof A.SassArgumentList0) {
  84815. rest._argument_list$_wereKeywordsAccessed = true;
  84816. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  84817. }
  84818. } else {
  84819. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  84820. positionalNodes.push(restNodeForSpan);
  84821. separator = B.ListSeparator_undecided_null_undecided0;
  84822. }
  84823. keywordRestArgs = $arguments.keywordRest;
  84824. if (keywordRestArgs == null) {
  84825. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  84826. // goto return
  84827. $async$goto = 1;
  84828. break;
  84829. }
  84830. $async$goto = 11;
  84831. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  84832. case 11:
  84833. // returning from await.
  84834. keywordRest = $async$result;
  84835. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  84836. if (keywordRest instanceof A.SassMap0) {
  84837. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  84838. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84839. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  84840. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  84841. namedNodes.addAll$1(0, t1);
  84842. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  84843. // goto return
  84844. $async$goto = 1;
  84845. break;
  84846. } else
  84847. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  84848. case 1:
  84849. // return
  84850. return A._asyncReturn($async$returnValue, $async$completer);
  84851. }
  84852. });
  84853. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  84854. },
  84855. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  84856. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  84857. },
  84858. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  84859. var $async$goto = 0,
  84860. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  84861. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  84862. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84863. if ($async$errorCode === 1)
  84864. return A._asyncRethrow($async$result, $async$completer);
  84865. while (true)
  84866. switch ($async$goto) {
  84867. case 0:
  84868. // Function start
  84869. t1 = invocation.$arguments;
  84870. restArgs_ = t1.rest;
  84871. if (restArgs_ == null) {
  84872. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  84873. // goto return
  84874. $async$goto = 1;
  84875. break;
  84876. }
  84877. t2 = t1.positional;
  84878. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  84879. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  84880. $async$goto = 3;
  84881. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  84882. case 3:
  84883. // returning from await.
  84884. rest = $async$result;
  84885. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  84886. if (rest instanceof A.SassMap0)
  84887. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  84888. else if (rest instanceof A.SassList0) {
  84889. t2 = rest._list1$_contents;
  84890. 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>")));
  84891. if (rest instanceof A.SassArgumentList0) {
  84892. rest._argument_list$_wereKeywordsAccessed = true;
  84893. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  84894. }
  84895. } else
  84896. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  84897. keywordRestArgs_ = t1.keywordRest;
  84898. if (keywordRestArgs_ == null) {
  84899. $async$returnValue = new A._Record_2(positional, named);
  84900. // goto return
  84901. $async$goto = 1;
  84902. break;
  84903. }
  84904. $async$goto = 4;
  84905. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  84906. case 4:
  84907. // returning from await.
  84908. keywordRest = $async$result;
  84909. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  84910. if (keywordRest instanceof A.SassMap0) {
  84911. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  84912. $async$returnValue = new A._Record_2(positional, named);
  84913. // goto return
  84914. $async$goto = 1;
  84915. break;
  84916. } else
  84917. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  84918. case 1:
  84919. // return
  84920. return A._asyncReturn($async$returnValue, $async$completer);
  84921. }
  84922. });
  84923. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  84924. },
  84925. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  84926. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  84927. },
  84928. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  84929. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  84930. },
  84931. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  84932. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  84933. },
  84934. visitSelectorExpression$1(node) {
  84935. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  84936. },
  84937. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  84938. var $async$goto = 0,
  84939. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84940. $async$returnValue, $async$self = this, t1;
  84941. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84942. if ($async$errorCode === 1)
  84943. return A._asyncRethrow($async$result, $async$completer);
  84944. while (true)
  84945. switch ($async$goto) {
  84946. case 0:
  84947. // Function start
  84948. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  84949. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  84950. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  84951. // goto return
  84952. $async$goto = 1;
  84953. break;
  84954. case 1:
  84955. // return
  84956. return A._asyncReturn($async$returnValue, $async$completer);
  84957. }
  84958. });
  84959. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  84960. },
  84961. visitStringExpression$1(node) {
  84962. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  84963. },
  84964. visitStringExpression$body$_EvaluateVisitor0(node) {
  84965. var $async$goto = 0,
  84966. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  84967. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  84968. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84969. if ($async$errorCode === 1)
  84970. return A._asyncRethrow($async$result, $async$completer);
  84971. while (true)
  84972. switch ($async$goto) {
  84973. case 0:
  84974. // Function start
  84975. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  84976. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  84977. t1 = A._setArrayType([], type$.JSArray_String);
  84978. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0;
  84979. case 3:
  84980. // for condition
  84981. if (!(_i < t3)) {
  84982. // goto after for
  84983. $async$goto = 5;
  84984. break;
  84985. }
  84986. value = t2[_i];
  84987. if (typeof value == "string") {
  84988. t5 = value;
  84989. // goto break $label0$0
  84990. $async$goto = 6;
  84991. break;
  84992. }
  84993. $async$goto = t4._is(value) ? 7 : 8;
  84994. break;
  84995. case 7:
  84996. // then
  84997. $async$goto = 9;
  84998. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  84999. case 9:
  85000. // returning from await.
  85001. _0_0 = $async$result;
  85002. $label1$1: {
  85003. if (_0_0 instanceof A.SassString0) {
  85004. text = _0_0._string0$_text;
  85005. t5 = text;
  85006. break $label1$1;
  85007. }
  85008. t5 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  85009. break $label1$1;
  85010. }
  85011. // goto break $label0$0
  85012. $async$goto = 6;
  85013. break;
  85014. case 8:
  85015. // join
  85016. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  85017. case 6:
  85018. // break $label0$0
  85019. t1.push(t5);
  85020. case 4:
  85021. // for update
  85022. ++_i;
  85023. // goto for condition
  85024. $async$goto = 3;
  85025. break;
  85026. case 5:
  85027. // after for
  85028. t1 = B.JSArray_methods.join$0(t1);
  85029. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85030. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  85031. // goto return
  85032. $async$goto = 1;
  85033. break;
  85034. case 1:
  85035. // return
  85036. return A._asyncReturn($async$returnValue, $async$completer);
  85037. }
  85038. });
  85039. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  85040. },
  85041. visitSupportsExpression$1(expression) {
  85042. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  85043. },
  85044. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  85045. var $async$goto = 0,
  85046. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  85047. $async$returnValue, $async$self = this, $async$temp1;
  85048. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85049. if ($async$errorCode === 1)
  85050. return A._asyncRethrow($async$result, $async$completer);
  85051. while (true)
  85052. switch ($async$goto) {
  85053. case 0:
  85054. // Function start
  85055. $async$temp1 = A;
  85056. $async$goto = 3;
  85057. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  85058. case 3:
  85059. // returning from await.
  85060. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  85061. // goto return
  85062. $async$goto = 1;
  85063. break;
  85064. case 1:
  85065. // return
  85066. return A._asyncReturn($async$returnValue, $async$completer);
  85067. }
  85068. });
  85069. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  85070. },
  85071. visitCssAtRule$1(node) {
  85072. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  85073. },
  85074. visitCssAtRule$body$_EvaluateVisitor0(node) {
  85075. var $async$goto = 0,
  85076. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85077. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  85078. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85079. if ($async$errorCode === 1)
  85080. return A._asyncRethrow($async$result, $async$completer);
  85081. while (true)
  85082. switch ($async$goto) {
  85083. case 0:
  85084. // Function start
  85085. if ($async$self._async_evaluate0$_declarationName != null)
  85086. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  85087. if (node.isChildless) {
  85088. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  85089. // goto return
  85090. $async$goto = 1;
  85091. break;
  85092. }
  85093. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  85094. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  85095. t1 = node.name;
  85096. if (A.unvendor0(t1.value) === "keyframes")
  85097. $async$self._async_evaluate0$_inKeyframes = true;
  85098. else
  85099. $async$self._async_evaluate0$_inUnknownAtRule = true;
  85100. $async$goto = 3;
  85101. 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);
  85102. case 3:
  85103. // returning from await.
  85104. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  85105. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  85106. case 1:
  85107. // return
  85108. return A._asyncReturn($async$returnValue, $async$completer);
  85109. }
  85110. });
  85111. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  85112. },
  85113. visitCssComment$1(node) {
  85114. return this.visitCssComment$body$_EvaluateVisitor0(node);
  85115. },
  85116. visitCssComment$body$_EvaluateVisitor0(node) {
  85117. var $async$goto = 0,
  85118. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85119. $async$self = this;
  85120. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85121. if ($async$errorCode === 1)
  85122. return A._asyncRethrow($async$result, $async$completer);
  85123. while (true)
  85124. switch ($async$goto) {
  85125. case 0:
  85126. // Function start
  85127. 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))
  85128. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85129. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  85130. // implicit return
  85131. return A._asyncReturn(null, $async$completer);
  85132. }
  85133. });
  85134. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  85135. },
  85136. visitCssDeclaration$1(node) {
  85137. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  85138. },
  85139. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  85140. var $async$goto = 0,
  85141. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85142. $async$self = this;
  85143. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85144. if ($async$errorCode === 1)
  85145. return A._asyncRethrow($async$result, $async$completer);
  85146. while (true)
  85147. switch ($async$goto) {
  85148. case 0:
  85149. // Function start
  85150. $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));
  85151. // implicit return
  85152. return A._asyncReturn(null, $async$completer);
  85153. }
  85154. });
  85155. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  85156. },
  85157. visitCssImport$1(node) {
  85158. return this.visitCssImport$body$_EvaluateVisitor0(node);
  85159. },
  85160. visitCssImport$body$_EvaluateVisitor0(node) {
  85161. var $async$goto = 0,
  85162. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85163. $async$self = this, t1, modifiableNode;
  85164. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85165. if ($async$errorCode === 1)
  85166. return A._asyncRethrow($async$result, $async$completer);
  85167. while (true)
  85168. switch ($async$goto) {
  85169. case 0:
  85170. // Function start
  85171. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  85172. 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"))
  85173. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  85174. 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)) {
  85175. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  85176. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85177. } else {
  85178. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  85179. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  85180. }
  85181. // implicit return
  85182. return A._asyncReturn(null, $async$completer);
  85183. }
  85184. });
  85185. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  85186. },
  85187. visitCssKeyframeBlock$1(node) {
  85188. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  85189. },
  85190. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  85191. var $async$goto = 0,
  85192. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85193. $async$self = this;
  85194. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85195. if ($async$errorCode === 1)
  85196. return A._asyncRethrow($async$result, $async$completer);
  85197. while (true)
  85198. switch ($async$goto) {
  85199. case 0:
  85200. // Function start
  85201. $async$goto = 2;
  85202. 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);
  85203. case 2:
  85204. // returning from await.
  85205. // implicit return
  85206. return A._asyncReturn(null, $async$completer);
  85207. }
  85208. });
  85209. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  85210. },
  85211. visitCssMediaRule$1(node) {
  85212. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  85213. },
  85214. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  85215. var $async$goto = 0,
  85216. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85217. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  85218. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85219. if ($async$errorCode === 1)
  85220. return A._asyncRethrow($async$result, $async$completer);
  85221. while (true)
  85222. switch ($async$goto) {
  85223. case 0:
  85224. // Function start
  85225. if ($async$self._async_evaluate0$_declarationName != null)
  85226. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  85227. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  85228. t1 = mergedQueries == null;
  85229. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  85230. // goto return
  85231. $async$goto = 1;
  85232. break;
  85233. }
  85234. if (t1)
  85235. mergedSources = B.Set_empty5;
  85236. else {
  85237. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  85238. t2.toString;
  85239. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  85240. t3 = $async$self._async_evaluate0$_mediaQueries;
  85241. t3.toString;
  85242. t2.addAll$1(0, t3);
  85243. t2.addAll$1(0, node.queries);
  85244. mergedSources = t2;
  85245. }
  85246. t1 = t1 ? node.queries : mergedQueries;
  85247. $async$goto = 3;
  85248. 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);
  85249. case 3:
  85250. // returning from await.
  85251. case 1:
  85252. // return
  85253. return A._asyncReturn($async$returnValue, $async$completer);
  85254. }
  85255. });
  85256. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  85257. },
  85258. visitCssStyleRule$1(node) {
  85259. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  85260. },
  85261. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  85262. var $async$goto = 0,
  85263. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85264. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  85265. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85266. if ($async$errorCode === 1)
  85267. return A._asyncRethrow($async$result, $async$completer);
  85268. while (true)
  85269. switch ($async$goto) {
  85270. case 0:
  85271. // Function start
  85272. if ($async$self._async_evaluate0$_declarationName != null)
  85273. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  85274. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85275. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85276. t2 = node._style_rule0$_selector._box0$_inner.value;
  85277. t3 = styleRule == null;
  85278. t4 = t3 ? null : styleRule.originalSelector;
  85279. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  85280. 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);
  85281. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85282. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  85283. $async$goto = 2;
  85284. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  85285. case 2:
  85286. // returning from await.
  85287. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  85288. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  85289. t2 = J.getInterceptor$asx(t1);
  85290. _0_1 = t2.get$length(t1);
  85291. if (_0_1 >= 1) {
  85292. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  85293. t1 = t3;
  85294. } else {
  85295. lastChild = null;
  85296. t1 = false;
  85297. }
  85298. if (t1)
  85299. lastChild.isGroupEnd = true;
  85300. // implicit return
  85301. return A._asyncReturn(null, $async$completer);
  85302. }
  85303. });
  85304. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  85305. },
  85306. visitCssStylesheet$1(node) {
  85307. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  85308. },
  85309. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  85310. var $async$goto = 0,
  85311. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85312. $async$self = this, t1;
  85313. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85314. if ($async$errorCode === 1)
  85315. return A._asyncRethrow($async$result, $async$completer);
  85316. while (true)
  85317. switch ($async$goto) {
  85318. case 0:
  85319. // Function start
  85320. t1 = J.get$iterator$ax(node.get$children(node));
  85321. case 2:
  85322. // for condition
  85323. if (!t1.moveNext$0()) {
  85324. // goto after for
  85325. $async$goto = 3;
  85326. break;
  85327. }
  85328. $async$goto = 4;
  85329. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  85330. case 4:
  85331. // returning from await.
  85332. // goto for condition
  85333. $async$goto = 2;
  85334. break;
  85335. case 3:
  85336. // after for
  85337. // implicit return
  85338. return A._asyncReturn(null, $async$completer);
  85339. }
  85340. });
  85341. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  85342. },
  85343. visitCssSupportsRule$1(node) {
  85344. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  85345. },
  85346. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  85347. var $async$goto = 0,
  85348. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85349. $async$self = this;
  85350. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85351. if ($async$errorCode === 1)
  85352. return A._asyncRethrow($async$result, $async$completer);
  85353. while (true)
  85354. switch ($async$goto) {
  85355. case 0:
  85356. // Function start
  85357. if ($async$self._async_evaluate0$_declarationName != null)
  85358. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  85359. $async$goto = 2;
  85360. 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);
  85361. case 2:
  85362. // returning from await.
  85363. // implicit return
  85364. return A._asyncReturn(null, $async$completer);
  85365. }
  85366. });
  85367. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  85368. },
  85369. _async_evaluate0$_handleReturn$1$2(list, callback) {
  85370. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  85371. },
  85372. _async_evaluate0$_handleReturn$2(list, callback) {
  85373. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  85374. },
  85375. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  85376. var $async$goto = 0,
  85377. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  85378. $async$returnValue, t1, _i, _0_0;
  85379. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85380. if ($async$errorCode === 1)
  85381. return A._asyncRethrow($async$result, $async$completer);
  85382. while (true)
  85383. switch ($async$goto) {
  85384. case 0:
  85385. // Function start
  85386. t1 = list.length, _i = 0;
  85387. case 3:
  85388. // for condition
  85389. if (!(_i < list.length)) {
  85390. // goto after for
  85391. $async$goto = 5;
  85392. break;
  85393. }
  85394. $async$goto = 6;
  85395. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  85396. case 6:
  85397. // returning from await.
  85398. _0_0 = $async$result;
  85399. if (_0_0 != null) {
  85400. $async$returnValue = _0_0;
  85401. // goto return
  85402. $async$goto = 1;
  85403. break;
  85404. }
  85405. case 4:
  85406. // for update
  85407. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  85408. // goto for condition
  85409. $async$goto = 3;
  85410. break;
  85411. case 5:
  85412. // after for
  85413. $async$returnValue = null;
  85414. // goto return
  85415. $async$goto = 1;
  85416. break;
  85417. case 1:
  85418. // return
  85419. return A._asyncReturn($async$returnValue, $async$completer);
  85420. }
  85421. });
  85422. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  85423. },
  85424. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  85425. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  85426. },
  85427. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  85428. var $async$goto = 0,
  85429. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85430. $async$returnValue, $async$self = this, result, oldEnvironment;
  85431. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85432. if ($async$errorCode === 1)
  85433. return A._asyncRethrow($async$result, $async$completer);
  85434. while (true)
  85435. switch ($async$goto) {
  85436. case 0:
  85437. // Function start
  85438. oldEnvironment = $async$self._async_evaluate0$_environment;
  85439. $async$self._async_evaluate0$_environment = environment;
  85440. $async$goto = 3;
  85441. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  85442. case 3:
  85443. // returning from await.
  85444. result = $async$result;
  85445. $async$self._async_evaluate0$_environment = oldEnvironment;
  85446. $async$returnValue = result;
  85447. // goto return
  85448. $async$goto = 1;
  85449. break;
  85450. case 1:
  85451. // return
  85452. return A._asyncReturn($async$returnValue, $async$completer);
  85453. }
  85454. });
  85455. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  85456. },
  85457. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  85458. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  85459. },
  85460. _async_evaluate0$_interpolationToValue$1(interpolation) {
  85461. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  85462. },
  85463. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  85464. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  85465. },
  85466. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  85467. var $async$goto = 0,
  85468. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  85469. $async$returnValue, $async$self = this, result, t1;
  85470. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = 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. $async$goto = 3;
  85478. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  85479. case 3:
  85480. // returning from await.
  85481. result = $async$result;
  85482. t1 = trim ? A.trimAscii0(result, true) : result;
  85483. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  85484. // goto return
  85485. $async$goto = 1;
  85486. break;
  85487. case 1:
  85488. // return
  85489. return A._asyncReturn($async$returnValue, $async$completer);
  85490. }
  85491. });
  85492. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  85493. },
  85494. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  85495. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  85496. },
  85497. _async_evaluate0$_performInterpolation$1(interpolation) {
  85498. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  85499. },
  85500. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85501. var $async$goto = 0,
  85502. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85503. $async$returnValue, $async$self = this;
  85504. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85505. if ($async$errorCode === 1)
  85506. return A._asyncRethrow($async$result, $async$completer);
  85507. while (true)
  85508. switch ($async$goto) {
  85509. case 0:
  85510. // Function start
  85511. $async$goto = 3;
  85512. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  85513. case 3:
  85514. // returning from await.
  85515. $async$returnValue = $async$result._0;
  85516. // goto return
  85517. $async$goto = 1;
  85518. break;
  85519. case 1:
  85520. // return
  85521. return A._asyncReturn($async$returnValue, $async$completer);
  85522. }
  85523. });
  85524. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  85525. },
  85526. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  85527. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  85528. },
  85529. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85530. var $async$goto = 0,
  85531. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  85532. $async$returnValue, $async$self = this, _0_0, result, map;
  85533. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85534. if ($async$errorCode === 1)
  85535. return A._asyncRethrow($async$result, $async$completer);
  85536. while (true)
  85537. switch ($async$goto) {
  85538. case 0:
  85539. // Function start
  85540. $async$goto = 3;
  85541. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  85542. case 3:
  85543. // returning from await.
  85544. _0_0 = $async$result;
  85545. result = _0_0._0;
  85546. map = _0_0._1;
  85547. map.toString;
  85548. $async$returnValue = new A._Record_2(result, map);
  85549. // goto return
  85550. $async$goto = 1;
  85551. break;
  85552. case 1:
  85553. // return
  85554. return A._asyncReturn($async$returnValue, $async$completer);
  85555. }
  85556. });
  85557. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  85558. },
  85559. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  85560. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  85561. },
  85562. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  85563. var $async$goto = 0,
  85564. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  85565. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  85566. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85567. if ($async$errorCode === 1)
  85568. return A._asyncRethrow($async$result, $async$completer);
  85569. while (true)
  85570. switch ($async$goto) {
  85571. case 0:
  85572. // Function start
  85573. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  85574. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85575. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85576. 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 = "";
  85577. case 3:
  85578. // for condition
  85579. if (!(_i < t2)) {
  85580. // goto after for
  85581. $async$goto = 5;
  85582. break;
  85583. }
  85584. value = t1[_i];
  85585. if (!first)
  85586. if (!t4)
  85587. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  85588. if (typeof value == "string") {
  85589. t8 += value;
  85590. // goto for update
  85591. $async$goto = 4;
  85592. break;
  85593. }
  85594. t3._as(value);
  85595. $async$goto = 6;
  85596. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  85597. case 6:
  85598. // returning from await.
  85599. result = $async$result;
  85600. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  85601. t9 = A._setArrayType([""], t5);
  85602. result0 = A.List_List$from(t9, false, t7);
  85603. result0.fixed$length = Array;
  85604. result0.immutable$list = Array;
  85605. result0 = new A.Interpolation0(result0, t6);
  85606. result0.Interpolation$20(t9, t6);
  85607. t9 = $.$get$namesByColor0();
  85608. $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));
  85609. }
  85610. t8 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  85611. case 4:
  85612. // for update
  85613. ++_i, first = false;
  85614. // goto for condition
  85615. $async$goto = 3;
  85616. break;
  85617. case 5:
  85618. // after for
  85619. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85620. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  85621. // goto return
  85622. $async$goto = 1;
  85623. break;
  85624. case 1:
  85625. // return
  85626. return A._asyncReturn($async$returnValue, $async$completer);
  85627. }
  85628. });
  85629. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  85630. },
  85631. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  85632. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  85633. },
  85634. _async_evaluate0$_evaluateToCss$1(expression) {
  85635. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  85636. },
  85637. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  85638. var $async$goto = 0,
  85639. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85640. $async$returnValue, $async$self = this, t1;
  85641. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85642. if ($async$errorCode === 1)
  85643. return A._asyncRethrow($async$result, $async$completer);
  85644. while (true)
  85645. switch ($async$goto) {
  85646. case 0:
  85647. // Function start
  85648. t1 = expression.accept$1($async$self);
  85649. $async$goto = 3;
  85650. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  85651. case 3:
  85652. // returning from await.
  85653. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  85654. // goto return
  85655. $async$goto = 1;
  85656. break;
  85657. case 1:
  85658. // return
  85659. return A._asyncReturn($async$returnValue, $async$completer);
  85660. }
  85661. });
  85662. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  85663. },
  85664. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  85665. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  85666. },
  85667. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  85668. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  85669. },
  85670. _async_evaluate0$_expressionNode$1(expression) {
  85671. var t1;
  85672. if (expression instanceof A.VariableExpression0) {
  85673. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  85674. return t1 == null ? expression : t1;
  85675. } else
  85676. return expression;
  85677. },
  85678. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  85679. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  85680. },
  85681. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  85682. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  85683. },
  85684. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  85685. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  85686. },
  85687. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  85688. var $async$goto = 0,
  85689. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85690. $async$returnValue, $async$self = this, t1, result;
  85691. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85692. if ($async$errorCode === 1)
  85693. return A._asyncRethrow($async$result, $async$completer);
  85694. while (true)
  85695. switch ($async$goto) {
  85696. case 0:
  85697. // Function start
  85698. $async$self._async_evaluate0$_addChild$2$through(node, through);
  85699. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  85700. $async$self._async_evaluate0$__parent = node;
  85701. $async$goto = 3;
  85702. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  85703. case 3:
  85704. // returning from await.
  85705. result = $async$result;
  85706. $async$self._async_evaluate0$__parent = t1;
  85707. $async$returnValue = result;
  85708. // goto return
  85709. $async$goto = 1;
  85710. break;
  85711. case 1:
  85712. // return
  85713. return A._asyncReturn($async$returnValue, $async$completer);
  85714. }
  85715. });
  85716. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  85717. },
  85718. _async_evaluate0$_addChild$2$through(node, through) {
  85719. var _0_0, grandparent, t1,
  85720. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  85721. if (through != null) {
  85722. for (; through.call$1($parent); $parent = _0_0) {
  85723. _0_0 = $parent._node$_parent;
  85724. if (_0_0 == null)
  85725. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  85726. }
  85727. if ($parent.get$hasFollowingSibling()) {
  85728. grandparent = $parent._node$_parent;
  85729. t1 = grandparent.children;
  85730. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  85731. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  85732. else {
  85733. $parent = $parent.copyWithoutChildren$0();
  85734. grandparent.addChild$1($parent);
  85735. }
  85736. }
  85737. }
  85738. $parent.addChild$1(node);
  85739. },
  85740. _async_evaluate0$_addChild$1(node) {
  85741. return this._async_evaluate0$_addChild$2$through(node, null);
  85742. },
  85743. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  85744. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  85745. },
  85746. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  85747. var $async$goto = 0,
  85748. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85749. $async$returnValue, $async$self = this, result, oldRule;
  85750. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85751. if ($async$errorCode === 1)
  85752. return A._asyncRethrow($async$result, $async$completer);
  85753. while (true)
  85754. switch ($async$goto) {
  85755. case 0:
  85756. // Function start
  85757. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85758. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  85759. $async$goto = 3;
  85760. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  85761. case 3:
  85762. // returning from await.
  85763. result = $async$result;
  85764. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  85765. $async$returnValue = result;
  85766. // goto return
  85767. $async$goto = 1;
  85768. break;
  85769. case 1:
  85770. // return
  85771. return A._asyncReturn($async$returnValue, $async$completer);
  85772. }
  85773. });
  85774. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  85775. },
  85776. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  85777. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  85778. },
  85779. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  85780. var $async$goto = 0,
  85781. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85782. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  85783. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85784. if ($async$errorCode === 1)
  85785. return A._asyncRethrow($async$result, $async$completer);
  85786. while (true)
  85787. switch ($async$goto) {
  85788. case 0:
  85789. // Function start
  85790. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  85791. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  85792. $async$self._async_evaluate0$_mediaQueries = queries;
  85793. $async$self._async_evaluate0$_mediaQuerySources = sources;
  85794. $async$goto = 3;
  85795. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  85796. case 3:
  85797. // returning from await.
  85798. result = $async$result;
  85799. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  85800. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  85801. $async$returnValue = result;
  85802. // goto return
  85803. $async$goto = 1;
  85804. break;
  85805. case 1:
  85806. // return
  85807. return A._asyncReturn($async$returnValue, $async$completer);
  85808. }
  85809. });
  85810. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  85811. },
  85812. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  85813. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  85814. },
  85815. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  85816. var $async$goto = 0,
  85817. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85818. $async$returnValue, $async$self = this, oldMember, result, t1;
  85819. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85820. if ($async$errorCode === 1)
  85821. return A._asyncRethrow($async$result, $async$completer);
  85822. while (true)
  85823. switch ($async$goto) {
  85824. case 0:
  85825. // Function start
  85826. t1 = $async$self._async_evaluate0$_stack;
  85827. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  85828. oldMember = $async$self._async_evaluate0$_member;
  85829. $async$self._async_evaluate0$_member = member;
  85830. $async$goto = 3;
  85831. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  85832. case 3:
  85833. // returning from await.
  85834. result = $async$result;
  85835. $async$self._async_evaluate0$_member = oldMember;
  85836. t1.pop();
  85837. $async$returnValue = result;
  85838. // goto return
  85839. $async$goto = 1;
  85840. break;
  85841. case 1:
  85842. // return
  85843. return A._asyncReturn($async$returnValue, $async$completer);
  85844. }
  85845. });
  85846. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  85847. },
  85848. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  85849. if (value instanceof A.SassNumber0 && value.asSlash != null && true)
  85850. 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);
  85851. return value.withoutSlash$0();
  85852. },
  85853. _async_evaluate0$_stackFrame$2(member, span) {
  85854. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  85855. },
  85856. _async_evaluate0$_stackTrace$1(span) {
  85857. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  85858. t1 = A._setArrayType([], type$.JSArray_Frame);
  85859. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  85860. t4 = t2[_i];
  85861. nodeWithSpan = t4._1;
  85862. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  85863. }
  85864. if (span != null)
  85865. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  85866. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  85867. },
  85868. _async_evaluate0$_stackTrace$0() {
  85869. return this._async_evaluate0$_stackTrace$1(null);
  85870. },
  85871. _async_evaluate0$_warn$3(message, span, deprecation) {
  85872. var t1, trace, _this = this;
  85873. if (_this._async_evaluate0$_quietDeps)
  85874. if (!_this._async_evaluate0$_inDependency) {
  85875. t1 = _this._async_evaluate0$_currentCallable;
  85876. t1 = t1 == null ? null : t1.inDependency;
  85877. t1 = t1 === true;
  85878. } else
  85879. t1 = true;
  85880. else
  85881. t1 = false;
  85882. if (t1)
  85883. return;
  85884. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  85885. return;
  85886. trace = _this._async_evaluate0$_stackTrace$1(span);
  85887. t1 = _this._async_evaluate0$_logger;
  85888. if (deprecation == null)
  85889. t1.warn$3$span$trace(0, message, span, trace);
  85890. else
  85891. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  85892. },
  85893. _async_evaluate0$_warn$2(message, span) {
  85894. return this._async_evaluate0$_warn$3(message, span, null);
  85895. },
  85896. _async_evaluate0$_exception$2(message, span) {
  85897. var t1, t2;
  85898. if (span == null) {
  85899. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  85900. t1 = t1.get$span(t1);
  85901. } else
  85902. t1 = span;
  85903. t2 = this._async_evaluate0$_stackTrace$1(span);
  85904. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  85905. },
  85906. _async_evaluate0$_exception$1(message) {
  85907. return this._async_evaluate0$_exception$2(message, null);
  85908. },
  85909. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  85910. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  85911. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  85912. },
  85913. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  85914. var error, stackTrace, t1, exception,
  85915. addStackFrame = true;
  85916. try {
  85917. t1 = callback.call$0();
  85918. return t1;
  85919. } catch (exception) {
  85920. t1 = A.unwrapException(exception);
  85921. if (t1 instanceof A.SassScriptException0) {
  85922. error = t1;
  85923. stackTrace = A.getTraceFromException(exception);
  85924. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  85925. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  85926. } else
  85927. throw exception;
  85928. }
  85929. },
  85930. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  85931. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  85932. },
  85933. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  85934. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  85935. },
  85936. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  85937. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  85938. },
  85939. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  85940. var $async$goto = 0,
  85941. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85942. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  85943. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85944. if ($async$errorCode === 1) {
  85945. $async$currentError = $async$result;
  85946. $async$goto = $async$handler;
  85947. }
  85948. while (true)
  85949. switch ($async$goto) {
  85950. case 0:
  85951. // Function start
  85952. $async$handler = 4;
  85953. t1 = callback.call$0();
  85954. $async$goto = 7;
  85955. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  85956. case 7:
  85957. // returning from await.
  85958. t1 = $async$result;
  85959. $async$returnValue = t1;
  85960. // goto return
  85961. $async$goto = 1;
  85962. break;
  85963. $async$handler = 2;
  85964. // goto after finally
  85965. $async$goto = 6;
  85966. break;
  85967. case 4:
  85968. // catch
  85969. $async$handler = 3;
  85970. $async$exception = $async$currentError;
  85971. t1 = A.unwrapException($async$exception);
  85972. if (t1 instanceof A.SassScriptException0) {
  85973. error = t1;
  85974. stackTrace = A.getTraceFromException($async$exception);
  85975. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  85976. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  85977. } else
  85978. throw $async$exception;
  85979. // goto after finally
  85980. $async$goto = 6;
  85981. break;
  85982. case 3:
  85983. // uncaught
  85984. // goto rethrow
  85985. $async$goto = 2;
  85986. break;
  85987. case 6:
  85988. // after finally
  85989. case 1:
  85990. // return
  85991. return A._asyncReturn($async$returnValue, $async$completer);
  85992. case 2:
  85993. // rethrow
  85994. return A._asyncRethrow($async$currentError, $async$completer);
  85995. }
  85996. });
  85997. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  85998. },
  85999. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  86000. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  86001. },
  86002. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  86003. var $async$goto = 0,
  86004. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86005. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  86006. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86007. if ($async$errorCode === 1) {
  86008. $async$currentError = $async$result;
  86009. $async$goto = $async$handler;
  86010. }
  86011. while (true)
  86012. switch ($async$goto) {
  86013. case 0:
  86014. // Function start
  86015. $async$handler = 4;
  86016. t1 = callback.call$0();
  86017. $async$goto = 7;
  86018. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  86019. case 7:
  86020. // returning from await.
  86021. t1 = $async$result;
  86022. $async$returnValue = t1;
  86023. // goto return
  86024. $async$goto = 1;
  86025. break;
  86026. $async$handler = 2;
  86027. // goto after finally
  86028. $async$goto = 6;
  86029. break;
  86030. case 4:
  86031. // catch
  86032. $async$handler = 3;
  86033. $async$exception = $async$currentError;
  86034. t1 = A.unwrapException($async$exception);
  86035. if (type$.SassRuntimeException_2._is(t1))
  86036. throw $async$exception;
  86037. else if (t1 instanceof A.SassException0) {
  86038. error = t1;
  86039. stackTrace = A.getTraceFromException($async$exception);
  86040. t1 = error;
  86041. t2 = J.getInterceptor$z(t1);
  86042. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  86043. } else
  86044. throw $async$exception;
  86045. // goto after finally
  86046. $async$goto = 6;
  86047. break;
  86048. case 3:
  86049. // uncaught
  86050. // goto rethrow
  86051. $async$goto = 2;
  86052. break;
  86053. case 6:
  86054. // after finally
  86055. case 1:
  86056. // return
  86057. return A._asyncReturn($async$returnValue, $async$completer);
  86058. case 2:
  86059. // rethrow
  86060. return A._asyncRethrow($async$currentError, $async$completer);
  86061. }
  86062. });
  86063. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  86064. },
  86065. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  86066. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  86067. },
  86068. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  86069. var $async$goto = 0,
  86070. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86071. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  86072. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86073. if ($async$errorCode === 1) {
  86074. $async$currentError = $async$result;
  86075. $async$goto = $async$handler;
  86076. }
  86077. while (true)
  86078. switch ($async$goto) {
  86079. case 0:
  86080. // Function start
  86081. $async$handler = 4;
  86082. $async$goto = 7;
  86083. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  86084. case 7:
  86085. // returning from await.
  86086. t1 = $async$result;
  86087. $async$returnValue = t1;
  86088. // goto return
  86089. $async$goto = 1;
  86090. break;
  86091. $async$handler = 2;
  86092. // goto after finally
  86093. $async$goto = 6;
  86094. break;
  86095. case 4:
  86096. // catch
  86097. $async$handler = 3;
  86098. $async$exception = $async$currentError;
  86099. t1 = A.unwrapException($async$exception);
  86100. if (type$.SassRuntimeException_2._is(t1)) {
  86101. error = t1;
  86102. stackTrace = A.getTraceFromException($async$exception);
  86103. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  86104. throw $async$exception;
  86105. t1 = error._span_exception$_message;
  86106. t2 = nodeWithSpan.get$span(nodeWithSpan);
  86107. t3 = $async$self._async_evaluate0$_stackTrace$0();
  86108. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  86109. } else
  86110. throw $async$exception;
  86111. // goto after finally
  86112. $async$goto = 6;
  86113. break;
  86114. case 3:
  86115. // uncaught
  86116. // goto rethrow
  86117. $async$goto = 2;
  86118. break;
  86119. case 6:
  86120. // after finally
  86121. case 1:
  86122. // return
  86123. return A._asyncReturn($async$returnValue, $async$completer);
  86124. case 2:
  86125. // rethrow
  86126. return A._asyncRethrow($async$currentError, $async$completer);
  86127. }
  86128. });
  86129. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  86130. }
  86131. };
  86132. A._EvaluateVisitor_closure38.prototype = {
  86133. call$1($arguments) {
  86134. var module, t2,
  86135. t1 = J.getInterceptor$asx($arguments),
  86136. variable = t1.$index($arguments, 0).assertString$1("name");
  86137. t1 = t1.$index($arguments, 1).get$realNull();
  86138. module = t1 == null ? null : t1.assertString$1("module");
  86139. t1 = this.$this._async_evaluate0$_environment;
  86140. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86141. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86142. },
  86143. $signature: 20
  86144. };
  86145. A._EvaluateVisitor_closure39.prototype = {
  86146. call$1($arguments) {
  86147. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  86148. t1 = this.$this._async_evaluate0$_environment;
  86149. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86150. },
  86151. $signature: 20
  86152. };
  86153. A._EvaluateVisitor_closure40.prototype = {
  86154. call$1($arguments) {
  86155. var module, t2, t3, t4,
  86156. t1 = J.getInterceptor$asx($arguments),
  86157. variable = t1.$index($arguments, 0).assertString$1("name");
  86158. t1 = t1.$index($arguments, 1).get$realNull();
  86159. module = t1 == null ? null : t1.assertString$1("module");
  86160. t1 = this.$this;
  86161. t2 = t1._async_evaluate0$_environment;
  86162. t3 = variable._string0$_text;
  86163. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  86164. 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;
  86165. },
  86166. $signature: 20
  86167. };
  86168. A._EvaluateVisitor_closure41.prototype = {
  86169. call$1($arguments) {
  86170. var module, t2,
  86171. t1 = J.getInterceptor$asx($arguments),
  86172. variable = t1.$index($arguments, 0).assertString$1("name");
  86173. t1 = t1.$index($arguments, 1).get$realNull();
  86174. module = t1 == null ? null : t1.assertString$1("module");
  86175. t1 = this.$this._async_evaluate0$_environment;
  86176. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86177. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86178. },
  86179. $signature: 20
  86180. };
  86181. A._EvaluateVisitor_closure42.prototype = {
  86182. call$1($arguments) {
  86183. var t1 = this.$this._async_evaluate0$_environment;
  86184. if (!t1._async_environment0$_inMixin)
  86185. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  86186. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86187. },
  86188. $signature: 20
  86189. };
  86190. A._EvaluateVisitor_closure43.prototype = {
  86191. call$1($arguments) {
  86192. var t2, t3, t4,
  86193. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86194. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86195. if (module == null)
  86196. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86197. t1 = type$.Value_2;
  86198. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86199. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86200. t4 = t3.get$current(t3);
  86201. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  86202. }
  86203. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86204. },
  86205. $signature: 31
  86206. };
  86207. A._EvaluateVisitor_closure44.prototype = {
  86208. call$1($arguments) {
  86209. var t2, t3, t4,
  86210. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86211. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86212. if (module == null)
  86213. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86214. t1 = type$.Value_2;
  86215. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86216. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86217. t4 = t3.get$current(t3);
  86218. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  86219. }
  86220. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86221. },
  86222. $signature: 31
  86223. };
  86224. A._EvaluateVisitor_closure45.prototype = {
  86225. call$1($arguments) {
  86226. var t2, t3, t4,
  86227. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86228. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86229. if (module == null)
  86230. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86231. t1 = type$.Value_2;
  86232. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86233. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86234. t4 = t3.get$current(t3);
  86235. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  86236. }
  86237. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86238. },
  86239. $signature: 31
  86240. };
  86241. A._EvaluateVisitor_closure46.prototype = {
  86242. call$1($arguments) {
  86243. var module, t2, callable,
  86244. t1 = J.getInterceptor$asx($arguments),
  86245. $name = t1.$index($arguments, 0).assertString$1("name"),
  86246. css = t1.$index($arguments, 1).get$isTruthy();
  86247. t1 = t1.$index($arguments, 2).get$realNull();
  86248. module = t1 == null ? null : t1.assertString$1("module");
  86249. if (css) {
  86250. if (module != null)
  86251. throw A.wrapException(string$.x24css_a);
  86252. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  86253. }
  86254. t1 = this.$this;
  86255. t2 = t1._async_evaluate0$_callableNode;
  86256. t2.toString;
  86257. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  86258. if (callable == null)
  86259. throw A.wrapException("Function not found: " + $name.toString$0(0));
  86260. return new A.SassFunction0(callable);
  86261. },
  86262. $signature: 269
  86263. };
  86264. A._EvaluateVisitor__closure14.prototype = {
  86265. call$0() {
  86266. var local,
  86267. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86268. t1 = this.module,
  86269. namespace = t1 == null ? null : t1._string0$_text;
  86270. t1 = this.$this;
  86271. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  86272. if (local != null || namespace != null)
  86273. return local;
  86274. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  86275. },
  86276. $signature: 83
  86277. };
  86278. A._EvaluateVisitor_closure47.prototype = {
  86279. call$1($arguments) {
  86280. var module, t2, callable,
  86281. t1 = J.getInterceptor$asx($arguments),
  86282. $name = t1.$index($arguments, 0).assertString$1("name");
  86283. t1 = t1.$index($arguments, 1).get$realNull();
  86284. module = t1 == null ? null : t1.assertString$1("module");
  86285. t1 = this.$this;
  86286. t2 = t1._async_evaluate0$_callableNode;
  86287. t2.toString;
  86288. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  86289. if (callable == null)
  86290. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  86291. return new A.SassMixin0(callable);
  86292. },
  86293. $signature: 209
  86294. };
  86295. A._EvaluateVisitor__closure13.prototype = {
  86296. call$0() {
  86297. var t1 = this.$this._async_evaluate0$_environment,
  86298. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86299. t3 = this.module;
  86300. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  86301. },
  86302. $signature: 83
  86303. };
  86304. A._EvaluateVisitor_closure48.prototype = {
  86305. call$1($arguments) {
  86306. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  86307. },
  86308. $call$body$_EvaluateVisitor_closure4($arguments) {
  86309. var $async$goto = 0,
  86310. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86311. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  86312. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86313. if ($async$errorCode === 1)
  86314. return A._asyncRethrow($async$result, $async$completer);
  86315. while (true)
  86316. switch ($async$goto) {
  86317. case 0:
  86318. // Function start
  86319. t1 = J.getInterceptor$asx($arguments);
  86320. $function = t1.$index($arguments, 0);
  86321. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86322. t1 = $async$self.$this;
  86323. t2 = t1._async_evaluate0$_callableNode;
  86324. t2.toString;
  86325. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  86326. t4 = type$.String;
  86327. t5 = type$.Expression_2;
  86328. t6 = t2.get$span(t2);
  86329. t7 = t2.get$span(t2);
  86330. args._argument_list$_wereKeywordsAccessed = true;
  86331. t8 = args._argument_list$_keywords;
  86332. if (t8.get$isEmpty(t8))
  86333. t2 = null;
  86334. else {
  86335. t9 = type$.Value_2;
  86336. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  86337. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  86338. t11 = t8.get$current(t8);
  86339. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  86340. }
  86341. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  86342. }
  86343. 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);
  86344. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  86345. break;
  86346. case 3:
  86347. // then
  86348. t2 = $function.toString$0(0);
  86349. A.EvaluationContext_current0().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_4iQ);
  86350. callableNode = t1._async_evaluate0$_callableNode;
  86351. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  86352. $async$goto = 5;
  86353. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  86354. case 5:
  86355. // returning from await.
  86356. $async$returnValue = $async$result;
  86357. // goto return
  86358. $async$goto = 1;
  86359. break;
  86360. case 4:
  86361. // join
  86362. t2 = $function.assertFunction$1("function");
  86363. t3 = t1._async_evaluate0$_callableNode;
  86364. t3.toString;
  86365. $async$goto = 6;
  86366. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  86367. case 6:
  86368. // returning from await.
  86369. t3 = $async$result;
  86370. $async$returnValue = t3;
  86371. // goto return
  86372. $async$goto = 1;
  86373. break;
  86374. case 1:
  86375. // return
  86376. return A._asyncReturn($async$returnValue, $async$completer);
  86377. }
  86378. });
  86379. return A._asyncStartSync($async$call$1, $async$completer);
  86380. },
  86381. $signature: 98
  86382. };
  86383. A._EvaluateVisitor_closure49.prototype = {
  86384. call$1($arguments) {
  86385. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  86386. },
  86387. $call$body$_EvaluateVisitor_closure3($arguments) {
  86388. var $async$goto = 0,
  86389. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86390. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  86391. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86392. if ($async$errorCode === 1)
  86393. return A._asyncRethrow($async$result, $async$completer);
  86394. while (true)
  86395. switch ($async$goto) {
  86396. case 0:
  86397. // Function start
  86398. t1 = J.getInterceptor$asx($arguments);
  86399. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  86400. t1 = t1.$index($arguments, 1).get$realNull();
  86401. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  86402. t1 = $async$self.$this;
  86403. t2 = t1._async_evaluate0$_callableNode;
  86404. t2.toString;
  86405. if (withMap != null) {
  86406. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  86407. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  86408. configuration = new A.ExplicitConfiguration0(t2, values, null);
  86409. } else
  86410. configuration = B.Configuration_Map_empty_null0;
  86411. t3 = t2.get$span(t2);
  86412. $async$goto = 2;
  86413. 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);
  86414. case 2:
  86415. // returning from await.
  86416. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  86417. // implicit return
  86418. return A._asyncReturn(null, $async$completer);
  86419. }
  86420. });
  86421. return A._asyncStartSync($async$call$1, $async$completer);
  86422. },
  86423. $signature: 206
  86424. };
  86425. A._EvaluateVisitor__closure11.prototype = {
  86426. call$2(variable, value) {
  86427. var t1 = variable.assertString$1("with key"),
  86428. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  86429. t1 = this.values;
  86430. if (t1.containsKey$1($name))
  86431. throw A.wrapException("The variable $" + $name + " was configured twice.");
  86432. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  86433. },
  86434. $signature: 80
  86435. };
  86436. A._EvaluateVisitor__closure12.prototype = {
  86437. call$2(module, _) {
  86438. var t1 = this.$this;
  86439. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  86440. },
  86441. $signature: 320
  86442. };
  86443. A._EvaluateVisitor_closure50.prototype = {
  86444. call$1($arguments) {
  86445. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  86446. },
  86447. $call$body$_EvaluateVisitor_closure2($arguments) {
  86448. var $async$goto = 0,
  86449. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86450. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  86451. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86452. if ($async$errorCode === 1)
  86453. return A._asyncRethrow($async$result, $async$completer);
  86454. while (true)
  86455. switch ($async$goto) {
  86456. case 0:
  86457. // Function start
  86458. t1 = J.getInterceptor$asx($arguments);
  86459. mixin = t1.$index($arguments, 0);
  86460. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86461. t1 = $async$self.$this;
  86462. callableNode = t1._async_evaluate0$_callableNode;
  86463. t2 = callableNode.get$span(callableNode);
  86464. t3 = callableNode.get$span(callableNode);
  86465. t4 = type$.Expression_2;
  86466. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  86467. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  86468. $async$goto = 2;
  86469. 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);
  86470. case 2:
  86471. // returning from await.
  86472. // implicit return
  86473. return A._asyncReturn(null, $async$completer);
  86474. }
  86475. });
  86476. return A._asyncStartSync($async$call$1, $async$completer);
  86477. },
  86478. $signature: 206
  86479. };
  86480. A._EvaluateVisitor_run_closure2.prototype = {
  86481. call$0() {
  86482. var $async$goto = 0,
  86483. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86484. $async$returnValue, $async$self = this, module, t2, url, t1, _0_0;
  86485. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86486. if ($async$errorCode === 1)
  86487. return A._asyncRethrow($async$result, $async$completer);
  86488. while (true)
  86489. switch ($async$goto) {
  86490. case 0:
  86491. // Function start
  86492. url = null;
  86493. t1 = $async$self.node;
  86494. _0_0 = t1.span.file.url;
  86495. if (_0_0 != null) {
  86496. url = _0_0;
  86497. t2 = $async$self.$this;
  86498. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  86499. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  86500. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  86501. }
  86502. t2 = $async$self.$this;
  86503. $async$goto = 3;
  86504. 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);
  86505. case 3:
  86506. // returning from await.
  86507. module = $async$result;
  86508. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  86509. // goto return
  86510. $async$goto = 1;
  86511. break;
  86512. case 1:
  86513. // return
  86514. return A._asyncReturn($async$returnValue, $async$completer);
  86515. }
  86516. });
  86517. return A._asyncStartSync($async$call$0, $async$completer);
  86518. },
  86519. $signature: 321
  86520. };
  86521. A._EvaluateVisitor_run__closure2.prototype = {
  86522. call$0() {
  86523. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  86524. },
  86525. $signature: 322
  86526. };
  86527. A._EvaluateVisitor__loadModule_closure5.prototype = {
  86528. call$0() {
  86529. return this.callback.call$2(this._box_1.builtInModule, false);
  86530. },
  86531. $signature: 0
  86532. };
  86533. A._EvaluateVisitor__loadModule_closure6.prototype = {
  86534. call$0() {
  86535. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  86536. },
  86537. $call$body$_EvaluateVisitor__loadModule_closure0() {
  86538. var $async$goto = 0,
  86539. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86540. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  86541. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86542. if ($async$errorCode === 1) {
  86543. $async$currentError = $async$result;
  86544. $async$goto = $async$handler;
  86545. }
  86546. while (true)
  86547. switch ($async$goto) {
  86548. case 0:
  86549. // Function start
  86550. t1 = {};
  86551. stylesheet = null;
  86552. importer = null;
  86553. t2 = $async$self.$this;
  86554. t3 = $async$self.nodeWithSpan;
  86555. $async$goto = 2;
  86556. 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);
  86557. case 2:
  86558. // returning from await.
  86559. _1_0 = $async$result;
  86560. stylesheet = _1_0._0;
  86561. importer = _1_0._1;
  86562. isDependency = _1_0._2;
  86563. canonicalUrl = stylesheet.span.file.url;
  86564. if (canonicalUrl != null) {
  86565. t4 = t2._async_evaluate0$_activeModules;
  86566. if (t4.containsKey$1(canonicalUrl)) {
  86567. if ($async$self.namesInErrors) {
  86568. t1 = canonicalUrl;
  86569. t3 = $.$get$context();
  86570. t1.toString;
  86571. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  86572. } else
  86573. message = string$.Modulel;
  86574. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  86575. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  86576. } else
  86577. t4.$indexSet(0, canonicalUrl, t3);
  86578. }
  86579. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  86580. oldInDependency = t2._async_evaluate0$_inDependency;
  86581. t2._async_evaluate0$_inDependency = isDependency;
  86582. t1.module = null;
  86583. $async$handler = 3;
  86584. $async$temp1 = t1;
  86585. $async$goto = 6;
  86586. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  86587. case 6:
  86588. // returning from await.
  86589. $async$temp1.module = $async$result;
  86590. $async$next.push(5);
  86591. // goto finally
  86592. $async$goto = 4;
  86593. break;
  86594. case 3:
  86595. // uncaught
  86596. $async$next = [1];
  86597. case 4:
  86598. // finally
  86599. $async$handler = 1;
  86600. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  86601. t2._async_evaluate0$_inDependency = oldInDependency;
  86602. // goto the next finally handler
  86603. $async$goto = $async$next.pop();
  86604. break;
  86605. case 5:
  86606. // after finally
  86607. $async$goto = 7;
  86608. 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);
  86609. case 7:
  86610. // returning from await.
  86611. // implicit return
  86612. return A._asyncReturn(null, $async$completer);
  86613. case 1:
  86614. // rethrow
  86615. return A._asyncRethrow($async$currentError, $async$completer);
  86616. }
  86617. });
  86618. return A._asyncStartSync($async$call$0, $async$completer);
  86619. },
  86620. $signature: 2
  86621. };
  86622. A._EvaluateVisitor__loadModule__closure5.prototype = {
  86623. call$1(previousLoad) {
  86624. 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));
  86625. },
  86626. $signature: 79
  86627. };
  86628. A._EvaluateVisitor__loadModule__closure6.prototype = {
  86629. call$0() {
  86630. return this.callback.call$2(this._box_0.module, this.firstLoad);
  86631. },
  86632. $signature: 0
  86633. };
  86634. A._EvaluateVisitor__execute_closure2.prototype = {
  86635. call$0() {
  86636. var $async$goto = 0,
  86637. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86638. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  86639. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86640. if ($async$errorCode === 1)
  86641. return A._asyncRethrow($async$result, $async$completer);
  86642. while (true)
  86643. switch ($async$goto) {
  86644. case 0:
  86645. // Function start
  86646. t1 = $async$self.$this;
  86647. oldImporter = t1._async_evaluate0$_importer;
  86648. oldStylesheet = t1._async_evaluate0$__stylesheet;
  86649. oldRoot = t1._async_evaluate0$__root;
  86650. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  86651. oldParent = t1._async_evaluate0$__parent;
  86652. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  86653. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  86654. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  86655. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  86656. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  86657. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  86658. oldDeclarationName = t1._async_evaluate0$_declarationName;
  86659. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86660. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  86661. oldConfiguration = t1._async_evaluate0$_configuration;
  86662. t1._async_evaluate0$_importer = $async$self.importer;
  86663. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  86664. t4 = t3.span;
  86665. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  86666. t1._async_evaluate0$__endOfImports = 0;
  86667. t1._async_evaluate0$_outOfOrderImports = null;
  86668. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  86669. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  86670. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  86671. t6 = $async$self.configuration;
  86672. if (t6 != null)
  86673. t1._async_evaluate0$_configuration = t6;
  86674. $async$goto = 2;
  86675. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  86676. case 2:
  86677. // returning from await.
  86678. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  86679. $async$self.css._value = t3;
  86680. $async$self.preModuleComments._value = t1._async_evaluate0$_preModuleComments;
  86681. t1._async_evaluate0$_importer = oldImporter;
  86682. t1._async_evaluate0$__stylesheet = oldStylesheet;
  86683. t1._async_evaluate0$__root = oldRoot;
  86684. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  86685. t1._async_evaluate0$__parent = oldParent;
  86686. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  86687. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  86688. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  86689. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  86690. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  86691. t1._async_evaluate0$_declarationName = oldDeclarationName;
  86692. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  86693. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  86694. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  86695. t1._async_evaluate0$_configuration = oldConfiguration;
  86696. // implicit return
  86697. return A._asyncReturn(null, $async$completer);
  86698. }
  86699. });
  86700. return A._asyncStartSync($async$call$0, $async$completer);
  86701. },
  86702. $signature: 2
  86703. };
  86704. A._EvaluateVisitor__combineCss_closure5.prototype = {
  86705. call$1(module) {
  86706. return module.get$transitivelyContainsCss();
  86707. },
  86708. $signature: 124
  86709. };
  86710. A._EvaluateVisitor__combineCss_closure6.prototype = {
  86711. call$1(target) {
  86712. return !this.selectors.contains$1(0, target);
  86713. },
  86714. $signature: 14
  86715. };
  86716. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  86717. call$1(module) {
  86718. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  86719. if (!_this.seen.add$1(0, module))
  86720. return;
  86721. if (_this.clone)
  86722. module = module.cloneCss$0();
  86723. 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) {
  86724. upstream = t1[_i];
  86725. if (upstream.get$transitivelyContainsCss()) {
  86726. _1_0 = module.get$preModuleComments().$index(0, upstream);
  86727. if (_1_0 != null)
  86728. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  86729. _this.call$1(upstream);
  86730. }
  86731. }
  86732. _this.sorted.addFirst$1(module);
  86733. t1 = module.get$css(module);
  86734. statements = t1.get$children(t1);
  86735. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  86736. t1 = J.getInterceptor$ax(statements);
  86737. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  86738. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  86739. },
  86740. $signature: 324
  86741. };
  86742. A._EvaluateVisitor__extendModules_closure5.prototype = {
  86743. call$1(target) {
  86744. return !this.originalSelectors.contains$1(0, target);
  86745. },
  86746. $signature: 14
  86747. };
  86748. A._EvaluateVisitor__extendModules_closure6.prototype = {
  86749. call$0() {
  86750. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  86751. },
  86752. $signature: 199
  86753. };
  86754. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  86755. call$0() {
  86756. var $async$goto = 0,
  86757. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86758. $async$self = this, t1, t2, t3, _i;
  86759. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86760. if ($async$errorCode === 1)
  86761. return A._asyncRethrow($async$result, $async$completer);
  86762. while (true)
  86763. switch ($async$goto) {
  86764. case 0:
  86765. // Function start
  86766. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86767. case 2:
  86768. // for condition
  86769. if (!(_i < t2)) {
  86770. // goto after for
  86771. $async$goto = 4;
  86772. break;
  86773. }
  86774. $async$goto = 5;
  86775. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86776. case 5:
  86777. // returning from await.
  86778. case 3:
  86779. // for update
  86780. ++_i;
  86781. // goto for condition
  86782. $async$goto = 2;
  86783. break;
  86784. case 4:
  86785. // after for
  86786. // implicit return
  86787. return A._asyncReturn(null, $async$completer);
  86788. }
  86789. });
  86790. return A._asyncStartSync($async$call$0, $async$completer);
  86791. },
  86792. $signature: 2
  86793. };
  86794. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  86795. call$0() {
  86796. var $async$goto = 0,
  86797. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86798. $async$self = this, t1, t2, t3, _i;
  86799. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86800. if ($async$errorCode === 1)
  86801. return A._asyncRethrow($async$result, $async$completer);
  86802. while (true)
  86803. switch ($async$goto) {
  86804. case 0:
  86805. // Function start
  86806. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86807. case 2:
  86808. // for condition
  86809. if (!(_i < t2)) {
  86810. // goto after for
  86811. $async$goto = 4;
  86812. break;
  86813. }
  86814. $async$goto = 5;
  86815. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86816. case 5:
  86817. // returning from await.
  86818. case 3:
  86819. // for update
  86820. ++_i;
  86821. // goto for condition
  86822. $async$goto = 2;
  86823. break;
  86824. case 4:
  86825. // after for
  86826. // implicit return
  86827. return A._asyncReturn(null, $async$completer);
  86828. }
  86829. });
  86830. return A._asyncStartSync($async$call$0, $async$completer);
  86831. },
  86832. $signature: 24
  86833. };
  86834. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  86835. call$1(callback) {
  86836. var $async$goto = 0,
  86837. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86838. $async$self = this, t1, t2;
  86839. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86840. if ($async$errorCode === 1)
  86841. return A._asyncRethrow($async$result, $async$completer);
  86842. while (true)
  86843. switch ($async$goto) {
  86844. case 0:
  86845. // Function start
  86846. t1 = $async$self.$this;
  86847. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  86848. t1._async_evaluate0$__parent = $async$self.newParent;
  86849. $async$goto = 2;
  86850. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  86851. case 2:
  86852. // returning from await.
  86853. t1._async_evaluate0$__parent = t2;
  86854. // implicit return
  86855. return A._asyncReturn(null, $async$completer);
  86856. }
  86857. });
  86858. return A._asyncStartSync($async$call$1, $async$completer);
  86859. },
  86860. $signature: 38
  86861. };
  86862. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  86863. call$1(callback) {
  86864. var $async$goto = 0,
  86865. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86866. $async$self = this, t1, oldAtRootExcludingStyleRule;
  86867. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86868. if ($async$errorCode === 1)
  86869. return A._asyncRethrow($async$result, $async$completer);
  86870. while (true)
  86871. switch ($async$goto) {
  86872. case 0:
  86873. // Function start
  86874. t1 = $async$self.$this;
  86875. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  86876. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  86877. $async$goto = 2;
  86878. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86879. case 2:
  86880. // returning from await.
  86881. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  86882. // implicit return
  86883. return A._asyncReturn(null, $async$completer);
  86884. }
  86885. });
  86886. return A._asyncStartSync($async$call$1, $async$completer);
  86887. },
  86888. $signature: 38
  86889. };
  86890. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  86891. call$1(callback) {
  86892. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  86893. },
  86894. $signature: 38
  86895. };
  86896. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  86897. call$0() {
  86898. return this.innerScope.call$1(this.callback);
  86899. },
  86900. $signature: 2
  86901. };
  86902. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  86903. call$1(callback) {
  86904. var $async$goto = 0,
  86905. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86906. $async$self = this, t1, wasInKeyframes;
  86907. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86908. if ($async$errorCode === 1)
  86909. return A._asyncRethrow($async$result, $async$completer);
  86910. while (true)
  86911. switch ($async$goto) {
  86912. case 0:
  86913. // Function start
  86914. t1 = $async$self.$this;
  86915. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  86916. t1._async_evaluate0$_inKeyframes = false;
  86917. $async$goto = 2;
  86918. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86919. case 2:
  86920. // returning from await.
  86921. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  86922. // implicit return
  86923. return A._asyncReturn(null, $async$completer);
  86924. }
  86925. });
  86926. return A._asyncStartSync($async$call$1, $async$completer);
  86927. },
  86928. $signature: 38
  86929. };
  86930. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  86931. call$1($parent) {
  86932. return $parent instanceof A.ModifiableCssAtRule0;
  86933. },
  86934. $signature: 198
  86935. };
  86936. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  86937. call$1(callback) {
  86938. var $async$goto = 0,
  86939. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86940. $async$self = this, t1, wasInUnknownAtRule;
  86941. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86942. if ($async$errorCode === 1)
  86943. return A._asyncRethrow($async$result, $async$completer);
  86944. while (true)
  86945. switch ($async$goto) {
  86946. case 0:
  86947. // Function start
  86948. t1 = $async$self.$this;
  86949. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86950. t1._async_evaluate0$_inUnknownAtRule = false;
  86951. $async$goto = 2;
  86952. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86953. case 2:
  86954. // returning from await.
  86955. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  86956. // implicit return
  86957. return A._asyncReturn(null, $async$completer);
  86958. }
  86959. });
  86960. return A._asyncStartSync($async$call$1, $async$completer);
  86961. },
  86962. $signature: 38
  86963. };
  86964. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  86965. call$0() {
  86966. var $async$goto = 0,
  86967. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86968. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  86969. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86970. if ($async$errorCode === 1)
  86971. return A._asyncRethrow($async$result, $async$completer);
  86972. while (true)
  86973. switch ($async$goto) {
  86974. case 0:
  86975. // Function start
  86976. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86977. case 3:
  86978. // for condition
  86979. if (!(_i < t2)) {
  86980. // goto after for
  86981. $async$goto = 5;
  86982. break;
  86983. }
  86984. $async$goto = 6;
  86985. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86986. case 6:
  86987. // returning from await.
  86988. case 4:
  86989. // for update
  86990. ++_i;
  86991. // goto for condition
  86992. $async$goto = 3;
  86993. break;
  86994. case 5:
  86995. // after for
  86996. $async$returnValue = null;
  86997. // goto return
  86998. $async$goto = 1;
  86999. break;
  87000. case 1:
  87001. // return
  87002. return A._asyncReturn($async$returnValue, $async$completer);
  87003. }
  87004. });
  87005. return A._asyncStartSync($async$call$0, $async$completer);
  87006. },
  87007. $signature: 2
  87008. };
  87009. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  87010. call$0() {
  87011. var $async$goto = 0,
  87012. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87013. $async$self = this, t1, t2, t3, _i;
  87014. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87015. if ($async$errorCode === 1)
  87016. return A._asyncRethrow($async$result, $async$completer);
  87017. while (true)
  87018. switch ($async$goto) {
  87019. case 0:
  87020. // Function start
  87021. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87022. case 2:
  87023. // for condition
  87024. if (!(_i < t2)) {
  87025. // goto after for
  87026. $async$goto = 4;
  87027. break;
  87028. }
  87029. $async$goto = 5;
  87030. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87031. case 5:
  87032. // returning from await.
  87033. case 3:
  87034. // for update
  87035. ++_i;
  87036. // goto for condition
  87037. $async$goto = 2;
  87038. break;
  87039. case 4:
  87040. // after for
  87041. // implicit return
  87042. return A._asyncReturn(null, $async$completer);
  87043. }
  87044. });
  87045. return A._asyncStartSync($async$call$0, $async$completer);
  87046. },
  87047. $signature: 2
  87048. };
  87049. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  87050. call$1(value) {
  87051. var t1 = this.$this,
  87052. t2 = this.nodeWithSpan;
  87053. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  87054. },
  87055. $signature: 65
  87056. };
  87057. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  87058. call$1(value) {
  87059. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  87060. },
  87061. $signature: 65
  87062. };
  87063. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  87064. call$0() {
  87065. var _this = this,
  87066. t1 = _this.$this;
  87067. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  87068. },
  87069. $signature: 68
  87070. };
  87071. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  87072. call$1(element) {
  87073. var t1;
  87074. this.setVariables.call$1(element);
  87075. t1 = this.$this;
  87076. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  87077. },
  87078. $signature: 329
  87079. };
  87080. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  87081. call$1(child) {
  87082. return child.accept$1(this.$this);
  87083. },
  87084. $signature: 78
  87085. };
  87086. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  87087. call$1(value) {
  87088. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  87089. },
  87090. $signature: 331
  87091. };
  87092. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  87093. call$0() {
  87094. var $async$goto = 0,
  87095. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87096. $async$self = this, t2, t3, _i, t1, styleRule;
  87097. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87098. if ($async$errorCode === 1)
  87099. return A._asyncRethrow($async$result, $async$completer);
  87100. while (true)
  87101. switch ($async$goto) {
  87102. case 0:
  87103. // Function start
  87104. t1 = $async$self.$this;
  87105. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87106. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  87107. break;
  87108. case 2:
  87109. // then
  87110. t2 = $async$self.children, t3 = t2.length, _i = 0;
  87111. case 5:
  87112. // for condition
  87113. if (!(_i < t3)) {
  87114. // goto after for
  87115. $async$goto = 7;
  87116. break;
  87117. }
  87118. $async$goto = 8;
  87119. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87120. case 8:
  87121. // returning from await.
  87122. case 6:
  87123. // for update
  87124. ++_i;
  87125. // goto for condition
  87126. $async$goto = 5;
  87127. break;
  87128. case 7:
  87129. // after for
  87130. // goto join
  87131. $async$goto = 3;
  87132. break;
  87133. case 4:
  87134. // else
  87135. $async$goto = 9;
  87136. 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);
  87137. case 9:
  87138. // returning from await.
  87139. case 3:
  87140. // join
  87141. // implicit return
  87142. return A._asyncReturn(null, $async$completer);
  87143. }
  87144. });
  87145. return A._asyncStartSync($async$call$0, $async$completer);
  87146. },
  87147. $signature: 2
  87148. };
  87149. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  87150. call$0() {
  87151. var $async$goto = 0,
  87152. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87153. $async$self = this, t1, t2, t3, _i;
  87154. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87155. if ($async$errorCode === 1)
  87156. return A._asyncRethrow($async$result, $async$completer);
  87157. while (true)
  87158. switch ($async$goto) {
  87159. case 0:
  87160. // Function start
  87161. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87162. case 2:
  87163. // for condition
  87164. if (!(_i < t2)) {
  87165. // goto after for
  87166. $async$goto = 4;
  87167. break;
  87168. }
  87169. $async$goto = 5;
  87170. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87171. case 5:
  87172. // returning from await.
  87173. case 3:
  87174. // for update
  87175. ++_i;
  87176. // goto for condition
  87177. $async$goto = 2;
  87178. break;
  87179. case 4:
  87180. // after for
  87181. // implicit return
  87182. return A._asyncReturn(null, $async$completer);
  87183. }
  87184. });
  87185. return A._asyncStartSync($async$call$0, $async$completer);
  87186. },
  87187. $signature: 2
  87188. };
  87189. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  87190. call$1(node) {
  87191. return node instanceof A.ModifiableCssStyleRule0;
  87192. },
  87193. $signature: 8
  87194. };
  87195. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  87196. call$0() {
  87197. var $async$goto = 0,
  87198. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87199. $async$returnValue, $async$self = this;
  87200. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87201. if ($async$errorCode === 1)
  87202. return A._asyncRethrow($async$result, $async$completer);
  87203. while (true)
  87204. switch ($async$goto) {
  87205. case 0:
  87206. // Function start
  87207. $async$goto = 3;
  87208. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  87209. case 3:
  87210. // returning from await.
  87211. $async$returnValue = $async$result.assertNumber$0();
  87212. // goto return
  87213. $async$goto = 1;
  87214. break;
  87215. case 1:
  87216. // return
  87217. return A._asyncReturn($async$returnValue, $async$completer);
  87218. }
  87219. });
  87220. return A._asyncStartSync($async$call$0, $async$completer);
  87221. },
  87222. $signature: 192
  87223. };
  87224. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  87225. call$0() {
  87226. var $async$goto = 0,
  87227. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87228. $async$returnValue, $async$self = this;
  87229. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87230. if ($async$errorCode === 1)
  87231. return A._asyncRethrow($async$result, $async$completer);
  87232. while (true)
  87233. switch ($async$goto) {
  87234. case 0:
  87235. // Function start
  87236. $async$goto = 3;
  87237. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  87238. case 3:
  87239. // returning from await.
  87240. $async$returnValue = $async$result.assertNumber$0();
  87241. // goto return
  87242. $async$goto = 1;
  87243. break;
  87244. case 1:
  87245. // return
  87246. return A._asyncReturn($async$returnValue, $async$completer);
  87247. }
  87248. });
  87249. return A._asyncStartSync($async$call$0, $async$completer);
  87250. },
  87251. $signature: 192
  87252. };
  87253. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  87254. call$0() {
  87255. return this.fromNumber.assertInt$0();
  87256. },
  87257. $signature: 10
  87258. };
  87259. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  87260. call$0() {
  87261. var t1 = this.fromNumber;
  87262. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  87263. },
  87264. $signature: 10
  87265. };
  87266. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  87267. call$0() {
  87268. var $async$goto = 0,
  87269. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87270. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  87271. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87272. if ($async$errorCode === 1)
  87273. return A._asyncRethrow($async$result, $async$completer);
  87274. while (true)
  87275. switch ($async$goto) {
  87276. case 0:
  87277. // Function start
  87278. t1 = $async$self.$this;
  87279. t2 = $async$self.node;
  87280. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  87281. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  87282. case 3:
  87283. // for condition
  87284. if (!(i !== t3.to)) {
  87285. // goto after for
  87286. $async$goto = 5;
  87287. break;
  87288. }
  87289. t7 = t1._async_evaluate0$_environment;
  87290. t8 = t6.get$numeratorUnits(t6);
  87291. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  87292. $async$goto = 6;
  87293. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  87294. case 6:
  87295. // returning from await.
  87296. _0_0 = $async$result;
  87297. if (_0_0 != null) {
  87298. $async$returnValue = _0_0;
  87299. // goto return
  87300. $async$goto = 1;
  87301. break;
  87302. }
  87303. case 4:
  87304. // for update
  87305. i += t4;
  87306. // goto for condition
  87307. $async$goto = 3;
  87308. break;
  87309. case 5:
  87310. // after for
  87311. $async$returnValue = null;
  87312. // goto return
  87313. $async$goto = 1;
  87314. break;
  87315. case 1:
  87316. // return
  87317. return A._asyncReturn($async$returnValue, $async$completer);
  87318. }
  87319. });
  87320. return A._asyncStartSync($async$call$0, $async$completer);
  87321. },
  87322. $signature: 68
  87323. };
  87324. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  87325. call$1(child) {
  87326. return child.accept$1(this.$this);
  87327. },
  87328. $signature: 78
  87329. };
  87330. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  87331. call$2(module, firstLoad) {
  87332. if (firstLoad)
  87333. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87334. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87335. },
  87336. $signature: 113
  87337. };
  87338. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  87339. call$2(module, firstLoad) {
  87340. if (firstLoad)
  87341. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87342. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87343. },
  87344. $signature: 113
  87345. };
  87346. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  87347. call$0() {
  87348. return A._setArrayType([], type$.JSArray_CssComment_2);
  87349. },
  87350. $signature: 190
  87351. };
  87352. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  87353. call$1(clause) {
  87354. var t1 = this.$this;
  87355. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  87356. },
  87357. $signature: 336
  87358. };
  87359. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  87360. call$0() {
  87361. var t1 = this.$this;
  87362. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  87363. },
  87364. $signature: 68
  87365. };
  87366. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  87367. call$1(child) {
  87368. return child.accept$1(this.$this);
  87369. },
  87370. $signature: 78
  87371. };
  87372. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  87373. call$0() {
  87374. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  87375. },
  87376. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  87377. var $async$goto = 0,
  87378. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87379. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  87380. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87381. if ($async$errorCode === 1)
  87382. return A._asyncRethrow($async$result, $async$completer);
  87383. while (true)
  87384. switch ($async$goto) {
  87385. case 0:
  87386. // Function start
  87387. _box_0 = {};
  87388. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  87389. t1 = $async$self.$this;
  87390. t2 = $async$self.$import;
  87391. $async$goto = 3;
  87392. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  87393. case 3:
  87394. // returning from await.
  87395. _0_0 = $async$result;
  87396. stylesheet = _box_0.stylesheet = _0_0._0;
  87397. importer = _0_0._1;
  87398. _box_0.importer = importer;
  87399. isDependency = _0_0._2;
  87400. _box_0.isDependency = isDependency;
  87401. url = stylesheet.span.file.url;
  87402. if (url != null) {
  87403. t3 = t1._async_evaluate0$_activeModules;
  87404. if (t3.containsKey$1(url)) {
  87405. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  87406. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  87407. }
  87408. t3.$indexSet(0, url, t2);
  87409. }
  87410. t2 = stylesheet._stylesheet1$_uses;
  87411. t3 = type$.UnmodifiableListView_UseRule_2;
  87412. $async$goto = new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0 ? 4 : 5;
  87413. break;
  87414. case 4:
  87415. // then
  87416. oldImporter = t1._async_evaluate0$_importer;
  87417. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87418. oldInDependency = t1._async_evaluate0$_inDependency;
  87419. t1._async_evaluate0$_importer = importer;
  87420. t1._async_evaluate0$__stylesheet = stylesheet;
  87421. t1._async_evaluate0$_inDependency = isDependency;
  87422. $async$goto = 6;
  87423. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  87424. case 6:
  87425. // returning from await.
  87426. t1._async_evaluate0$_importer = oldImporter;
  87427. t1._async_evaluate0$__stylesheet = t2;
  87428. t1._async_evaluate0$_inDependency = oldInDependency;
  87429. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87430. // goto return
  87431. $async$goto = 1;
  87432. break;
  87433. case 5:
  87434. // join
  87435. t2 = new A.UnmodifiableListView(t2, t3);
  87436. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  87437. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87438. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  87439. } else
  87440. loadsUserDefinedModules = true;
  87441. children = A._Cell$();
  87442. t2 = t1._async_evaluate0$_environment;
  87443. t3 = type$.String;
  87444. t4 = type$.Module_AsyncCallable_2;
  87445. t5 = type$.AstNode_2;
  87446. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  87447. t7 = t2._async_environment0$_variables;
  87448. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  87449. t8 = t2._async_environment0$_variableNodes;
  87450. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  87451. t9 = t2._async_environment0$_functions;
  87452. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  87453. t10 = t2._async_environment0$_mixins;
  87454. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  87455. 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);
  87456. $async$goto = 7;
  87457. 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);
  87458. case 7:
  87459. // returning from await.
  87460. module = environment.toDummyModule$0();
  87461. t1._async_evaluate0$_environment.importForwards$1(module);
  87462. $async$goto = loadsUserDefinedModules ? 8 : 9;
  87463. break;
  87464. case 8:
  87465. // then
  87466. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  87467. break;
  87468. case 10:
  87469. // then
  87470. $async$goto = 12;
  87471. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  87472. case 12:
  87473. // returning from await.
  87474. case 11:
  87475. // join
  87476. visitor = new A._ImportedCssVisitor2(t1);
  87477. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  87478. t2.get$current(t2).accept$1(visitor);
  87479. case 9:
  87480. // join
  87481. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87482. case 1:
  87483. // return
  87484. return A._asyncReturn($async$returnValue, $async$completer);
  87485. }
  87486. });
  87487. return A._asyncStartSync($async$call$0, $async$completer);
  87488. },
  87489. $signature: 24
  87490. };
  87491. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  87492. call$1(previousLoad) {
  87493. 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));
  87494. },
  87495. $signature: 79
  87496. };
  87497. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  87498. call$1(rule) {
  87499. return rule.url.get$scheme() !== "sass";
  87500. },
  87501. $signature: 189
  87502. };
  87503. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  87504. call$1(rule) {
  87505. return rule.url.get$scheme() !== "sass";
  87506. },
  87507. $signature: 187
  87508. };
  87509. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  87510. call$0() {
  87511. var $async$goto = 0,
  87512. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87513. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  87514. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87515. if ($async$errorCode === 1)
  87516. return A._asyncRethrow($async$result, $async$completer);
  87517. while (true)
  87518. switch ($async$goto) {
  87519. case 0:
  87520. // Function start
  87521. t1 = $async$self.$this;
  87522. oldImporter = t1._async_evaluate0$_importer;
  87523. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87524. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  87525. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87526. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  87527. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  87528. oldConfiguration = t1._async_evaluate0$_configuration;
  87529. oldInDependency = t1._async_evaluate0$_inDependency;
  87530. t6 = $async$self._box_0;
  87531. t1._async_evaluate0$_importer = t6.importer;
  87532. t7 = t6.stylesheet;
  87533. t1._async_evaluate0$__stylesheet = t7;
  87534. t8 = $async$self.loadsUserDefinedModules;
  87535. if (t8) {
  87536. t7 = A.ModifiableCssStylesheet$0(t7.span);
  87537. t1._async_evaluate0$__root = t7;
  87538. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t7, "_root");
  87539. t1._async_evaluate0$__endOfImports = 0;
  87540. t1._async_evaluate0$_outOfOrderImports = null;
  87541. }
  87542. t1._async_evaluate0$_inDependency = t6.isDependency;
  87543. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87544. if (!t7.get$isEmpty(t7))
  87545. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  87546. $async$goto = 2;
  87547. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  87548. case 2:
  87549. // returning from await.
  87550. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  87551. $async$self.children._value = t6;
  87552. t1._async_evaluate0$_importer = oldImporter;
  87553. t1._async_evaluate0$__stylesheet = t2;
  87554. if (t8) {
  87555. t1._async_evaluate0$__root = t3;
  87556. t1._async_evaluate0$__parent = t4;
  87557. t1._async_evaluate0$__endOfImports = t5;
  87558. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  87559. }
  87560. t1._async_evaluate0$_configuration = oldConfiguration;
  87561. t1._async_evaluate0$_inDependency = oldInDependency;
  87562. // implicit return
  87563. return A._asyncReturn(null, $async$completer);
  87564. }
  87565. });
  87566. return A._asyncStartSync($async$call$0, $async$completer);
  87567. },
  87568. $signature: 2
  87569. };
  87570. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  87571. call$0() {
  87572. var $async$goto = 0,
  87573. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87574. $async$self = this, t1;
  87575. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87576. if ($async$errorCode === 1)
  87577. return A._asyncRethrow($async$result, $async$completer);
  87578. while (true)
  87579. switch ($async$goto) {
  87580. case 0:
  87581. // Function start
  87582. t1 = $async$self.$this;
  87583. $async$goto = 2;
  87584. 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);
  87585. case 2:
  87586. // returning from await.
  87587. // implicit return
  87588. return A._asyncReturn(null, $async$completer);
  87589. }
  87590. });
  87591. return A._asyncStartSync($async$call$0, $async$completer);
  87592. },
  87593. $signature: 24
  87594. };
  87595. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  87596. call$0() {
  87597. var $async$goto = 0,
  87598. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87599. $async$self = this;
  87600. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87601. if ($async$errorCode === 1)
  87602. return A._asyncRethrow($async$result, $async$completer);
  87603. while (true)
  87604. switch ($async$goto) {
  87605. case 0:
  87606. // Function start
  87607. $async$goto = 2;
  87608. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  87609. case 2:
  87610. // returning from await.
  87611. // implicit return
  87612. return A._asyncReturn(null, $async$completer);
  87613. }
  87614. });
  87615. return A._asyncStartSync($async$call$0, $async$completer);
  87616. },
  87617. $signature: 24
  87618. };
  87619. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  87620. call$0() {
  87621. var $async$goto = 0,
  87622. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87623. $async$self = this, t1;
  87624. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87625. if ($async$errorCode === 1)
  87626. return A._asyncRethrow($async$result, $async$completer);
  87627. while (true)
  87628. switch ($async$goto) {
  87629. case 0:
  87630. // Function start
  87631. t1 = $async$self.$this;
  87632. $async$goto = 2;
  87633. 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);
  87634. case 2:
  87635. // returning from await.
  87636. // implicit return
  87637. return A._asyncReturn(null, $async$completer);
  87638. }
  87639. });
  87640. return A._asyncStartSync($async$call$0, $async$completer);
  87641. },
  87642. $signature: 2
  87643. };
  87644. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  87645. call$0() {
  87646. var $async$goto = 0,
  87647. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87648. $async$self = this, t1;
  87649. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87650. if ($async$errorCode === 1)
  87651. return A._asyncRethrow($async$result, $async$completer);
  87652. while (true)
  87653. switch ($async$goto) {
  87654. case 0:
  87655. // Function start
  87656. t1 = $async$self.$this;
  87657. $async$goto = 2;
  87658. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87659. case 2:
  87660. // returning from await.
  87661. // implicit return
  87662. return A._asyncReturn(null, $async$completer);
  87663. }
  87664. });
  87665. return A._asyncStartSync($async$call$0, $async$completer);
  87666. },
  87667. $signature: 24
  87668. };
  87669. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  87670. call$0() {
  87671. var $async$goto = 0,
  87672. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87673. $async$self = this, t1, t2, t3, t4, t5, _i;
  87674. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87675. if ($async$errorCode === 1)
  87676. return A._asyncRethrow($async$result, $async$completer);
  87677. while (true)
  87678. switch ($async$goto) {
  87679. case 0:
  87680. // Function start
  87681. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  87682. case 2:
  87683. // for condition
  87684. if (!(_i < t2)) {
  87685. // goto after for
  87686. $async$goto = 4;
  87687. break;
  87688. }
  87689. $async$goto = 5;
  87690. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  87691. case 5:
  87692. // returning from await.
  87693. case 3:
  87694. // for update
  87695. ++_i;
  87696. // goto for condition
  87697. $async$goto = 2;
  87698. break;
  87699. case 4:
  87700. // after for
  87701. // implicit return
  87702. return A._asyncReturn(null, $async$completer);
  87703. }
  87704. });
  87705. return A._asyncStartSync($async$call$0, $async$completer);
  87706. },
  87707. $signature: 24
  87708. };
  87709. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  87710. call$0() {
  87711. return this.statement.accept$1(this.$this);
  87712. },
  87713. $signature: 68
  87714. };
  87715. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  87716. call$0() {
  87717. var t1 = this.node;
  87718. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  87719. },
  87720. $signature: 83
  87721. };
  87722. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  87723. call$1($content) {
  87724. var t1 = this.$this;
  87725. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  87726. },
  87727. $signature: 339
  87728. };
  87729. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  87730. call$0() {
  87731. return this.node.get$spanWithoutContent();
  87732. },
  87733. $signature: 25
  87734. };
  87735. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  87736. call$1(mediaQueries) {
  87737. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  87738. },
  87739. $signature: 93
  87740. };
  87741. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  87742. call$0() {
  87743. var $async$goto = 0,
  87744. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87745. $async$self = this, t1, t2;
  87746. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87747. if ($async$errorCode === 1)
  87748. return A._asyncRethrow($async$result, $async$completer);
  87749. while (true)
  87750. switch ($async$goto) {
  87751. case 0:
  87752. // Function start
  87753. t1 = $async$self.$this;
  87754. t2 = $async$self.mergedQueries;
  87755. if (t2 == null)
  87756. t2 = $async$self.queries;
  87757. $async$goto = 2;
  87758. 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);
  87759. case 2:
  87760. // returning from await.
  87761. // implicit return
  87762. return A._asyncReturn(null, $async$completer);
  87763. }
  87764. });
  87765. return A._asyncStartSync($async$call$0, $async$completer);
  87766. },
  87767. $signature: 2
  87768. };
  87769. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  87770. call$0() {
  87771. var $async$goto = 0,
  87772. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87773. $async$self = this, t2, t3, _i, t1, _0_0;
  87774. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87775. if ($async$errorCode === 1)
  87776. return A._asyncRethrow($async$result, $async$completer);
  87777. while (true)
  87778. switch ($async$goto) {
  87779. case 0:
  87780. // Function start
  87781. t1 = $async$self.$this;
  87782. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87783. $async$goto = _0_0 != null ? 2 : 4;
  87784. break;
  87785. case 2:
  87786. // then
  87787. $async$goto = 5;
  87788. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  87789. case 5:
  87790. // returning from await.
  87791. // goto join
  87792. $async$goto = 3;
  87793. break;
  87794. case 4:
  87795. // else
  87796. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  87797. case 6:
  87798. // for condition
  87799. if (!(_i < t3)) {
  87800. // goto after for
  87801. $async$goto = 8;
  87802. break;
  87803. }
  87804. $async$goto = 9;
  87805. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87806. case 9:
  87807. // returning from await.
  87808. case 7:
  87809. // for update
  87810. ++_i;
  87811. // goto for condition
  87812. $async$goto = 6;
  87813. break;
  87814. case 8:
  87815. // after for
  87816. case 3:
  87817. // join
  87818. // implicit return
  87819. return A._asyncReturn(null, $async$completer);
  87820. }
  87821. });
  87822. return A._asyncStartSync($async$call$0, $async$completer);
  87823. },
  87824. $signature: 2
  87825. };
  87826. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  87827. call$0() {
  87828. var $async$goto = 0,
  87829. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87830. $async$self = this, t1, t2, t3, _i;
  87831. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87832. if ($async$errorCode === 1)
  87833. return A._asyncRethrow($async$result, $async$completer);
  87834. while (true)
  87835. switch ($async$goto) {
  87836. case 0:
  87837. // Function start
  87838. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87839. case 2:
  87840. // for condition
  87841. if (!(_i < t2)) {
  87842. // goto after for
  87843. $async$goto = 4;
  87844. break;
  87845. }
  87846. $async$goto = 5;
  87847. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87848. case 5:
  87849. // returning from await.
  87850. case 3:
  87851. // for update
  87852. ++_i;
  87853. // goto for condition
  87854. $async$goto = 2;
  87855. break;
  87856. case 4:
  87857. // after for
  87858. // implicit return
  87859. return A._asyncReturn(null, $async$completer);
  87860. }
  87861. });
  87862. return A._asyncStartSync($async$call$0, $async$completer);
  87863. },
  87864. $signature: 2
  87865. };
  87866. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  87867. call$1(node) {
  87868. var t1;
  87869. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  87870. t1 = this.mergedSources;
  87871. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  87872. } else
  87873. t1 = true;
  87874. return t1;
  87875. },
  87876. $signature: 8
  87877. };
  87878. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  87879. call$0() {
  87880. var $async$goto = 0,
  87881. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87882. $async$self = this, t1, t2, t3, _i;
  87883. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87884. if ($async$errorCode === 1)
  87885. return A._asyncRethrow($async$result, $async$completer);
  87886. while (true)
  87887. switch ($async$goto) {
  87888. case 0:
  87889. // Function start
  87890. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87891. case 2:
  87892. // for condition
  87893. if (!(_i < t2)) {
  87894. // goto after for
  87895. $async$goto = 4;
  87896. break;
  87897. }
  87898. $async$goto = 5;
  87899. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87900. case 5:
  87901. // returning from await.
  87902. case 3:
  87903. // for update
  87904. ++_i;
  87905. // goto for condition
  87906. $async$goto = 2;
  87907. break;
  87908. case 4:
  87909. // after for
  87910. // implicit return
  87911. return A._asyncReturn(null, $async$completer);
  87912. }
  87913. });
  87914. return A._asyncStartSync($async$call$0, $async$completer);
  87915. },
  87916. $signature: 2
  87917. };
  87918. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  87919. call$1(node) {
  87920. return node instanceof A.ModifiableCssStyleRule0;
  87921. },
  87922. $signature: 8
  87923. };
  87924. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  87925. call$0() {
  87926. var $async$goto = 0,
  87927. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87928. $async$self = this, t1;
  87929. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87930. if ($async$errorCode === 1)
  87931. return A._asyncRethrow($async$result, $async$completer);
  87932. while (true)
  87933. switch ($async$goto) {
  87934. case 0:
  87935. // Function start
  87936. t1 = $async$self.$this;
  87937. $async$goto = 2;
  87938. 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);
  87939. case 2:
  87940. // returning from await.
  87941. // implicit return
  87942. return A._asyncReturn(null, $async$completer);
  87943. }
  87944. });
  87945. return A._asyncStartSync($async$call$0, $async$completer);
  87946. },
  87947. $signature: 2
  87948. };
  87949. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  87950. call$0() {
  87951. var $async$goto = 0,
  87952. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87953. $async$self = this, t1, t2, t3, _i;
  87954. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87955. if ($async$errorCode === 1)
  87956. return A._asyncRethrow($async$result, $async$completer);
  87957. while (true)
  87958. switch ($async$goto) {
  87959. case 0:
  87960. // Function start
  87961. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87962. case 2:
  87963. // for condition
  87964. if (!(_i < t2)) {
  87965. // goto after for
  87966. $async$goto = 4;
  87967. break;
  87968. }
  87969. $async$goto = 5;
  87970. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87971. case 5:
  87972. // returning from await.
  87973. case 3:
  87974. // for update
  87975. ++_i;
  87976. // goto for condition
  87977. $async$goto = 2;
  87978. break;
  87979. case 4:
  87980. // after for
  87981. // implicit return
  87982. return A._asyncReturn(null, $async$completer);
  87983. }
  87984. });
  87985. return A._asyncStartSync($async$call$0, $async$completer);
  87986. },
  87987. $signature: 2
  87988. };
  87989. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  87990. call$1(node) {
  87991. return node instanceof A.ModifiableCssStyleRule0;
  87992. },
  87993. $signature: 8
  87994. };
  87995. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  87996. call$1(child) {
  87997. return child instanceof A.ModifiableCssComment0;
  87998. },
  87999. $signature: 130
  88000. };
  88001. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  88002. call$0() {
  88003. var $async$goto = 0,
  88004. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88005. $async$self = this, t2, t3, _i, t1, _0_0;
  88006. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88007. if ($async$errorCode === 1)
  88008. return A._asyncRethrow($async$result, $async$completer);
  88009. while (true)
  88010. switch ($async$goto) {
  88011. case 0:
  88012. // Function start
  88013. t1 = $async$self.$this;
  88014. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88015. $async$goto = _0_0 != null ? 2 : 4;
  88016. break;
  88017. case 2:
  88018. // then
  88019. $async$goto = 5;
  88020. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  88021. case 5:
  88022. // returning from await.
  88023. // goto join
  88024. $async$goto = 3;
  88025. break;
  88026. case 4:
  88027. // else
  88028. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  88029. case 6:
  88030. // for condition
  88031. if (!(_i < t3)) {
  88032. // goto after for
  88033. $async$goto = 8;
  88034. break;
  88035. }
  88036. $async$goto = 9;
  88037. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  88038. case 9:
  88039. // returning from await.
  88040. case 7:
  88041. // for update
  88042. ++_i;
  88043. // goto for condition
  88044. $async$goto = 6;
  88045. break;
  88046. case 8:
  88047. // after for
  88048. case 3:
  88049. // join
  88050. // implicit return
  88051. return A._asyncReturn(null, $async$completer);
  88052. }
  88053. });
  88054. return A._asyncStartSync($async$call$0, $async$completer);
  88055. },
  88056. $signature: 2
  88057. };
  88058. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  88059. call$0() {
  88060. var $async$goto = 0,
  88061. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88062. $async$self = this, t1, t2, t3, _i;
  88063. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88064. if ($async$errorCode === 1)
  88065. return A._asyncRethrow($async$result, $async$completer);
  88066. while (true)
  88067. switch ($async$goto) {
  88068. case 0:
  88069. // Function start
  88070. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88071. case 2:
  88072. // for condition
  88073. if (!(_i < t2)) {
  88074. // goto after for
  88075. $async$goto = 4;
  88076. break;
  88077. }
  88078. $async$goto = 5;
  88079. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88080. case 5:
  88081. // returning from await.
  88082. case 3:
  88083. // for update
  88084. ++_i;
  88085. // goto for condition
  88086. $async$goto = 2;
  88087. break;
  88088. case 4:
  88089. // after for
  88090. // implicit return
  88091. return A._asyncReturn(null, $async$completer);
  88092. }
  88093. });
  88094. return A._asyncStartSync($async$call$0, $async$completer);
  88095. },
  88096. $signature: 2
  88097. };
  88098. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  88099. call$1(node) {
  88100. return node instanceof A.ModifiableCssStyleRule0;
  88101. },
  88102. $signature: 8
  88103. };
  88104. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  88105. call$0() {
  88106. var $async$goto = 0,
  88107. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88108. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  88109. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88110. if ($async$errorCode === 1)
  88111. return A._asyncRethrow($async$result, $async$completer);
  88112. while (true)
  88113. switch ($async$goto) {
  88114. case 0:
  88115. // Function start
  88116. t1 = $async$self.$this;
  88117. t2 = $async$self._box_0;
  88118. $async$temp1 = A;
  88119. $async$goto = 3;
  88120. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  88121. case 3:
  88122. // returning from await.
  88123. t3 = $async$temp1.S($async$result);
  88124. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  88125. $async$temp1 = "(" + t3 + ":" + t4;
  88126. $async$temp2 = A;
  88127. $async$goto = 4;
  88128. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  88129. case 4:
  88130. // returning from await.
  88131. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  88132. // goto return
  88133. $async$goto = 1;
  88134. break;
  88135. case 1:
  88136. // return
  88137. return A._asyncReturn($async$returnValue, $async$completer);
  88138. }
  88139. });
  88140. return A._asyncStartSync($async$call$0, $async$completer);
  88141. },
  88142. $signature: 239
  88143. };
  88144. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  88145. call$0() {
  88146. var t1 = this.$this._async_evaluate0$_environment,
  88147. t2 = this._box_0.override;
  88148. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  88149. },
  88150. $signature: 1
  88151. };
  88152. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  88153. call$0() {
  88154. var t1 = this.node;
  88155. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88156. },
  88157. $signature: 42
  88158. };
  88159. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  88160. call$0() {
  88161. var t1 = this.$this,
  88162. t2 = this.node;
  88163. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  88164. },
  88165. $signature: 1
  88166. };
  88167. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  88168. call$2(module, firstLoad) {
  88169. var t1, t2, t3, _0_0, t4, t5, span;
  88170. if (firstLoad)
  88171. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  88172. t1 = this.$this._async_evaluate0$_environment;
  88173. t2 = this.node;
  88174. t3 = t2.namespace;
  88175. if (t3 == null) {
  88176. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  88177. t1._async_environment0$_allModules.push(module);
  88178. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  88179. if (_0_0 != null)
  88180. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  88181. } else {
  88182. t4 = t1._async_environment0$_modules;
  88183. if (t4.containsKey$1(t3)) {
  88184. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  88185. span = t5 == null ? null : t5.span;
  88186. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88187. if (span != null)
  88188. t5.$indexSet(0, span, "original @use");
  88189. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  88190. }
  88191. t4.$indexSet(0, t3, module);
  88192. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  88193. t1._async_environment0$_allModules.push(module);
  88194. }
  88195. },
  88196. $signature: 113
  88197. };
  88198. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  88199. call$0() {
  88200. return this.node.expression.accept$1(this.$this);
  88201. },
  88202. $signature: 75
  88203. };
  88204. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  88205. call$0() {
  88206. var $async$goto = 0,
  88207. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88208. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  88209. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88210. if ($async$errorCode === 1)
  88211. return A._asyncRethrow($async$result, $async$completer);
  88212. while (true)
  88213. switch ($async$goto) {
  88214. case 0:
  88215. // Function start
  88216. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  88217. case 3:
  88218. // for condition
  88219. $async$goto = 5;
  88220. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  88221. case 5:
  88222. // returning from await.
  88223. if (!$async$result.get$isTruthy()) {
  88224. // goto after for
  88225. $async$goto = 4;
  88226. break;
  88227. }
  88228. $async$goto = 6;
  88229. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  88230. case 6:
  88231. // returning from await.
  88232. _0_0 = $async$result;
  88233. if (_0_0 != null) {
  88234. $async$returnValue = _0_0;
  88235. // goto return
  88236. $async$goto = 1;
  88237. break;
  88238. }
  88239. // goto for condition
  88240. $async$goto = 3;
  88241. break;
  88242. case 4:
  88243. // after for
  88244. $async$returnValue = null;
  88245. // goto return
  88246. $async$goto = 1;
  88247. break;
  88248. case 1:
  88249. // return
  88250. return A._asyncReturn($async$returnValue, $async$completer);
  88251. }
  88252. });
  88253. return A._asyncStartSync($async$call$0, $async$completer);
  88254. },
  88255. $signature: 68
  88256. };
  88257. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  88258. call$1(child) {
  88259. return child.accept$1(this.$this);
  88260. },
  88261. $signature: 78
  88262. };
  88263. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  88264. call$0() {
  88265. var $async$goto = 0,
  88266. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88267. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  88268. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88269. if ($async$errorCode === 1)
  88270. return A._asyncRethrow($async$result, $async$completer);
  88271. while (true)
  88272. switch ($async$goto) {
  88273. case 0:
  88274. // Function start
  88275. t1 = $async$self.node;
  88276. t2 = $async$self.$this;
  88277. $async$goto = 3;
  88278. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  88279. case 3:
  88280. // returning from await.
  88281. left = $async$result;
  88282. case 4:
  88283. // switch
  88284. switch (t1.operator) {
  88285. case B.BinaryOperator_2jN0:
  88286. // goto case
  88287. $async$goto = 6;
  88288. break;
  88289. case B.BinaryOperator_M6L0:
  88290. // goto case
  88291. $async$goto = 7;
  88292. break;
  88293. case B.BinaryOperator_SNp0:
  88294. // goto case
  88295. $async$goto = 8;
  88296. break;
  88297. case B.BinaryOperator_ql50:
  88298. // goto case
  88299. $async$goto = 9;
  88300. break;
  88301. case B.BinaryOperator_ViB0:
  88302. // goto case
  88303. $async$goto = 10;
  88304. break;
  88305. case B.BinaryOperator_cIH0:
  88306. // goto case
  88307. $async$goto = 11;
  88308. break;
  88309. case B.BinaryOperator_7Tg0:
  88310. // goto case
  88311. $async$goto = 12;
  88312. break;
  88313. case B.BinaryOperator_U8c0:
  88314. // goto case
  88315. $async$goto = 13;
  88316. break;
  88317. case B.BinaryOperator_kpg0:
  88318. // goto case
  88319. $async$goto = 14;
  88320. break;
  88321. case B.BinaryOperator_anB0:
  88322. // goto case
  88323. $async$goto = 15;
  88324. break;
  88325. case B.BinaryOperator_olz0:
  88326. // goto case
  88327. $async$goto = 16;
  88328. break;
  88329. case B.BinaryOperator_qN20:
  88330. // goto case
  88331. $async$goto = 17;
  88332. break;
  88333. case B.BinaryOperator_t8B0:
  88334. // goto case
  88335. $async$goto = 18;
  88336. break;
  88337. case B.BinaryOperator_OTG0:
  88338. // goto case
  88339. $async$goto = 19;
  88340. break;
  88341. default:
  88342. // goto default
  88343. $async$goto = 20;
  88344. break;
  88345. }
  88346. break;
  88347. case 6:
  88348. // case
  88349. t1 = t1.right.accept$1(t2);
  88350. $async$goto = 21;
  88351. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88352. case 21:
  88353. // returning from await.
  88354. t1 = $async$result;
  88355. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  88356. // goto after switch
  88357. $async$goto = 5;
  88358. break;
  88359. case 7:
  88360. // case
  88361. $async$goto = left.get$isTruthy() ? 22 : 24;
  88362. break;
  88363. case 22:
  88364. // then
  88365. t1 = left;
  88366. // goto join
  88367. $async$goto = 23;
  88368. break;
  88369. case 24:
  88370. // else
  88371. t1 = t1.right.accept$1(t2);
  88372. $async$goto = 25;
  88373. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88374. case 25:
  88375. // returning from await.
  88376. t1 = $async$result;
  88377. case 23:
  88378. // join
  88379. // goto after switch
  88380. $async$goto = 5;
  88381. break;
  88382. case 8:
  88383. // case
  88384. $async$goto = left.get$isTruthy() ? 26 : 28;
  88385. break;
  88386. case 26:
  88387. // then
  88388. t1 = t1.right.accept$1(t2);
  88389. $async$goto = 29;
  88390. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88391. case 29:
  88392. // returning from await.
  88393. t1 = $async$result;
  88394. // goto join
  88395. $async$goto = 27;
  88396. break;
  88397. case 28:
  88398. // else
  88399. t1 = left;
  88400. case 27:
  88401. // join
  88402. // goto after switch
  88403. $async$goto = 5;
  88404. break;
  88405. case 9:
  88406. // case
  88407. $async$temp1 = left;
  88408. $async$goto = 30;
  88409. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88410. case 30:
  88411. // returning from await.
  88412. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88413. // goto after switch
  88414. $async$goto = 5;
  88415. break;
  88416. case 10:
  88417. // case
  88418. $async$temp1 = left;
  88419. $async$goto = 31;
  88420. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88421. case 31:
  88422. // returning from await.
  88423. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88424. // goto after switch
  88425. $async$goto = 5;
  88426. break;
  88427. case 11:
  88428. // case
  88429. t1 = t1.right.accept$1(t2);
  88430. $async$temp1 = left;
  88431. $async$goto = 32;
  88432. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88433. case 32:
  88434. // returning from await.
  88435. t1 = $async$temp1.greaterThan$1($async$result);
  88436. // goto after switch
  88437. $async$goto = 5;
  88438. break;
  88439. case 12:
  88440. // case
  88441. t1 = t1.right.accept$1(t2);
  88442. $async$temp1 = left;
  88443. $async$goto = 33;
  88444. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88445. case 33:
  88446. // returning from await.
  88447. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  88448. // goto after switch
  88449. $async$goto = 5;
  88450. break;
  88451. case 13:
  88452. // case
  88453. t1 = t1.right.accept$1(t2);
  88454. $async$temp1 = left;
  88455. $async$goto = 34;
  88456. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88457. case 34:
  88458. // returning from await.
  88459. t1 = $async$temp1.lessThan$1($async$result);
  88460. // goto after switch
  88461. $async$goto = 5;
  88462. break;
  88463. case 14:
  88464. // case
  88465. t1 = t1.right.accept$1(t2);
  88466. $async$temp1 = left;
  88467. $async$goto = 35;
  88468. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88469. case 35:
  88470. // returning from await.
  88471. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  88472. // goto after switch
  88473. $async$goto = 5;
  88474. break;
  88475. case 15:
  88476. // case
  88477. t1 = t1.right.accept$1(t2);
  88478. $async$temp1 = left;
  88479. $async$goto = 36;
  88480. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88481. case 36:
  88482. // returning from await.
  88483. t1 = $async$temp1.plus$1($async$result);
  88484. // goto after switch
  88485. $async$goto = 5;
  88486. break;
  88487. case 16:
  88488. // case
  88489. t1 = t1.right.accept$1(t2);
  88490. $async$temp1 = left;
  88491. $async$goto = 37;
  88492. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88493. case 37:
  88494. // returning from await.
  88495. t1 = $async$temp1.minus$1($async$result);
  88496. // goto after switch
  88497. $async$goto = 5;
  88498. break;
  88499. case 17:
  88500. // case
  88501. t1 = t1.right.accept$1(t2);
  88502. $async$temp1 = left;
  88503. $async$goto = 38;
  88504. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88505. case 38:
  88506. // returning from await.
  88507. t1 = $async$temp1.times$1($async$result);
  88508. // goto after switch
  88509. $async$goto = 5;
  88510. break;
  88511. case 18:
  88512. // case
  88513. t3 = t1.right.accept$1(t2);
  88514. $async$temp1 = t2;
  88515. $async$temp2 = left;
  88516. $async$goto = 39;
  88517. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  88518. case 39:
  88519. // returning from await.
  88520. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  88521. // goto after switch
  88522. $async$goto = 5;
  88523. break;
  88524. case 19:
  88525. // case
  88526. t1 = t1.right.accept$1(t2);
  88527. $async$temp1 = left;
  88528. $async$goto = 40;
  88529. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88530. case 40:
  88531. // returning from await.
  88532. t1 = $async$temp1.modulo$1($async$result);
  88533. // goto after switch
  88534. $async$goto = 5;
  88535. break;
  88536. case 20:
  88537. // default
  88538. t1 = null;
  88539. case 5:
  88540. // after switch
  88541. $async$returnValue = t1;
  88542. // goto return
  88543. $async$goto = 1;
  88544. break;
  88545. case 1:
  88546. // return
  88547. return A._asyncReturn($async$returnValue, $async$completer);
  88548. }
  88549. });
  88550. return A._asyncStartSync($async$call$0, $async$completer);
  88551. },
  88552. $signature: 75
  88553. };
  88554. A._EvaluateVisitor__slash_recommendation2.prototype = {
  88555. call$1(expression) {
  88556. var t1;
  88557. $label0$0: {
  88558. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_t8B0 === expression.operator) {
  88559. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  88560. break $label0$0;
  88561. }
  88562. if (expression instanceof A.ParenthesizedExpression0) {
  88563. t1 = expression.expression.toString$0(0);
  88564. break $label0$0;
  88565. }
  88566. t1 = expression.toString$0(0);
  88567. break $label0$0;
  88568. }
  88569. return t1;
  88570. },
  88571. $signature: 131
  88572. };
  88573. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  88574. call$0() {
  88575. var t1 = this.node;
  88576. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88577. },
  88578. $signature: 42
  88579. };
  88580. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  88581. call$0() {
  88582. var t1, _this = this;
  88583. switch (_this.node.operator) {
  88584. case B.UnaryOperator_gg40:
  88585. t1 = _this.operand.unaryPlus$0();
  88586. break;
  88587. case B.UnaryOperator_TLI0:
  88588. t1 = _this.operand.unaryMinus$0();
  88589. break;
  88590. case B.UnaryOperator_Ix10:
  88591. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  88592. break;
  88593. case B.UnaryOperator_not_not_not0:
  88594. t1 = _this.operand.unaryNot$0();
  88595. break;
  88596. default:
  88597. t1 = null;
  88598. }
  88599. return t1;
  88600. },
  88601. $signature: 47
  88602. };
  88603. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  88604. call$1(expression) {
  88605. return expression.accept$1(this.$this);
  88606. },
  88607. $signature: 346
  88608. };
  88609. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  88610. call$0() {
  88611. var t1 = this.$this._async_evaluate0$_environment,
  88612. t2 = this.node;
  88613. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  88614. },
  88615. $signature: 83
  88616. };
  88617. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  88618. call$1(argument) {
  88619. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  88620. },
  88621. $signature: 133
  88622. };
  88623. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  88624. call$0() {
  88625. var t1 = this.node;
  88626. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  88627. },
  88628. $signature: 75
  88629. };
  88630. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  88631. call$1(maxArgs) {
  88632. var t1 = this.node,
  88633. t2 = t1.$arguments.positional.length;
  88634. if (t2 === 0)
  88635. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  88636. else if (maxArgs != null && t2 > maxArgs)
  88637. 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));
  88638. },
  88639. call$0() {
  88640. return this.call$1(null);
  88641. },
  88642. $signature: 99
  88643. };
  88644. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  88645. call$0() {
  88646. var $async$goto = 0,
  88647. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  88648. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  88649. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88650. if ($async$errorCode === 1)
  88651. return A._asyncRethrow($async$result, $async$completer);
  88652. while (true)
  88653. switch ($async$goto) {
  88654. case 0:
  88655. // Function start
  88656. t1 = $async$self.$this;
  88657. t2 = $async$self._box_0;
  88658. t3 = $async$self.inLegacySassFunction;
  88659. $async$temp1 = A;
  88660. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  88661. $async$goto = 3;
  88662. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  88663. case 3:
  88664. // returning from await.
  88665. $async$temp3 = $async$result;
  88666. $async$goto = 4;
  88667. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  88668. case 4:
  88669. // returning from await.
  88670. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  88671. // goto return
  88672. $async$goto = 1;
  88673. break;
  88674. case 1:
  88675. // return
  88676. return A._asyncReturn($async$returnValue, $async$completer);
  88677. }
  88678. });
  88679. return A._asyncStartSync($async$call$0, $async$completer);
  88680. },
  88681. $signature: 245
  88682. };
  88683. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  88684. call$0() {
  88685. var t1 = this.node;
  88686. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  88687. },
  88688. $signature: 75
  88689. };
  88690. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  88691. call$0() {
  88692. var _this = this,
  88693. t1 = _this.$this,
  88694. t2 = _this.callable,
  88695. t3 = _this.V;
  88696. 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);
  88697. },
  88698. $signature() {
  88699. return this.V._eval$1("Future<0>()");
  88700. }
  88701. };
  88702. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  88703. call$0() {
  88704. var _this = this,
  88705. t1 = _this.$this,
  88706. t2 = _this.V;
  88707. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  88708. },
  88709. $signature() {
  88710. return this.V._eval$1("Future<0>()");
  88711. }
  88712. };
  88713. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  88714. call$0() {
  88715. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  88716. },
  88717. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  88718. var $async$goto = 0,
  88719. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88720. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  88721. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88722. if ($async$errorCode === 1)
  88723. return A._asyncRethrow($async$result, $async$completer);
  88724. while (true)
  88725. switch ($async$goto) {
  88726. case 0:
  88727. // Function start
  88728. t1 = $async$self.$this;
  88729. t2 = $async$self.evaluated._values;
  88730. t3 = $async$self.callable.declaration.$arguments;
  88731. t4 = $async$self.nodeWithSpan;
  88732. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  88733. declaredArguments = t3.$arguments;
  88734. t5 = declaredArguments.length;
  88735. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  88736. for (i = 0; i < minLength; ++i)
  88737. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  88738. i = J.get$length$asx(t2[2]);
  88739. case 3:
  88740. // for condition
  88741. if (!(i < t5)) {
  88742. // goto after for
  88743. $async$goto = 5;
  88744. break;
  88745. }
  88746. argument = declaredArguments[i];
  88747. t6 = t2[0];
  88748. t7 = argument.name;
  88749. value = J.remove$1$z(t6, t7);
  88750. $async$goto = value == null ? 6 : 7;
  88751. break;
  88752. case 6:
  88753. // then
  88754. t6 = argument.defaultValue;
  88755. $async$temp1 = t1;
  88756. $async$goto = 8;
  88757. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  88758. case 8:
  88759. // returning from await.
  88760. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t6));
  88761. case 7:
  88762. // join
  88763. t6 = t1._async_evaluate0$_environment;
  88764. t8 = J.$index$asx(t2[1], t7);
  88765. if (t8 == null) {
  88766. t8 = argument.defaultValue;
  88767. t8.toString;
  88768. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  88769. }
  88770. t6.setLocalVariable$3(t7, value, t8);
  88771. case 4:
  88772. // for update
  88773. ++i;
  88774. // goto for condition
  88775. $async$goto = 3;
  88776. break;
  88777. case 5:
  88778. // after for
  88779. restArgument = t3.restArgument;
  88780. if (restArgument != null) {
  88781. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  88782. t5 = t2[0];
  88783. t6 = t2[4];
  88784. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t6);
  88785. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  88786. } else
  88787. argumentList = null;
  88788. $async$goto = 9;
  88789. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  88790. case 9:
  88791. // returning from await.
  88792. result = $async$result;
  88793. if (argumentList == null) {
  88794. $async$returnValue = result;
  88795. // goto return
  88796. $async$goto = 1;
  88797. break;
  88798. }
  88799. if (J.get$isEmpty$asx(t2[0])) {
  88800. $async$returnValue = result;
  88801. // goto return
  88802. $async$goto = 1;
  88803. break;
  88804. }
  88805. if (argumentList._argument_list$_wereKeywordsAccessed) {
  88806. $async$returnValue = result;
  88807. // goto return
  88808. $async$goto = 1;
  88809. break;
  88810. }
  88811. 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));
  88812. case 1:
  88813. // return
  88814. return A._asyncReturn($async$returnValue, $async$completer);
  88815. }
  88816. });
  88817. return A._asyncStartSync($async$call$0, $async$completer);
  88818. },
  88819. $signature() {
  88820. return this.V._eval$1("Future<0>()");
  88821. }
  88822. };
  88823. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  88824. call$1($name) {
  88825. return "$" + $name;
  88826. },
  88827. $signature: 5
  88828. };
  88829. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  88830. call$0() {
  88831. var $async$goto = 0,
  88832. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88833. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  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.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  88842. case 3:
  88843. // for condition
  88844. if (!(_i < t3)) {
  88845. // goto after for
  88846. $async$goto = 5;
  88847. break;
  88848. }
  88849. $async$goto = 6;
  88850. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  88851. case 6:
  88852. // returning from await.
  88853. $returnValue = $async$result;
  88854. if ($returnValue instanceof A.Value0) {
  88855. $async$returnValue = $returnValue;
  88856. // goto return
  88857. $async$goto = 1;
  88858. break;
  88859. }
  88860. case 4:
  88861. // for update
  88862. ++_i;
  88863. // goto for condition
  88864. $async$goto = 3;
  88865. break;
  88866. case 5:
  88867. // after for
  88868. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  88869. case 1:
  88870. // return
  88871. return A._asyncReturn($async$returnValue, $async$completer);
  88872. }
  88873. });
  88874. return A._asyncStartSync($async$call$0, $async$completer);
  88875. },
  88876. $signature: 75
  88877. };
  88878. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  88879. call$0() {
  88880. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  88881. },
  88882. $signature: 0
  88883. };
  88884. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  88885. call$0() {
  88886. return this._box_0.callback.call$1(this.evaluated._values[2]);
  88887. },
  88888. $signature: 348
  88889. };
  88890. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  88891. call$1($name) {
  88892. return "$" + $name;
  88893. },
  88894. $signature: 5
  88895. };
  88896. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  88897. call$1(value) {
  88898. return value;
  88899. },
  88900. $signature: 41
  88901. };
  88902. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  88903. call$1(value) {
  88904. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  88905. },
  88906. $signature: 41
  88907. };
  88908. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  88909. call$2(key, value) {
  88910. var _this = this,
  88911. t1 = _this.restNodeForSpan;
  88912. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  88913. _this.namedNodes.$indexSet(0, key, t1);
  88914. },
  88915. $signature: 86
  88916. };
  88917. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  88918. call$1(value) {
  88919. return value;
  88920. },
  88921. $signature: 41
  88922. };
  88923. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  88924. call$1(value) {
  88925. var t1 = this.restArgs;
  88926. return new A.ValueExpression0(value, t1.get$span(t1));
  88927. },
  88928. $signature: 60
  88929. };
  88930. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  88931. call$1(value) {
  88932. var t1 = this.restArgs;
  88933. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  88934. },
  88935. $signature: 60
  88936. };
  88937. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  88938. call$2(key, value) {
  88939. var _this = this,
  88940. t1 = _this.restArgs;
  88941. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  88942. },
  88943. $signature: 86
  88944. };
  88945. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  88946. call$1(value) {
  88947. var t1 = this.keywordRestArgs;
  88948. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  88949. },
  88950. $signature: 60
  88951. };
  88952. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  88953. call$2(key, value) {
  88954. var t2, _this = this,
  88955. t1 = _this.$this;
  88956. if (key instanceof A.SassString0)
  88957. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  88958. else {
  88959. t2 = _this.nodeWithSpan;
  88960. 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)));
  88961. }
  88962. },
  88963. $signature: 80
  88964. };
  88965. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  88966. call$0() {
  88967. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  88968. },
  88969. $signature: 0
  88970. };
  88971. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  88972. call$0() {
  88973. var $async$goto = 0,
  88974. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88975. $async$self = this, t1, t2, t3, t4;
  88976. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88977. if ($async$errorCode === 1)
  88978. return A._asyncRethrow($async$result, $async$completer);
  88979. while (true)
  88980. switch ($async$goto) {
  88981. case 0:
  88982. // Function start
  88983. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  88984. case 2:
  88985. // for condition
  88986. if (!t1.moveNext$0()) {
  88987. // goto after for
  88988. $async$goto = 3;
  88989. break;
  88990. }
  88991. t4 = t1.__internal$_current;
  88992. $async$goto = 4;
  88993. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  88994. case 4:
  88995. // returning from await.
  88996. // goto for condition
  88997. $async$goto = 2;
  88998. break;
  88999. case 3:
  89000. // after for
  89001. // implicit return
  89002. return A._asyncReturn(null, $async$completer);
  89003. }
  89004. });
  89005. return A._asyncStartSync($async$call$0, $async$completer);
  89006. },
  89007. $signature: 2
  89008. };
  89009. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  89010. call$1(node) {
  89011. return node instanceof A.ModifiableCssStyleRule0;
  89012. },
  89013. $signature: 8
  89014. };
  89015. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  89016. call$0() {
  89017. var $async$goto = 0,
  89018. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89019. $async$self = this, t1, t2, t3, t4;
  89020. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89021. if ($async$errorCode === 1)
  89022. return A._asyncRethrow($async$result, $async$completer);
  89023. while (true)
  89024. switch ($async$goto) {
  89025. case 0:
  89026. // Function start
  89027. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  89028. case 2:
  89029. // for condition
  89030. if (!t1.moveNext$0()) {
  89031. // goto after for
  89032. $async$goto = 3;
  89033. break;
  89034. }
  89035. t4 = t1.__internal$_current;
  89036. $async$goto = 4;
  89037. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89038. case 4:
  89039. // returning from await.
  89040. // goto for condition
  89041. $async$goto = 2;
  89042. break;
  89043. case 3:
  89044. // after for
  89045. // implicit return
  89046. return A._asyncReturn(null, $async$completer);
  89047. }
  89048. });
  89049. return A._asyncStartSync($async$call$0, $async$completer);
  89050. },
  89051. $signature: 2
  89052. };
  89053. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  89054. call$1(node) {
  89055. return node instanceof A.ModifiableCssStyleRule0;
  89056. },
  89057. $signature: 8
  89058. };
  89059. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  89060. call$1(mediaQueries) {
  89061. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  89062. },
  89063. $signature: 93
  89064. };
  89065. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  89066. call$0() {
  89067. var $async$goto = 0,
  89068. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89069. $async$self = this, t1, t2;
  89070. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89071. if ($async$errorCode === 1)
  89072. return A._asyncRethrow($async$result, $async$completer);
  89073. while (true)
  89074. switch ($async$goto) {
  89075. case 0:
  89076. // Function start
  89077. t1 = $async$self.$this;
  89078. t2 = $async$self.mergedQueries;
  89079. if (t2 == null)
  89080. t2 = $async$self.node.queries;
  89081. $async$goto = 2;
  89082. 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);
  89083. case 2:
  89084. // returning from await.
  89085. // implicit return
  89086. return A._asyncReturn(null, $async$completer);
  89087. }
  89088. });
  89089. return A._asyncStartSync($async$call$0, $async$completer);
  89090. },
  89091. $signature: 2
  89092. };
  89093. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  89094. call$0() {
  89095. var $async$goto = 0,
  89096. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89097. $async$self = this, t2, t3, t4, t1, _0_0;
  89098. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89099. if ($async$errorCode === 1)
  89100. return A._asyncRethrow($async$result, $async$completer);
  89101. while (true)
  89102. switch ($async$goto) {
  89103. case 0:
  89104. // Function start
  89105. t1 = $async$self.$this;
  89106. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89107. $async$goto = _0_0 != null ? 2 : 4;
  89108. break;
  89109. case 2:
  89110. // then
  89111. $async$goto = 5;
  89112. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  89113. case 5:
  89114. // returning from await.
  89115. // goto join
  89116. $async$goto = 3;
  89117. break;
  89118. case 4:
  89119. // else
  89120. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  89121. case 6:
  89122. // for condition
  89123. if (!t2.moveNext$0()) {
  89124. // goto after for
  89125. $async$goto = 7;
  89126. break;
  89127. }
  89128. t4 = t2.__internal$_current;
  89129. $async$goto = 8;
  89130. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89131. case 8:
  89132. // returning from await.
  89133. // goto for condition
  89134. $async$goto = 6;
  89135. break;
  89136. case 7:
  89137. // after for
  89138. case 3:
  89139. // join
  89140. // implicit return
  89141. return A._asyncReturn(null, $async$completer);
  89142. }
  89143. });
  89144. return A._asyncStartSync($async$call$0, $async$completer);
  89145. },
  89146. $signature: 2
  89147. };
  89148. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  89149. call$0() {
  89150. var $async$goto = 0,
  89151. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89152. $async$self = this, t1, t2, t3, t4;
  89153. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89154. if ($async$errorCode === 1)
  89155. return A._asyncRethrow($async$result, $async$completer);
  89156. while (true)
  89157. switch ($async$goto) {
  89158. case 0:
  89159. // Function start
  89160. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  89161. case 2:
  89162. // for condition
  89163. if (!t1.moveNext$0()) {
  89164. // goto after for
  89165. $async$goto = 3;
  89166. break;
  89167. }
  89168. t4 = t1.__internal$_current;
  89169. $async$goto = 4;
  89170. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89171. case 4:
  89172. // returning from await.
  89173. // goto for condition
  89174. $async$goto = 2;
  89175. break;
  89176. case 3:
  89177. // after for
  89178. // implicit return
  89179. return A._asyncReturn(null, $async$completer);
  89180. }
  89181. });
  89182. return A._asyncStartSync($async$call$0, $async$completer);
  89183. },
  89184. $signature: 2
  89185. };
  89186. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  89187. call$1(node) {
  89188. var t1;
  89189. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  89190. t1 = this.mergedSources;
  89191. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  89192. } else
  89193. t1 = true;
  89194. return t1;
  89195. },
  89196. $signature: 8
  89197. };
  89198. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  89199. call$0() {
  89200. var $async$goto = 0,
  89201. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89202. $async$self = this, t1;
  89203. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89204. if ($async$errorCode === 1)
  89205. return A._asyncRethrow($async$result, $async$completer);
  89206. while (true)
  89207. switch ($async$goto) {
  89208. case 0:
  89209. // Function start
  89210. t1 = $async$self.$this;
  89211. $async$goto = 2;
  89212. 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);
  89213. case 2:
  89214. // returning from await.
  89215. // implicit return
  89216. return A._asyncReturn(null, $async$completer);
  89217. }
  89218. });
  89219. return A._asyncStartSync($async$call$0, $async$completer);
  89220. },
  89221. $signature: 2
  89222. };
  89223. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  89224. call$0() {
  89225. var $async$goto = 0,
  89226. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89227. $async$self = this, t1, t2, t3, t4;
  89228. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89229. if ($async$errorCode === 1)
  89230. return A._asyncRethrow($async$result, $async$completer);
  89231. while (true)
  89232. switch ($async$goto) {
  89233. case 0:
  89234. // Function start
  89235. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  89236. case 2:
  89237. // for condition
  89238. if (!t1.moveNext$0()) {
  89239. // goto after for
  89240. $async$goto = 3;
  89241. break;
  89242. }
  89243. t4 = t1.__internal$_current;
  89244. $async$goto = 4;
  89245. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89246. case 4:
  89247. // returning from await.
  89248. // goto for condition
  89249. $async$goto = 2;
  89250. break;
  89251. case 3:
  89252. // after for
  89253. // implicit return
  89254. return A._asyncReturn(null, $async$completer);
  89255. }
  89256. });
  89257. return A._asyncStartSync($async$call$0, $async$completer);
  89258. },
  89259. $signature: 2
  89260. };
  89261. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  89262. call$1(node) {
  89263. return node instanceof A.ModifiableCssStyleRule0;
  89264. },
  89265. $signature: 8
  89266. };
  89267. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  89268. call$0() {
  89269. var $async$goto = 0,
  89270. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89271. $async$self = this, t2, t3, t4, t1, _0_0;
  89272. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89273. if ($async$errorCode === 1)
  89274. return A._asyncRethrow($async$result, $async$completer);
  89275. while (true)
  89276. switch ($async$goto) {
  89277. case 0:
  89278. // Function start
  89279. t1 = $async$self.$this;
  89280. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89281. $async$goto = _0_0 != null ? 2 : 4;
  89282. break;
  89283. case 2:
  89284. // then
  89285. $async$goto = 5;
  89286. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  89287. case 5:
  89288. // returning from await.
  89289. // goto join
  89290. $async$goto = 3;
  89291. break;
  89292. case 4:
  89293. // else
  89294. t2 = $async$self.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E");
  89295. case 6:
  89296. // for condition
  89297. if (!t2.moveNext$0()) {
  89298. // goto after for
  89299. $async$goto = 7;
  89300. break;
  89301. }
  89302. t4 = t2.__internal$_current;
  89303. $async$goto = 8;
  89304. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89305. case 8:
  89306. // returning from await.
  89307. // goto for condition
  89308. $async$goto = 6;
  89309. break;
  89310. case 7:
  89311. // after for
  89312. case 3:
  89313. // join
  89314. // implicit return
  89315. return A._asyncReturn(null, $async$completer);
  89316. }
  89317. });
  89318. return A._asyncStartSync($async$call$0, $async$completer);
  89319. },
  89320. $signature: 2
  89321. };
  89322. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  89323. call$0() {
  89324. var $async$goto = 0,
  89325. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89326. $async$self = this, t1, t2, t3, t4;
  89327. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89328. if ($async$errorCode === 1)
  89329. return A._asyncRethrow($async$result, $async$completer);
  89330. while (true)
  89331. switch ($async$goto) {
  89332. case 0:
  89333. // Function start
  89334. t1 = $async$self.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = $async$self.$this, t2 = t2._eval$1("ListBase.E");
  89335. case 2:
  89336. // for condition
  89337. if (!t1.moveNext$0()) {
  89338. // goto after for
  89339. $async$goto = 3;
  89340. break;
  89341. }
  89342. t4 = t1.__internal$_current;
  89343. $async$goto = 4;
  89344. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89345. case 4:
  89346. // returning from await.
  89347. // goto for condition
  89348. $async$goto = 2;
  89349. break;
  89350. case 3:
  89351. // after for
  89352. // implicit return
  89353. return A._asyncReturn(null, $async$completer);
  89354. }
  89355. });
  89356. return A._asyncStartSync($async$call$0, $async$completer);
  89357. },
  89358. $signature: 2
  89359. };
  89360. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  89361. call$1(node) {
  89362. return node instanceof A.ModifiableCssStyleRule0;
  89363. },
  89364. $signature: 8
  89365. };
  89366. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  89367. call$1(targetLocations) {
  89368. return A.InterpolationMap$0(this.interpolation, targetLocations);
  89369. },
  89370. $signature: 170
  89371. };
  89372. A._EvaluateVisitor__serialize_closure2.prototype = {
  89373. call$0() {
  89374. return A.serializeValue0(this.value, false, this.quote);
  89375. },
  89376. $signature: 27
  89377. };
  89378. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  89379. call$0() {
  89380. var t1 = this.expression;
  89381. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  89382. },
  89383. $signature: 169
  89384. };
  89385. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  89386. call$1(number) {
  89387. var t1, before, after,
  89388. _1_0 = number.asSlash;
  89389. $label0$0: {
  89390. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  89391. t1 = type$.SassNumber_2;
  89392. before = t1._as(_1_0._0);
  89393. after = t1._as(_1_0._1);
  89394. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  89395. break $label0$0;
  89396. }
  89397. t1 = A.serializeValue0(number, true, true);
  89398. break $label0$0;
  89399. }
  89400. return t1;
  89401. },
  89402. $signature: 151
  89403. };
  89404. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  89405. call$1(url) {
  89406. var t1 = this.$this._async_evaluate0$_importCache;
  89407. t1 = t1 == null ? null : t1.humanize$1(url);
  89408. return t1 == null ? url : t1;
  89409. },
  89410. $signature: 44
  89411. };
  89412. A._ImportedCssVisitor2.prototype = {
  89413. visitCssAtRule$1(node) {
  89414. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  89415. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  89416. },
  89417. visitCssComment$1(node) {
  89418. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  89419. },
  89420. visitCssDeclaration$1(node) {
  89421. },
  89422. visitCssImport$1(node) {
  89423. var t2,
  89424. _s13_ = "_endOfImports",
  89425. t1 = this._async_evaluate0$_visitor;
  89426. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  89427. t1._async_evaluate0$_addChild$1(node);
  89428. 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)) {
  89429. t1._async_evaluate0$_addChild$1(node);
  89430. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  89431. } else {
  89432. t2 = t1._async_evaluate0$_outOfOrderImports;
  89433. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  89434. }
  89435. },
  89436. visitCssKeyframeBlock$1(node) {
  89437. },
  89438. visitCssMediaRule$1(node) {
  89439. var t1 = this._async_evaluate0$_visitor,
  89440. mediaQueries = t1._async_evaluate0$_mediaQueries;
  89441. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  89442. },
  89443. visitCssStyleRule$1(node) {
  89444. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  89445. },
  89446. visitCssStylesheet$1(node) {
  89447. var t1, t2, t3;
  89448. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  89449. t3 = t1.__internal$_current;
  89450. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  89451. }
  89452. },
  89453. visitCssSupportsRule$1(node) {
  89454. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  89455. }
  89456. };
  89457. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  89458. call$1(node) {
  89459. return node instanceof A.ModifiableCssStyleRule0;
  89460. },
  89461. $signature: 8
  89462. };
  89463. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  89464. call$1(node) {
  89465. var t1;
  89466. if (!(node instanceof A.ModifiableCssStyleRule0))
  89467. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  89468. else
  89469. t1 = true;
  89470. return t1;
  89471. },
  89472. $signature: 8
  89473. };
  89474. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  89475. call$1(node) {
  89476. return node instanceof A.ModifiableCssStyleRule0;
  89477. },
  89478. $signature: 8
  89479. };
  89480. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  89481. call$1(node) {
  89482. return node instanceof A.ModifiableCssStyleRule0;
  89483. },
  89484. $signature: 8
  89485. };
  89486. A._EvaluationContext2.prototype = {
  89487. get$currentCallableSpan() {
  89488. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  89489. if (_0_0 != null)
  89490. return _0_0.get$span(_0_0);
  89491. throw A.wrapException(A.StateError$(string$.No_Sasc));
  89492. },
  89493. warn$2(_, message, deprecation) {
  89494. var t1 = this._async_evaluate0$_visitor,
  89495. t2 = t1._async_evaluate0$_importSpan;
  89496. if (t2 == null) {
  89497. t2 = t1._async_evaluate0$_callableNode;
  89498. t2 = t2 == null ? null : t2.get$span(t2);
  89499. }
  89500. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  89501. },
  89502. $isEvaluationContext0: 1
  89503. };
  89504. A.JSToDartAsyncFileImporter.prototype = {
  89505. canonicalize$1(_, url) {
  89506. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  89507. },
  89508. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  89509. var $async$goto = 0,
  89510. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  89511. $async$returnValue, $async$self = this, result, t1, resultUrl;
  89512. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89513. if ($async$errorCode === 1)
  89514. return A._asyncRethrow($async$result, $async$completer);
  89515. while (true)
  89516. switch ($async$goto) {
  89517. case 0:
  89518. // Function start
  89519. if (url.get$scheme() === "file") {
  89520. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  89521. // goto return
  89522. $async$goto = 1;
  89523. break;
  89524. }
  89525. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  89526. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  89527. break;
  89528. case 3:
  89529. // then
  89530. $async$goto = 5;
  89531. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  89532. case 5:
  89533. // returning from await.
  89534. result = $async$result;
  89535. case 4:
  89536. // join
  89537. if (result == null) {
  89538. $async$returnValue = null;
  89539. // goto return
  89540. $async$goto = 1;
  89541. break;
  89542. }
  89543. t1 = self.URL;
  89544. if (!(result instanceof t1))
  89545. A.jsThrow(new self.Error(string$.The_fie));
  89546. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  89547. if (resultUrl.get$scheme() !== "file")
  89548. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  89549. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  89550. // goto return
  89551. $async$goto = 1;
  89552. break;
  89553. case 1:
  89554. // return
  89555. return A._asyncReturn($async$returnValue, $async$completer);
  89556. }
  89557. });
  89558. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  89559. },
  89560. load$1(_, url) {
  89561. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  89562. },
  89563. isNonCanonicalScheme$1(scheme) {
  89564. return scheme !== "file";
  89565. }
  89566. };
  89567. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  89568. call$0() {
  89569. return this.$this._findFileUrl.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl0(), A.utils1__dartToJSUrl$closure())});
  89570. },
  89571. $signature: 35
  89572. };
  89573. A.AsyncImportCache0.prototype = {
  89574. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  89575. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  89576. },
  89577. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  89578. var $async$goto = 0,
  89579. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89580. $async$returnValue, $async$self = this, t1, relativeResult;
  89581. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89582. if ($async$errorCode === 1)
  89583. return A._asyncRethrow($async$result, $async$completer);
  89584. while (true)
  89585. switch ($async$goto) {
  89586. case 0:
  89587. // Function start
  89588. if (A.isBrowser())
  89589. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  89590. else
  89591. t1 = false;
  89592. if (t1)
  89593. throw A.wrapException(string$.Custom);
  89594. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  89595. break;
  89596. case 3:
  89597. // then
  89598. $async$goto = 5;
  89599. 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);
  89600. case 5:
  89601. // returning from await.
  89602. relativeResult = $async$result;
  89603. if (relativeResult != null) {
  89604. $async$returnValue = relativeResult;
  89605. // goto return
  89606. $async$goto = 1;
  89607. break;
  89608. }
  89609. case 4:
  89610. // join
  89611. $async$goto = 6;
  89612. 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);
  89613. case 6:
  89614. // returning from await.
  89615. $async$returnValue = $async$result;
  89616. // goto return
  89617. $async$goto = 1;
  89618. break;
  89619. case 1:
  89620. // return
  89621. return A._asyncReturn($async$returnValue, $async$completer);
  89622. }
  89623. });
  89624. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  89625. },
  89626. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  89627. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  89628. },
  89629. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  89630. var $async$goto = 0,
  89631. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89632. $async$returnValue, $async$self = this, t1, passContainingUrl, result, canonicalize;
  89633. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89634. if ($async$errorCode === 1)
  89635. return A._asyncRethrow($async$result, $async$completer);
  89636. while (true)
  89637. switch ($async$goto) {
  89638. case 0:
  89639. // Function start
  89640. canonicalize = forImport ? new A.AsyncImportCache__canonicalize_closure1(importer, url) : new A.AsyncImportCache__canonicalize_closure2(importer, url);
  89641. $async$goto = baseUrl != null ? 3 : 5;
  89642. break;
  89643. case 3:
  89644. // then
  89645. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  89646. break;
  89647. case 6:
  89648. // then
  89649. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  89650. $async$goto = 9;
  89651. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  89652. case 9:
  89653. // returning from await.
  89654. t1 = $async$result;
  89655. passContainingUrl = t1;
  89656. // goto join
  89657. $async$goto = 7;
  89658. break;
  89659. case 8:
  89660. // else
  89661. passContainingUrl = true;
  89662. case 7:
  89663. // join
  89664. // goto join
  89665. $async$goto = 4;
  89666. break;
  89667. case 5:
  89668. // else
  89669. passContainingUrl = false;
  89670. case 4:
  89671. // join
  89672. t1 = passContainingUrl ? baseUrl : null;
  89673. t1 = A.withContainingUrl0(t1, canonicalize, type$.FutureOr_nullable_Uri);
  89674. $async$goto = 10;
  89675. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  89676. case 10:
  89677. // returning from await.
  89678. result = $async$result;
  89679. if (result == null) {
  89680. $async$returnValue = null;
  89681. // goto return
  89682. $async$goto = 1;
  89683. break;
  89684. }
  89685. $async$goto = result.get$scheme() === "" ? 11 : 13;
  89686. break;
  89687. case 11:
  89688. // then
  89689. 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);
  89690. // goto join
  89691. $async$goto = 12;
  89692. break;
  89693. case 13:
  89694. // else
  89695. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  89696. $async$goto = 14;
  89697. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  89698. case 14:
  89699. // returning from await.
  89700. if ($async$result)
  89701. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  89702. case 12:
  89703. // join
  89704. $async$returnValue = new A._Record_3_originalUrl(importer, result, url);
  89705. // goto return
  89706. $async$goto = 1;
  89707. break;
  89708. case 1:
  89709. // return
  89710. return A._asyncReturn($async$returnValue, $async$completer);
  89711. }
  89712. });
  89713. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  89714. },
  89715. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  89716. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  89717. },
  89718. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  89719. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  89720. },
  89721. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  89722. var $async$goto = 0,
  89723. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  89724. $async$returnValue, $async$self = this;
  89725. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89726. if ($async$errorCode === 1)
  89727. return A._asyncRethrow($async$result, $async$completer);
  89728. while (true)
  89729. switch ($async$goto) {
  89730. case 0:
  89731. // Function start
  89732. $async$goto = 3;
  89733. 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);
  89734. case 3:
  89735. // returning from await.
  89736. $async$returnValue = $async$result;
  89737. // goto return
  89738. $async$goto = 1;
  89739. break;
  89740. case 1:
  89741. // return
  89742. return A._asyncReturn($async$returnValue, $async$completer);
  89743. }
  89744. });
  89745. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  89746. },
  89747. humanize$1(canonicalUrl) {
  89748. var t1 = A.IterableNullableExtension_whereNotNull(this._async_import_cache0$_canonicalizeCache.get$values(0), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89749. t2 = t1.$ti;
  89750. 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));
  89751. return t2 == null ? canonicalUrl : t2;
  89752. },
  89753. sourceMapUrl$1(_, canonicalUrl) {
  89754. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  89755. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  89756. return t1 == null ? canonicalUrl : t1;
  89757. }
  89758. };
  89759. A.AsyncImportCache_canonicalize_closure1.prototype = {
  89760. call$0() {
  89761. var _this = this,
  89762. t1 = _this.baseUrl,
  89763. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  89764. if (t2 == null)
  89765. t2 = _this.url;
  89766. return _this.$this._async_import_cache0$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  89767. },
  89768. $signature: 150
  89769. };
  89770. A.AsyncImportCache_canonicalize_closure2.prototype = {
  89771. call$0() {
  89772. var $async$goto = 0,
  89773. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89774. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, _i, _0_0;
  89775. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89776. if ($async$errorCode === 1)
  89777. return A._asyncRethrow($async$result, $async$completer);
  89778. while (true)
  89779. switch ($async$goto) {
  89780. case 0:
  89781. // Function start
  89782. 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;
  89783. case 3:
  89784. // for condition
  89785. if (!(_i < t2.length)) {
  89786. // goto after for
  89787. $async$goto = 5;
  89788. break;
  89789. }
  89790. $async$goto = 6;
  89791. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4(t2[_i], t4, t5, t6), $async$call$0);
  89792. case 6:
  89793. // returning from await.
  89794. _0_0 = $async$result;
  89795. if (_0_0 != null) {
  89796. $async$returnValue = _0_0;
  89797. // goto return
  89798. $async$goto = 1;
  89799. break;
  89800. }
  89801. case 4:
  89802. // for update
  89803. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  89804. // goto for condition
  89805. $async$goto = 3;
  89806. break;
  89807. case 5:
  89808. // after for
  89809. $async$returnValue = null;
  89810. // goto return
  89811. $async$goto = 1;
  89812. break;
  89813. case 1:
  89814. // return
  89815. return A._asyncReturn($async$returnValue, $async$completer);
  89816. }
  89817. });
  89818. return A._asyncStartSync($async$call$0, $async$completer);
  89819. },
  89820. $signature: 150
  89821. };
  89822. A.AsyncImportCache__canonicalize_closure1.prototype = {
  89823. call$0() {
  89824. var t1 = type$.nullable_Object;
  89825. 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);
  89826. },
  89827. $signature: 61
  89828. };
  89829. A.AsyncImportCache__canonicalize__closure0.prototype = {
  89830. call$0() {
  89831. return this.importer.canonicalize$1(0, this.resolved);
  89832. },
  89833. $signature: 61
  89834. };
  89835. A.AsyncImportCache__canonicalize_closure2.prototype = {
  89836. call$0() {
  89837. return this.importer.canonicalize$1(0, this.resolved);
  89838. },
  89839. $signature: 61
  89840. };
  89841. A.AsyncImportCache_importCanonical_closure0.prototype = {
  89842. call$0() {
  89843. var $async$goto = 0,
  89844. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  89845. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  89846. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89847. if ($async$errorCode === 1)
  89848. return A._asyncRethrow($async$result, $async$completer);
  89849. while (true)
  89850. switch ($async$goto) {
  89851. case 0:
  89852. // Function start
  89853. t1 = $async$self.canonicalUrl;
  89854. t2 = $async$self.importer.load$1(0, t1);
  89855. $async$goto = 3;
  89856. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t2) ? t2 : A._Future$value(t2, type$.nullable_ImporterResult_2), $async$call$0);
  89857. case 3:
  89858. // returning from await.
  89859. result = $async$result;
  89860. if (result == null) {
  89861. $async$returnValue = null;
  89862. // goto return
  89863. $async$goto = 1;
  89864. break;
  89865. }
  89866. t2 = $async$self.$this;
  89867. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  89868. t3 = result.contents;
  89869. t4 = result.syntax;
  89870. t1 = $async$self.originalUrl.resolveUri$1(t1);
  89871. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  89872. // goto return
  89873. $async$goto = 1;
  89874. break;
  89875. case 1:
  89876. // return
  89877. return A._asyncReturn($async$returnValue, $async$completer);
  89878. }
  89879. });
  89880. return A._asyncStartSync($async$call$0, $async$completer);
  89881. },
  89882. $signature: 356
  89883. };
  89884. A.AsyncImportCache_humanize_closure3.prototype = {
  89885. call$1(result) {
  89886. return J.$eq$(result._1, this.canonicalUrl);
  89887. },
  89888. $signature: 357
  89889. };
  89890. A.AsyncImportCache_humanize_closure4.prototype = {
  89891. call$1(result) {
  89892. return result._2;
  89893. },
  89894. $signature: 358
  89895. };
  89896. A.AsyncImportCache_humanize_closure5.prototype = {
  89897. call$1(url) {
  89898. return url.get$path(url).length;
  89899. },
  89900. $signature: 107
  89901. };
  89902. A.AsyncImportCache_humanize_closure6.prototype = {
  89903. call$1(url) {
  89904. var t1 = $.$get$url(),
  89905. t2 = this.canonicalUrl;
  89906. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  89907. },
  89908. $signature: 44
  89909. };
  89910. A.AtRootQueryParser0.prototype = {
  89911. parse$0() {
  89912. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  89913. }
  89914. };
  89915. A.AtRootQueryParser_parse_closure0.prototype = {
  89916. call$0() {
  89917. var include, atRules,
  89918. t1 = this.$this,
  89919. t2 = t1.scanner;
  89920. t2.expectChar$1(40);
  89921. t1.whitespace$0();
  89922. include = t1.scanIdentifier$1("with");
  89923. if (!include)
  89924. t1.expectIdentifier$2$name("without", '"with" or "without"');
  89925. t1.whitespace$0();
  89926. t2.expectChar$1(58);
  89927. t1.whitespace$0();
  89928. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  89929. do {
  89930. atRules.add$1(0, t1.identifier$0().toLowerCase());
  89931. t1.whitespace$0();
  89932. } while (t1.lookingAtIdentifier$0());
  89933. t2.expectChar$1(41);
  89934. t2.expectDone$0();
  89935. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  89936. },
  89937. $signature: 359
  89938. };
  89939. A.AtRootQuery0.prototype = {
  89940. excludes$1(node) {
  89941. var t1, _this = this;
  89942. if (_this._at_root_query0$_all)
  89943. return !_this.include;
  89944. $label0$0: {
  89945. if (node instanceof A.ModifiableCssStyleRule0) {
  89946. t1 = _this._at_root_query0$_rule !== _this.include;
  89947. break $label0$0;
  89948. }
  89949. if (node instanceof A.ModifiableCssMediaRule0) {
  89950. t1 = _this.excludesName$1("media");
  89951. break $label0$0;
  89952. }
  89953. if (node instanceof A.ModifiableCssSupportsRule0) {
  89954. t1 = _this.excludesName$1("supports");
  89955. break $label0$0;
  89956. }
  89957. if (node instanceof A.ModifiableCssAtRule0) {
  89958. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  89959. break $label0$0;
  89960. }
  89961. t1 = false;
  89962. break $label0$0;
  89963. }
  89964. return t1;
  89965. },
  89966. excludesName$1($name) {
  89967. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  89968. return t1 !== this.include;
  89969. }
  89970. };
  89971. A.AtRootRule0.prototype = {
  89972. accept$1$1(visitor) {
  89973. return visitor.visitAtRootRule$1(this);
  89974. },
  89975. accept$1(visitor) {
  89976. return this.accept$1$1(visitor, type$.dynamic);
  89977. },
  89978. toString$0(_) {
  89979. var buffer = new A.StringBuffer("@at-root "),
  89980. t1 = this.query;
  89981. if (t1 != null)
  89982. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  89983. t1 = this.children;
  89984. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  89985. },
  89986. get$span(receiver) {
  89987. return this.span;
  89988. }
  89989. };
  89990. A.ModifiableCssAtRule0.prototype = {
  89991. accept$1$1(visitor) {
  89992. return visitor.visitCssAtRule$1(this);
  89993. },
  89994. accept$1(visitor) {
  89995. return this.accept$1$1(visitor, type$.dynamic);
  89996. },
  89997. equalsIgnoringChildren$1(other) {
  89998. var t1, t2;
  89999. if (other instanceof A.ModifiableCssAtRule0) {
  90000. t1 = this.name;
  90001. t2 = other.name;
  90002. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  90003. } else
  90004. t1 = false;
  90005. return t1;
  90006. },
  90007. copyWithoutChildren$0() {
  90008. var _this = this;
  90009. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  90010. },
  90011. addChild$1(child) {
  90012. this.super$ModifiableCssParentNode$addChild0(child);
  90013. },
  90014. get$isChildless() {
  90015. return this.isChildless;
  90016. },
  90017. get$span(receiver) {
  90018. return this.span;
  90019. }
  90020. };
  90021. A.AtRule0.prototype = {
  90022. accept$1$1(visitor) {
  90023. return visitor.visitAtRule$1(this);
  90024. },
  90025. accept$1(visitor) {
  90026. return this.accept$1$1(visitor, type$.dynamic);
  90027. },
  90028. toString$0(_) {
  90029. var children,
  90030. t1 = "@" + this.name.toString$0(0),
  90031. buffer = new A.StringBuffer(t1),
  90032. t2 = this.value;
  90033. if (t2 != null)
  90034. buffer._contents = t1 + (" " + t2.toString$0(0));
  90035. children = this.children;
  90036. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  90037. },
  90038. get$span(receiver) {
  90039. return this.span;
  90040. }
  90041. };
  90042. A.AttributeSelector0.prototype = {
  90043. accept$1$1(visitor) {
  90044. return visitor.visitAttributeSelector$1(this);
  90045. },
  90046. accept$1(visitor) {
  90047. return this.accept$1$1(visitor, type$.dynamic);
  90048. },
  90049. $eq(_, other) {
  90050. var _this = this;
  90051. if (other == null)
  90052. return false;
  90053. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  90054. },
  90055. get$hashCode(_) {
  90056. var _this = this,
  90057. t1 = _this.name;
  90058. 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;
  90059. }
  90060. };
  90061. A.AttributeOperator0.prototype = {
  90062. _enumToString$0() {
  90063. return "AttributeOperator." + this._name;
  90064. },
  90065. toString$0(_) {
  90066. return this._attribute0$_text;
  90067. }
  90068. };
  90069. A.BinaryOperationExpression0.prototype = {
  90070. get$span(_) {
  90071. var right,
  90072. left = this.left;
  90073. for (; left instanceof A.BinaryOperationExpression0;)
  90074. left = left.left;
  90075. right = this.right;
  90076. for (; right instanceof A.BinaryOperationExpression0;)
  90077. right = right.right;
  90078. return left.get$span(left).expand$1(0, right.get$span(right));
  90079. },
  90080. get$operatorSpan() {
  90081. var t3, t4,
  90082. t1 = this.left,
  90083. t2 = t1.get$span(t1);
  90084. t2 = t2.get$file(t2);
  90085. t3 = this.right;
  90086. t4 = t3.get$span(t3);
  90087. if (t2 === t4.get$file(t4)) {
  90088. t2 = t1.get$span(t1);
  90089. t2 = t2.get$end(t2);
  90090. t4 = t3.get$span(t3);
  90091. t4 = t2.offset < t4.get$start(t4).offset;
  90092. t2 = t4;
  90093. } else
  90094. t2 = false;
  90095. if (t2) {
  90096. t2 = t1.get$span(t1);
  90097. t2 = t2.get$file(t2);
  90098. t1 = t1.get$span(t1);
  90099. t1 = t1.get$end(t1);
  90100. t3 = t3.get$span(t3);
  90101. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  90102. t1 = t3;
  90103. } else
  90104. t1 = this.get$span(0);
  90105. return t1;
  90106. },
  90107. accept$1$1(visitor) {
  90108. return visitor.visitBinaryOperationExpression$1(this);
  90109. },
  90110. accept$1(visitor) {
  90111. return this.accept$1$1(visitor, type$.dynamic);
  90112. },
  90113. toString$0(_) {
  90114. var t1, t2, right, operator, t3, _this = this,
  90115. _0_0 = _this.left;
  90116. $label0$0: {
  90117. if (_0_0 instanceof A.BinaryOperationExpression0) {
  90118. t1 = _0_0.operator.precedence < _this.operator.precedence;
  90119. break $label0$0;
  90120. }
  90121. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  90122. t1 = true;
  90123. break $label0$0;
  90124. }
  90125. t1 = false;
  90126. break $label0$0;
  90127. }
  90128. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  90129. t2 += _0_0.toString$0(0);
  90130. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  90131. t2 = _this.operator;
  90132. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  90133. right = _this.right;
  90134. $label1$1: {
  90135. if (right instanceof A.BinaryOperationExpression0) {
  90136. operator = right.operator;
  90137. if (operator.precedence <= t2.precedence) {
  90138. t3 = !(operator === t2 && operator.isAssociative);
  90139. t2 = t3;
  90140. } else
  90141. t2 = false;
  90142. break $label1$1;
  90143. }
  90144. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  90145. t2 = true;
  90146. break $label1$1;
  90147. }
  90148. t2 = false;
  90149. break $label1$1;
  90150. }
  90151. if (t2)
  90152. t1 += A.Primitives_stringFromCharCode(40);
  90153. t1 += right.toString$0(0);
  90154. if (t2)
  90155. t1 += A.Primitives_stringFromCharCode(41);
  90156. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90157. },
  90158. $isExpression0: 1,
  90159. $isAstNode0: 1
  90160. };
  90161. A.BinaryOperator0.prototype = {
  90162. _enumToString$0() {
  90163. return "BinaryOperator." + this._name;
  90164. },
  90165. toString$0(_) {
  90166. return this.name;
  90167. }
  90168. };
  90169. A.BooleanExpression0.prototype = {
  90170. accept$1$1(visitor) {
  90171. return visitor.visitBooleanExpression$1(this);
  90172. },
  90173. accept$1(visitor) {
  90174. return this.accept$1$1(visitor, type$.dynamic);
  90175. },
  90176. toString$0(_) {
  90177. return String(this.value);
  90178. },
  90179. $isExpression0: 1,
  90180. $isAstNode0: 1,
  90181. get$span(receiver) {
  90182. return this.span;
  90183. }
  90184. };
  90185. A.booleanClass_closure.prototype = {
  90186. call$0() {
  90187. var t1 = type$.JSClass,
  90188. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  90189. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90190. return jsClass;
  90191. },
  90192. $signature: 13
  90193. };
  90194. A.booleanClass__closure.prototype = {
  90195. call$2($self, _) {
  90196. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  90197. },
  90198. call$1($self) {
  90199. return this.call$2($self, null);
  90200. },
  90201. "call*": "call$2",
  90202. $requiredArgCount: 1,
  90203. $defaultValues() {
  90204. return [null];
  90205. },
  90206. $signature: 149
  90207. };
  90208. A.legacyBooleanClass_closure.prototype = {
  90209. call$0() {
  90210. var t1 = type$.JSClass,
  90211. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  90212. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  90213. jsClass.TRUE = B.SassBoolean_true0;
  90214. jsClass.FALSE = B.SassBoolean_false0;
  90215. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90216. return jsClass;
  90217. },
  90218. $signature: 13
  90219. };
  90220. A.legacyBooleanClass__closure.prototype = {
  90221. call$2(_, __) {
  90222. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  90223. },
  90224. call$1(_) {
  90225. return this.call$2(_, null);
  90226. },
  90227. "call*": "call$2",
  90228. $requiredArgCount: 1,
  90229. $defaultValues() {
  90230. return [null];
  90231. },
  90232. $signature: 145
  90233. };
  90234. A.legacyBooleanClass__closure0.prototype = {
  90235. call$1($self) {
  90236. return $self === B.SassBoolean_true0;
  90237. },
  90238. $signature: 71
  90239. };
  90240. A.SassBoolean0.prototype = {
  90241. get$isTruthy() {
  90242. return this.value;
  90243. },
  90244. accept$1$1(visitor) {
  90245. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  90246. },
  90247. accept$1(visitor) {
  90248. return this.accept$1$1(visitor, type$.dynamic);
  90249. },
  90250. assertBoolean$1($name) {
  90251. return this;
  90252. },
  90253. unaryNot$0() {
  90254. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  90255. }
  90256. };
  90257. A.Box0.prototype = {
  90258. $eq(_, other) {
  90259. if (other == null)
  90260. return false;
  90261. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  90262. },
  90263. get$hashCode(_) {
  90264. return A.Primitives_objectHashCode(this._box0$_inner);
  90265. }
  90266. };
  90267. A.ModifiableBox0.prototype = {};
  90268. A.BuiltInCallable0.prototype = {
  90269. callbackFor$2(positional, names) {
  90270. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  90271. 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) {
  90272. overload = t1[_i];
  90273. t3 = overload._0;
  90274. if (t3.matches$2(positional, names))
  90275. return overload;
  90276. mismatchDistance = t3.$arguments.length - positional;
  90277. if (minMismatchDistance != null) {
  90278. t3 = Math.abs(mismatchDistance);
  90279. t4 = Math.abs(minMismatchDistance);
  90280. if (t3 > t4)
  90281. continue;
  90282. if (t3 === t4 && mismatchDistance < 0)
  90283. continue;
  90284. }
  90285. minMismatchDistance = mismatchDistance;
  90286. fuzzyMatch = overload;
  90287. }
  90288. if (fuzzyMatch != null)
  90289. return fuzzyMatch;
  90290. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  90291. },
  90292. withName$1($name) {
  90293. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  90294. },
  90295. $isAsyncCallable0: 1,
  90296. $isAsyncBuiltInCallable0: 1,
  90297. $isCallable: 1,
  90298. get$name(receiver) {
  90299. return this.name;
  90300. },
  90301. get$acceptsContent() {
  90302. return this.acceptsContent;
  90303. }
  90304. };
  90305. A.BuiltInCallable$mixin_closure0.prototype = {
  90306. call$1($arguments) {
  90307. this.callback.call$1($arguments);
  90308. return B.C__SassNull0;
  90309. },
  90310. $signature: 3
  90311. };
  90312. A.BuiltInModule0.prototype = {
  90313. get$upstream() {
  90314. return B.List_empty18;
  90315. },
  90316. get$variableNodes() {
  90317. return B.Map_empty12;
  90318. },
  90319. get$extensionStore() {
  90320. return B.C_EmptyExtensionStore0;
  90321. },
  90322. get$css(_) {
  90323. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  90324. },
  90325. get$preModuleComments() {
  90326. return B.Map_empty11;
  90327. },
  90328. get$transitivelyContainsCss() {
  90329. return false;
  90330. },
  90331. get$transitivelyContainsExtensions() {
  90332. return false;
  90333. },
  90334. setVariable$3($name, value, nodeWithSpan) {
  90335. if (!this.variables.containsKey$1($name))
  90336. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  90337. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  90338. },
  90339. variableIdentity$1($name) {
  90340. return this;
  90341. },
  90342. cloneCss$0() {
  90343. return this;
  90344. },
  90345. $isModule1: 1,
  90346. get$url(receiver) {
  90347. return this.url;
  90348. },
  90349. get$functions(receiver) {
  90350. return this.functions;
  90351. },
  90352. get$mixins() {
  90353. return this.mixins;
  90354. },
  90355. get$variables() {
  90356. return this.variables;
  90357. }
  90358. };
  90359. A.calculationClass_closure.prototype = {
  90360. call$0() {
  90361. var t1 = type$.JSClass,
  90362. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  90363. t2 = type$.String,
  90364. t3 = type$.Function;
  90365. 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));
  90366. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90367. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90368. 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);
  90369. return jsClass;
  90370. },
  90371. $signature: 13
  90372. };
  90373. A.calculationClass__closure.prototype = {
  90374. call$2($self, _) {
  90375. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  90376. },
  90377. call$1($self) {
  90378. return this.call$2($self, null);
  90379. },
  90380. "call*": "call$2",
  90381. $requiredArgCount: 1,
  90382. $defaultValues() {
  90383. return [null];
  90384. },
  90385. $signature: 149
  90386. };
  90387. A.calculationClass__closure0.prototype = {
  90388. call$1(argument) {
  90389. A._assertCalculationValue(argument);
  90390. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  90391. },
  90392. $signature: 140
  90393. };
  90394. A.calculationClass__closure1.prototype = {
  90395. call$1($arguments) {
  90396. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90397. t2 = type$.Object,
  90398. argList = J.cast$1$0$ax(t1, t2);
  90399. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90400. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  90401. },
  90402. $signature: 140
  90403. };
  90404. A.calculationClass__closure2.prototype = {
  90405. call$1($arguments) {
  90406. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90407. t2 = type$.Object,
  90408. argList = J.cast$1$0$ax(t1, t2);
  90409. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90410. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  90411. },
  90412. $signature: 140
  90413. };
  90414. A.calculationClass__closure3.prototype = {
  90415. call$3(min, value, max) {
  90416. var t1;
  90417. if (!(value == null && !A._isValidClampArg(min)))
  90418. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  90419. else
  90420. t1 = true;
  90421. if (t1)
  90422. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + A.IterableNullableExtension_whereNotNull([min, value, max], type$.Object).toString$0(0) + "`"));
  90423. t1 = type$.Object;
  90424. A.IterableNullableExtension_whereNotNull([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  90425. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(A.IterableNullableExtension_whereNotNull([min, value, max], t1), t1));
  90426. },
  90427. call$1(min) {
  90428. return this.call$3(min, null, null);
  90429. },
  90430. call$2(min, value) {
  90431. return this.call$3(min, value, null);
  90432. },
  90433. "call*": "call$3",
  90434. $requiredArgCount: 1,
  90435. $defaultValues() {
  90436. return [null, null];
  90437. },
  90438. $signature: 364
  90439. };
  90440. A.calculationClass__closure4.prototype = {
  90441. call$2($self, $name) {
  90442. return $self;
  90443. },
  90444. call$1($self) {
  90445. return this.call$2($self, null);
  90446. },
  90447. "call*": "call$2",
  90448. $requiredArgCount: 1,
  90449. $defaultValues() {
  90450. return [null];
  90451. },
  90452. $signature: 365
  90453. };
  90454. A.calculationClass__closure5.prototype = {
  90455. call$1($self) {
  90456. return new self.immutable.List($self.$arguments);
  90457. },
  90458. $signature: 366
  90459. };
  90460. A.calculationOperationClass_closure.prototype = {
  90461. call$0() {
  90462. var t1 = type$.JSClass,
  90463. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  90464. t2 = type$.String,
  90465. t3 = type$.Function;
  90466. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90467. 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));
  90468. 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);
  90469. return jsClass;
  90470. },
  90471. $signature: 13
  90472. };
  90473. A.calculationOperationClass__closure.prototype = {
  90474. call$4($self, strOperator, left, right) {
  90475. var operator = A.IterableExtension_firstWhereOrNull(B.List_cUt, new A.calculationOperationClass___closure(strOperator));
  90476. if (operator == null)
  90477. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  90478. A._assertCalculationValue(left);
  90479. A._assertCalculationValue(right);
  90480. return A.SassCalculation_operateInternal0(operator, left, right, false, false);
  90481. },
  90482. "call*": "call$4",
  90483. $requiredArgCount: 4,
  90484. $signature: 367
  90485. };
  90486. A.calculationOperationClass___closure.prototype = {
  90487. call$1(value) {
  90488. return value.operator === this.strOperator;
  90489. },
  90490. $signature: 368
  90491. };
  90492. A.calculationOperationClass__closure0.prototype = {
  90493. call$2($self, other) {
  90494. return $self.$eq(0, other);
  90495. },
  90496. $signature: 369
  90497. };
  90498. A.calculationOperationClass__closure1.prototype = {
  90499. call$1($self) {
  90500. return $self.get$hashCode(0);
  90501. },
  90502. $signature: 370
  90503. };
  90504. A.calculationOperationClass__closure2.prototype = {
  90505. call$1($self) {
  90506. return $self._calculation0$_operator.operator;
  90507. },
  90508. $signature: 371
  90509. };
  90510. A.calculationOperationClass__closure3.prototype = {
  90511. call$1($self) {
  90512. return $self._calculation0$_left;
  90513. },
  90514. $signature: 143
  90515. };
  90516. A.calculationOperationClass__closure4.prototype = {
  90517. call$1($self) {
  90518. return $self._calculation0$_right;
  90519. },
  90520. $signature: 143
  90521. };
  90522. A.calculationInterpolationClass_closure.prototype = {
  90523. call$0() {
  90524. var t1 = type$.JSClass,
  90525. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  90526. t2 = type$.String,
  90527. t3 = type$.Function;
  90528. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90529. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90530. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  90531. return jsClass;
  90532. },
  90533. $signature: 13
  90534. };
  90535. A.calculationInterpolationClass__closure.prototype = {
  90536. call$2($self, value) {
  90537. return new A.CalculationInterpolation(value);
  90538. },
  90539. $signature: 373
  90540. };
  90541. A.calculationInterpolationClass__closure0.prototype = {
  90542. call$2($self, other) {
  90543. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  90544. },
  90545. $signature: 374
  90546. };
  90547. A.calculationInterpolationClass__closure1.prototype = {
  90548. call$1($self) {
  90549. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  90550. },
  90551. $signature: 375
  90552. };
  90553. A.calculationInterpolationClass__closure2.prototype = {
  90554. call$1($self) {
  90555. return $self._calculation0$_value;
  90556. },
  90557. $signature: 376
  90558. };
  90559. A.SassCalculation0.prototype = {
  90560. get$isSpecialNumber() {
  90561. return true;
  90562. },
  90563. accept$1$1(visitor) {
  90564. return visitor.visitCalculation$1(this);
  90565. },
  90566. accept$1(visitor) {
  90567. return this.accept$1$1(visitor, type$.dynamic);
  90568. },
  90569. assertCalculation$1($name) {
  90570. return this;
  90571. },
  90572. plus$1(other) {
  90573. if (other instanceof A.SassString0)
  90574. return this.super$Value$plus0(other);
  90575. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  90576. },
  90577. minus$1(other) {
  90578. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  90579. },
  90580. unaryPlus$0() {
  90581. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  90582. },
  90583. unaryMinus$0() {
  90584. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  90585. },
  90586. $eq(_, other) {
  90587. if (other == null)
  90588. return false;
  90589. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  90590. },
  90591. get$hashCode(_) {
  90592. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  90593. }
  90594. };
  90595. A.SassCalculation__verifyLength_closure0.prototype = {
  90596. call$1(arg) {
  90597. return arg instanceof A.SassString0;
  90598. },
  90599. $signature: 71
  90600. };
  90601. A.CalculationOperation0.prototype = {
  90602. $eq(_, other) {
  90603. if (other == null)
  90604. return false;
  90605. 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);
  90606. },
  90607. get$hashCode(_) {
  90608. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  90609. },
  90610. toString$0(_) {
  90611. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  90612. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  90613. }
  90614. };
  90615. A.CalculationOperator0.prototype = {
  90616. _enumToString$0() {
  90617. return "CalculationOperator." + this._name;
  90618. },
  90619. toString$0(_) {
  90620. return this.name;
  90621. }
  90622. };
  90623. A.CalculationInterpolation.prototype = {
  90624. $eq(_, other) {
  90625. if (other == null)
  90626. return false;
  90627. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  90628. },
  90629. get$hashCode(_) {
  90630. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  90631. },
  90632. toString$0(_) {
  90633. return this._calculation0$_value;
  90634. }
  90635. };
  90636. A.CallableDeclaration0.prototype = {
  90637. get$span(receiver) {
  90638. return this.span;
  90639. }
  90640. };
  90641. A.Chokidar0.prototype = {};
  90642. A.ChokidarOptions0.prototype = {};
  90643. A.ChokidarWatcher0.prototype = {};
  90644. A.ClassSelector0.prototype = {
  90645. $eq(_, other) {
  90646. if (other == null)
  90647. return false;
  90648. return other instanceof A.ClassSelector0 && other.name === this.name;
  90649. },
  90650. accept$1$1(visitor) {
  90651. return visitor.visitClassSelector$1(this);
  90652. },
  90653. accept$1(visitor) {
  90654. return this.accept$1$1(visitor, type$.dynamic);
  90655. },
  90656. addSuffix$1(suffix) {
  90657. return new A.ClassSelector0(this.name + suffix, this.span);
  90658. },
  90659. get$hashCode(_) {
  90660. return B.JSString_methods.get$hashCode(this.name);
  90661. }
  90662. };
  90663. A._CloneCssVisitor0.prototype = {
  90664. visitCssAtRule$1(node) {
  90665. var t1 = node.isChildless,
  90666. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  90667. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  90668. },
  90669. visitCssComment$1(node) {
  90670. return new A.ModifiableCssComment0(node.text, node.span);
  90671. },
  90672. visitCssDeclaration$1(node) {
  90673. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  90674. },
  90675. visitCssImport$1(node) {
  90676. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90677. },
  90678. visitCssKeyframeBlock$1(node) {
  90679. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  90680. },
  90681. visitCssMediaRule$1(node) {
  90682. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  90683. },
  90684. visitCssStyleRule$1(node) {
  90685. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  90686. if (_0_0 != null)
  90687. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, node.originalSelector), node);
  90688. else
  90689. throw A.wrapException(A.StateError$(string$.The_Ex));
  90690. },
  90691. visitCssStylesheet$1(node) {
  90692. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  90693. },
  90694. visitCssSupportsRule$1(node) {
  90695. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  90696. },
  90697. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  90698. var t1, t2, newChild;
  90699. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  90700. t2 = t1.get$current(t1);
  90701. newChild = t2.accept$1(this);
  90702. newChild.isGroupEnd = t2.get$isGroupEnd();
  90703. newParent.addChild$1(newChild);
  90704. }
  90705. return newParent;
  90706. },
  90707. _clone_css$_visitChildren$2(newParent, oldParent) {
  90708. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  90709. }
  90710. };
  90711. A.ColorExpression0.prototype = {
  90712. accept$1$1(visitor) {
  90713. return visitor.visitColorExpression$1(this);
  90714. },
  90715. accept$1(visitor) {
  90716. return this.accept$1$1(visitor, type$.dynamic);
  90717. },
  90718. toString$0(_) {
  90719. return A.serializeValue0(this.value, true, true);
  90720. },
  90721. $isExpression0: 1,
  90722. $isAstNode0: 1,
  90723. get$span(receiver) {
  90724. return this.span;
  90725. }
  90726. };
  90727. A.global_closure32.prototype = {
  90728. call$1($arguments) {
  90729. return A._rgb0("rgb", $arguments);
  90730. },
  90731. $signature: 3
  90732. };
  90733. A.global_closure33.prototype = {
  90734. call$1($arguments) {
  90735. return A._rgb0("rgb", $arguments);
  90736. },
  90737. $signature: 3
  90738. };
  90739. A.global_closure34.prototype = {
  90740. call$1($arguments) {
  90741. return A._rgbTwoArg0("rgb", $arguments);
  90742. },
  90743. $signature: 3
  90744. };
  90745. A.global_closure35.prototype = {
  90746. call$1($arguments) {
  90747. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  90748. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  90749. },
  90750. $signature: 3
  90751. };
  90752. A.global_closure36.prototype = {
  90753. call$1($arguments) {
  90754. return A._rgb0("rgba", $arguments);
  90755. },
  90756. $signature: 3
  90757. };
  90758. A.global_closure37.prototype = {
  90759. call$1($arguments) {
  90760. return A._rgb0("rgba", $arguments);
  90761. },
  90762. $signature: 3
  90763. };
  90764. A.global_closure38.prototype = {
  90765. call$1($arguments) {
  90766. return A._rgbTwoArg0("rgba", $arguments);
  90767. },
  90768. $signature: 3
  90769. };
  90770. A.global_closure39.prototype = {
  90771. call$1($arguments) {
  90772. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  90773. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  90774. },
  90775. $signature: 3
  90776. };
  90777. A.global_closure40.prototype = {
  90778. call$1($arguments) {
  90779. var color, t2,
  90780. t1 = J.getInterceptor$asx($arguments),
  90781. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  90782. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  90783. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  90784. throw A.wrapException(string$.Only_oa);
  90785. return A._functionString0("invert", t1.take$1($arguments, 1));
  90786. }
  90787. color = t1.$index($arguments, 0).assertColor$1("color");
  90788. t1 = color.get$red(0);
  90789. t2 = color.get$green(0);
  90790. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  90791. },
  90792. $signature: 3
  90793. };
  90794. A.global_closure41.prototype = {
  90795. call$1($arguments) {
  90796. return A._hsl0("hsl", $arguments);
  90797. },
  90798. $signature: 3
  90799. };
  90800. A.global_closure42.prototype = {
  90801. call$1($arguments) {
  90802. return A._hsl0("hsl", $arguments);
  90803. },
  90804. $signature: 3
  90805. };
  90806. A.global_closure43.prototype = {
  90807. call$1($arguments) {
  90808. var t1 = J.getInterceptor$asx($arguments);
  90809. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  90810. return A._functionString0("hsl", $arguments);
  90811. else
  90812. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  90813. },
  90814. $signature: 17
  90815. };
  90816. A.global_closure44.prototype = {
  90817. call$1($arguments) {
  90818. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  90819. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  90820. },
  90821. $signature: 3
  90822. };
  90823. A.global_closure45.prototype = {
  90824. call$1($arguments) {
  90825. return A._hsl0("hsla", $arguments);
  90826. },
  90827. $signature: 3
  90828. };
  90829. A.global_closure46.prototype = {
  90830. call$1($arguments) {
  90831. return A._hsl0("hsla", $arguments);
  90832. },
  90833. $signature: 3
  90834. };
  90835. A.global_closure47.prototype = {
  90836. call$1($arguments) {
  90837. var t1 = J.getInterceptor$asx($arguments);
  90838. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  90839. return A._functionString0("hsla", $arguments);
  90840. else
  90841. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  90842. },
  90843. $signature: 17
  90844. };
  90845. A.global_closure48.prototype = {
  90846. call$1($arguments) {
  90847. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  90848. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  90849. },
  90850. $signature: 3
  90851. };
  90852. A.global_closure49.prototype = {
  90853. call$1($arguments) {
  90854. var t1 = J.getInterceptor$asx($arguments);
  90855. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90856. return A._functionString0("grayscale", $arguments);
  90857. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  90858. },
  90859. $signature: 3
  90860. };
  90861. A.global_closure50.prototype = {
  90862. call$1($arguments) {
  90863. var t1 = J.getInterceptor$asx($arguments),
  90864. color = t1.$index($arguments, 0).assertColor$1("color"),
  90865. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  90866. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  90867. },
  90868. $signature: 29
  90869. };
  90870. A.global_closure51.prototype = {
  90871. call$1($arguments) {
  90872. var t1 = J.getInterceptor$asx($arguments),
  90873. color = t1.$index($arguments, 0).assertColor$1("color"),
  90874. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90875. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90876. },
  90877. $signature: 29
  90878. };
  90879. A.global_closure52.prototype = {
  90880. call$1($arguments) {
  90881. var t1 = J.getInterceptor$asx($arguments),
  90882. color = t1.$index($arguments, 0).assertColor$1("color"),
  90883. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90884. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90885. },
  90886. $signature: 29
  90887. };
  90888. A.global_closure53.prototype = {
  90889. call$1($arguments) {
  90890. var t1 = J.getInterceptor$asx($arguments);
  90891. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90892. return A._functionString0("saturate", $arguments);
  90893. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  90894. },
  90895. $signature: 17
  90896. };
  90897. A.global_closure54.prototype = {
  90898. call$1($arguments) {
  90899. var t1 = J.getInterceptor$asx($arguments),
  90900. color = t1.$index($arguments, 0).assertColor$1("color"),
  90901. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90902. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90903. },
  90904. $signature: 29
  90905. };
  90906. A.global_closure55.prototype = {
  90907. call$1($arguments) {
  90908. var t1 = J.getInterceptor$asx($arguments),
  90909. color = t1.$index($arguments, 0).assertColor$1("color"),
  90910. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90911. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90912. },
  90913. $signature: 29
  90914. };
  90915. A.global_closure56.prototype = {
  90916. call$1($arguments) {
  90917. var argument = J.$index$asx($arguments, 0);
  90918. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  90919. return A._functionString0("alpha", $arguments);
  90920. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  90921. },
  90922. $signature: 3
  90923. };
  90924. A.global_closure57.prototype = {
  90925. call$1($arguments) {
  90926. var t1,
  90927. argList = J.$index$asx($arguments, 0).get$asList();
  90928. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  90929. return A._functionString0("alpha", $arguments);
  90930. t1 = argList.length;
  90931. if (t1 === 0)
  90932. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  90933. else
  90934. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  90935. },
  90936. $signature: 17
  90937. };
  90938. A.global__closure0.prototype = {
  90939. call$1(argument) {
  90940. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  90941. },
  90942. $signature: 49
  90943. };
  90944. A.global_closure58.prototype = {
  90945. call$1($arguments) {
  90946. var t1 = J.getInterceptor$asx($arguments);
  90947. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90948. return A._functionString0("opacity", $arguments);
  90949. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  90950. },
  90951. $signature: 3
  90952. };
  90953. A.module_closure12.prototype = {
  90954. call$1($arguments) {
  90955. var result, t2, color,
  90956. t1 = J.getInterceptor$asx($arguments),
  90957. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  90958. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  90959. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  90960. throw A.wrapException(string$.Only_oa);
  90961. result = A._functionString0("invert", t1.take$1($arguments, 1));
  90962. t1 = A.S(t1.$index($arguments, 0));
  90963. t2 = result.toString$0(0);
  90964. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_LT8);
  90965. return result;
  90966. }
  90967. color = t1.$index($arguments, 0).assertColor$1("color");
  90968. t1 = color.get$red(0);
  90969. t2 = color.get$green(0);
  90970. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  90971. },
  90972. $signature: 3
  90973. };
  90974. A.module_closure13.prototype = {
  90975. call$1($arguments) {
  90976. var result, t2,
  90977. t1 = J.getInterceptor$asx($arguments);
  90978. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  90979. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  90980. t1 = A.S(t1.$index($arguments, 0));
  90981. t2 = result.toString$0(0);
  90982. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_LT8);
  90983. return result;
  90984. }
  90985. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  90986. },
  90987. $signature: 3
  90988. };
  90989. A.module_closure14.prototype = {
  90990. call$1($arguments) {
  90991. return A._hwb0($arguments);
  90992. },
  90993. $signature: 3
  90994. };
  90995. A.module_closure15.prototype = {
  90996. call$1($arguments) {
  90997. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  90998. if (parsed instanceof A.SassString0)
  90999. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  91000. else
  91001. return A._hwb0(type$.List_Value_2._as(parsed));
  91002. },
  91003. $signature: 3
  91004. };
  91005. A.module_closure16.prototype = {
  91006. call$1($arguments) {
  91007. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  91008. },
  91009. $signature: 11
  91010. };
  91011. A.module_closure17.prototype = {
  91012. call$1($arguments) {
  91013. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  91014. },
  91015. $signature: 11
  91016. };
  91017. A.module_closure18.prototype = {
  91018. call$1($arguments) {
  91019. var result, t1,
  91020. argument = J.$index$asx($arguments, 0);
  91021. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  91022. result = A._functionString0("alpha", $arguments);
  91023. t1 = result.toString$0(0);
  91024. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  91025. return result;
  91026. }
  91027. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91028. },
  91029. $signature: 3
  91030. };
  91031. A.module_closure19.prototype = {
  91032. call$1($arguments) {
  91033. var result,
  91034. t1 = J.getInterceptor$asx($arguments);
  91035. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  91036. result = A._functionString0("alpha", $arguments);
  91037. t1 = result.toString$0(0);
  91038. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  91039. return result;
  91040. }
  91041. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  91042. },
  91043. $signature: 17
  91044. };
  91045. A.module__closure4.prototype = {
  91046. call$1(argument) {
  91047. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91048. },
  91049. $signature: 49
  91050. };
  91051. A.module_closure20.prototype = {
  91052. call$1($arguments) {
  91053. var result, t2,
  91054. t1 = J.getInterceptor$asx($arguments);
  91055. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91056. result = A._functionString0("opacity", $arguments);
  91057. t1 = A.S(t1.$index($arguments, 0));
  91058. t2 = result.toString$0(0);
  91059. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_LT8);
  91060. return result;
  91061. }
  91062. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91063. },
  91064. $signature: 3
  91065. };
  91066. A._red_closure0.prototype = {
  91067. call$1($arguments) {
  91068. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  91069. },
  91070. $signature: 11
  91071. };
  91072. A._green_closure0.prototype = {
  91073. call$1($arguments) {
  91074. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  91075. },
  91076. $signature: 11
  91077. };
  91078. A._blue_closure0.prototype = {
  91079. call$1($arguments) {
  91080. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  91081. },
  91082. $signature: 11
  91083. };
  91084. A._mix_closure0.prototype = {
  91085. call$1($arguments) {
  91086. var t1 = J.getInterceptor$asx($arguments);
  91087. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  91088. },
  91089. $signature: 29
  91090. };
  91091. A._hue_closure0.prototype = {
  91092. call$1($arguments) {
  91093. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  91094. },
  91095. $signature: 11
  91096. };
  91097. A._saturation_closure0.prototype = {
  91098. call$1($arguments) {
  91099. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  91100. },
  91101. $signature: 11
  91102. };
  91103. A._lightness_closure0.prototype = {
  91104. call$1($arguments) {
  91105. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  91106. },
  91107. $signature: 11
  91108. };
  91109. A._complement_closure0.prototype = {
  91110. call$1($arguments) {
  91111. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  91112. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  91113. },
  91114. $signature: 29
  91115. };
  91116. A._adjust_closure0.prototype = {
  91117. call$1($arguments) {
  91118. return A._updateComponents0($arguments, true, false, false);
  91119. },
  91120. $signature: 29
  91121. };
  91122. A._scale_closure0.prototype = {
  91123. call$1($arguments) {
  91124. return A._updateComponents0($arguments, false, false, true);
  91125. },
  91126. $signature: 29
  91127. };
  91128. A._change_closure0.prototype = {
  91129. call$1($arguments) {
  91130. return A._updateComponents0($arguments, false, true, false);
  91131. },
  91132. $signature: 29
  91133. };
  91134. A._ieHexStr_closure0.prototype = {
  91135. call$1($arguments) {
  91136. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  91137. t1 = new A._ieHexStr_closure_hexString0();
  91138. return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(0))) + A.S(t1.call$1(color.get$green(0))) + A.S(t1.call$1(color.get$blue(0))), false);
  91139. },
  91140. $signature: 17
  91141. };
  91142. A._ieHexStr_closure_hexString0.prototype = {
  91143. call$1(component) {
  91144. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  91145. },
  91146. $signature: 230
  91147. };
  91148. A._updateComponents_getParam0.prototype = {
  91149. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  91150. var t2, t3, t4, _this = this,
  91151. t1 = _this.keywords.remove$1(0, $name),
  91152. number = t1 == null ? null : t1.assertNumber$1($name);
  91153. if (number == null)
  91154. return null;
  91155. t1 = _this.scale;
  91156. t2 = !t1;
  91157. if (t2 && checkUnitless)
  91158. if (number.get$hasUnits()) {
  91159. t3 = number.get$unitString();
  91160. t4 = number.unitSuggestion$1($name);
  91161. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_0bn);
  91162. }
  91163. if (t2 && checkPercent)
  91164. A._checkPercent0(number, $name);
  91165. if (!t2 || assertPercent)
  91166. number.assertUnit$2("%", $name);
  91167. if (t1)
  91168. max = 100;
  91169. if (!t2 || assertPercent)
  91170. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  91171. else {
  91172. t1 = _this.change ? 0 : -max;
  91173. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  91174. }
  91175. return t1;
  91176. },
  91177. call$2($name, max) {
  91178. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  91179. },
  91180. call$3$checkUnitless($name, max, checkUnitless) {
  91181. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  91182. },
  91183. call$3$checkPercent($name, max, checkPercent) {
  91184. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  91185. },
  91186. call$3$assertPercent($name, max, assertPercent) {
  91187. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  91188. },
  91189. $signature: 227
  91190. };
  91191. A._updateComponents_closure1.prototype = {
  91192. call$1(hue) {
  91193. return A._angleValue0(hue, "hue");
  91194. },
  91195. $signature: 96
  91196. };
  91197. A._updateComponents_closure2.prototype = {
  91198. call$1($name) {
  91199. return "$" + $name;
  91200. },
  91201. $signature: 5
  91202. };
  91203. A._updateComponents_updateValue0.prototype = {
  91204. call$3(current, param, max) {
  91205. var t1;
  91206. if (param == null)
  91207. return current;
  91208. if (this.change)
  91209. return param;
  91210. if (this.adjust)
  91211. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  91212. t1 = param > 0 ? max - current : current;
  91213. return current + t1 * (param / 100);
  91214. },
  91215. $signature: 202
  91216. };
  91217. A._updateComponents_updateRgb0.prototype = {
  91218. call$2(current, param) {
  91219. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  91220. },
  91221. $signature: 197
  91222. };
  91223. A._functionString_closure0.prototype = {
  91224. call$1(argument) {
  91225. return A.serializeValue0(argument, false, true);
  91226. },
  91227. $signature: 193
  91228. };
  91229. A._removedColorFunction_closure0.prototype = {
  91230. call$1($arguments) {
  91231. var t1 = this.name,
  91232. t2 = J.getInterceptor$asx($arguments),
  91233. t3 = A.S(t2.$index($arguments, 0)),
  91234. t4 = this.negative ? "-" : "";
  91235. 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));
  91236. },
  91237. $signature: 383
  91238. };
  91239. A._rgb_closure0.prototype = {
  91240. call$1(alpha) {
  91241. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91242. },
  91243. $signature: 96
  91244. };
  91245. A._hsl_closure0.prototype = {
  91246. call$1(alpha) {
  91247. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91248. },
  91249. $signature: 96
  91250. };
  91251. A._hwb_closure0.prototype = {
  91252. call$1(alpha) {
  91253. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91254. },
  91255. $signature: 96
  91256. };
  91257. A._parseChannels_closure0.prototype = {
  91258. call$1(value) {
  91259. return value.get$isVar();
  91260. },
  91261. $signature: 49
  91262. };
  91263. A.colorClass_closure.prototype = {
  91264. call$0() {
  91265. var t1 = type$.JSClass,
  91266. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  91267. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  91268. 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));
  91269. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, 1).constructor), jsClass);
  91270. return jsClass;
  91271. },
  91272. $signature: 13
  91273. };
  91274. A.colorClass__closure.prototype = {
  91275. call$2($self, color) {
  91276. var t2, t3, t4,
  91277. t1 = J.getInterceptor$x(color);
  91278. if (t1.get$red(color) != null) {
  91279. t2 = t1.get$red(color);
  91280. t2.toString;
  91281. t2 = A.fuzzyRound0(t2);
  91282. t3 = t1.get$green(color);
  91283. t3.toString;
  91284. t3 = A.fuzzyRound0(t3);
  91285. t4 = t1.get$blue(color);
  91286. t4.toString;
  91287. t4 = A.fuzzyRound0(t4);
  91288. t1 = t1.get$alpha(color);
  91289. return A.SassColor$rgb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91290. } else if (t1.get$saturation(color) != null) {
  91291. t2 = t1.get$hue(color);
  91292. t2.toString;
  91293. t3 = t1.get$saturation(color);
  91294. t3.toString;
  91295. t4 = t1.get$lightness(color);
  91296. t4.toString;
  91297. t1 = t1.get$alpha(color);
  91298. return A.SassColor$hsl(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91299. } else {
  91300. t2 = t1.get$hue(color);
  91301. t2.toString;
  91302. t3 = t1.get$whiteness(color);
  91303. t3.toString;
  91304. t4 = t1.get$blackness(color);
  91305. t4.toString;
  91306. t1 = t1.get$alpha(color);
  91307. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91308. }
  91309. },
  91310. $signature: 384
  91311. };
  91312. A.colorClass__closure0.prototype = {
  91313. call$2($self, options) {
  91314. var t2, t3, t4,
  91315. t1 = J.getInterceptor$x(options);
  91316. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  91317. t2 = t1.get$hue(options);
  91318. if (t2 == null)
  91319. t2 = $self.get$hue(0);
  91320. t3 = t1.get$whiteness(options);
  91321. if (t3 == null)
  91322. t3 = $self.get$whiteness(0);
  91323. t4 = t1.get$blackness(options);
  91324. if (t4 == null)
  91325. t4 = $self.get$blackness(0);
  91326. t1 = t1.get$alpha(options);
  91327. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  91328. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  91329. t2 = t1.get$hue(options);
  91330. if (t2 == null)
  91331. t2 = $self.get$hue(0);
  91332. t3 = t1.get$saturation(options);
  91333. if (t3 == null)
  91334. t3 = $self.get$saturation(0);
  91335. t4 = t1.get$lightness(options);
  91336. if (t4 == null)
  91337. t4 = $self.get$lightness(0);
  91338. t1 = t1.get$alpha(options);
  91339. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  91340. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  91341. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  91342. if (t2 == null)
  91343. t2 = $self.get$red(0);
  91344. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  91345. if (t3 == null)
  91346. t3 = $self.get$green(0);
  91347. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  91348. if (t4 == null)
  91349. t4 = $self.get$blue(0);
  91350. t1 = t1.get$alpha(options);
  91351. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  91352. } else {
  91353. t1 = t1.get$alpha(options);
  91354. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  91355. }
  91356. },
  91357. $signature: 385
  91358. };
  91359. A.colorClass__closure1.prototype = {
  91360. call$1($self) {
  91361. return $self.get$red(0);
  91362. },
  91363. $signature: 117
  91364. };
  91365. A.colorClass__closure2.prototype = {
  91366. call$1($self) {
  91367. return $self.get$green(0);
  91368. },
  91369. $signature: 117
  91370. };
  91371. A.colorClass__closure3.prototype = {
  91372. call$1($self) {
  91373. return $self.get$blue(0);
  91374. },
  91375. $signature: 117
  91376. };
  91377. A.colorClass__closure4.prototype = {
  91378. call$1($self) {
  91379. return $self.get$hue(0);
  91380. },
  91381. $signature: 56
  91382. };
  91383. A.colorClass__closure5.prototype = {
  91384. call$1($self) {
  91385. return $self.get$saturation(0);
  91386. },
  91387. $signature: 56
  91388. };
  91389. A.colorClass__closure6.prototype = {
  91390. call$1($self) {
  91391. return $self.get$lightness(0);
  91392. },
  91393. $signature: 56
  91394. };
  91395. A.colorClass__closure7.prototype = {
  91396. call$1($self) {
  91397. return $self.get$whiteness(0);
  91398. },
  91399. $signature: 56
  91400. };
  91401. A.colorClass__closure8.prototype = {
  91402. call$1($self) {
  91403. return $self.get$blackness(0);
  91404. },
  91405. $signature: 56
  91406. };
  91407. A.colorClass__closure9.prototype = {
  91408. call$1($self) {
  91409. return $self._color1$_alpha;
  91410. },
  91411. $signature: 56
  91412. };
  91413. A._Channels.prototype = {};
  91414. A._NodeSassColor.prototype = {};
  91415. A.legacyColorClass_closure.prototype = {
  91416. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  91417. var red, t1, t2, t3, t4;
  91418. if (dartValue != null) {
  91419. J.set$dartValue$x(thisArg, dartValue);
  91420. return;
  91421. }
  91422. if (green == null || blue == null) {
  91423. A._asInt(redOrArgb);
  91424. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  91425. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  91426. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  91427. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  91428. } else {
  91429. redOrArgb.toString;
  91430. red = redOrArgb;
  91431. }
  91432. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  91433. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  91434. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  91435. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  91436. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  91437. },
  91438. call$2(thisArg, redOrArgb) {
  91439. var _null = null;
  91440. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  91441. },
  91442. call$3(thisArg, redOrArgb, green) {
  91443. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  91444. },
  91445. call$4(thisArg, redOrArgb, green, blue) {
  91446. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  91447. },
  91448. call$5(thisArg, redOrArgb, green, blue, alpha) {
  91449. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  91450. },
  91451. "call*": "call$6",
  91452. $requiredArgCount: 2,
  91453. $defaultValues() {
  91454. return [null, null, null, null];
  91455. },
  91456. $signature: 388
  91457. };
  91458. A.legacyColorClass_closure0.prototype = {
  91459. call$1(thisArg) {
  91460. return J.get$red$x(J.get$dartValue$x(thisArg));
  91461. },
  91462. $signature: 114
  91463. };
  91464. A.legacyColorClass_closure1.prototype = {
  91465. call$1(thisArg) {
  91466. return J.get$green$x(J.get$dartValue$x(thisArg));
  91467. },
  91468. $signature: 114
  91469. };
  91470. A.legacyColorClass_closure2.prototype = {
  91471. call$1(thisArg) {
  91472. return J.get$blue$x(J.get$dartValue$x(thisArg));
  91473. },
  91474. $signature: 114
  91475. };
  91476. A.legacyColorClass_closure3.prototype = {
  91477. call$1(thisArg) {
  91478. return J.get$dartValue$x(thisArg)._color1$_alpha;
  91479. },
  91480. $signature: 390
  91481. };
  91482. A.legacyColorClass_closure4.prototype = {
  91483. call$2(thisArg, value) {
  91484. var t1 = J.getInterceptor$x(thisArg);
  91485. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91486. },
  91487. $signature: 95
  91488. };
  91489. A.legacyColorClass_closure5.prototype = {
  91490. call$2(thisArg, value) {
  91491. var t1 = J.getInterceptor$x(thisArg);
  91492. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91493. },
  91494. $signature: 95
  91495. };
  91496. A.legacyColorClass_closure6.prototype = {
  91497. call$2(thisArg, value) {
  91498. var t1 = J.getInterceptor$x(thisArg);
  91499. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91500. },
  91501. $signature: 95
  91502. };
  91503. A.legacyColorClass_closure7.prototype = {
  91504. call$2(thisArg, value) {
  91505. var t1 = J.getInterceptor$x(thisArg);
  91506. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  91507. },
  91508. $signature: 95
  91509. };
  91510. A.SassColor0.prototype = {
  91511. get$red(_) {
  91512. var t1;
  91513. if (this._color1$_red == null)
  91514. this._color1$_hslToRgb$0();
  91515. t1 = this._color1$_red;
  91516. t1.toString;
  91517. return t1;
  91518. },
  91519. get$green(_) {
  91520. var t1;
  91521. if (this._color1$_green == null)
  91522. this._color1$_hslToRgb$0();
  91523. t1 = this._color1$_green;
  91524. t1.toString;
  91525. return t1;
  91526. },
  91527. get$blue(_) {
  91528. var t1;
  91529. if (this._color1$_blue == null)
  91530. this._color1$_hslToRgb$0();
  91531. t1 = this._color1$_blue;
  91532. t1.toString;
  91533. return t1;
  91534. },
  91535. get$hue(_) {
  91536. var t1;
  91537. if (this._color1$_hue == null)
  91538. this._color1$_rgbToHsl$0();
  91539. t1 = this._color1$_hue;
  91540. t1.toString;
  91541. return t1;
  91542. },
  91543. get$saturation(_) {
  91544. var t1;
  91545. if (this._color1$_saturation == null)
  91546. this._color1$_rgbToHsl$0();
  91547. t1 = this._color1$_saturation;
  91548. t1.toString;
  91549. return t1;
  91550. },
  91551. get$lightness(_) {
  91552. var t1;
  91553. if (this._color1$_lightness == null)
  91554. this._color1$_rgbToHsl$0();
  91555. t1 = this._color1$_lightness;
  91556. t1.toString;
  91557. return t1;
  91558. },
  91559. get$whiteness(_) {
  91560. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91561. },
  91562. get$blackness(_) {
  91563. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91564. },
  91565. accept$1$1(visitor) {
  91566. return visitor.visitColor$1(this);
  91567. },
  91568. accept$1(visitor) {
  91569. return this.accept$1$1(visitor, type$.dynamic);
  91570. },
  91571. assertColor$1($name) {
  91572. return this;
  91573. },
  91574. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  91575. var _this = this,
  91576. t1 = red == null ? _this.get$red(0) : red,
  91577. t2 = green == null ? _this.get$green(0) : green,
  91578. t3 = blue == null ? _this.get$blue(0) : blue;
  91579. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  91580. },
  91581. changeRgb$3$blue$green$red(blue, green, red) {
  91582. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  91583. },
  91584. changeRgb$1$alpha(alpha) {
  91585. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  91586. },
  91587. changeRgb$1$blue(blue) {
  91588. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  91589. },
  91590. changeRgb$1$green(green) {
  91591. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  91592. },
  91593. changeRgb$1$red(red) {
  91594. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  91595. },
  91596. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  91597. var _this = this,
  91598. t1 = hue == null ? _this.get$hue(0) : hue,
  91599. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  91600. t3 = lightness == null ? _this.get$lightness(0) : lightness;
  91601. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  91602. },
  91603. changeHsl$1$saturation(saturation) {
  91604. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  91605. },
  91606. changeHsl$1$lightness(lightness) {
  91607. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  91608. },
  91609. changeHsl$1$hue(hue) {
  91610. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  91611. },
  91612. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  91613. var t1 = hue == null ? this.get$hue(0) : hue;
  91614. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  91615. },
  91616. changeAlpha$1(alpha) {
  91617. var _this = this;
  91618. 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);
  91619. },
  91620. plus$1(other) {
  91621. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91622. return this.super$Value$plus0(other);
  91623. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  91624. },
  91625. minus$1(other) {
  91626. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91627. return this.super$Value$minus0(other);
  91628. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  91629. },
  91630. dividedBy$1(other) {
  91631. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91632. return this.super$Value$dividedBy0(other);
  91633. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  91634. },
  91635. $eq(_, other) {
  91636. var _this = this;
  91637. if (other == null)
  91638. return false;
  91639. return other instanceof A.SassColor0 && other.get$red(0) === _this.get$red(0) && other.get$green(0) === _this.get$green(0) && other.get$blue(0) === _this.get$blue(0) && other._color1$_alpha === _this._color1$_alpha;
  91640. },
  91641. get$hashCode(_) {
  91642. var _this = this;
  91643. return B.JSInt_methods.get$hashCode(_this.get$red(0)) ^ B.JSInt_methods.get$hashCode(_this.get$green(0)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(0)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
  91644. },
  91645. _color1$_rgbToHsl$0() {
  91646. var t2, lightness, _this = this,
  91647. scaledRed = _this.get$red(0) / 255,
  91648. scaledGreen = _this.get$green(0) / 255,
  91649. scaledBlue = _this.get$blue(0) / 255,
  91650. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  91651. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  91652. delta = max - min,
  91653. t1 = max === min;
  91654. if (t1)
  91655. _this._color1$_hue = 0;
  91656. else if (max === scaledRed)
  91657. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  91658. else if (max === scaledGreen)
  91659. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  91660. else if (max === scaledBlue)
  91661. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  91662. t2 = max + min;
  91663. lightness = 50 * t2;
  91664. _this._color1$_lightness = lightness;
  91665. if (t1)
  91666. _this._color1$_saturation = 0;
  91667. else {
  91668. t1 = 100 * delta;
  91669. if (lightness < 50)
  91670. _this._color1$_saturation = t1 / t2;
  91671. else
  91672. _this._color1$_saturation = t1 / (2 - max - min);
  91673. }
  91674. },
  91675. _color1$_hslToRgb$0() {
  91676. var _this = this,
  91677. scaledHue = _this.get$hue(0) / 360,
  91678. scaledSaturation = _this.get$saturation(0) / 100,
  91679. scaledLightness = _this.get$lightness(0) / 100,
  91680. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  91681. m1 = scaledLightness * 2 - m2;
  91682. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  91683. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  91684. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  91685. }
  91686. };
  91687. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  91688. call$1(hue) {
  91689. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  91690. },
  91691. $signature: 205
  91692. };
  91693. A._ColorFormatEnum0.prototype = {
  91694. toString$0(_) {
  91695. return this._color1$_name;
  91696. }
  91697. };
  91698. A.SpanColorFormat0.prototype = {};
  91699. A.Combinator0.prototype = {
  91700. _enumToString$0() {
  91701. return "Combinator." + this._name;
  91702. },
  91703. toString$0(_) {
  91704. return this._combinator0$_text;
  91705. }
  91706. };
  91707. A.ModifiableCssComment0.prototype = {
  91708. accept$1$1(visitor) {
  91709. return visitor.visitCssComment$1(this);
  91710. },
  91711. accept$1(visitor) {
  91712. return this.accept$1$1(visitor, type$.dynamic);
  91713. },
  91714. $isCssComment0: 1,
  91715. get$span(receiver) {
  91716. return this.span;
  91717. }
  91718. };
  91719. A.compileAsync_closure.prototype = {
  91720. call$0() {
  91721. var $async$goto = 0,
  91722. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  91723. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  91724. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91725. if ($async$errorCode === 1)
  91726. return A._asyncRethrow($async$result, $async$completer);
  91727. while (true)
  91728. switch ($async$goto) {
  91729. case 0:
  91730. // Function start
  91731. t1 = $async$self.options;
  91732. t2 = t1 == null;
  91733. t3 = t2 ? null : J.get$loadPaths$x(t1);
  91734. t4 = t2 ? null : J.get$quietDeps$x(t1);
  91735. if (t4 == null)
  91736. t4 = false;
  91737. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  91738. t6 = t2 ? null : J.get$verbose$x(t1);
  91739. if (t6 == null)
  91740. t6 = false;
  91741. t7 = t2 ? null : J.get$charset$x(t1);
  91742. if (t7 == null)
  91743. t7 = true;
  91744. t8 = t2 ? null : J.get$sourceMap$x(t1);
  91745. if (t8 == null)
  91746. t8 = false;
  91747. t9 = t2 ? null : J.get$logger$x(t1);
  91748. t9 = new A.JSToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  91749. if (t2)
  91750. t10 = null;
  91751. else {
  91752. t10 = J.get$importers$x(t1);
  91753. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  91754. }
  91755. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  91756. $async$goto = 3;
  91757. 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);
  91758. case 3:
  91759. // returning from await.
  91760. result = $async$result;
  91761. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  91762. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  91763. // goto return
  91764. $async$goto = 1;
  91765. break;
  91766. case 1:
  91767. // return
  91768. return A._asyncReturn($async$returnValue, $async$completer);
  91769. }
  91770. });
  91771. return A._asyncStartSync($async$call$0, $async$completer);
  91772. },
  91773. $signature: 268
  91774. };
  91775. A.compileAsync__closure.prototype = {
  91776. call$1(importer) {
  91777. return A._parseAsyncImporter(importer);
  91778. },
  91779. $signature: 165
  91780. };
  91781. A.compileStringAsync_closure.prototype = {
  91782. call$0() {
  91783. var $async$goto = 0,
  91784. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  91785. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  91786. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91787. if ($async$errorCode === 1)
  91788. return A._asyncRethrow($async$result, $async$completer);
  91789. while (true)
  91790. switch ($async$goto) {
  91791. case 0:
  91792. // Function start
  91793. t1 = $async$self.options;
  91794. t2 = t1 == null;
  91795. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  91796. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  91797. t5 = t2 ? null : J.get$loadPaths$x(t1);
  91798. t6 = t2 ? null : J.get$quietDeps$x(t1);
  91799. if (t6 == null)
  91800. t6 = false;
  91801. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  91802. t8 = t2 ? null : J.get$verbose$x(t1);
  91803. if (t8 == null)
  91804. t8 = false;
  91805. t9 = t2 ? null : J.get$charset$x(t1);
  91806. if (t9 == null)
  91807. t9 = true;
  91808. t10 = t2 ? null : J.get$sourceMap$x(t1);
  91809. if (t10 == null)
  91810. t10 = false;
  91811. t11 = t2 ? null : J.get$logger$x(t1);
  91812. t11 = new A.JSToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  91813. if (t2)
  91814. t12 = null;
  91815. else {
  91816. t12 = J.get$importers$x(t1);
  91817. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  91818. }
  91819. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  91820. if (t13 == null)
  91821. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  91822. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  91823. $async$goto = 3;
  91824. 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);
  91825. case 3:
  91826. // returning from await.
  91827. result = $async$result;
  91828. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  91829. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  91830. // goto return
  91831. $async$goto = 1;
  91832. break;
  91833. case 1:
  91834. // return
  91835. return A._asyncReturn($async$returnValue, $async$completer);
  91836. }
  91837. });
  91838. return A._asyncStartSync($async$call$0, $async$completer);
  91839. },
  91840. $signature: 268
  91841. };
  91842. A.compileStringAsync__closure.prototype = {
  91843. call$1(importer) {
  91844. return A._parseAsyncImporter(importer);
  91845. },
  91846. $signature: 165
  91847. };
  91848. A.compileStringAsync__closure0.prototype = {
  91849. call$1(importer) {
  91850. return A._parseAsyncImporter(importer);
  91851. },
  91852. $signature: 394
  91853. };
  91854. A._wrapAsyncSassExceptions_closure.prototype = {
  91855. call$1(error) {
  91856. var t1;
  91857. if (error instanceof A.SassException0)
  91858. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  91859. else
  91860. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  91861. return t1;
  91862. },
  91863. $signature: 395
  91864. };
  91865. A._parseFunctions_closure0.prototype = {
  91866. call$2(signature, callback) {
  91867. var callable,
  91868. t1 = this.result;
  91869. if (!this.asynch) {
  91870. callable = A._Cell$();
  91871. callable._value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  91872. t1.push(callable._readLocal$0());
  91873. } else {
  91874. callable = A._Cell$();
  91875. callable._value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  91876. t1.push(callable._readLocal$0());
  91877. }
  91878. },
  91879. $signature: 128
  91880. };
  91881. A._parseFunctions__closure2.prototype = {
  91882. call$1($arguments) {
  91883. var t1, t2,
  91884. _s42_ = string$.Invali,
  91885. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  91886. if (result instanceof A.Value0)
  91887. return A._simplifyValue(result);
  91888. t1 = result != null && result instanceof self.Promise;
  91889. t2 = this.callable;
  91890. if (t1)
  91891. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  91892. else
  91893. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  91894. },
  91895. $signature: 3
  91896. };
  91897. A._parseFunctions___closure6.prototype = {
  91898. call$0() {
  91899. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  91900. },
  91901. $signature: 57
  91902. };
  91903. A._parseFunctions__closure3.prototype = {
  91904. call$1($arguments) {
  91905. return this.$call$body$_parseFunctions__closure0($arguments);
  91906. },
  91907. $call$body$_parseFunctions__closure0($arguments) {
  91908. var $async$goto = 0,
  91909. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91910. $async$returnValue, $async$self = this, result;
  91911. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91912. if ($async$errorCode === 1)
  91913. return A._asyncRethrow($async$result, $async$completer);
  91914. while (true)
  91915. switch ($async$goto) {
  91916. case 0:
  91917. // Function start
  91918. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  91919. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  91920. break;
  91921. case 3:
  91922. // then
  91923. $async$goto = 5;
  91924. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  91925. case 5:
  91926. // returning from await.
  91927. result = $async$result;
  91928. case 4:
  91929. // join
  91930. if (result instanceof A.Value0) {
  91931. $async$returnValue = A._simplifyValue(result);
  91932. // goto return
  91933. $async$goto = 1;
  91934. break;
  91935. }
  91936. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  91937. case 1:
  91938. // return
  91939. return A._asyncReturn($async$returnValue, $async$completer);
  91940. }
  91941. });
  91942. return A._asyncStartSync($async$call$1, $async$completer);
  91943. },
  91944. $signature: 98
  91945. };
  91946. A._parseFunctions___closure5.prototype = {
  91947. call$0() {
  91948. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  91949. },
  91950. $signature: 57
  91951. };
  91952. A.nodePackageImporterClass_closure.prototype = {
  91953. call$0() {
  91954. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  91955. },
  91956. $signature: 13
  91957. };
  91958. A.nodePackageImporterClass__closure.prototype = {
  91959. call$2($self, entrypointDirectory) {
  91960. var directory, t1, filename, t2, _null = null,
  91961. _0_3 = A.entrypointFilename();
  91962. $label0$0: {
  91963. if (entrypointDirectory != null) {
  91964. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  91965. t1 = directory;
  91966. break $label0$0;
  91967. }
  91968. if (_0_3 != null) {
  91969. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  91970. t1 = $.$get$context().dirname$1(filename);
  91971. break $label0$0;
  91972. }
  91973. t1 = A.throwExpression("The Node package importer cannot determine an entry point because `require.main.filename` is not defined. Please provide an `entryPointDirectory` to the `NodePackageImporter`.");
  91974. }
  91975. t2 = new A.NodePackageImporter0();
  91976. if (A.isBrowser())
  91977. A.throwExpression(string$.The_No);
  91978. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  91979. return t2;
  91980. },
  91981. call$1($self) {
  91982. return this.call$2($self, null);
  91983. },
  91984. "call*": "call$2",
  91985. $requiredArgCount: 1,
  91986. $defaultValues() {
  91987. return [null];
  91988. },
  91989. $signature: 397
  91990. };
  91991. A._compileStylesheet_closure1.prototype = {
  91992. call$1(url) {
  91993. 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);
  91994. },
  91995. $signature: 5
  91996. };
  91997. A.CompileOptions.prototype = {};
  91998. A.CompileStringOptions.prototype = {};
  91999. A.NodeCompileResult.prototype = {};
  92000. A.CompileResult0.prototype = {};
  92001. A.Compiler.prototype = {};
  92002. A.AsyncCompiler.prototype = {
  92003. addCompilation$1(compilation) {
  92004. this.compilations.add$1(0, A.promiseToFuture0(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  92005. }
  92006. };
  92007. A.AsyncCompiler_addCompilation_closure.prototype = {
  92008. call$1(err) {
  92009. },
  92010. $signature: 54
  92011. };
  92012. A.compilerClass_closure.prototype = {
  92013. call$0() {
  92014. var t1 = type$.JSClass,
  92015. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  92016. A.LinkedHashMap_LinkedHashMap$_literal(["compile", new A.compilerClass__closure0(), "compileString", new A.compilerClass__closure1(), "dispose", new A.compilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  92017. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  92018. return jsClass;
  92019. },
  92020. $signature: 13
  92021. };
  92022. A.compilerClass__closure.prototype = {
  92023. call$1($self) {
  92024. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  92025. },
  92026. $signature: 266
  92027. };
  92028. A.compilerClass__closure0.prototype = {
  92029. call$3($self, path, options) {
  92030. if ($self._disposed)
  92031. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92032. return A.compile0(path, options);
  92033. },
  92034. call$2($self, path) {
  92035. return this.call$3($self, path, null);
  92036. },
  92037. "call*": "call$3",
  92038. $requiredArgCount: 2,
  92039. $defaultValues() {
  92040. return [null];
  92041. },
  92042. $signature: 399
  92043. };
  92044. A.compilerClass__closure1.prototype = {
  92045. call$3($self, source, options) {
  92046. if ($self._disposed)
  92047. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92048. return A.compileString0(source, options);
  92049. },
  92050. call$2($self, source) {
  92051. return this.call$3($self, source, null);
  92052. },
  92053. "call*": "call$3",
  92054. $requiredArgCount: 2,
  92055. $defaultValues() {
  92056. return [null];
  92057. },
  92058. $signature: 400
  92059. };
  92060. A.compilerClass__closure2.prototype = {
  92061. call$1($self) {
  92062. $self._disposed = true;
  92063. },
  92064. $signature: 401
  92065. };
  92066. A.asyncCompilerClass_closure.prototype = {
  92067. call$0() {
  92068. var t1 = type$.JSClass,
  92069. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  92070. A.LinkedHashMap_LinkedHashMap$_literal(["compileAsync", new A.asyncCompilerClass__closure0(), "compileStringAsync", new A.asyncCompilerClass__closure1(), "dispose", new A.asyncCompilerClass__closure2()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  92071. A.JSClassExtension_injectSuperclass(t1._as(new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void)).constructor), jsClass);
  92072. return jsClass;
  92073. },
  92074. $signature: 13
  92075. };
  92076. A.asyncCompilerClass__closure.prototype = {
  92077. call$1($self) {
  92078. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  92079. },
  92080. $signature: 266
  92081. };
  92082. A.asyncCompilerClass__closure0.prototype = {
  92083. call$3($self, path, options) {
  92084. var compilation;
  92085. if ($self._disposed)
  92086. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92087. compilation = A.compileAsync1(path, options);
  92088. $self.addCompilation$1(compilation);
  92089. return compilation;
  92090. },
  92091. call$2($self, path) {
  92092. return this.call$3($self, path, null);
  92093. },
  92094. "call*": "call$3",
  92095. $requiredArgCount: 2,
  92096. $defaultValues() {
  92097. return [null];
  92098. },
  92099. $signature: 402
  92100. };
  92101. A.asyncCompilerClass__closure1.prototype = {
  92102. call$3($self, source, options) {
  92103. var compilation;
  92104. if ($self._disposed)
  92105. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92106. compilation = A.compileStringAsync1(source, options);
  92107. $self.addCompilation$1(compilation);
  92108. return compilation;
  92109. },
  92110. call$2($self, source) {
  92111. return this.call$3($self, source, null);
  92112. },
  92113. "call*": "call$3",
  92114. $requiredArgCount: 2,
  92115. $defaultValues() {
  92116. return [null];
  92117. },
  92118. $signature: 403
  92119. };
  92120. A.asyncCompilerClass__closure2.prototype = {
  92121. call$1($self) {
  92122. $self._disposed = true;
  92123. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  92124. },
  92125. $signature: 404
  92126. };
  92127. A.asyncCompilerClass___closure.prototype = {
  92128. call$0() {
  92129. var $async$goto = 0,
  92130. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92131. $async$self = this, t1;
  92132. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92133. if ($async$errorCode === 1)
  92134. return A._asyncRethrow($async$result, $async$completer);
  92135. while (true)
  92136. switch ($async$goto) {
  92137. case 0:
  92138. // Function start
  92139. t1 = $async$self.self.compilations;
  92140. t1.close$0(0);
  92141. $async$goto = 2;
  92142. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  92143. case 2:
  92144. // returning from await.
  92145. // implicit return
  92146. return A._asyncReturn(null, $async$completer);
  92147. }
  92148. });
  92149. return A._asyncStartSync($async$call$0, $async$completer);
  92150. },
  92151. $signature: 2
  92152. };
  92153. A.initAsyncCompiler_closure.prototype = {
  92154. call$0() {
  92155. var $async$goto = 0,
  92156. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  92157. $async$returnValue;
  92158. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92159. if ($async$errorCode === 1)
  92160. return A._asyncRethrow($async$result, $async$completer);
  92161. while (true)
  92162. switch ($async$goto) {
  92163. case 0:
  92164. // Function start
  92165. $async$returnValue = new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_List_void), type$._AsyncCompleter_List_void), [], type$.FutureGroup_void));
  92166. // goto return
  92167. $async$goto = 1;
  92168. break;
  92169. case 1:
  92170. // return
  92171. return A._asyncReturn($async$returnValue, $async$completer);
  92172. }
  92173. });
  92174. return A._asyncStartSync($async$call$0, $async$completer);
  92175. },
  92176. $signature: 405
  92177. };
  92178. A.ComplexSassNumber0.prototype = {
  92179. get$numeratorUnits(_) {
  92180. return this._complex0$_numeratorUnits;
  92181. },
  92182. get$denominatorUnits(_) {
  92183. return this._complex0$_denominatorUnits;
  92184. },
  92185. get$hasUnits() {
  92186. return true;
  92187. },
  92188. get$hasComplexUnits() {
  92189. return true;
  92190. },
  92191. hasUnit$1(unit) {
  92192. return false;
  92193. },
  92194. compatibleWithUnit$1(unit) {
  92195. return false;
  92196. },
  92197. hasPossiblyCompatibleUnits$1(other) {
  92198. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  92199. },
  92200. withValue$1(value) {
  92201. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  92202. },
  92203. withSlash$2(numerator, denominator) {
  92204. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  92205. }
  92206. };
  92207. A.ComplexSelector0.prototype = {
  92208. get$specificity() {
  92209. var result, _this = this,
  92210. value = _this._complex$__ComplexSelector_specificity_FI;
  92211. if (value === $) {
  92212. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  92213. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92214. _this._complex$__ComplexSelector_specificity_FI = result;
  92215. value = result;
  92216. }
  92217. return value;
  92218. },
  92219. get$singleCompound() {
  92220. var _0_0, _0_4, t1, selector, _null = null;
  92221. if (this.leadingCombinators.length !== 0)
  92222. return _null;
  92223. _0_0 = this.components;
  92224. $label0$0: {
  92225. if (_0_0.length === 1) {
  92226. _0_4 = _0_0[0];
  92227. t1 = _0_4;
  92228. selector = t1.selector;
  92229. t1 = _0_4.combinators.length <= 0;
  92230. } else {
  92231. selector = _null;
  92232. t1 = false;
  92233. }
  92234. if (t1) {
  92235. t1 = selector;
  92236. break $label0$0;
  92237. }
  92238. t1 = _null;
  92239. break $label0$0;
  92240. }
  92241. return t1;
  92242. },
  92243. accept$1$1(visitor) {
  92244. return visitor.visitComplexSelector$1(this);
  92245. },
  92246. accept$1(visitor) {
  92247. return this.accept$1$1(visitor, type$.dynamic);
  92248. },
  92249. isSuperselector$1(other) {
  92250. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  92251. },
  92252. withAdditionalCombinators$1(combinators) {
  92253. var _0_0, _0_1, initial, last, t1, t2, _this = this;
  92254. if (combinators.length === 0)
  92255. return _this;
  92256. _0_0 = _this.components;
  92257. $label0$0: {
  92258. _0_1 = _0_0.length;
  92259. if (_0_1 >= 1) {
  92260. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  92261. last = _0_0[_0_1 - 1];
  92262. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92263. t1.push(last.withAdditionalCombinators$1(combinators));
  92264. t2 = _this.lineBreak || false;
  92265. t2 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, t2);
  92266. t1 = t2;
  92267. break $label0$0;
  92268. }
  92269. if (_0_1 <= 0) {
  92270. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92271. B.JSArray_methods.addAll$1(t1, combinators);
  92272. t2 = _this.lineBreak || false;
  92273. t2 = A.ComplexSelector$0(t1, B.List_empty13, _this.span, t2);
  92274. t1 = t2;
  92275. break $label0$0;
  92276. }
  92277. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  92278. }
  92279. return t1;
  92280. },
  92281. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  92282. var t2, _0_1, initial, last, _this = this,
  92283. t1 = child.leadingCombinators,
  92284. _0_0 = _this.components;
  92285. if (t1.length === 0) {
  92286. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  92287. B.JSArray_methods.addAll$1(t1, child.components);
  92288. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92289. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  92290. } else {
  92291. _0_1 = _0_0.length;
  92292. if (_0_1 >= 1) {
  92293. t2 = _0_1 - 1;
  92294. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  92295. last = _0_0[t2];
  92296. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92297. t2.push(last.withAdditionalCombinators$1(t1));
  92298. B.JSArray_methods.addAll$1(t2, child.components);
  92299. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92300. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  92301. } else {
  92302. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92303. B.JSArray_methods.addAll$1(t2, t1);
  92304. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92305. return A.ComplexSelector$0(t2, child.components, span, t1);
  92306. }
  92307. }
  92308. },
  92309. concatenate$2(child, span) {
  92310. return this.concatenate$3$forceLineBreak(child, span, false);
  92311. },
  92312. get$hashCode(_) {
  92313. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  92314. },
  92315. $eq(_, other) {
  92316. if (other == null)
  92317. return false;
  92318. 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);
  92319. }
  92320. };
  92321. A.ComplexSelector_specificity_closure0.prototype = {
  92322. call$2(sum, component) {
  92323. return sum + component.selector.get$specificity();
  92324. },
  92325. $signature: 406
  92326. };
  92327. A.ComplexSelectorComponent0.prototype = {
  92328. withAdditionalCombinators$1(combinators) {
  92329. var t1, t2, _this = this;
  92330. if (combinators.length === 0)
  92331. t1 = _this;
  92332. else {
  92333. t1 = type$.CssValue_Combinator_2;
  92334. t2 = A.List_List$of(_this.combinators, true, t1);
  92335. B.JSArray_methods.addAll$1(t2, combinators);
  92336. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  92337. }
  92338. return t1;
  92339. },
  92340. get$hashCode(_) {
  92341. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  92342. },
  92343. $eq(_, other) {
  92344. var t1;
  92345. if (other == null)
  92346. return false;
  92347. if (other instanceof A.ComplexSelectorComponent0) {
  92348. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  92349. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  92350. } else
  92351. t1 = false;
  92352. return t1;
  92353. },
  92354. toString$0(_) {
  92355. var t1 = this.combinators;
  92356. 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, "");
  92357. }
  92358. };
  92359. A.ComplexSelectorComponent_toString_closure0.prototype = {
  92360. call$1(combinator) {
  92361. return " " + combinator.toString$0(0);
  92362. },
  92363. $signature: 407
  92364. };
  92365. A.CompoundSelector0.prototype = {
  92366. get$specificity() {
  92367. var result, _this = this,
  92368. value = _this._compound$__CompoundSelector_specificity_FI;
  92369. if (value === $) {
  92370. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  92371. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92372. _this._compound$__CompoundSelector_specificity_FI = result;
  92373. value = result;
  92374. }
  92375. return value;
  92376. },
  92377. accept$1$1(visitor) {
  92378. return visitor.visitCompoundSelector$1(this);
  92379. },
  92380. accept$1(visitor) {
  92381. return this.accept$1$1(visitor, type$.dynamic);
  92382. },
  92383. get$hashCode(_) {
  92384. return B.C_ListEquality0.hash$1(this.components);
  92385. },
  92386. $eq(_, other) {
  92387. if (other == null)
  92388. return false;
  92389. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  92390. }
  92391. };
  92392. A.CompoundSelector_specificity_closure0.prototype = {
  92393. call$2(sum, component) {
  92394. return sum + component.get$specificity();
  92395. },
  92396. $signature: 408
  92397. };
  92398. A.Configuration0.prototype = {
  92399. throughForward$1($forward) {
  92400. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  92401. newValues = this._configuration0$_values;
  92402. if (newValues.get$isEmpty(newValues))
  92403. return B.Configuration_Map_empty_null0;
  92404. _0_0 = $forward.prefix;
  92405. if (_0_0 != null)
  92406. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  92407. _1_0 = $forward.shownVariables;
  92408. if (_1_0 != null)
  92409. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  92410. else {
  92411. _2_0 = $forward.hiddenVariables;
  92412. if (_2_0 != null) {
  92413. t1 = _2_0._base.get$isNotEmpty(0);
  92414. hiddenVariables = _2_0;
  92415. } else {
  92416. hiddenVariables = null;
  92417. t1 = false;
  92418. }
  92419. if (t1)
  92420. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  92421. }
  92422. return this._configuration0$_withValues$1(newValues);
  92423. },
  92424. _configuration0$_withValues$1(values) {
  92425. var t1 = this._configuration0$__originalConfiguration;
  92426. return new A.Configuration0(values, t1 == null ? this : t1);
  92427. },
  92428. toString$0(_) {
  92429. var t2, t3,
  92430. t1 = A._setArrayType([], type$.JSArray_String);
  92431. 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();) {
  92432. t3 = t2.get$current(t2);
  92433. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  92434. }
  92435. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  92436. }
  92437. };
  92438. A.ExplicitConfiguration0.prototype = {
  92439. _configuration0$_withValues$1(values) {
  92440. var t1 = this._configuration0$__originalConfiguration;
  92441. if (t1 == null)
  92442. t1 = this;
  92443. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  92444. }
  92445. };
  92446. A.ConfiguredValue0.prototype = {
  92447. toString$0(_) {
  92448. return A.serializeValue0(this.value, true, true);
  92449. }
  92450. };
  92451. A.ConfiguredVariable0.prototype = {
  92452. toString$0(_) {
  92453. var t1 = this.expression.toString$0(0),
  92454. t2 = this.isGuarded ? " !default" : "";
  92455. return "$" + this.name + ": " + t1 + t2;
  92456. },
  92457. $isAstNode0: 1,
  92458. get$span(receiver) {
  92459. return this.span;
  92460. }
  92461. };
  92462. A.ContentBlock0.prototype = {
  92463. accept$1$1(visitor) {
  92464. return visitor.visitContentBlock$1(this);
  92465. },
  92466. accept$1(visitor) {
  92467. return this.accept$1$1(visitor, type$.dynamic);
  92468. },
  92469. toString$0(_) {
  92470. var t2,
  92471. t1 = this.$arguments;
  92472. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  92473. t2 = this.children;
  92474. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  92475. }
  92476. };
  92477. A.ContentRule0.prototype = {
  92478. accept$1$1(visitor) {
  92479. return visitor.visitContentRule$1(this);
  92480. },
  92481. accept$1(visitor) {
  92482. return this.accept$1$1(visitor, type$.dynamic);
  92483. },
  92484. toString$0(_) {
  92485. var t1 = this.$arguments;
  92486. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  92487. },
  92488. $isAstNode0: 1,
  92489. $isStatement0: 1,
  92490. get$span(receiver) {
  92491. return this.span;
  92492. }
  92493. };
  92494. A._disallowedFunctionNames_closure0.prototype = {
  92495. call$1($function) {
  92496. return $function.name;
  92497. },
  92498. $signature: 409
  92499. };
  92500. A.CssParser0.prototype = {
  92501. get$plainCss() {
  92502. return true;
  92503. },
  92504. silentComment$0() {
  92505. var t1 = this.scanner,
  92506. t2 = t1._string_scanner$_position;
  92507. this.super$Parser$silentComment0();
  92508. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  92509. },
  92510. atRule$2$root(child, root) {
  92511. var $name, _0_0, _this = this,
  92512. t1 = _this.scanner,
  92513. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  92514. t1.expectChar$1(64);
  92515. $name = _this.interpolatedIdentifier$0();
  92516. _this.whitespace$0();
  92517. _0_0 = $name.get$asPlain();
  92518. $label0$0: {
  92519. 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)
  92520. _this._css$_forbiddenAtRoot$1(start);
  92521. if ("import" === _0_0) {
  92522. t1 = _this._css$_cssImportRule$1(start);
  92523. break $label0$0;
  92524. }
  92525. if ("media" === _0_0) {
  92526. t1 = _this.mediaRule$1(start);
  92527. break $label0$0;
  92528. }
  92529. if ("-moz-document" === _0_0) {
  92530. t1 = _this.mozDocumentRule$2(start, $name);
  92531. break $label0$0;
  92532. }
  92533. if ("supports" === _0_0) {
  92534. t1 = _this.supportsRule$1(start);
  92535. break $label0$0;
  92536. }
  92537. t1 = _this.unknownAtRule$2(start, $name);
  92538. break $label0$0;
  92539. }
  92540. return t1;
  92541. },
  92542. _css$_forbiddenAtRoot$1(start) {
  92543. this.almostAnyValue$0();
  92544. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  92545. },
  92546. _css$_cssImportRule$1(start) {
  92547. var t2, urlSpan, modifiers, _this = this,
  92548. t1 = _this.scanner,
  92549. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  92550. _0_0 = t1.peekChar$0();
  92551. $label0$0: {
  92552. if (117 === _0_0 || 85 === _0_0) {
  92553. t2 = _this.dynamicUrl$0();
  92554. break $label0$0;
  92555. }
  92556. t2 = new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  92557. break $label0$0;
  92558. }
  92559. urlSpan = t1.spanFrom$1(urlStart);
  92560. _this.whitespace$0();
  92561. modifiers = _this.tryImportModifiers$0();
  92562. _this.expectStatementSeparator$1("@import rule");
  92563. 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);
  92564. t1 = t1.spanFrom$1(start);
  92565. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  92566. },
  92567. parentheses$0() {
  92568. var expression,
  92569. t1 = this.scanner,
  92570. t2 = t1._string_scanner$_position;
  92571. t1.expectChar$1(40);
  92572. this.whitespace$0();
  92573. expression = this.expressionUntilComma$0();
  92574. t1.expectChar$1(41);
  92575. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  92576. },
  92577. identifierLike$0() {
  92578. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  92579. t1 = _this.scanner,
  92580. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  92581. identifier = _this.interpolatedIdentifier$0(),
  92582. plain = identifier.get$asPlain(),
  92583. lower = plain.toLowerCase(),
  92584. _0_0 = _this.trySpecialFunction$2(lower, start);
  92585. if (_0_0 != null)
  92586. return _0_0;
  92587. t2 = t1._string_scanner$_position;
  92588. if (t1.scanChar$1(46))
  92589. return _this.namespacedExpression$2(plain, start);
  92590. if (!t1.scanChar$1(40))
  92591. return new A.StringExpression0(identifier, false);
  92592. allowEmptySecondArg = lower === "var";
  92593. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  92594. if (!t1.scanChar$1(41)) {
  92595. do {
  92596. _this.whitespace$0();
  92597. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  92598. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  92599. t4 = t3.offset;
  92600. t4 = A._FileSpan$(t3.file, t4, t4);
  92601. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  92602. break;
  92603. }
  92604. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  92605. _this.whitespace$0();
  92606. } while (t1.scanChar$1(44));
  92607. t1.expectChar$1(41);
  92608. }
  92609. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  92610. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  92611. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  92612. t3 = type$.Expression_2;
  92613. 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));
  92614. },
  92615. namespacedExpression$2(namespace, start) {
  92616. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  92617. this.error$2(0, string$.Modulen, expression.get$span(expression));
  92618. }
  92619. };
  92620. A.DebugRule0.prototype = {
  92621. accept$1$1(visitor) {
  92622. return visitor.visitDebugRule$1(this);
  92623. },
  92624. accept$1(visitor) {
  92625. return this.accept$1$1(visitor, type$.dynamic);
  92626. },
  92627. toString$0(_) {
  92628. return "@debug " + this.expression.toString$0(0) + ";";
  92629. },
  92630. $isAstNode0: 1,
  92631. $isStatement0: 1,
  92632. get$span(receiver) {
  92633. return this.span;
  92634. }
  92635. };
  92636. A.ModifiableCssDeclaration0.prototype = {
  92637. accept$1$1(visitor) {
  92638. return visitor.visitCssDeclaration$1(this);
  92639. },
  92640. accept$1(visitor) {
  92641. return this.accept$1$1(visitor, type$.dynamic);
  92642. },
  92643. toString$0(_) {
  92644. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  92645. },
  92646. get$span(receiver) {
  92647. return this.span;
  92648. }
  92649. };
  92650. A.Declaration0.prototype = {
  92651. accept$1$1(visitor) {
  92652. return visitor.visitDeclaration$1(this);
  92653. },
  92654. accept$1(visitor) {
  92655. return this.accept$1$1(visitor, type$.dynamic);
  92656. },
  92657. toString$0(_) {
  92658. var t3, _0_0,
  92659. buffer = new A.StringBuffer(""),
  92660. t1 = this.name,
  92661. t2 = "" + t1.toString$0(0);
  92662. buffer._contents = t2;
  92663. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  92664. t3 = this.value;
  92665. if (t3 != null) {
  92666. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  92667. buffer._contents = t1 + t3.toString$0(0);
  92668. }
  92669. _0_0 = this.children;
  92670. if (_0_0 != null)
  92671. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  92672. else
  92673. return buffer.toString$0(0) + ";";
  92674. },
  92675. get$span(receiver) {
  92676. return this.span;
  92677. }
  92678. };
  92679. A.SupportsDeclaration0.prototype = {
  92680. get$isCustomProperty() {
  92681. var t1,
  92682. _0_0 = this.name;
  92683. $label0$0: {
  92684. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  92685. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  92686. break $label0$0;
  92687. }
  92688. t1 = false;
  92689. break $label0$0;
  92690. }
  92691. return t1;
  92692. },
  92693. toString$0(_) {
  92694. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  92695. },
  92696. $isAstNode0: 1,
  92697. get$span(receiver) {
  92698. return this.span;
  92699. }
  92700. };
  92701. A.Deprecation0.prototype = {
  92702. _enumToString$0() {
  92703. return "Deprecation." + this._name;
  92704. },
  92705. toString$0(_) {
  92706. return this.id;
  92707. }
  92708. };
  92709. A.DeprecationHandlingLogger0.prototype = {
  92710. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  92711. this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  92712. },
  92713. warn$3$span$trace(_, message, span, trace) {
  92714. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  92715. },
  92716. warn$2$span(_, message, span) {
  92717. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  92718. },
  92719. warn$2$trace(_, message, trace) {
  92720. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  92721. },
  92722. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  92723. var span0, t1, _0_3, _0_1, _0_3_isSet, t2, count, _this = this, _null = null;
  92724. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  92725. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  92726. $label0$0: {
  92727. if (span != null) {
  92728. span0 = span == null ? type$.FileSpan._as(span) : span;
  92729. t1 = trace != null;
  92730. _0_3 = trace;
  92731. _0_1 = span;
  92732. span = span0;
  92733. _0_3_isSet = true;
  92734. } else {
  92735. _0_3 = _null;
  92736. _0_1 = span;
  92737. span = _0_3;
  92738. _0_3_isSet = false;
  92739. t1 = false;
  92740. }
  92741. if (t1) {
  92742. if (_0_3_isSet)
  92743. trace = _0_3;
  92744. t1 = A.SassRuntimeException$0(message, span, trace == null ? type$.Trace._as(trace) : trace, _null);
  92745. break $label0$0;
  92746. }
  92747. if (_0_1 != null) {
  92748. span = _0_1 == null ? type$.FileSpan._as(_0_1) : _0_1;
  92749. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  92750. } else {
  92751. span = _null;
  92752. t1 = false;
  92753. }
  92754. if (t1) {
  92755. t1 = A.SassException$0(message, span, _null);
  92756. break $label0$0;
  92757. }
  92758. t1 = A.SassScriptException$0(message, _null);
  92759. break $label0$0;
  92760. }
  92761. throw A.wrapException(t1);
  92762. }
  92763. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  92764. return;
  92765. if (_this.limitRepetition) {
  92766. t1 = _this._deprecation_handling$_warningCounts;
  92767. t2 = t1.$index(0, deprecation);
  92768. count = (t2 == null ? 0 : t2) + 1;
  92769. t1.$indexSet(0, deprecation, count);
  92770. if (count > 5)
  92771. return;
  92772. }
  92773. _this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  92774. },
  92775. debug$2(_, message, span) {
  92776. return this._deprecation_handling$_inner.debug$2(0, message, span);
  92777. },
  92778. summarize$1$js(js) {
  92779. var t1 = this._deprecation_handling$_warningCounts.get$values(0),
  92780. t2 = A._instanceType(t1),
  92781. 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>")));
  92782. if (total > 0) {
  92783. t1 = js ? "" : string$.x0aRun_i;
  92784. this._deprecation_handling$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  92785. }
  92786. }
  92787. };
  92788. A.DeprecationHandlingLogger_summarize_closure1.prototype = {
  92789. call$1(count) {
  92790. return count > 5;
  92791. },
  92792. $signature: 46
  92793. };
  92794. A.DeprecationHandlingLogger_summarize_closure2.prototype = {
  92795. call$1(count) {
  92796. return count - 5;
  92797. },
  92798. $signature: 168
  92799. };
  92800. A.DynamicImport0.prototype = {
  92801. toString$0(_) {
  92802. return A.StringExpression_quoteText0(this.urlString);
  92803. },
  92804. $isImport0: 1,
  92805. $isAstNode0: 1,
  92806. get$span(receiver) {
  92807. return this.span;
  92808. }
  92809. };
  92810. A.EachRule0.prototype = {
  92811. accept$1$1(visitor) {
  92812. return visitor.visitEachRule$1(this);
  92813. },
  92814. accept$1(visitor) {
  92815. return this.accept$1$1(visitor, type$.dynamic);
  92816. },
  92817. toString$0(_) {
  92818. var t1 = this.variables,
  92819. t2 = this.children;
  92820. 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, " ") + "}";
  92821. },
  92822. get$span(receiver) {
  92823. return this.span;
  92824. }
  92825. };
  92826. A.EachRule_toString_closure0.prototype = {
  92827. call$1(variable) {
  92828. return "$" + variable;
  92829. },
  92830. $signature: 5
  92831. };
  92832. A.EmptyExtensionStore0.prototype = {
  92833. get$_extension_store$_extensions() {
  92834. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  92835. },
  92836. get$_extension_store$_sourceSpecificity() {
  92837. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  92838. },
  92839. get$isEmpty(_) {
  92840. return true;
  92841. },
  92842. get$simpleSelectors() {
  92843. return B.C_EmptyUnmodifiableSet0;
  92844. },
  92845. extensionsWhereTarget$1(callback) {
  92846. return B.List_empty17;
  92847. },
  92848. addSelector$2(selector, mediaContext) {
  92849. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  92850. },
  92851. addExtension$4(extender, target, extend, mediaContext) {
  92852. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  92853. },
  92854. addExtensions$1(extenders) {
  92855. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  92856. },
  92857. clone$0() {
  92858. return B.Record2_EmptyExtensionStore_Map_empty0;
  92859. },
  92860. $isExtensionStore0: 1
  92861. };
  92862. A.Environment0.prototype = {
  92863. closure$0() {
  92864. var t4, t5, t6, _this = this,
  92865. t1 = _this._environment0$_forwardedModules,
  92866. t2 = _this._environment0$_nestedForwardedModules,
  92867. t3 = _this._environment0$_variables;
  92868. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  92869. t4 = _this._environment0$_variableNodes;
  92870. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  92871. t5 = _this._environment0$_functions;
  92872. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  92873. t6 = _this._environment0$_mixins;
  92874. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  92875. 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);
  92876. },
  92877. forwardModule$2(module, rule) {
  92878. var view, t1, t2, _this = this,
  92879. forwardedModules = _this._environment0$_forwardedModules;
  92880. if (forwardedModules == null)
  92881. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  92882. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  92883. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  92884. t2 = t1.__js_helper$_current;
  92885. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  92886. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  92887. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  92888. }
  92889. _this._environment0$_allModules.push(module);
  92890. forwardedModules.$indexSet(0, view, rule);
  92891. },
  92892. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  92893. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  92894. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  92895. larger = oldMembers;
  92896. smaller = newMembers;
  92897. } else {
  92898. larger = newMembers;
  92899. smaller = oldMembers;
  92900. }
  92901. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  92902. t4 = t2.get$current(t2);
  92903. $name = t4._0;
  92904. small = t4._1;
  92905. large = larger.$index(0, $name);
  92906. if (large == null)
  92907. continue;
  92908. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  92909. continue;
  92910. if (t3)
  92911. $name = "$" + $name;
  92912. t2 = this._environment0$_forwardedModules;
  92913. if (t2 == null)
  92914. span = null;
  92915. else {
  92916. t2 = t2.$index(0, oldModule);
  92917. span = t2 == null ? null : J.get$span$z(t2);
  92918. }
  92919. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  92920. if (span != null)
  92921. t2.$indexSet(0, span, "original @forward");
  92922. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  92923. }
  92924. },
  92925. importForwards$1(module) {
  92926. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  92927. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  92928. if (forwarded == null)
  92929. return;
  92930. forwardedModules = _this._environment0$_forwardedModules;
  92931. if (forwardedModules != null) {
  92932. t1 = type$.Module_Callable_2;
  92933. t2 = type$.AstNode_2;
  92934. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  92935. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  92936. t4 = t1.get$current(t1);
  92937. module = t4._0;
  92938. node = t4._1;
  92939. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  92940. t3.$indexSet(0, module, node);
  92941. }
  92942. forwarded = t3;
  92943. } else
  92944. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  92945. t1 = type$.String;
  92946. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92947. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  92948. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  92949. t2.add$1(0, t4.get$current(t4));
  92950. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92951. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  92952. t5 = t4.__js_helper$_current;
  92953. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  92954. t3.add$1(0, t5.get$current(t5));
  92955. }
  92956. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92957. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  92958. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  92959. t1.add$1(0, t5.get$current(t5));
  92960. t4 = _this._environment0$_variables;
  92961. t5 = t4.length;
  92962. if (t5 === 1) {
  92963. 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) {
  92964. t11 = t8[_i];
  92965. module = t11._0;
  92966. node = t11._1;
  92967. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  92968. if (shadowed != null) {
  92969. t5.remove$1(0, module);
  92970. t11 = shadowed.variables;
  92971. if (t11.get$isEmpty(t11)) {
  92972. t11 = shadowed.functions;
  92973. if (t11.get$isEmpty(t11)) {
  92974. t11 = shadowed.mixins;
  92975. if (t11.get$isEmpty(t11)) {
  92976. t11 = shadowed._shadowed_view0$_inner;
  92977. t11 = t11.get$css(t11);
  92978. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  92979. } else
  92980. t11 = false;
  92981. } else
  92982. t11 = false;
  92983. } else
  92984. t11 = false;
  92985. if (!t11)
  92986. t5.$indexSet(0, shadowed, node);
  92987. }
  92988. }
  92989. 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) {
  92990. t8 = t6[_i];
  92991. module = t8._0;
  92992. node = t8._1;
  92993. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  92994. if (shadowed != null) {
  92995. forwardedModules.remove$1(0, module);
  92996. t8 = shadowed.variables;
  92997. if (t8.get$isEmpty(t8)) {
  92998. t8 = shadowed.functions;
  92999. if (t8.get$isEmpty(t8)) {
  93000. t8 = shadowed.mixins;
  93001. if (t8.get$isEmpty(t8)) {
  93002. t8 = shadowed._shadowed_view0$_inner;
  93003. t8 = t8.get$css(t8);
  93004. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  93005. } else
  93006. t8 = false;
  93007. } else
  93008. t8 = false;
  93009. } else
  93010. t8 = false;
  93011. if (!t8)
  93012. forwardedModules.$indexSet(0, shadowed, node);
  93013. }
  93014. }
  93015. t5.addAll$1(0, forwarded);
  93016. forwardedModules.addAll$1(0, forwarded);
  93017. } else {
  93018. t6 = _this._environment0$_nestedForwardedModules;
  93019. if (t6 == null) {
  93020. _length = t5 - 1;
  93021. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  93022. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  93023. _list[_i] = A._setArrayType([], t5);
  93024. _this._environment0$_nestedForwardedModules = _list;
  93025. t5 = _list;
  93026. } else
  93027. t5 = t6;
  93028. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  93029. }
  93030. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93031. t8 = t2._collection$_current;
  93032. if (t8 == null)
  93033. t8 = t7._as(t8);
  93034. t5.remove$1(0, t8);
  93035. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  93036. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  93037. }
  93038. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93039. t6 = t2._collection$_current;
  93040. if (t6 == null)
  93041. t6 = t5._as(t6);
  93042. t3.remove$1(0, t6);
  93043. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  93044. }
  93045. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93046. t5 = t1._collection$_current;
  93047. if (t5 == null)
  93048. t5 = t4._as(t5);
  93049. t2.remove$1(0, t5);
  93050. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  93051. }
  93052. },
  93053. getVariable$2$namespace($name, namespace) {
  93054. var t1, _0_0, _1_0, _this = this;
  93055. if (namespace != null)
  93056. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  93057. if (_this._environment0$_lastVariableName === $name) {
  93058. t1 = _this._environment0$_lastVariableIndex;
  93059. t1.toString;
  93060. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  93061. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93062. }
  93063. t1 = _this._environment0$_variableIndices;
  93064. _0_0 = t1.$index(0, $name);
  93065. if (_0_0 != null) {
  93066. _this._environment0$_lastVariableName = $name;
  93067. _this._environment0$_lastVariableIndex = _0_0;
  93068. t1 = J.$index$asx(_this._environment0$_variables[_0_0], $name);
  93069. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93070. } else {
  93071. _1_0 = _this._environment0$_variableIndex$1($name);
  93072. if (_1_0 != null) {
  93073. _this._environment0$_lastVariableName = $name;
  93074. _this._environment0$_lastVariableIndex = _1_0;
  93075. t1.$indexSet(0, $name, _1_0);
  93076. t1 = J.$index$asx(_this._environment0$_variables[_1_0], $name);
  93077. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93078. } else
  93079. return _this._environment0$_getVariableFromGlobalModule$1($name);
  93080. }
  93081. },
  93082. getVariable$1($name) {
  93083. return this.getVariable$2$namespace($name, null);
  93084. },
  93085. _environment0$_getVariableFromGlobalModule$1($name) {
  93086. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  93087. },
  93088. getVariableNode$2$namespace($name, namespace) {
  93089. var t1, _0_0, _1_0, _this = this;
  93090. if (namespace != null)
  93091. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  93092. if (_this._environment0$_lastVariableName === $name) {
  93093. t1 = _this._environment0$_lastVariableIndex;
  93094. t1.toString;
  93095. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  93096. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93097. }
  93098. t1 = _this._environment0$_variableIndices;
  93099. _0_0 = t1.$index(0, $name);
  93100. if (_0_0 != null) {
  93101. _this._environment0$_lastVariableName = $name;
  93102. _this._environment0$_lastVariableIndex = _0_0;
  93103. t1 = J.$index$asx(_this._environment0$_variableNodes[_0_0], $name);
  93104. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93105. } else {
  93106. _1_0 = _this._environment0$_variableIndex$1($name);
  93107. if (_1_0 != null) {
  93108. _this._environment0$_lastVariableName = $name;
  93109. _this._environment0$_lastVariableIndex = _1_0;
  93110. t1.$indexSet(0, $name, _1_0);
  93111. t1 = J.$index$asx(_this._environment0$_variableNodes[_1_0], $name);
  93112. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93113. } else
  93114. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  93115. }
  93116. },
  93117. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  93118. var t1, t2, _0_0;
  93119. 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();) {
  93120. t1 = t2._currentIterator;
  93121. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  93122. if (_0_0 != null)
  93123. return _0_0;
  93124. }
  93125. return null;
  93126. },
  93127. globalVariableExists$2$namespace($name, namespace) {
  93128. if (namespace != null)
  93129. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  93130. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  93131. return true;
  93132. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  93133. },
  93134. globalVariableExists$1($name) {
  93135. return this.globalVariableExists$2$namespace($name, null);
  93136. },
  93137. _environment0$_variableIndex$1($name) {
  93138. var t1, i;
  93139. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  93140. if (t1[i].containsKey$1($name))
  93141. return i;
  93142. return null;
  93143. },
  93144. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  93145. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  93146. if (namespace != null) {
  93147. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  93148. return;
  93149. }
  93150. if (global || _this._environment0$_variables.length === 1) {
  93151. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  93152. t1 = _this._environment0$_variables;
  93153. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  93154. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  93155. if (moduleWithName != null) {
  93156. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  93157. return;
  93158. }
  93159. }
  93160. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  93161. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  93162. return;
  93163. }
  93164. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  93165. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  93166. for (t1 = A.instanceType(nestedForwardedModules)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(nestedForwardedModules, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  93167. t3 = t2.__internal$_current;
  93168. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  93169. t5 = t3.__internal$_current;
  93170. if (t5 == null)
  93171. t5 = t4._as(t5);
  93172. if (t5.get$variables().containsKey$1($name)) {
  93173. t5.setVariable$3($name, value, nodeWithSpan);
  93174. return;
  93175. }
  93176. }
  93177. }
  93178. if (_this._environment0$_lastVariableName === $name) {
  93179. t1 = _this._environment0$_lastVariableIndex;
  93180. t1.toString;
  93181. index = t1;
  93182. } else
  93183. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  93184. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  93185. index = _this._environment0$_variables.length - 1;
  93186. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93187. }
  93188. _this._environment0$_lastVariableName = $name;
  93189. _this._environment0$_lastVariableIndex = index;
  93190. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  93191. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93192. },
  93193. setVariable$4$global($name, value, nodeWithSpan, global) {
  93194. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  93195. },
  93196. setLocalVariable$3($name, value, nodeWithSpan) {
  93197. var index, _this = this,
  93198. t1 = _this._environment0$_variables,
  93199. t2 = t1.length;
  93200. _this._environment0$_lastVariableName = $name;
  93201. index = _this._environment0$_lastVariableIndex = t2 - 1;
  93202. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93203. J.$indexSet$ax(t1[index], $name, value);
  93204. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93205. },
  93206. getFunction$2$namespace($name, namespace) {
  93207. var t1, _0_0, _1_0, _this = this;
  93208. if (namespace != null) {
  93209. t1 = _this._environment0$_getModule$1(namespace);
  93210. return t1.get$functions(t1).$index(0, $name);
  93211. }
  93212. t1 = _this._environment0$_functionIndices;
  93213. _0_0 = t1.$index(0, $name);
  93214. if (_0_0 != null) {
  93215. t1 = J.$index$asx(_this._environment0$_functions[_0_0], $name);
  93216. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93217. } else {
  93218. _1_0 = _this._environment0$_functionIndex$1($name);
  93219. if (_1_0 != null) {
  93220. t1.$indexSet(0, $name, _1_0);
  93221. t1 = J.$index$asx(_this._environment0$_functions[_1_0], $name);
  93222. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93223. } else
  93224. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  93225. }
  93226. },
  93227. getFunction$1($name) {
  93228. return this.getFunction$2$namespace($name, null);
  93229. },
  93230. _environment0$_getFunctionFromGlobalModule$1($name) {
  93231. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  93232. },
  93233. _environment0$_functionIndex$1($name) {
  93234. var t1, i;
  93235. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  93236. if (t1[i].containsKey$1($name))
  93237. return i;
  93238. return null;
  93239. },
  93240. getMixin$2$namespace($name, namespace) {
  93241. var t1, _0_0, _1_0, _this = this;
  93242. if (namespace != null)
  93243. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  93244. t1 = _this._environment0$_mixinIndices;
  93245. _0_0 = t1.$index(0, $name);
  93246. if (_0_0 != null) {
  93247. t1 = J.$index$asx(_this._environment0$_mixins[_0_0], $name);
  93248. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93249. } else {
  93250. _1_0 = _this._environment0$_mixinIndex$1($name);
  93251. if (_1_0 != null) {
  93252. t1.$indexSet(0, $name, _1_0);
  93253. t1 = J.$index$asx(_this._environment0$_mixins[_1_0], $name);
  93254. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93255. } else
  93256. return _this._environment0$_getMixinFromGlobalModule$1($name);
  93257. }
  93258. },
  93259. _environment0$_getMixinFromGlobalModule$1($name) {
  93260. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  93261. },
  93262. _environment0$_mixinIndex$1($name) {
  93263. var t1, i;
  93264. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  93265. if (t1[i].containsKey$1($name))
  93266. return i;
  93267. return null;
  93268. },
  93269. withContent$2($content, callback) {
  93270. var oldContent = this._environment0$_content;
  93271. this._environment0$_content = $content;
  93272. callback.call$0();
  93273. this._environment0$_content = oldContent;
  93274. },
  93275. asMixin$1(callback) {
  93276. var oldInMixin = this._environment0$_inMixin;
  93277. this._environment0$_inMixin = true;
  93278. callback.call$0();
  93279. this._environment0$_inMixin = oldInMixin;
  93280. },
  93281. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  93282. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  93283. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  93284. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  93285. _this._environment0$_inSemiGlobalScope = semiGlobal;
  93286. if (!when)
  93287. try {
  93288. t1 = callback.call$0();
  93289. return t1;
  93290. } finally {
  93291. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93292. }
  93293. t1 = _this._environment0$_variables;
  93294. t2 = type$.String;
  93295. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  93296. t3 = _this._environment0$_variableNodes;
  93297. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  93298. t4 = _this._environment0$_functions;
  93299. t5 = type$.Callable_2;
  93300. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93301. t6 = _this._environment0$_mixins;
  93302. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93303. t5 = _this._environment0$_nestedForwardedModules;
  93304. if (t5 != null)
  93305. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  93306. try {
  93307. t2 = callback.call$0();
  93308. return t2;
  93309. } finally {
  93310. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93311. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  93312. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  93313. $name = t1.get$current(t1);
  93314. t2.remove$1(0, $name);
  93315. }
  93316. B.JSArray_methods.removeLast$0(t3);
  93317. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  93318. name0 = t1.get$current(t1);
  93319. t2.remove$1(0, name0);
  93320. }
  93321. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  93322. name1 = t1.get$current(t1);
  93323. t2.remove$1(0, name1);
  93324. }
  93325. t1 = _this._environment0$_nestedForwardedModules;
  93326. if (t1 != null)
  93327. t1.pop();
  93328. }
  93329. },
  93330. scope$1$1(callback) {
  93331. return this.scope$1$3$semiGlobal$when(callback, false, true);
  93332. },
  93333. scope$1$2$when(callback, when) {
  93334. return this.scope$1$3$semiGlobal$when(callback, false, when);
  93335. },
  93336. scope$1$2$semiGlobal(callback, semiGlobal) {
  93337. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  93338. },
  93339. toImplicitConfiguration$0() {
  93340. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  93341. t1 = type$.String,
  93342. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  93343. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  93344. values = t2[i];
  93345. nodes = t4[i];
  93346. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  93347. t6 = t5.get$current(t5);
  93348. $name = t6._0;
  93349. value = t6._1;
  93350. t6 = nodes.$index(0, $name);
  93351. t6.toString;
  93352. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  93353. }
  93354. }
  93355. return new A.Configuration0(configuration, null);
  93356. },
  93357. toModule$3(css, preModuleComments, extensionStore) {
  93358. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  93359. },
  93360. toDummyModule$0() {
  93361. 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()));
  93362. },
  93363. _environment0$_getModule$1(namespace) {
  93364. var _0_0 = this._environment0$_modules.$index(0, namespace);
  93365. if (_0_0 != null)
  93366. return _0_0;
  93367. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  93368. },
  93369. _environment0$_fromOneModule$1$3($name, type, callback) {
  93370. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  93371. _0_0 = this._environment0$_nestedForwardedModules;
  93372. if (_0_0 != null)
  93373. for (t1 = A._arrayInstanceType(_0_0)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(_0_0, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) {
  93374. t3 = t2.__internal$_current;
  93375. for (t3 = J.get$reversed$ax(t3 == null ? t1._as(t3) : t3), t4 = t3.$ti, t3 = new A.ListIterator(t3, t3.get$length(0), t4._eval$1("ListIterator<ListIterable.E>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  93376. t5 = t3.__internal$_current;
  93377. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  93378. if (_1_0 != null)
  93379. return _1_0;
  93380. }
  93381. }
  93382. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  93383. _2_0 = callback.call$1(t1.__js_helper$_current);
  93384. if (_2_0 != null)
  93385. return _2_0;
  93386. }
  93387. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  93388. t4 = t2.__js_helper$_current;
  93389. valueInModule = callback.call$1(t4);
  93390. if (valueInModule == null)
  93391. continue;
  93392. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  93393. if (identityFromModule.$eq(0, identity))
  93394. continue;
  93395. if (value != null) {
  93396. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93397. 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();) {
  93398. t1 = t3.get$current(t3);
  93399. module = t1._0;
  93400. node = t1._1;
  93401. if (callback.call$1(module) != null)
  93402. t2.$indexSet(0, node.get$span(node), t4);
  93403. }
  93404. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  93405. }
  93406. identity = identityFromModule;
  93407. value = valueInModule;
  93408. }
  93409. return value;
  93410. },
  93411. _environment0$_fromOneModule$3($name, type, callback) {
  93412. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  93413. }
  93414. };
  93415. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  93416. call$1(module) {
  93417. return module.get$variables().$index(0, this.name);
  93418. },
  93419. $signature: 411
  93420. };
  93421. A.Environment_setVariable_closure2.prototype = {
  93422. call$0() {
  93423. var t1 = this.$this;
  93424. t1._environment0$_lastVariableName = this.name;
  93425. return t1._environment0$_lastVariableIndex = 0;
  93426. },
  93427. $signature: 10
  93428. };
  93429. A.Environment_setVariable_closure3.prototype = {
  93430. call$1(module) {
  93431. return module.get$variables().containsKey$1(this.name) ? module : null;
  93432. },
  93433. $signature: 412
  93434. };
  93435. A.Environment_setVariable_closure4.prototype = {
  93436. call$0() {
  93437. var t1 = this.$this,
  93438. t2 = t1._environment0$_variableIndex$1(this.name);
  93439. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  93440. },
  93441. $signature: 10
  93442. };
  93443. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  93444. call$1(module) {
  93445. return module.get$functions(module).$index(0, this.name);
  93446. },
  93447. $signature: 260
  93448. };
  93449. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  93450. call$1(module) {
  93451. return module.get$mixins().$index(0, this.name);
  93452. },
  93453. $signature: 260
  93454. };
  93455. A.Environment_toModule_closure0.prototype = {
  93456. call$1(modules) {
  93457. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  93458. },
  93459. $signature: 258
  93460. };
  93461. A.Environment_toDummyModule_closure0.prototype = {
  93462. call$1(modules) {
  93463. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  93464. },
  93465. $signature: 258
  93466. };
  93467. A._EnvironmentModule1.prototype = {
  93468. get$url(_) {
  93469. var t1 = this.css;
  93470. return t1.get$span(t1).file.url;
  93471. },
  93472. setVariable$3($name, value, nodeWithSpan) {
  93473. var t1, t2,
  93474. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  93475. if (_0_0 != null) {
  93476. _0_0.setVariable$3($name, value, nodeWithSpan);
  93477. return;
  93478. }
  93479. t1 = this._environment0$_environment;
  93480. t2 = t1._environment0$_variables;
  93481. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  93482. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  93483. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  93484. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  93485. return;
  93486. },
  93487. variableIdentity$1($name) {
  93488. var module = this._environment0$_modulesByVariable.$index(0, $name);
  93489. return module == null ? this : module.variableIdentity$1($name);
  93490. },
  93491. cloneCss$0() {
  93492. var _0_0, _this = this;
  93493. if (!_this.transitivelyContainsCss)
  93494. return _this;
  93495. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  93496. 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);
  93497. },
  93498. toString$0(_) {
  93499. var t2,
  93500. t1 = this.css;
  93501. if (t1.get$span(t1).file.url == null)
  93502. t1 = "<unknown url>";
  93503. else {
  93504. t1 = t1.get$span(t1).file.url;
  93505. t2 = $.$get$context();
  93506. t1.toString;
  93507. t1 = t2.prettyUri$1(t1);
  93508. }
  93509. return t1;
  93510. },
  93511. $isModule1: 1,
  93512. get$upstream() {
  93513. return this.upstream;
  93514. },
  93515. get$variables() {
  93516. return this.variables;
  93517. },
  93518. get$variableNodes() {
  93519. return this.variableNodes;
  93520. },
  93521. get$functions(receiver) {
  93522. return this.functions;
  93523. },
  93524. get$mixins() {
  93525. return this.mixins;
  93526. },
  93527. get$extensionStore() {
  93528. return this.extensionStore;
  93529. },
  93530. get$css(receiver) {
  93531. return this.css;
  93532. },
  93533. get$preModuleComments() {
  93534. return this.preModuleComments;
  93535. },
  93536. get$transitivelyContainsCss() {
  93537. return this.transitivelyContainsCss;
  93538. },
  93539. get$transitivelyContainsExtensions() {
  93540. return this.transitivelyContainsExtensions;
  93541. }
  93542. };
  93543. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  93544. call$1(module) {
  93545. return module.get$variables();
  93546. },
  93547. $signature: 415
  93548. };
  93549. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  93550. call$1(module) {
  93551. return module.get$variableNodes();
  93552. },
  93553. $signature: 521
  93554. };
  93555. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  93556. call$1(module) {
  93557. return module.get$functions(module);
  93558. },
  93559. $signature: 257
  93560. };
  93561. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  93562. call$1(module) {
  93563. return module.get$mixins();
  93564. },
  93565. $signature: 257
  93566. };
  93567. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  93568. call$1(module) {
  93569. return module.get$transitivelyContainsCss();
  93570. },
  93571. $signature: 138
  93572. };
  93573. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  93574. call$1(module) {
  93575. return module.get$transitivelyContainsExtensions();
  93576. },
  93577. $signature: 138
  93578. };
  93579. A.ErrorRule0.prototype = {
  93580. accept$1$1(visitor) {
  93581. return visitor.visitErrorRule$1(this);
  93582. },
  93583. accept$1(visitor) {
  93584. return this.accept$1$1(visitor, type$.dynamic);
  93585. },
  93586. toString$0(_) {
  93587. return "@error " + this.expression.toString$0(0) + ";";
  93588. },
  93589. $isAstNode0: 1,
  93590. $isStatement0: 1,
  93591. get$span(receiver) {
  93592. return this.span;
  93593. }
  93594. };
  93595. A._EvaluateVisitor1.prototype = {
  93596. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  93597. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  93598. _s20_ = "$name, $module: null",
  93599. _s9_ = "sass:meta",
  93600. _s7_ = "$module",
  93601. t1 = type$.JSArray_BuiltInCallable_2,
  93602. 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),
  93603. 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);
  93604. t1 = type$.BuiltInCallable_2;
  93605. t2 = A.List_List$of($.$get$global6(), true, t1);
  93606. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  93607. B.JSArray_methods.addAll$1(t2, metaFunctions);
  93608. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  93609. 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) {
  93610. module = t1[_i];
  93611. t3.$indexSet(0, module.url, module);
  93612. }
  93613. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  93614. B.JSArray_methods.addAll$1(t1, functions);
  93615. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  93616. B.JSArray_methods.addAll$1(t1, metaFunctions);
  93617. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  93618. $function = t1[_i];
  93619. t4 = J.get$name$x($function);
  93620. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  93621. }
  93622. },
  93623. run$2(_, importer, node) {
  93624. var error, stackTrace, t1, exception;
  93625. try {
  93626. t1 = type$.nullable_Object;
  93627. 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);
  93628. return t1;
  93629. } catch (exception) {
  93630. t1 = A.unwrapException(exception);
  93631. if (t1 instanceof A.SassException0) {
  93632. error = t1;
  93633. stackTrace = A.getTraceFromException(exception);
  93634. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  93635. } else
  93636. throw exception;
  93637. }
  93638. },
  93639. _evaluate0$_assertInModule$1$2(value, $name) {
  93640. if (value != null)
  93641. return value;
  93642. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  93643. },
  93644. _evaluate0$_assertInModule$2(value, $name) {
  93645. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  93646. },
  93647. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  93648. var _0_0, t2, _this = this, t1 = {};
  93649. t1.builtInModule = null;
  93650. _0_0 = _this._evaluate0$_builtInModules.$index(0, url);
  93651. if (_0_0 != null) {
  93652. t1.builtInModule = _0_0;
  93653. if (configuration instanceof A.ExplicitConfiguration0) {
  93654. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  93655. t2 = configuration.nodeWithSpan;
  93656. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  93657. }
  93658. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  93659. return;
  93660. }
  93661. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  93662. },
  93663. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  93664. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  93665. },
  93666. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  93667. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  93668. },
  93669. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  93670. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  93671. url = stylesheet.span.file.url,
  93672. t1 = _this._evaluate0$_modules,
  93673. _0_0 = t1.$index(0, url);
  93674. if (_0_0 != null) {
  93675. t1 = configuration == null;
  93676. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  93677. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  93678. t3 = t2._configuration0$__originalConfiguration;
  93679. t2 = t3 == null ? t2 : t3;
  93680. t3 = currentConfiguration._configuration0$__originalConfiguration;
  93681. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  93682. if (namesInErrors) {
  93683. t2 = $.$get$context();
  93684. url.toString;
  93685. message = t2.prettyUri$1(url) + string$.x20was_a;
  93686. } else
  93687. message = string$.This_mw;
  93688. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  93689. existingSpan = t2 == null ? null : t2.get$span(t2);
  93690. if (t1) {
  93691. t1 = currentConfiguration.nodeWithSpan;
  93692. configurationSpan = t1.get$span(t1);
  93693. } else
  93694. configurationSpan = null;
  93695. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93696. if (existingSpan != null)
  93697. t1.$indexSet(0, existingSpan, "original load");
  93698. if (configurationSpan != null)
  93699. t1.$indexSet(0, configurationSpan, "configuration");
  93700. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  93701. }
  93702. return _0_0;
  93703. }
  93704. environment = A.Environment$0();
  93705. css = A._Cell$();
  93706. preModuleComments = A._Cell$();
  93707. extensionStore = A.ExtensionStore$0();
  93708. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  93709. t2 = css._readLocal$0();
  93710. t3 = preModuleComments._readLocal$0();
  93711. module = environment.toModule$3(t2, t3 == null ? B.Map_empty9 : t3, extensionStore);
  93712. if (url != null) {
  93713. t1.$indexSet(0, url, module);
  93714. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  93715. if (nodeWithSpan != null)
  93716. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  93717. }
  93718. return module;
  93719. },
  93720. _evaluate0$_execute$2(importer, stylesheet) {
  93721. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  93722. },
  93723. _evaluate0$_addOutOfOrderImports$0() {
  93724. var t1, t2, _this = this, _s5_ = "_root",
  93725. _s13_ = "_endOfImports",
  93726. _0_0 = _this._evaluate0$_outOfOrderImports;
  93727. $label0$0: {
  93728. if (_0_0 == null) {
  93729. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  93730. break $label0$0;
  93731. }
  93732. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  93733. 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);
  93734. B.JSArray_methods.addAll$1(t1, _0_0);
  93735. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  93736. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  93737. break $label0$0;
  93738. }
  93739. return t1;
  93740. },
  93741. _evaluate0$_combineCss$2$clone(root, clone) {
  93742. var selectors, _0_0, t1, imports, css, sorted, t2;
  93743. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  93744. selectors = root.get$extensionStore().get$simpleSelectors();
  93745. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  93746. if (_0_0 != null)
  93747. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  93748. return root.get$css(root);
  93749. }
  93750. t1 = type$.JSArray_CssNode_2;
  93751. imports = A._setArrayType([], t1);
  93752. css = A._setArrayType([], t1);
  93753. t1 = type$.Module_Callable_2;
  93754. sorted = A.ListQueue$(t1);
  93755. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  93756. if (root.get$transitivelyContainsExtensions())
  93757. this._evaluate0$_extendModules$1(sorted);
  93758. t1 = B.JSArray_methods.$add(imports, css);
  93759. t2 = root.get$css(root);
  93760. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  93761. },
  93762. _evaluate0$_combineCss$1(root) {
  93763. return this._evaluate0$_combineCss$2$clone(root, false);
  93764. },
  93765. _evaluate0$_extendModules$1(sortedModules) {
  93766. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  93767. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  93768. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  93769. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93770. t3 = t1._collection$_current;
  93771. if (t3 == null)
  93772. t3 = t2._as(t3);
  93773. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  93774. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  93775. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  93776. t4 = t3.get$extensionStore().get$addExtensions();
  93777. if ($self != null)
  93778. t4.call$1($self);
  93779. t4 = t3.get$extensionStore();
  93780. if (t4.get$isEmpty(t4))
  93781. continue;
  93782. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  93783. upstream = t4[_i];
  93784. _0_0 = upstream.get$url(upstream);
  93785. if (_0_0 != null)
  93786. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  93787. }
  93788. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  93789. }
  93790. if (unsatisfiedExtensions._collection$_length !== 0)
  93791. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  93792. },
  93793. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  93794. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  93795. },
  93796. _evaluate0$_indexAfterImports$1(statements) {
  93797. var t1, lastImport, i, _0_0;
  93798. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  93799. $label0$0: {
  93800. _0_0 = t1.$index(statements, i);
  93801. if (_0_0 instanceof A.ModifiableCssImport0)
  93802. break $label0$0;
  93803. if (_0_0 instanceof A.ModifiableCssComment0)
  93804. continue;
  93805. break;
  93806. }
  93807. lastImport = i;
  93808. }
  93809. return lastImport + 1;
  93810. },
  93811. visitStylesheet$1(node) {
  93812. var t1, t2, _i;
  93813. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  93814. t1[_i].accept$1(this);
  93815. return null;
  93816. },
  93817. visitAtRootRule$1(node) {
  93818. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  93819. _s8_ = "__parent",
  93820. _0_0 = node.query,
  93821. query = _0_0 != null ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate0$_logger, null).parse$0() : B.AtRootQuery_UsS0,
  93822. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  93823. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  93824. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  93825. if (!query.excludes$1($parent))
  93826. included.push($parent);
  93827. _2_0 = $parent._node$_parent;
  93828. if (_2_0 == null)
  93829. throw A.wrapException(A.StateError$(string$.CssNod));
  93830. }
  93831. root = _this._evaluate0$_trimIncluded$1(included);
  93832. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  93833. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  93834. return null;
  93835. }
  93836. if (included.length >= 1) {
  93837. first = included[0];
  93838. rest = B.JSArray_methods.sublist$1(included, 1);
  93839. innerCopy = first.copyWithoutChildren$0();
  93840. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  93841. copy = rest[_i].copyWithoutChildren$0();
  93842. copy.addChild$1(outerCopy);
  93843. }
  93844. root.addChild$1(outerCopy);
  93845. } else
  93846. innerCopy = root;
  93847. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  93848. return null;
  93849. },
  93850. _evaluate0$_trimIncluded$1(nodes) {
  93851. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  93852. _s22_ = " to be an ancestor of ";
  93853. if (nodes.length === 0)
  93854. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  93855. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  93856. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  93857. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  93858. _0_0 = $parent._node$_parent;
  93859. if (_0_0 == null)
  93860. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  93861. }
  93862. if (innermostContiguous == null)
  93863. innermostContiguous = i;
  93864. _1_0 = $parent._node$_parent;
  93865. if (_1_0 == null)
  93866. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  93867. }
  93868. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  93869. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  93870. innermostContiguous.toString;
  93871. root = nodes[innermostContiguous];
  93872. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  93873. return root;
  93874. },
  93875. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  93876. var _this = this,
  93877. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  93878. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  93879. if (t1 !== query.include)
  93880. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  93881. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  93882. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  93883. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  93884. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  93885. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  93886. },
  93887. visitContentBlock$1(node) {
  93888. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  93889. },
  93890. visitContentRule$1(node) {
  93891. var $content = this._evaluate0$_environment._environment0$_content;
  93892. if ($content == null)
  93893. return null;
  93894. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  93895. return null;
  93896. },
  93897. visitDebugRule$1(node) {
  93898. var value = node.expression.accept$1(this),
  93899. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  93900. this._evaluate0$_logger.debug$2(0, t1, node.span);
  93901. return null;
  93902. },
  93903. visitDeclaration$1(node) {
  93904. var t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  93905. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  93906. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  93907. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  93908. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  93909. t2 = node.name;
  93910. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t2, true);
  93911. _0_0 = _this._evaluate0$_declarationName;
  93912. if (_0_0 != null)
  93913. $name = new A.CssValue0(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  93914. _1_0 = node.value;
  93915. if (_1_0 != null) {
  93916. value = _1_0.accept$1(_this);
  93917. if (!value.get$isBlank() || value.get$asList().length === 0) {
  93918. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  93919. t4 = _1_0.get$span(_1_0);
  93920. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  93921. if (_this._evaluate0$_sourceMap) {
  93922. t5 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
  93923. t5 = t5 == null ? _null : J.get$span$z(t5);
  93924. } else
  93925. t5 = _null;
  93926. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  93927. } else if (J.startsWith$1$s($name.value, "--"))
  93928. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  93929. }
  93930. t1.children = null;
  93931. _2_0 = node.children;
  93932. if (_2_0 != null) {
  93933. t1.children = _2_0;
  93934. oldDeclarationName = _this._evaluate0$_declarationName;
  93935. _this._evaluate0$_declarationName = $name.value;
  93936. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  93937. _this._evaluate0$_declarationName = oldDeclarationName;
  93938. }
  93939. return _null;
  93940. },
  93941. visitEachRule$1(node) {
  93942. var _this = this, _box_0 = {},
  93943. t1 = node.list,
  93944. list = t1.accept$1(_this),
  93945. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  93946. _0_0 = node.variables;
  93947. $label0$0: {
  93948. _box_0.variable = null;
  93949. if (_0_0.length === 1) {
  93950. _box_0.variable = _0_0[0];
  93951. t1 = new A._EvaluateVisitor_visitEachRule_closure5(_box_0, _this, nodeWithSpan);
  93952. break $label0$0;
  93953. }
  93954. _box_0.variables = null;
  93955. _box_0.variables = _0_0;
  93956. t1 = new A._EvaluateVisitor_visitEachRule_closure6(_box_0, _this, nodeWithSpan);
  93957. break $label0$0;
  93958. }
  93959. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  93960. },
  93961. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  93962. var i,
  93963. list = value.get$asList(),
  93964. t1 = variables.length,
  93965. minLength = Math.min(t1, list.length);
  93966. for (i = 0; i < minLength; ++i)
  93967. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  93968. for (i = minLength; i < t1; ++i)
  93969. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  93970. },
  93971. visitErrorRule$1(node) {
  93972. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  93973. },
  93974. visitExtendRule$1(node) {
  93975. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  93976. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  93977. if (styleRule == null || _this._evaluate0$_declarationName != null)
  93978. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  93979. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  93980. complex = t1[_i];
  93981. if (!complex.accept$1(B._IsBogusVisitor_true0))
  93982. continue;
  93983. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  93984. complex.accept$1(visitor);
  93985. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  93986. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  93987. _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);
  93988. }
  93989. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  93990. 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) {
  93991. complex = t1[_i];
  93992. compound = complex.get$singleCompound();
  93993. if (compound == null)
  93994. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  93995. t4 = compound.components;
  93996. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  93997. if (t5 == null)
  93998. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  93999. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  94000. }
  94001. return _null;
  94002. },
  94003. visitAtRule$1(node) {
  94004. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  94005. if (_this._evaluate0$_declarationName != null)
  94006. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  94007. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  94008. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  94009. children = node.children;
  94010. if (children == null) {
  94011. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  94012. return null;
  94013. }
  94014. wasInKeyframes = _this._evaluate0$_inKeyframes;
  94015. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  94016. if (A.unvendor0($name.value) === "keyframes")
  94017. _this._evaluate0$_inKeyframes = true;
  94018. else
  94019. _this._evaluate0$_inUnknownAtRule = true;
  94020. _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);
  94021. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  94022. _this._evaluate0$_inKeyframes = wasInKeyframes;
  94023. return null;
  94024. },
  94025. visitForRule$1(node) {
  94026. var _this = this, t1 = {},
  94027. t2 = node.from,
  94028. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  94029. t3 = node.to,
  94030. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  94031. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  94032. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  94033. direction = from > to ? -1 : 1;
  94034. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  94035. return null;
  94036. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  94037. },
  94038. visitForwardRule$1(node) {
  94039. var newConfiguration, t4, _i, variable, $name, _this = this,
  94040. _s8_ = "@forward",
  94041. oldConfiguration = _this._evaluate0$_configuration,
  94042. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  94043. t1 = node.configuration,
  94044. t2 = t1.length,
  94045. t3 = node.url;
  94046. if (t2 !== 0) {
  94047. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  94048. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  94049. t3 = type$.String;
  94050. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94051. for (_i = 0; _i < t2; ++_i) {
  94052. variable = t1[_i];
  94053. if (!variable.isGuarded)
  94054. t4.add$1(0, variable.name);
  94055. }
  94056. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  94057. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94058. for (_i = 0; _i < t2; ++_i)
  94059. t3.add$1(0, t1[_i].name);
  94060. 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) {
  94061. $name = t2[_i];
  94062. if (!t3.contains$1(0, $name))
  94063. if (!t1.get$isEmpty(t1))
  94064. t1.remove$1(0, $name);
  94065. }
  94066. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  94067. } else {
  94068. _this._evaluate0$_configuration = adjustedConfiguration;
  94069. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  94070. _this._evaluate0$_configuration = oldConfiguration;
  94071. }
  94072. return null;
  94073. },
  94074. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  94075. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  94076. t1 = configuration._configuration0$_values,
  94077. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94078. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94079. variable = t2[_i];
  94080. if (variable.isGuarded) {
  94081. t4 = variable.name;
  94082. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  94083. if (oldValue != null)
  94084. t5 = !oldValue.value.$eq(0, B.C__SassNull0);
  94085. else {
  94086. oldValue = _null;
  94087. t5 = false;
  94088. }
  94089. if (t5) {
  94090. newValues.$indexSet(0, t4, oldValue);
  94091. continue;
  94092. }
  94093. }
  94094. t4 = variable.expression;
  94095. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  94096. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94097. }
  94098. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  94099. return new A.ExplicitConfiguration0(node, newValues, _null);
  94100. else
  94101. return new A.Configuration0(newValues, _null);
  94102. },
  94103. _evaluate0$_registerCommentsForModule$1(module) {
  94104. var _this = this, _s5_ = "_root",
  94105. t1 = _this._evaluate0$__root;
  94106. if (t1 == null)
  94107. return;
  94108. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  94109. return;
  94110. t1 = _this._evaluate0$_preModuleComments;
  94111. if (t1 == null)
  94112. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  94113. 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));
  94114. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  94115. _this._evaluate0$__endOfImports = 0;
  94116. },
  94117. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  94118. var t1, t2, t3, t4, _i, $name;
  94119. 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) {
  94120. $name = t2[_i];
  94121. if (except.contains$1(0, $name))
  94122. continue;
  94123. if (!t4.containsKey$1($name))
  94124. if (!t1.get$isEmpty(t1))
  94125. t1.remove$1(0, $name);
  94126. }
  94127. },
  94128. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  94129. var t1, _0_0, $name, value;
  94130. if (!(configuration instanceof A.ExplicitConfiguration0))
  94131. return;
  94132. t1 = configuration._configuration0$_values;
  94133. if (t1.get$isEmpty(t1))
  94134. return;
  94135. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94136. _0_0 = t1.get$first(t1);
  94137. $name = _0_0._0;
  94138. value = _0_0._1;
  94139. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  94140. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  94141. },
  94142. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  94143. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  94144. },
  94145. visitFunctionRule$1(node) {
  94146. var t1 = this._evaluate0$_environment,
  94147. t2 = t1.closure$0(),
  94148. t3 = this._evaluate0$_inDependency,
  94149. t4 = t1._environment0$_functions,
  94150. index = t4.length - 1,
  94151. t5 = node.name;
  94152. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  94153. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94154. return null;
  94155. },
  94156. visitIfRule$1(node) {
  94157. var t1, t2, _i, clauseToCheck,
  94158. clause = node.lastClause;
  94159. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  94160. clauseToCheck = t1[_i];
  94161. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  94162. clause = clauseToCheck;
  94163. break;
  94164. }
  94165. }
  94166. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  94167. },
  94168. visitImportRule$1(node) {
  94169. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  94170. _s8_ = "__parent",
  94171. _s5_ = "_root",
  94172. _s13_ = "_endOfImports";
  94173. 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) {
  94174. $import = t1[_i];
  94175. if ($import instanceof A.DynamicImport0)
  94176. _this._evaluate0$_visitDynamicImport$1($import);
  94177. else {
  94178. t5._as($import);
  94179. t7 = $import.url;
  94180. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  94181. $self = $import.modifiers;
  94182. t8 = $self == null ? null : t4.call$1($self);
  94183. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  94184. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94185. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  94186. 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)) {
  94187. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94188. node._node$_parent = t7;
  94189. t7 = t7._node$_children;
  94190. node._node$_indexInParent = t7.length;
  94191. t7.push(node);
  94192. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94193. } else {
  94194. t7 = _this._evaluate0$_outOfOrderImports;
  94195. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  94196. }
  94197. }
  94198. }
  94199. return null;
  94200. },
  94201. _evaluate0$_visitDynamicImport$1($import) {
  94202. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  94203. },
  94204. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  94205. 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,
  94206. _s11_ = "_stylesheet";
  94207. baseUrl = baseUrl;
  94208. try {
  94209. _this._evaluate0$_importSpan = span;
  94210. importCache = null;
  94211. _0_0 = _this._evaluate0$_importCache;
  94212. if (_0_0 != null) {
  94213. importCache = _0_0;
  94214. if (baseUrl == null)
  94215. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  94216. importer = null;
  94217. canonicalUrl = null;
  94218. originalUrl = null;
  94219. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  94220. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  94221. importer = _1_0._0;
  94222. canonicalUrl = _1_0._1;
  94223. originalUrl = _1_0._2;
  94224. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  94225. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  94226. stylesheet = null;
  94227. t1 = importCache;
  94228. t2 = importer;
  94229. t3 = canonicalUrl;
  94230. t4 = originalUrl;
  94231. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._evaluate0$_quietDeps && isDependency);
  94232. if (_2_0 != null) {
  94233. stylesheet = _2_0;
  94234. t1 = stylesheet;
  94235. t2 = importer;
  94236. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  94237. }
  94238. }
  94239. }
  94240. if (_this._nodeImporter != null) {
  94241. result = null;
  94242. t1 = baseUrl;
  94243. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  94244. if (_3_0 != null) {
  94245. result = _3_0;
  94246. t1 = _this._evaluate0$_loadedUrls;
  94247. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  94248. t1 = result;
  94249. return t1;
  94250. }
  94251. }
  94252. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  94253. throw A.wrapException(string$.x22packa);
  94254. else
  94255. throw A.wrapException("Can't find stylesheet to import.");
  94256. } catch (exception) {
  94257. t1 = A.unwrapException(exception);
  94258. if (t1 instanceof A.SassException0)
  94259. throw exception;
  94260. else if (t1 instanceof A.ArgumentError) {
  94261. error = t1;
  94262. stackTrace = A.getTraceFromException(exception);
  94263. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  94264. } else {
  94265. error0 = t1;
  94266. stackTrace0 = A.getTraceFromException(exception);
  94267. message = null;
  94268. try {
  94269. message = A._asString(J.get$message$x(error0));
  94270. } catch (exception) {
  94271. message0 = J.toString$0$(error0);
  94272. message = message0;
  94273. }
  94274. A.throwWithTrace0(_this._evaluate0$_exception$1(message), error0, stackTrace0);
  94275. }
  94276. } finally {
  94277. _this._evaluate0$_importSpan = null;
  94278. }
  94279. },
  94280. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  94281. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  94282. },
  94283. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  94284. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  94285. },
  94286. _importLikeNode$3(originalUrl, previous, forImport) {
  94287. var isDependency, url, t2, _this = this,
  94288. t1 = _this._nodeImporter,
  94289. result = t1.loadRelative$3(originalUrl, previous, forImport);
  94290. if (result != null)
  94291. isDependency = _this._evaluate0$_inDependency;
  94292. else {
  94293. result = t1.load$3(0, originalUrl, previous, forImport);
  94294. if (result == null)
  94295. return null;
  94296. isDependency = true;
  94297. }
  94298. url = result._1;
  94299. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  94300. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  94301. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  94302. },
  94303. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  94304. var t1, _0_0, _1_8, t2, _this = this,
  94305. _s37_ = "Mixin doesn't accept a content block.",
  94306. _s10_ = "invocation";
  94307. $label0$0: {
  94308. if (mixin == null)
  94309. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  94310. t1 = mixin instanceof A.BuiltInCallable0;
  94311. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  94312. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  94313. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  94314. 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));
  94315. }
  94316. if (t1) {
  94317. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  94318. break $label0$0;
  94319. }
  94320. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  94321. if (t1) {
  94322. _1_8 = mixin.declaration;
  94323. if (_1_8 instanceof A.MixinRule0)
  94324. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  94325. else
  94326. t2 = false;
  94327. } else
  94328. t2 = false;
  94329. if (t2)
  94330. 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));
  94331. if (t1) {
  94332. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  94333. break $label0$0;
  94334. }
  94335. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  94336. }
  94337. },
  94338. visitIncludeRule$1(node) {
  94339. var _this = this;
  94340. _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)));
  94341. return null;
  94342. },
  94343. visitMixinRule$1(node) {
  94344. var t1 = this._evaluate0$_environment,
  94345. t2 = t1.closure$0(),
  94346. t3 = this._evaluate0$_inDependency,
  94347. t4 = t1._environment0$_mixins,
  94348. index = t4.length - 1,
  94349. t5 = node.name;
  94350. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  94351. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94352. return null;
  94353. },
  94354. visitLoudComment$1(node) {
  94355. var t1, _this = this,
  94356. _s8_ = "__parent",
  94357. _s13_ = "_endOfImports";
  94358. if (_this._evaluate0$_inFunction)
  94359. return null;
  94360. 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))
  94361. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94362. t1 = node.text;
  94363. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  94364. return null;
  94365. },
  94366. visitMediaRule$1(node) {
  94367. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  94368. if (_this._evaluate0$_declarationName != null)
  94369. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  94370. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  94371. queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
  94372. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  94373. t1 = mergedQueries == null;
  94374. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  94375. return null;
  94376. if (t1)
  94377. mergedSources = B.Set_empty5;
  94378. else {
  94379. t2 = _this._evaluate0$_mediaQuerySources;
  94380. t2.toString;
  94381. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  94382. t3 = _this._evaluate0$_mediaQueries;
  94383. t3.toString;
  94384. t2.addAll$1(0, t3);
  94385. t2.addAll$1(0, queries);
  94386. mergedSources = t2;
  94387. }
  94388. t1 = t1 ? queries : mergedQueries;
  94389. _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);
  94390. return null;
  94391. },
  94392. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  94393. var t1, t2, t3, t4, _0_0, result, t5,
  94394. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  94395. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  94396. t3 = t1.get$current(t1);
  94397. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  94398. $label0$1: {
  94399. _0_0 = t3.merge$1(t4.get$current(t4));
  94400. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  94401. continue;
  94402. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  94403. return null;
  94404. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult0) {
  94405. result = _0_0;
  94406. t5 = true;
  94407. } else {
  94408. result = null;
  94409. t5 = false;
  94410. }
  94411. if (t5)
  94412. queries.push(result.query);
  94413. break $label0$1;
  94414. }
  94415. }
  94416. return queries;
  94417. },
  94418. visitReturnRule$1(node) {
  94419. var t1 = node.expression;
  94420. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  94421. },
  94422. visitSilentComment$1(node) {
  94423. return null;
  94424. },
  94425. visitStyleRule$1(node) {
  94426. var t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  94427. _s11_ = "_stylesheet",
  94428. _s8_ = "__parent";
  94429. if (_this._evaluate0$_declarationName != null)
  94430. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  94431. t1 = node.selector;
  94432. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  94433. selectorText = _0_0._0;
  94434. selectorMap = _0_0._1;
  94435. if (_this._evaluate0$_inKeyframes) {
  94436. _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);
  94437. return _null;
  94438. }
  94439. 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);
  94440. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  94441. t2 = t2 == null ? _null : t2.originalSelector;
  94442. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._evaluate0$_atRootExcludingStyleRule);
  94443. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, parsedSelector);
  94444. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  94445. _this._evaluate0$_atRootExcludingStyleRule = false;
  94446. _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);
  94447. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  94448. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  94449. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  94450. complex = t1[_i];
  94451. if (!complex.accept$1(B._IsBogusVisitor_true0))
  94452. continue;
  94453. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  94454. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94455. complex.accept$1(visitor);
  94456. _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);
  94457. } else if (complex.leadingCombinators.length !== 0) {
  94458. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94459. complex.accept$1(visitor);
  94460. _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);
  94461. } else {
  94462. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94463. complex.accept$1(visitor);
  94464. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  94465. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  94466. t8 = A.SpanExtensions_trimRight0(complex.span);
  94467. if (t5.get$length(0) === 0)
  94468. A.throwExpression(A.IterableElementError_noElement());
  94469. t9 = J.get$span$z(t5.$index(0, 0));
  94470. _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);
  94471. }
  94472. }
  94473. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  94474. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  94475. t1 = !t1.get$isEmpty(t1);
  94476. } else
  94477. t1 = false;
  94478. if (t1) {
  94479. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  94480. t1.get$last(t1).isGroupEnd = true;
  94481. }
  94482. return _null;
  94483. },
  94484. visitSupportsRule$1(node) {
  94485. var t1, _this = this;
  94486. if (_this._evaluate0$_declarationName != null)
  94487. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  94488. t1 = node.condition;
  94489. _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);
  94490. return null;
  94491. },
  94492. _evaluate0$_visitSupportsCondition$1(condition) {
  94493. var t1, _this = this, _box_0 = {};
  94494. $label0$0: {
  94495. if (condition instanceof A.SupportsOperation0) {
  94496. t1 = condition.operator;
  94497. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  94498. break $label0$0;
  94499. }
  94500. if (condition instanceof A.SupportsNegation0) {
  94501. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  94502. break $label0$0;
  94503. }
  94504. if (condition instanceof A.SupportsInterpolation0) {
  94505. t1 = condition.expression;
  94506. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  94507. break $label0$0;
  94508. }
  94509. _box_0.declaration = null;
  94510. if (condition instanceof A.SupportsDeclaration0) {
  94511. _box_0.declaration = condition;
  94512. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(_box_0, _this));
  94513. break $label0$0;
  94514. }
  94515. if (condition instanceof A.SupportsFunction0) {
  94516. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  94517. break $label0$0;
  94518. }
  94519. if (condition instanceof A.SupportsAnything0) {
  94520. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  94521. break $label0$0;
  94522. }
  94523. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  94524. }
  94525. return t1;
  94526. },
  94527. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  94528. var t1,
  94529. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  94530. this._evaluate0$_inSupportsDeclaration = true;
  94531. try {
  94532. t1 = callback.call$0();
  94533. return t1;
  94534. } finally {
  94535. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  94536. }
  94537. },
  94538. _evaluate0$_withSupportsDeclaration$1(callback) {
  94539. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  94540. },
  94541. _evaluate0$_parenthesize$2(condition, operator) {
  94542. var t1;
  94543. if (!(condition instanceof A.SupportsNegation0))
  94544. if (condition instanceof A.SupportsOperation0)
  94545. t1 = operator == null || operator !== condition.operator;
  94546. else
  94547. t1 = false;
  94548. else
  94549. t1 = true;
  94550. if (t1)
  94551. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  94552. return this._evaluate0$_visitSupportsCondition$1(condition);
  94553. },
  94554. _evaluate0$_parenthesize$1(condition) {
  94555. return this._evaluate0$_parenthesize$2(condition, null);
  94556. },
  94557. visitVariableDeclaration$1(node) {
  94558. var t2, value, _this = this, _null = null, t1 = {};
  94559. if (node.isGuarded) {
  94560. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  94561. t1.override = null;
  94562. t2 = _this._evaluate0$_configuration._configuration0$_values;
  94563. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  94564. if (t2 != null) {
  94565. t1.override = t2;
  94566. t2 = !t2.value.$eq(0, B.C__SassNull0);
  94567. } else
  94568. t2 = false;
  94569. if (t2) {
  94570. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  94571. return _null;
  94572. }
  94573. }
  94574. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  94575. if (value != null && !value.$eq(0, B.C__SassNull0))
  94576. return _null;
  94577. }
  94578. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  94579. 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.";
  94580. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  94581. }
  94582. t1 = node.expression;
  94583. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  94584. return _null;
  94585. },
  94586. visitUseRule$1(node) {
  94587. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  94588. t1 = node.configuration,
  94589. t2 = t1.length;
  94590. if (t2 !== 0) {
  94591. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  94592. for (_i = 0; _i < t2; ++_i) {
  94593. variable = t1[_i];
  94594. t3 = variable.expression;
  94595. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  94596. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94597. }
  94598. configuration = new A.ExplicitConfiguration0(node, values, null);
  94599. } else
  94600. configuration = B.Configuration_Map_empty_null0;
  94601. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  94602. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  94603. return null;
  94604. },
  94605. visitWarnRule$1(node) {
  94606. var _this = this,
  94607. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  94608. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  94609. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  94610. return null;
  94611. },
  94612. visitWhileRule$1(node) {
  94613. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  94614. },
  94615. visitBinaryOperationExpression$1(node) {
  94616. var t1, _this = this;
  94617. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  94618. t1 = node.operator;
  94619. t1 = t1 !== B.BinaryOperator_2jN0 && t1 !== B.BinaryOperator_t8B0;
  94620. } else
  94621. t1 = false;
  94622. if (t1)
  94623. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  94624. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  94625. },
  94626. _evaluate0$_slash$3(left, right, node) {
  94627. var t1, right0, _1_2, _1_1, _1_2_isSet, _null = null,
  94628. result = left.dividedBy$1(right);
  94629. if (left instanceof A.SassNumber0) {
  94630. t1 = type$.SassNumber_2;
  94631. t1._as(left);
  94632. if (right instanceof A.SassNumber0) {
  94633. t1._as(right);
  94634. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  94635. right0 = right;
  94636. _1_2 = right0;
  94637. } else {
  94638. right0 = _null;
  94639. _1_2 = right;
  94640. t1 = false;
  94641. }
  94642. _1_1 = left;
  94643. _1_2_isSet = true;
  94644. } else {
  94645. right0 = _null;
  94646. _1_2 = right0;
  94647. _1_1 = left;
  94648. left = _1_2;
  94649. _1_2_isSet = false;
  94650. t1 = false;
  94651. }
  94652. if (t1)
  94653. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  94654. if (_1_1 instanceof A.SassNumber0)
  94655. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  94656. else
  94657. t1 = false;
  94658. if (t1) {
  94659. 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(0), B.Deprecation_wWh);
  94660. return result;
  94661. }
  94662. return result;
  94663. },
  94664. _evaluate0$_operandAllowsSlash$1(node) {
  94665. var t1, t2;
  94666. if (node instanceof A.FunctionExpression0)
  94667. if (node.namespace == null) {
  94668. t1 = node.originalName;
  94669. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  94670. t2 = this._evaluate0$_environment;
  94671. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  94672. } else
  94673. t1 = false;
  94674. } else
  94675. t1 = false;
  94676. else
  94677. t1 = true;
  94678. return t1;
  94679. },
  94680. visitValueExpression$1(node) {
  94681. return node.value;
  94682. },
  94683. visitVariableExpression$1(node) {
  94684. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  94685. if (result != null)
  94686. return result;
  94687. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  94688. },
  94689. visitUnaryOperationExpression$1(node) {
  94690. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  94691. },
  94692. visitBooleanExpression$1(node) {
  94693. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  94694. },
  94695. visitIfExpression$1(node) {
  94696. var condition, t1, ifTrue, ifFalse, result, _this = this,
  94697. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  94698. positional = _0_0._0,
  94699. named = _0_0._1;
  94700. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  94701. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  94702. if (condition == null) {
  94703. t1 = named.$index(0, "condition");
  94704. t1.toString;
  94705. condition = t1;
  94706. }
  94707. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  94708. if (ifTrue == null) {
  94709. t1 = named.$index(0, "if-true");
  94710. t1.toString;
  94711. ifTrue = t1;
  94712. }
  94713. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  94714. if (ifFalse == null) {
  94715. t1 = named.$index(0, "if-false");
  94716. t1.toString;
  94717. ifFalse = t1;
  94718. }
  94719. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  94720. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  94721. },
  94722. visitNullExpression$1(node) {
  94723. return B.C__SassNull0;
  94724. },
  94725. visitNumberExpression$1(node) {
  94726. return A.SassNumber_SassNumber0(node.value, node.unit);
  94727. },
  94728. visitParenthesizedExpression$1(node) {
  94729. var _this = this;
  94730. 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);
  94731. },
  94732. visitColorExpression$1(node) {
  94733. return node.value;
  94734. },
  94735. visitListExpression$1(node) {
  94736. var t1 = node.contents;
  94737. 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);
  94738. },
  94739. visitMapExpression$1(node) {
  94740. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  94741. t1 = type$.Value_2,
  94742. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  94743. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  94744. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94745. t4 = t2[_i];
  94746. key = t4._0;
  94747. value = t4._1;
  94748. keyValue = key.accept$1(this);
  94749. valueValue = value.accept$1(this);
  94750. if (map.containsKey$1(keyValue)) {
  94751. t1 = keyNodes.$index(0, keyValue);
  94752. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  94753. t1 = key.get$span(key);
  94754. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94755. if (oldValueSpan != null)
  94756. t2.$indexSet(0, oldValueSpan, "first key");
  94757. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  94758. }
  94759. map.$indexSet(0, keyValue, valueValue);
  94760. keyNodes.$indexSet(0, keyValue, key);
  94761. }
  94762. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  94763. },
  94764. visitFunctionExpression$1(node) {
  94765. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  94766. _s11_ = "_stylesheet",
  94767. t1 = {},
  94768. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  94769. t1.$function = $function;
  94770. if ($function == null) {
  94771. if (node.namespace != null)
  94772. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  94773. t2 = node.originalName;
  94774. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  94775. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  94776. t3 = node.$arguments;
  94777. t4 = t3.named;
  94778. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  94779. } else
  94780. t3 = false;
  94781. if (t3)
  94782. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, true);
  94783. 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)
  94784. return _this._evaluate0$_visitCalculation$1(node);
  94785. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  94786. $function = null;
  94787. else {
  94788. t3 = _this._evaluate0$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  94789. $function = t3;
  94790. }
  94791. t1.$function = $function == null ? new A.PlainCssCallable0(t2) : $function;
  94792. }
  94793. oldInFunction = _this._evaluate0$_inFunction;
  94794. _this._evaluate0$_inFunction = true;
  94795. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  94796. _this._evaluate0$_inFunction = oldInFunction;
  94797. return result;
  94798. },
  94799. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  94800. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  94801. t2 = node.$arguments,
  94802. t3 = t2.named;
  94803. if (t3.get$isNotEmpty(t3))
  94804. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  94805. else if (t2.rest != null)
  94806. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  94807. _this._evaluate0$_checkCalculationArguments$1(node);
  94808. t3 = A._setArrayType([], type$.JSArray_Object);
  94809. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  94810. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  94811. $arguments = t3;
  94812. if (_this._evaluate0$_inSupportsDeclaration)
  94813. return new A.SassCalculation0(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  94814. oldCallableNode = _this._evaluate0$_callableNode;
  94815. _this._evaluate0$_callableNode = node;
  94816. try {
  94817. t1 = null;
  94818. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  94819. $label0$0: {
  94820. if ("calc" === _0_0) {
  94821. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  94822. break $label0$0;
  94823. }
  94824. if ("sqrt" === _0_0) {
  94825. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  94826. break $label0$0;
  94827. }
  94828. if ("sin" === _0_0) {
  94829. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  94830. break $label0$0;
  94831. }
  94832. if ("cos" === _0_0) {
  94833. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  94834. break $label0$0;
  94835. }
  94836. if ("tan" === _0_0) {
  94837. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  94838. break $label0$0;
  94839. }
  94840. if ("asin" === _0_0) {
  94841. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  94842. break $label0$0;
  94843. }
  94844. if ("acos" === _0_0) {
  94845. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  94846. break $label0$0;
  94847. }
  94848. if ("atan" === _0_0) {
  94849. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  94850. break $label0$0;
  94851. }
  94852. if ("abs" === _0_0) {
  94853. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  94854. break $label0$0;
  94855. }
  94856. if ("exp" === _0_0) {
  94857. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  94858. break $label0$0;
  94859. }
  94860. if ("sign" === _0_0) {
  94861. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  94862. break $label0$0;
  94863. }
  94864. if ("min" === _0_0) {
  94865. t1 = A.SassCalculation_min0($arguments);
  94866. break $label0$0;
  94867. }
  94868. if ("max" === _0_0) {
  94869. t1 = A.SassCalculation_max0($arguments);
  94870. break $label0$0;
  94871. }
  94872. if ("hypot" === _0_0) {
  94873. t1 = A.SassCalculation_hypot0($arguments);
  94874. break $label0$0;
  94875. }
  94876. if ("pow" === _0_0) {
  94877. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  94878. break $label0$0;
  94879. }
  94880. if ("atan2" === _0_0) {
  94881. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  94882. break $label0$0;
  94883. }
  94884. if ("log" === _0_0) {
  94885. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  94886. break $label0$0;
  94887. }
  94888. if ("mod" === _0_0) {
  94889. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  94890. break $label0$0;
  94891. }
  94892. if ("rem" === _0_0) {
  94893. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  94894. break $label0$0;
  94895. }
  94896. if ("round" === _0_0) {
  94897. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  94898. break $label0$0;
  94899. }
  94900. if ("clamp" === _0_0) {
  94901. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  94902. break $label0$0;
  94903. }
  94904. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".');
  94905. t1 = A.throwExpression(t3);
  94906. }
  94907. t1 = t1;
  94908. return t1;
  94909. } catch (exception) {
  94910. t1 = A.unwrapException(exception);
  94911. if (t1 instanceof A.SassScriptException0) {
  94912. error = t1;
  94913. stackTrace = A.getTraceFromException(exception);
  94914. if (B.JSString_methods.contains$1(error.message, "compatible"))
  94915. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  94916. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  94917. } else
  94918. throw exception;
  94919. } finally {
  94920. _this._evaluate0$_callableNode = oldCallableNode;
  94921. }
  94922. },
  94923. _evaluate0$_visitCalculation$1(node) {
  94924. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  94925. },
  94926. _evaluate0$_checkCalculationArguments$1(node) {
  94927. var _0_0,
  94928. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  94929. $label0$0: {
  94930. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  94931. 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) {
  94932. check.call$1(1);
  94933. break $label0$0;
  94934. }
  94935. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  94936. check.call$0();
  94937. break $label0$0;
  94938. }
  94939. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  94940. check.call$1(2);
  94941. break $label0$0;
  94942. }
  94943. if ("round" === _0_0 || "clamp" === _0_0) {
  94944. check.call$1(3);
  94945. break $label0$0;
  94946. }
  94947. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(0) + '".'));
  94948. }
  94949. },
  94950. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  94951. var i, t1, _0_0, arg, number1, j, number2;
  94952. for (i = 0; t1 = args.length, i < t1; ++i) {
  94953. _0_0 = args[i];
  94954. if (_0_0 instanceof A.SassNumber0) {
  94955. t1 = _0_0.get$hasComplexUnits();
  94956. arg = _0_0;
  94957. } else {
  94958. arg = null;
  94959. t1 = false;
  94960. }
  94961. if (t1)
  94962. throw A.wrapException(this._evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  94963. }
  94964. for (i = 0; i < t1 - 1; ++i) {
  94965. number1 = args[i];
  94966. if (!(number1 instanceof A.SassNumber0))
  94967. continue;
  94968. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  94969. number2 = args[j];
  94970. if (!(number2 instanceof A.SassNumber0))
  94971. continue;
  94972. if (number1.hasPossiblyCompatibleUnits$1(number2))
  94973. continue;
  94974. 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));
  94975. }
  94976. }
  94977. },
  94978. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  94979. var inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {};
  94980. if (node instanceof A.ParenthesizedExpression0) {
  94981. inner = node.expression;
  94982. t1 = true;
  94983. } else {
  94984. inner = _null;
  94985. t1 = false;
  94986. }
  94987. if (t1) {
  94988. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  94989. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  94990. }
  94991. if (node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0())) {
  94992. t1 = node.text;
  94993. t2 = t1.get$asPlain();
  94994. _0_0 = t2 == null ? _null : t2.toLowerCase();
  94995. $label0$0: {
  94996. if ("pi" === _0_0) {
  94997. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  94998. break $label0$0;
  94999. }
  95000. if ("e" === _0_0) {
  95001. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  95002. break $label0$0;
  95003. }
  95004. if ("infinity" === _0_0) {
  95005. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  95006. break $label0$0;
  95007. }
  95008. if ("-infinity" === _0_0) {
  95009. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  95010. break $label0$0;
  95011. }
  95012. if ("nan" === _0_0) {
  95013. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  95014. break $label0$0;
  95015. }
  95016. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  95017. break $label0$0;
  95018. }
  95019. return t1;
  95020. }
  95021. _box_0.right = _box_0.left = _box_0.operator = null;
  95022. if (node instanceof A.BinaryOperationExpression0) {
  95023. _box_0.operator = node.operator;
  95024. _box_0.left = node.left;
  95025. _box_0.right = node.right;
  95026. t1 = true;
  95027. } else
  95028. t1 = false;
  95029. if (t1) {
  95030. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  95031. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  95032. }
  95033. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  95034. _1_0 = node.accept$1(_this);
  95035. $label1$1: {
  95036. if (_1_0 instanceof A.SassNumber0) {
  95037. t1 = _1_0;
  95038. break $label1$1;
  95039. }
  95040. if (_1_0 instanceof A.SassCalculation0) {
  95041. t1 = _1_0;
  95042. break $label1$1;
  95043. }
  95044. if (_1_0 instanceof A.SassString0) {
  95045. t1 = !_1_0._string0$_hasQuotes;
  95046. result = _1_0;
  95047. } else {
  95048. result = _null;
  95049. t1 = false;
  95050. }
  95051. if (t1) {
  95052. t1 = result;
  95053. break $label1$1;
  95054. }
  95055. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  95056. }
  95057. return t1;
  95058. }
  95059. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_EVt0 === node.separator && node.contents.length >= 2) {
  95060. t1 = A._setArrayType([], type$.JSArray_Object);
  95061. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95062. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95063. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  95064. for (i = 0; i < t1.length; ++i) {
  95065. t3 = t1[i];
  95066. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  95067. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  95068. }
  95069. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  95070. }
  95071. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  95072. },
  95073. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  95074. var t2, t3, t4, textBetweenOperands, first, last,
  95075. t1 = node.operator;
  95076. if (t1 !== B.BinaryOperator_anB0 && t1 !== B.BinaryOperator_olz0)
  95077. return;
  95078. t1 = node.left;
  95079. t2 = t1.get$span(t1);
  95080. t2 = t2.get$file(t2);
  95081. t3 = node.right;
  95082. t4 = t3.get$span(t3);
  95083. if (t2 !== t4.get$file(t4))
  95084. return;
  95085. t2 = t1.get$span(t1);
  95086. t2 = t2.get$end(t2);
  95087. t4 = t3.get$span(t3);
  95088. if (t2.offset >= t4.get$start(t4).offset)
  95089. return;
  95090. t2 = t1.get$span(t1);
  95091. t2 = t2.get$file(t2);
  95092. t1 = t1.get$span(t1);
  95093. t1 = t1.get$end(t1);
  95094. t3 = t3.get$span(t3);
  95095. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  95096. first = textBetweenOperands.charCodeAt(0);
  95097. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  95098. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  95099. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  95100. else
  95101. t1 = true;
  95102. if (t1)
  95103. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  95104. },
  95105. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  95106. var t1;
  95107. $label0$0: {
  95108. if (B.BinaryOperator_anB0 === operator) {
  95109. t1 = B.CalculationOperator_IyK0;
  95110. break $label0$0;
  95111. }
  95112. if (B.BinaryOperator_olz0 === operator) {
  95113. t1 = B.CalculationOperator_2bx0;
  95114. break $label0$0;
  95115. }
  95116. if (B.BinaryOperator_qN20 === operator) {
  95117. t1 = B.CalculationOperator_jFr0;
  95118. break $label0$0;
  95119. }
  95120. if (B.BinaryOperator_t8B0 === operator) {
  95121. t1 = B.CalculationOperator_OvN0;
  95122. break $label0$0;
  95123. }
  95124. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  95125. }
  95126. return t1;
  95127. },
  95128. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  95129. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  95130. for (t1 = elements.length, i = 1; i < t1; ++i) {
  95131. t2 = i - 1;
  95132. previous = elements[t2];
  95133. current = elements[i];
  95134. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  95135. continue;
  95136. t1 = node.contents;
  95137. previousNode = t1[t2];
  95138. currentNode = t1[i];
  95139. if (currentNode instanceof A.UnaryOperationExpression0) {
  95140. _0_2 = currentNode.operator;
  95141. if (B.UnaryOperator_TLI0 !== _0_2)
  95142. t1 = B.UnaryOperator_gg40 === _0_2;
  95143. else
  95144. t1 = true;
  95145. } else
  95146. t1 = false;
  95147. if (!t1)
  95148. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  95149. else
  95150. t1 = true;
  95151. if (t1)
  95152. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  95153. else
  95154. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  95155. }
  95156. },
  95157. visitInterpolatedFunctionExpression$1(node) {
  95158. var result, _this = this,
  95159. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  95160. oldInFunction = _this._evaluate0$_inFunction;
  95161. _this._evaluate0$_inFunction = true;
  95162. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  95163. _this._evaluate0$_inFunction = oldInFunction;
  95164. return result;
  95165. },
  95166. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  95167. var oldCallable, result, _this = this,
  95168. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95169. $name = callable.declaration.name;
  95170. if ($name !== "@content")
  95171. $name += "()";
  95172. oldCallable = _this._evaluate0$_currentCallable;
  95173. _this._evaluate0$_currentCallable = callable;
  95174. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  95175. _this._evaluate0$_currentCallable = oldCallable;
  95176. return result;
  95177. },
  95178. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  95179. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  95180. if (callable instanceof A.BuiltInCallable0)
  95181. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  95182. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  95183. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  95184. else if (callable instanceof A.PlainCssCallable0) {
  95185. t1 = $arguments.named;
  95186. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  95187. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  95188. buffer = new A.StringBuffer(callable.name + "(");
  95189. try {
  95190. first = true;
  95191. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95192. argument = t1[_i];
  95193. if (first)
  95194. first = false;
  95195. else
  95196. buffer._contents += ", ";
  95197. t3 = argument;
  95198. buffer._contents += _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  95199. }
  95200. restArg = $arguments.rest;
  95201. if (restArg != null) {
  95202. rest = restArg.accept$1(_this);
  95203. if (!first)
  95204. buffer._contents += ", ";
  95205. buffer._contents += _this._evaluate0$_serialize$2(rest, restArg);
  95206. }
  95207. } catch (exception) {
  95208. t1 = A.unwrapException(exception);
  95209. if (type$.SassRuntimeException_2._is(t1)) {
  95210. error = t1;
  95211. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  95212. throw exception;
  95213. 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));
  95214. } else
  95215. throw exception;
  95216. }
  95217. buffer._contents += A.Primitives_stringFromCharCode(41);
  95218. t1 = buffer._contents;
  95219. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  95220. } else
  95221. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  95222. },
  95223. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  95224. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  95225. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95226. oldCallableNode = _this._evaluate0$_callableNode;
  95227. _this._evaluate0$_callableNode = nodeWithSpan;
  95228. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  95229. _box_0.callback = _box_0.overload = null;
  95230. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  95231. _box_0.overload = _0_0._0;
  95232. _box_0.callback = _0_0._1;
  95233. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  95234. declaredArguments = _box_0.overload.$arguments;
  95235. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  95236. argument = declaredArguments[i];
  95237. t2 = evaluated._values[2];
  95238. t3 = evaluated._values[0].remove$1(0, argument.name);
  95239. if (t3 == null) {
  95240. t3 = argument.defaultValue;
  95241. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  95242. }
  95243. t2.push(t3);
  95244. }
  95245. if (_box_0.overload.restArgument != null) {
  95246. if (evaluated._values[2].length > t1) {
  95247. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  95248. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  95249. } else
  95250. rest = B.List_empty19;
  95251. t1 = evaluated._values[0];
  95252. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated._values[4]);
  95253. evaluated._values[2].push(argumentList);
  95254. } else
  95255. argumentList = null;
  95256. result = null;
  95257. try {
  95258. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  95259. } catch (exception) {
  95260. t1 = A.unwrapException(exception);
  95261. if (t1 instanceof A.SassException0)
  95262. throw exception;
  95263. else {
  95264. error = t1;
  95265. stackTrace = A.getTraceFromException(exception);
  95266. message = null;
  95267. try {
  95268. message = A._asString(J.get$message$x(error));
  95269. } catch (exception) {
  95270. message0 = J.toString$0$(error);
  95271. message = message0;
  95272. }
  95273. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  95274. }
  95275. }
  95276. _this._evaluate0$_callableNode = oldCallableNode;
  95277. if (argumentList == null)
  95278. return result;
  95279. if (evaluated._values[0].__js_helper$_length === 0)
  95280. return result;
  95281. if (argumentList._argument_list$_wereKeywordsAccessed)
  95282. return result;
  95283. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", evaluated._values[0].get$keys(0).get$length(0), null) + " named " + A.toSentence0(evaluated._values[0].get$keys(0).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));
  95284. },
  95285. _evaluate0$_evaluateArguments$1($arguments) {
  95286. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  95287. positional = A._setArrayType([], type$.JSArray_Value_2),
  95288. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  95289. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95290. expression = t1[_i];
  95291. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  95292. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  95293. positionalNodes.push(nodeForSpan);
  95294. }
  95295. t1 = type$.String;
  95296. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  95297. t2 = type$.AstNode_2;
  95298. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95299. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95300. t4 = t3.get$current(t3);
  95301. $name = t4._0;
  95302. value = t4._1;
  95303. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  95304. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  95305. namedNodes.$indexSet(0, $name, nodeForSpan);
  95306. }
  95307. restArgs = $arguments.rest;
  95308. if (restArgs == null)
  95309. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  95310. rest = restArgs.accept$1(_this);
  95311. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  95312. if (rest instanceof A.SassMap0) {
  95313. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  95314. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95315. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  95316. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  95317. namedNodes.addAll$1(0, t3);
  95318. separator = B.ListSeparator_undecided_null_undecided0;
  95319. } else if (rest instanceof A.SassList0) {
  95320. t3 = rest._list1$_contents;
  95321. 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>")));
  95322. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  95323. separator = rest._list1$_separator;
  95324. if (rest instanceof A.SassArgumentList0) {
  95325. rest._argument_list$_wereKeywordsAccessed = true;
  95326. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  95327. }
  95328. } else {
  95329. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  95330. positionalNodes.push(restNodeForSpan);
  95331. separator = B.ListSeparator_undecided_null_undecided0;
  95332. }
  95333. keywordRestArgs = $arguments.keywordRest;
  95334. if (keywordRestArgs == null)
  95335. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  95336. keywordRest = keywordRestArgs.accept$1(_this);
  95337. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  95338. if (keywordRest instanceof A.SassMap0) {
  95339. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  95340. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95341. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  95342. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  95343. namedNodes.addAll$1(0, t1);
  95344. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  95345. } else
  95346. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  95347. },
  95348. _evaluate0$_evaluateMacroArguments$1(invocation) {
  95349. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  95350. t1 = invocation.$arguments,
  95351. restArgs_ = t1.rest;
  95352. if (restArgs_ == null)
  95353. return new A._Record_2(t1.positional, t1.named);
  95354. t2 = t1.positional;
  95355. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  95356. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  95357. rest = restArgs_.accept$1(_this);
  95358. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  95359. if (rest instanceof A.SassMap0)
  95360. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  95361. else if (rest instanceof A.SassList0) {
  95362. t2 = rest._list1$_contents;
  95363. 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>")));
  95364. if (rest instanceof A.SassArgumentList0) {
  95365. rest._argument_list$_wereKeywordsAccessed = true;
  95366. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  95367. }
  95368. } else
  95369. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  95370. keywordRestArgs_ = t1.keywordRest;
  95371. if (keywordRestArgs_ == null)
  95372. return new A._Record_2(positional, named);
  95373. keywordRest = keywordRestArgs_.accept$1(_this);
  95374. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  95375. if (keywordRest instanceof A.SassMap0) {
  95376. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  95377. return new A._Record_2(positional, named);
  95378. } else
  95379. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  95380. },
  95381. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  95382. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  95383. },
  95384. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  95385. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  95386. },
  95387. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  95388. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  95389. },
  95390. visitSelectorExpression$1(node) {
  95391. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  95392. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  95393. return t1 == null ? B.C__SassNull0 : t1;
  95394. },
  95395. visitStringExpression$1(node) {
  95396. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  95397. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  95398. _this._evaluate0$_inSupportsDeclaration = false;
  95399. t1 = A._setArrayType([], type$.JSArray_String);
  95400. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0; _i < t3; ++_i) {
  95401. value = t2[_i];
  95402. $label0$0: {
  95403. if (typeof value == "string") {
  95404. t5 = value;
  95405. break $label0$0;
  95406. }
  95407. if (t4._is(value)) {
  95408. _0_0 = value.accept$1(_this);
  95409. $label1$1: {
  95410. if (_0_0 instanceof A.SassString0) {
  95411. text = _0_0._string0$_text;
  95412. t5 = text;
  95413. break $label1$1;
  95414. }
  95415. t5 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  95416. break $label1$1;
  95417. }
  95418. break $label0$0;
  95419. }
  95420. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  95421. }
  95422. t1.push(t5);
  95423. }
  95424. t1 = B.JSArray_methods.join$0(t1);
  95425. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95426. return new A.SassString0(t1, node.hasQuotes);
  95427. },
  95428. visitSupportsExpression$1(expression) {
  95429. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  95430. },
  95431. visitCssAtRule$1(node) {
  95432. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  95433. if (_this._evaluate0$_declarationName != null)
  95434. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  95435. if (node.isChildless) {
  95436. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  95437. return;
  95438. }
  95439. wasInKeyframes = _this._evaluate0$_inKeyframes;
  95440. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  95441. t1 = node.name;
  95442. if (A.unvendor0(t1.value) === "keyframes")
  95443. _this._evaluate0$_inKeyframes = true;
  95444. else
  95445. _this._evaluate0$_inUnknownAtRule = true;
  95446. _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);
  95447. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  95448. _this._evaluate0$_inKeyframes = wasInKeyframes;
  95449. },
  95450. visitCssComment$1(node) {
  95451. var _this = this,
  95452. _s8_ = "__parent",
  95453. _s13_ = "_endOfImports";
  95454. 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))
  95455. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95456. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  95457. },
  95458. visitCssDeclaration$1(node) {
  95459. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  95460. },
  95461. visitCssImport$1(node) {
  95462. var t1, _this = this,
  95463. _s8_ = "__parent",
  95464. _s5_ = "_root",
  95465. _s13_ = "_endOfImports",
  95466. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  95467. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  95468. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  95469. 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)) {
  95470. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  95471. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95472. } else {
  95473. t1 = _this._evaluate0$_outOfOrderImports;
  95474. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  95475. }
  95476. },
  95477. visitCssKeyframeBlock$1(node) {
  95478. 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);
  95479. },
  95480. visitCssMediaRule$1(node) {
  95481. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  95482. if (_this._evaluate0$_declarationName != null)
  95483. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  95484. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  95485. t1 = mergedQueries == null;
  95486. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  95487. return;
  95488. if (t1)
  95489. mergedSources = B.Set_empty5;
  95490. else {
  95491. t2 = _this._evaluate0$_mediaQuerySources;
  95492. t2.toString;
  95493. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  95494. t3 = _this._evaluate0$_mediaQueries;
  95495. t3.toString;
  95496. t2.addAll$1(0, t3);
  95497. t2.addAll$1(0, node.queries);
  95498. mergedSources = t2;
  95499. }
  95500. t1 = t1 ? node.queries : mergedQueries;
  95501. _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);
  95502. },
  95503. visitCssStyleRule$1(node) {
  95504. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this;
  95505. if (_this._evaluate0$_declarationName != null)
  95506. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  95507. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  95508. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  95509. t2 = node._style_rule0$_selector._box0$_inner.value;
  95510. t3 = styleRule == null;
  95511. t4 = t3 ? null : styleRule.originalSelector;
  95512. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  95513. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  95514. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  95515. _this._evaluate0$_atRootExcludingStyleRule = false;
  95516. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure3(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure4(), type$.ModifiableCssStyleRule_2, type$.Null);
  95517. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  95518. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").children._collection$_source;
  95519. t2 = J.getInterceptor$asx(t1);
  95520. _0_1 = t2.get$length(t1);
  95521. if (_0_1 >= 1) {
  95522. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  95523. t1 = t3;
  95524. } else {
  95525. lastChild = null;
  95526. t1 = false;
  95527. }
  95528. if (t1)
  95529. lastChild.isGroupEnd = true;
  95530. },
  95531. visitCssStylesheet$1(node) {
  95532. var t1;
  95533. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  95534. t1.get$current(t1).accept$1(this);
  95535. },
  95536. visitCssSupportsRule$1(node) {
  95537. var _this = this;
  95538. if (_this._evaluate0$_declarationName != null)
  95539. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  95540. _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);
  95541. },
  95542. _evaluate0$_handleReturn$1$2(list, callback) {
  95543. var t1, _i, _0_0;
  95544. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  95545. _0_0 = callback.call$1(list[_i]);
  95546. if (_0_0 != null)
  95547. return _0_0;
  95548. }
  95549. return null;
  95550. },
  95551. _evaluate0$_handleReturn$2(list, callback) {
  95552. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  95553. },
  95554. _evaluate0$_withEnvironment$1$2(environment, callback) {
  95555. var result,
  95556. oldEnvironment = this._evaluate0$_environment;
  95557. this._evaluate0$_environment = environment;
  95558. result = callback.call$0();
  95559. this._evaluate0$_environment = oldEnvironment;
  95560. return result;
  95561. },
  95562. _evaluate0$_withEnvironment$2(environment, callback) {
  95563. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  95564. },
  95565. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  95566. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  95567. t1 = trim ? A.trimAscii0(result, true) : result;
  95568. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  95569. },
  95570. _evaluate0$_interpolationToValue$1(interpolation) {
  95571. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  95572. },
  95573. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  95574. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  95575. },
  95576. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  95577. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  95578. },
  95579. _evaluate0$_performInterpolation$1(interpolation) {
  95580. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  95581. },
  95582. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  95583. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  95584. map = _0_0._1;
  95585. map.toString;
  95586. return new A._Record_2(_0_0._0, map);
  95587. },
  95588. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  95589. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  95590. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  95591. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  95592. _this._evaluate0$_inSupportsDeclaration = false;
  95593. 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) {
  95594. value = t1[_i];
  95595. if (!first)
  95596. if (!t4)
  95597. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  95598. if (typeof value == "string") {
  95599. t8 += value;
  95600. continue;
  95601. }
  95602. t3._as(value);
  95603. result = value.accept$1(_this);
  95604. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  95605. t9 = A._setArrayType([""], t5);
  95606. result0 = A.List_List$from(t9, false, t7);
  95607. result0.fixed$length = Array;
  95608. result0.immutable$list = Array;
  95609. result0 = new A.Interpolation0(result0, t6);
  95610. result0.Interpolation$20(t9, t6);
  95611. t9 = $.$get$namesByColor0();
  95612. _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));
  95613. }
  95614. t8 += _this._evaluate0$_serialize$3$quote(result, value, false);
  95615. }
  95616. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95617. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  95618. },
  95619. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  95620. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  95621. },
  95622. _evaluate0$_serialize$2(value, nodeWithSpan) {
  95623. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  95624. },
  95625. _evaluate0$_expressionNode$1(expression) {
  95626. var t1;
  95627. if (expression instanceof A.VariableExpression0) {
  95628. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  95629. return t1 == null ? expression : t1;
  95630. } else
  95631. return expression;
  95632. },
  95633. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  95634. var t1, result, _this = this;
  95635. _this._evaluate0$_addChild$2$through(node, through);
  95636. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  95637. _this._evaluate0$__parent = node;
  95638. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  95639. _this._evaluate0$__parent = t1;
  95640. return result;
  95641. },
  95642. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  95643. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  95644. },
  95645. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  95646. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  95647. },
  95648. _evaluate0$_addChild$2$through(node, through) {
  95649. var _0_0, grandparent, t1,
  95650. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  95651. if (through != null) {
  95652. for (; through.call$1($parent); $parent = _0_0) {
  95653. _0_0 = $parent._node$_parent;
  95654. if (_0_0 == null)
  95655. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  95656. }
  95657. if ($parent.get$hasFollowingSibling()) {
  95658. grandparent = $parent._node$_parent;
  95659. t1 = grandparent.children;
  95660. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  95661. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  95662. else {
  95663. $parent = $parent.copyWithoutChildren$0();
  95664. grandparent.addChild$1($parent);
  95665. }
  95666. }
  95667. }
  95668. $parent.addChild$1(node);
  95669. },
  95670. _evaluate0$_addChild$1(node) {
  95671. return this._evaluate0$_addChild$2$through(node, null);
  95672. },
  95673. _evaluate0$_withStyleRule$1$2(rule, callback) {
  95674. var result,
  95675. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  95676. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  95677. result = callback.call$0();
  95678. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  95679. return result;
  95680. },
  95681. _evaluate0$_withStyleRule$2(rule, callback) {
  95682. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  95683. },
  95684. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  95685. var result, _this = this,
  95686. oldMediaQueries = _this._evaluate0$_mediaQueries,
  95687. oldSources = _this._evaluate0$_mediaQuerySources;
  95688. _this._evaluate0$_mediaQueries = queries;
  95689. _this._evaluate0$_mediaQuerySources = sources;
  95690. result = callback.call$0();
  95691. _this._evaluate0$_mediaQueries = oldMediaQueries;
  95692. _this._evaluate0$_mediaQuerySources = oldSources;
  95693. return result;
  95694. },
  95695. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  95696. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  95697. },
  95698. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  95699. var oldMember, result, _this = this,
  95700. t1 = _this._evaluate0$_stack;
  95701. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  95702. oldMember = _this._evaluate0$_member;
  95703. _this._evaluate0$_member = member;
  95704. result = callback.call$0();
  95705. _this._evaluate0$_member = oldMember;
  95706. t1.pop();
  95707. return result;
  95708. },
  95709. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  95710. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  95711. },
  95712. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  95713. if (value instanceof A.SassNumber0 && value.asSlash != null && true)
  95714. 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);
  95715. return value.withoutSlash$0();
  95716. },
  95717. _evaluate0$_stackFrame$2(member, span) {
  95718. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  95719. },
  95720. _evaluate0$_stackTrace$1(span) {
  95721. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  95722. t1 = A._setArrayType([], type$.JSArray_Frame);
  95723. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95724. t4 = t2[_i];
  95725. nodeWithSpan = t4._1;
  95726. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  95727. }
  95728. if (span != null)
  95729. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  95730. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  95731. },
  95732. _evaluate0$_stackTrace$0() {
  95733. return this._evaluate0$_stackTrace$1(null);
  95734. },
  95735. _evaluate0$_warn$3(message, span, deprecation) {
  95736. var t1, trace, _this = this;
  95737. if (_this._evaluate0$_quietDeps)
  95738. if (!_this._evaluate0$_inDependency) {
  95739. t1 = _this._evaluate0$_currentCallable;
  95740. t1 = t1 == null ? null : t1.inDependency;
  95741. t1 = t1 === true;
  95742. } else
  95743. t1 = true;
  95744. else
  95745. t1 = false;
  95746. if (t1)
  95747. return;
  95748. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  95749. return;
  95750. trace = _this._evaluate0$_stackTrace$1(span);
  95751. t1 = _this._evaluate0$_logger;
  95752. if (deprecation == null)
  95753. t1.warn$3$span$trace(0, message, span, trace);
  95754. else
  95755. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  95756. },
  95757. _evaluate0$_warn$2(message, span) {
  95758. return this._evaluate0$_warn$3(message, span, null);
  95759. },
  95760. _evaluate0$_exception$2(message, span) {
  95761. var t1, t2;
  95762. if (span == null) {
  95763. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  95764. t1 = t1.get$span(t1);
  95765. } else
  95766. t1 = span;
  95767. t2 = this._evaluate0$_stackTrace$1(span);
  95768. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  95769. },
  95770. _evaluate0$_exception$1(message) {
  95771. return this._evaluate0$_exception$2(message, null);
  95772. },
  95773. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  95774. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  95775. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  95776. },
  95777. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  95778. var error, stackTrace, t1, exception;
  95779. try {
  95780. t1 = callback.call$0();
  95781. return t1;
  95782. } catch (exception) {
  95783. t1 = A.unwrapException(exception);
  95784. if (t1 instanceof A.SassScriptException0) {
  95785. error = t1;
  95786. stackTrace = A.getTraceFromException(exception);
  95787. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  95788. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  95789. } else
  95790. throw exception;
  95791. }
  95792. },
  95793. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  95794. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  95795. },
  95796. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  95797. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  95798. },
  95799. _evaluate0$_addExceptionTrace$1$1(callback) {
  95800. var error, stackTrace, t1, exception, t2;
  95801. try {
  95802. t1 = callback.call$0();
  95803. return t1;
  95804. } catch (exception) {
  95805. t1 = A.unwrapException(exception);
  95806. if (type$.SassRuntimeException_2._is(t1))
  95807. throw exception;
  95808. else if (t1 instanceof A.SassException0) {
  95809. error = t1;
  95810. stackTrace = A.getTraceFromException(exception);
  95811. t1 = error;
  95812. t2 = J.getInterceptor$z(t1);
  95813. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  95814. } else
  95815. throw exception;
  95816. }
  95817. },
  95818. _evaluate0$_addExceptionTrace$1(callback) {
  95819. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  95820. },
  95821. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  95822. var error, stackTrace, t1, exception, t2, t3;
  95823. try {
  95824. t1 = callback.call$0();
  95825. return t1;
  95826. } catch (exception) {
  95827. t1 = A.unwrapException(exception);
  95828. if (type$.SassRuntimeException_2._is(t1)) {
  95829. error = t1;
  95830. stackTrace = A.getTraceFromException(exception);
  95831. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  95832. throw exception;
  95833. t1 = error._span_exception$_message;
  95834. t2 = nodeWithSpan.get$span(nodeWithSpan);
  95835. t3 = this._evaluate0$_stackTrace$0();
  95836. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  95837. } else
  95838. throw exception;
  95839. }
  95840. },
  95841. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  95842. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  95843. }
  95844. };
  95845. A._EvaluateVisitor_closure25.prototype = {
  95846. call$1($arguments) {
  95847. var module, t2,
  95848. t1 = J.getInterceptor$asx($arguments),
  95849. variable = t1.$index($arguments, 0).assertString$1("name");
  95850. t1 = t1.$index($arguments, 1).get$realNull();
  95851. module = t1 == null ? null : t1.assertString$1("module");
  95852. t1 = this.$this._evaluate0$_environment;
  95853. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  95854. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95855. },
  95856. $signature: 20
  95857. };
  95858. A._EvaluateVisitor_closure26.prototype = {
  95859. call$1($arguments) {
  95860. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  95861. t1 = this.$this._evaluate0$_environment;
  95862. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95863. },
  95864. $signature: 20
  95865. };
  95866. A._EvaluateVisitor_closure27.prototype = {
  95867. call$1($arguments) {
  95868. var module, t2, t3, t4,
  95869. t1 = J.getInterceptor$asx($arguments),
  95870. variable = t1.$index($arguments, 0).assertString$1("name");
  95871. t1 = t1.$index($arguments, 1).get$realNull();
  95872. module = t1 == null ? null : t1.assertString$1("module");
  95873. t1 = this.$this;
  95874. t2 = t1._evaluate0$_environment;
  95875. t3 = variable._string0$_text;
  95876. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  95877. 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;
  95878. },
  95879. $signature: 20
  95880. };
  95881. A._EvaluateVisitor_closure28.prototype = {
  95882. call$1($arguments) {
  95883. var module, t2,
  95884. t1 = J.getInterceptor$asx($arguments),
  95885. variable = t1.$index($arguments, 0).assertString$1("name");
  95886. t1 = t1.$index($arguments, 1).get$realNull();
  95887. module = t1 == null ? null : t1.assertString$1("module");
  95888. t1 = this.$this._evaluate0$_environment;
  95889. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  95890. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95891. },
  95892. $signature: 20
  95893. };
  95894. A._EvaluateVisitor_closure29.prototype = {
  95895. call$1($arguments) {
  95896. var t1 = this.$this._evaluate0$_environment;
  95897. if (!t1._environment0$_inMixin)
  95898. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  95899. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95900. },
  95901. $signature: 20
  95902. };
  95903. A._EvaluateVisitor_closure30.prototype = {
  95904. call$1($arguments) {
  95905. var t2, t3, t4,
  95906. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  95907. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  95908. if (module == null)
  95909. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  95910. t1 = type$.Value_2;
  95911. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  95912. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95913. t4 = t3.get$current(t3);
  95914. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  95915. }
  95916. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  95917. },
  95918. $signature: 31
  95919. };
  95920. A._EvaluateVisitor_closure31.prototype = {
  95921. call$1($arguments) {
  95922. var t2, t3, t4,
  95923. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  95924. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  95925. if (module == null)
  95926. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  95927. t1 = type$.Value_2;
  95928. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  95929. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95930. t4 = t3.get$current(t3);
  95931. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  95932. }
  95933. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  95934. },
  95935. $signature: 31
  95936. };
  95937. A._EvaluateVisitor_closure32.prototype = {
  95938. call$1($arguments) {
  95939. var t2, t3, t4,
  95940. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  95941. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  95942. if (module == null)
  95943. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  95944. t1 = type$.Value_2;
  95945. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  95946. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95947. t4 = t3.get$current(t3);
  95948. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  95949. }
  95950. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  95951. },
  95952. $signature: 31
  95953. };
  95954. A._EvaluateVisitor_closure33.prototype = {
  95955. call$1($arguments) {
  95956. var module, t2, callable,
  95957. t1 = J.getInterceptor$asx($arguments),
  95958. $name = t1.$index($arguments, 0).assertString$1("name"),
  95959. css = t1.$index($arguments, 1).get$isTruthy();
  95960. t1 = t1.$index($arguments, 2).get$realNull();
  95961. module = t1 == null ? null : t1.assertString$1("module");
  95962. if (css) {
  95963. if (module != null)
  95964. throw A.wrapException(string$.x24css_a);
  95965. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  95966. }
  95967. t1 = this.$this;
  95968. t2 = t1._evaluate0$_callableNode;
  95969. t2.toString;
  95970. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  95971. if (callable == null)
  95972. throw A.wrapException("Function not found: " + $name.toString$0(0));
  95973. return new A.SassFunction0(callable);
  95974. },
  95975. $signature: 269
  95976. };
  95977. A._EvaluateVisitor__closure10.prototype = {
  95978. call$0() {
  95979. var local,
  95980. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  95981. t1 = this.module,
  95982. namespace = t1 == null ? null : t1._string0$_text;
  95983. t1 = this.$this;
  95984. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  95985. if (local != null || namespace != null)
  95986. return local;
  95987. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  95988. },
  95989. $signature: 100
  95990. };
  95991. A._EvaluateVisitor_closure34.prototype = {
  95992. call$1($arguments) {
  95993. var module, t2, callable,
  95994. t1 = J.getInterceptor$asx($arguments),
  95995. $name = t1.$index($arguments, 0).assertString$1("name");
  95996. t1 = t1.$index($arguments, 1).get$realNull();
  95997. module = t1 == null ? null : t1.assertString$1("module");
  95998. t1 = this.$this;
  95999. t2 = t1._evaluate0$_callableNode;
  96000. t2.toString;
  96001. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  96002. if (callable == null)
  96003. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  96004. return new A.SassMixin0(callable);
  96005. },
  96006. $signature: 209
  96007. };
  96008. A._EvaluateVisitor__closure9.prototype = {
  96009. call$0() {
  96010. var t1 = this.$this._evaluate0$_environment,
  96011. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96012. t3 = this.module;
  96013. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  96014. },
  96015. $signature: 100
  96016. };
  96017. A._EvaluateVisitor_closure35.prototype = {
  96018. call$1($arguments) {
  96019. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  96020. t1 = J.getInterceptor$asx($arguments),
  96021. $function = t1.$index($arguments, 0),
  96022. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96023. t1 = this.$this;
  96024. t2 = t1._evaluate0$_callableNode;
  96025. t2.toString;
  96026. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  96027. t4 = type$.String;
  96028. t5 = type$.Expression_2;
  96029. t6 = t2.get$span(t2);
  96030. t7 = t2.get$span(t2);
  96031. args._argument_list$_wereKeywordsAccessed = true;
  96032. t8 = args._argument_list$_keywords;
  96033. if (t8.get$isEmpty(t8))
  96034. t2 = null;
  96035. else {
  96036. t9 = type$.Value_2;
  96037. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  96038. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  96039. t11 = t8.get$current(t8);
  96040. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  96041. }
  96042. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  96043. }
  96044. 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);
  96045. if ($function instanceof A.SassString0) {
  96046. t2 = $function.toString$0(0);
  96047. A.EvaluationContext_current0().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_4iQ);
  96048. callableNode = t1._evaluate0$_callableNode;
  96049. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  96050. }
  96051. callable = $function.assertFunction$1("function").callable;
  96052. if (type$.Callable_2._is(callable)) {
  96053. t2 = t1._evaluate0$_callableNode;
  96054. t2.toString;
  96055. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  96056. } else
  96057. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  96058. },
  96059. $signature: 3
  96060. };
  96061. A._EvaluateVisitor_closure36.prototype = {
  96062. call$1($arguments) {
  96063. var withMap, t2, values, configuration, t3,
  96064. t1 = J.getInterceptor$asx($arguments),
  96065. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  96066. t1 = t1.$index($arguments, 1).get$realNull();
  96067. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  96068. t1 = this.$this;
  96069. t2 = t1._evaluate0$_callableNode;
  96070. t2.toString;
  96071. if (withMap != null) {
  96072. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  96073. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  96074. configuration = new A.ExplicitConfiguration0(t2, values, null);
  96075. } else
  96076. configuration = B.Configuration_Map_empty_null0;
  96077. t3 = t2.get$span(t2);
  96078. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  96079. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  96080. },
  96081. $signature: 248
  96082. };
  96083. A._EvaluateVisitor__closure7.prototype = {
  96084. call$2(variable, value) {
  96085. var t1 = variable.assertString$1("with key"),
  96086. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  96087. t1 = this.values;
  96088. if (t1.containsKey$1($name))
  96089. throw A.wrapException("The variable $" + $name + " was configured twice.");
  96090. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  96091. },
  96092. $signature: 80
  96093. };
  96094. A._EvaluateVisitor__closure8.prototype = {
  96095. call$2(module, _) {
  96096. var t1 = this.$this;
  96097. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  96098. },
  96099. $signature: 102
  96100. };
  96101. A._EvaluateVisitor_closure37.prototype = {
  96102. call$1($arguments) {
  96103. var callableNode, t2, t3, t4, t5, callable, $content,
  96104. t1 = J.getInterceptor$asx($arguments),
  96105. mixin = t1.$index($arguments, 0),
  96106. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96107. t1 = this.$this;
  96108. callableNode = t1._evaluate0$_callableNode;
  96109. t2 = callableNode.get$span(callableNode);
  96110. t3 = callableNode.get$span(callableNode);
  96111. t4 = type$.Expression_2;
  96112. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  96113. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  96114. callable = mixin.assertMixin$1("mixin").callable;
  96115. $content = t1._evaluate0$_environment._environment0$_content;
  96116. if (type$.Callable_2._is(callable))
  96117. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  96118. else
  96119. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  96120. },
  96121. $signature: 248
  96122. };
  96123. A._EvaluateVisitor_run_closure1.prototype = {
  96124. call$0() {
  96125. var module, t2, _this = this, url = null,
  96126. t1 = _this.node,
  96127. _0_0 = t1.span.file.url;
  96128. if (_0_0 != null) {
  96129. url = _0_0;
  96130. t2 = _this.$this;
  96131. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  96132. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  96133. t2._evaluate0$_loadedUrls.add$1(0, url);
  96134. }
  96135. t2 = _this.$this;
  96136. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  96137. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  96138. },
  96139. $signature: 423
  96140. };
  96141. A._EvaluateVisitor_run__closure1.prototype = {
  96142. call$0() {
  96143. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  96144. },
  96145. $signature: 424
  96146. };
  96147. A._EvaluateVisitor__loadModule_closure3.prototype = {
  96148. call$0() {
  96149. return this.callback.call$2(this._box_1.builtInModule, false);
  96150. },
  96151. $signature: 0
  96152. };
  96153. A._EvaluateVisitor__loadModule_closure4.prototype = {
  96154. call$0() {
  96155. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  96156. t2 = _this.$this,
  96157. t3 = _this.nodeWithSpan,
  96158. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  96159. stylesheet = _1_0._0;
  96160. importer = _1_0._1;
  96161. canonicalUrl = stylesheet.span.file.url;
  96162. if (canonicalUrl != null) {
  96163. t4 = t2._evaluate0$_activeModules;
  96164. if (t4.containsKey$1(canonicalUrl)) {
  96165. if (_this.namesInErrors) {
  96166. t1 = canonicalUrl;
  96167. t3 = $.$get$context();
  96168. t1.toString;
  96169. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  96170. } else
  96171. message = string$.Modulel;
  96172. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  96173. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  96174. } else
  96175. t4.$indexSet(0, canonicalUrl, t3);
  96176. }
  96177. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  96178. oldInDependency = t2._evaluate0$_inDependency;
  96179. t2._evaluate0$_inDependency = _1_0._2;
  96180. t1.module = null;
  96181. try {
  96182. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  96183. } finally {
  96184. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  96185. t2._evaluate0$_inDependency = oldInDependency;
  96186. }
  96187. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  96188. },
  96189. $signature: 1
  96190. };
  96191. A._EvaluateVisitor__loadModule__closure3.prototype = {
  96192. call$1(previousLoad) {
  96193. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  96194. },
  96195. $signature: 79
  96196. };
  96197. A._EvaluateVisitor__loadModule__closure4.prototype = {
  96198. call$0() {
  96199. return this.callback.call$2(this._box_0.module, this.firstLoad);
  96200. },
  96201. $signature: 0
  96202. };
  96203. A._EvaluateVisitor__execute_closure1.prototype = {
  96204. call$0() {
  96205. var t3, t4, t5, t6, _this = this,
  96206. t1 = _this.$this,
  96207. oldImporter = t1._evaluate0$_importer,
  96208. oldStylesheet = t1._evaluate0$__stylesheet,
  96209. oldRoot = t1._evaluate0$__root,
  96210. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  96211. oldParent = t1._evaluate0$__parent,
  96212. oldEndOfImports = t1._evaluate0$__endOfImports,
  96213. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96214. oldExtensionStore = t1._evaluate0$__extensionStore,
  96215. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  96216. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  96217. oldMediaQueries = t1._evaluate0$_mediaQueries,
  96218. oldDeclarationName = t1._evaluate0$_declarationName,
  96219. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  96220. oldInKeyframes = t1._evaluate0$_inKeyframes,
  96221. oldConfiguration = t1._evaluate0$_configuration;
  96222. t1._evaluate0$_importer = _this.importer;
  96223. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  96224. t4 = t3.span;
  96225. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  96226. t1._evaluate0$__endOfImports = 0;
  96227. t1._evaluate0$_outOfOrderImports = null;
  96228. t1._evaluate0$__extensionStore = _this.extensionStore;
  96229. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  96230. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  96231. t6 = _this.configuration;
  96232. if (t6 != null)
  96233. t1._evaluate0$_configuration = t6;
  96234. t1.visitStylesheet$1(t3);
  96235. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  96236. _this.css._value = t3;
  96237. _this.preModuleComments._value = t1._evaluate0$_preModuleComments;
  96238. t1._evaluate0$_importer = oldImporter;
  96239. t1._evaluate0$__stylesheet = oldStylesheet;
  96240. t1._evaluate0$__root = oldRoot;
  96241. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  96242. t1._evaluate0$__parent = oldParent;
  96243. t1._evaluate0$__endOfImports = oldEndOfImports;
  96244. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96245. t1._evaluate0$__extensionStore = oldExtensionStore;
  96246. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  96247. t1._evaluate0$_mediaQueries = oldMediaQueries;
  96248. t1._evaluate0$_declarationName = oldDeclarationName;
  96249. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  96250. t1._evaluate0$_atRootExcludingStyleRule = t2;
  96251. t1._evaluate0$_inKeyframes = oldInKeyframes;
  96252. t1._evaluate0$_configuration = oldConfiguration;
  96253. },
  96254. $signature: 1
  96255. };
  96256. A._EvaluateVisitor__combineCss_closure3.prototype = {
  96257. call$1(module) {
  96258. return module.get$transitivelyContainsCss();
  96259. },
  96260. $signature: 138
  96261. };
  96262. A._EvaluateVisitor__combineCss_closure4.prototype = {
  96263. call$1(target) {
  96264. return !this.selectors.contains$1(0, target);
  96265. },
  96266. $signature: 14
  96267. };
  96268. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  96269. call$1(module) {
  96270. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  96271. if (!_this.seen.add$1(0, module))
  96272. return;
  96273. if (_this.clone)
  96274. module = module.cloneCss$0();
  96275. 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) {
  96276. upstream = t1[_i];
  96277. if (upstream.get$transitivelyContainsCss()) {
  96278. _1_0 = module.get$preModuleComments().$index(0, upstream);
  96279. if (_1_0 != null)
  96280. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  96281. _this.call$1(upstream);
  96282. }
  96283. }
  96284. _this.sorted.addFirst$1(module);
  96285. t1 = module.get$css(module);
  96286. statements = t1.get$children(t1);
  96287. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  96288. t1 = J.getInterceptor$ax(statements);
  96289. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  96290. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  96291. },
  96292. $signature: 425
  96293. };
  96294. A._EvaluateVisitor__extendModules_closure3.prototype = {
  96295. call$1(target) {
  96296. return !this.originalSelectors.contains$1(0, target);
  96297. },
  96298. $signature: 14
  96299. };
  96300. A._EvaluateVisitor__extendModules_closure4.prototype = {
  96301. call$0() {
  96302. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  96303. },
  96304. $signature: 199
  96305. };
  96306. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  96307. call$0() {
  96308. var t1, t2, t3, _i;
  96309. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96310. t1[_i].accept$1(t3);
  96311. },
  96312. $signature: 1
  96313. };
  96314. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  96315. call$0() {
  96316. var t1, t2, t3, _i;
  96317. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96318. t1[_i].accept$1(t3);
  96319. },
  96320. $signature: 0
  96321. };
  96322. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  96323. call$1(callback) {
  96324. var t1 = this.$this,
  96325. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  96326. t1._evaluate0$__parent = this.newParent;
  96327. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  96328. t1._evaluate0$__parent = t2;
  96329. },
  96330. $signature: 32
  96331. };
  96332. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  96333. call$1(callback) {
  96334. var t1 = this.$this,
  96335. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  96336. t1._evaluate0$_atRootExcludingStyleRule = true;
  96337. this.innerScope.call$1(callback);
  96338. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  96339. },
  96340. $signature: 32
  96341. };
  96342. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  96343. call$1(callback) {
  96344. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  96345. },
  96346. $signature: 32
  96347. };
  96348. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  96349. call$0() {
  96350. return this.innerScope.call$1(this.callback);
  96351. },
  96352. $signature: 1
  96353. };
  96354. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  96355. call$1(callback) {
  96356. var t1 = this.$this,
  96357. wasInKeyframes = t1._evaluate0$_inKeyframes;
  96358. t1._evaluate0$_inKeyframes = false;
  96359. this.innerScope.call$1(callback);
  96360. t1._evaluate0$_inKeyframes = wasInKeyframes;
  96361. },
  96362. $signature: 32
  96363. };
  96364. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  96365. call$1($parent) {
  96366. return $parent instanceof A.ModifiableCssAtRule0;
  96367. },
  96368. $signature: 198
  96369. };
  96370. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  96371. call$1(callback) {
  96372. var t1 = this.$this,
  96373. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  96374. t1._evaluate0$_inUnknownAtRule = false;
  96375. this.innerScope.call$1(callback);
  96376. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  96377. },
  96378. $signature: 32
  96379. };
  96380. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  96381. call$0() {
  96382. var t1, t2, t3, _i;
  96383. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96384. t1[_i].accept$1(t3);
  96385. return null;
  96386. },
  96387. $signature: 1
  96388. };
  96389. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  96390. call$0() {
  96391. var t1, t2, t3, _i;
  96392. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96393. t1[_i].accept$1(t3);
  96394. },
  96395. $signature: 1
  96396. };
  96397. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  96398. call$1(value) {
  96399. var t1 = this.$this,
  96400. t2 = this.nodeWithSpan;
  96401. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  96402. },
  96403. $signature: 65
  96404. };
  96405. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  96406. call$1(value) {
  96407. return this.$this._evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  96408. },
  96409. $signature: 65
  96410. };
  96411. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  96412. call$0() {
  96413. var _this = this,
  96414. t1 = _this.$this;
  96415. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  96416. },
  96417. $signature: 42
  96418. };
  96419. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  96420. call$1(element) {
  96421. var t1;
  96422. this.setVariables.call$1(element);
  96423. t1 = this.$this;
  96424. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  96425. },
  96426. $signature: 244
  96427. };
  96428. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  96429. call$1(child) {
  96430. return child.accept$1(this.$this);
  96431. },
  96432. $signature: 103
  96433. };
  96434. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  96435. call$1(value) {
  96436. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  96437. },
  96438. $signature: 428
  96439. };
  96440. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  96441. call$0() {
  96442. var t2, t3, _i, _this = this,
  96443. t1 = _this.$this,
  96444. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  96445. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  96446. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  96447. t2[_i].accept$1(t1);
  96448. else
  96449. 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);
  96450. },
  96451. $signature: 1
  96452. };
  96453. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  96454. call$0() {
  96455. var t1, t2, t3, _i;
  96456. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96457. t1[_i].accept$1(t3);
  96458. },
  96459. $signature: 1
  96460. };
  96461. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  96462. call$1(node) {
  96463. return node instanceof A.ModifiableCssStyleRule0;
  96464. },
  96465. $signature: 8
  96466. };
  96467. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  96468. call$0() {
  96469. return this.node.from.accept$1(this.$this).assertNumber$0();
  96470. },
  96471. $signature: 242
  96472. };
  96473. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  96474. call$0() {
  96475. return this.node.to.accept$1(this.$this).assertNumber$0();
  96476. },
  96477. $signature: 242
  96478. };
  96479. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  96480. call$0() {
  96481. return this.fromNumber.assertInt$0();
  96482. },
  96483. $signature: 10
  96484. };
  96485. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  96486. call$0() {
  96487. var t1 = this.fromNumber;
  96488. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  96489. },
  96490. $signature: 10
  96491. };
  96492. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  96493. call$0() {
  96494. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  96495. t1 = _this.$this,
  96496. t2 = _this.node,
  96497. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  96498. 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) {
  96499. t7 = t1._evaluate0$_environment;
  96500. t8 = t6.get$numeratorUnits(t6);
  96501. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  96502. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  96503. if (_0_0 != null)
  96504. return _0_0;
  96505. }
  96506. return null;
  96507. },
  96508. $signature: 42
  96509. };
  96510. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  96511. call$1(child) {
  96512. return child.accept$1(this.$this);
  96513. },
  96514. $signature: 103
  96515. };
  96516. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  96517. call$2(module, firstLoad) {
  96518. if (firstLoad)
  96519. this.$this._evaluate0$_registerCommentsForModule$1(module);
  96520. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  96521. },
  96522. $signature: 102
  96523. };
  96524. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  96525. call$2(module, firstLoad) {
  96526. if (firstLoad)
  96527. this.$this._evaluate0$_registerCommentsForModule$1(module);
  96528. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  96529. },
  96530. $signature: 102
  96531. };
  96532. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  96533. call$0() {
  96534. return A._setArrayType([], type$.JSArray_CssComment_2);
  96535. },
  96536. $signature: 190
  96537. };
  96538. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  96539. call$1(clause) {
  96540. var t1 = this.$this;
  96541. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  96542. },
  96543. $signature: 430
  96544. };
  96545. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  96546. call$0() {
  96547. var t1 = this.$this;
  96548. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  96549. },
  96550. $signature: 42
  96551. };
  96552. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  96553. call$1(child) {
  96554. return child.accept$1(this.$this);
  96555. },
  96556. $signature: 103
  96557. };
  96558. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  96559. call$0() {
  96560. var t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  96561. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  96562. t1 = this.$this;
  96563. t2 = this.$import;
  96564. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  96565. stylesheet = _box_0.stylesheet = _0_0._0;
  96566. importer = _0_0._1;
  96567. _box_0.importer = importer;
  96568. isDependency = _0_0._2;
  96569. _box_0.isDependency = isDependency;
  96570. url = stylesheet.span.file.url;
  96571. if (url != null) {
  96572. t3 = t1._evaluate0$_activeModules;
  96573. if (t3.containsKey$1(url)) {
  96574. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  96575. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  96576. }
  96577. t3.$indexSet(0, url, t2);
  96578. }
  96579. t2 = stylesheet._stylesheet1$_uses;
  96580. t3 = type$.UnmodifiableListView_UseRule_2;
  96581. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  96582. oldImporter = t1._evaluate0$_importer;
  96583. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  96584. oldInDependency = t1._evaluate0$_inDependency;
  96585. t1._evaluate0$_importer = importer;
  96586. t1._evaluate0$__stylesheet = stylesheet;
  96587. t1._evaluate0$_inDependency = isDependency;
  96588. t1.visitStylesheet$1(stylesheet);
  96589. t1._evaluate0$_importer = oldImporter;
  96590. t1._evaluate0$__stylesheet = t2;
  96591. t1._evaluate0$_inDependency = oldInDependency;
  96592. t1._evaluate0$_activeModules.remove$1(0, url);
  96593. return;
  96594. }
  96595. t2 = new A.UnmodifiableListView(t2, t3);
  96596. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  96597. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  96598. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  96599. } else
  96600. loadsUserDefinedModules = true;
  96601. children = A._Cell$();
  96602. t2 = t1._evaluate0$_environment;
  96603. t3 = type$.String;
  96604. t4 = type$.Module_Callable_2;
  96605. t5 = type$.AstNode_2;
  96606. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  96607. t7 = t2._environment0$_variables;
  96608. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  96609. t8 = t2._environment0$_variableNodes;
  96610. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  96611. t9 = t2._environment0$_functions;
  96612. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  96613. t10 = t2._environment0$_mixins;
  96614. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  96615. 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);
  96616. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  96617. module = environment.toDummyModule$0();
  96618. t1._evaluate0$_environment.importForwards$1(module);
  96619. if (loadsUserDefinedModules) {
  96620. if (module.transitivelyContainsCss)
  96621. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  96622. visitor = new A._ImportedCssVisitor1(t1);
  96623. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  96624. t2.get$current(t2).accept$1(visitor);
  96625. }
  96626. t1._evaluate0$_activeModules.remove$1(0, url);
  96627. },
  96628. $signature: 0
  96629. };
  96630. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  96631. call$1(previousLoad) {
  96632. 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));
  96633. },
  96634. $signature: 79
  96635. };
  96636. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  96637. call$1(rule) {
  96638. return rule.url.get$scheme() !== "sass";
  96639. },
  96640. $signature: 189
  96641. };
  96642. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  96643. call$1(rule) {
  96644. return rule.url.get$scheme() !== "sass";
  96645. },
  96646. $signature: 187
  96647. };
  96648. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  96649. call$0() {
  96650. var t7, t8, _this = this,
  96651. t1 = _this.$this,
  96652. oldImporter = t1._evaluate0$_importer,
  96653. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  96654. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  96655. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  96656. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  96657. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96658. oldConfiguration = t1._evaluate0$_configuration,
  96659. oldInDependency = t1._evaluate0$_inDependency,
  96660. t6 = _this._box_0;
  96661. t1._evaluate0$_importer = t6.importer;
  96662. t7 = t6.stylesheet;
  96663. t1._evaluate0$__stylesheet = t7;
  96664. t8 = _this.loadsUserDefinedModules;
  96665. if (t8) {
  96666. t7 = A.ModifiableCssStylesheet$0(t7.span);
  96667. t1._evaluate0$__root = t7;
  96668. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t7, "_root");
  96669. t1._evaluate0$__endOfImports = 0;
  96670. t1._evaluate0$_outOfOrderImports = null;
  96671. }
  96672. t1._evaluate0$_inDependency = t6.isDependency;
  96673. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  96674. if (!t7.get$isEmpty(t7))
  96675. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  96676. t1.visitStylesheet$1(t6.stylesheet);
  96677. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  96678. _this.children._value = t6;
  96679. t1._evaluate0$_importer = oldImporter;
  96680. t1._evaluate0$__stylesheet = t2;
  96681. if (t8) {
  96682. t1._evaluate0$__root = t3;
  96683. t1._evaluate0$__parent = t4;
  96684. t1._evaluate0$__endOfImports = t5;
  96685. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96686. }
  96687. t1._evaluate0$_configuration = oldConfiguration;
  96688. t1._evaluate0$_inDependency = oldInDependency;
  96689. },
  96690. $signature: 1
  96691. };
  96692. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  96693. call$0() {
  96694. var _this = this,
  96695. t1 = _this.$this;
  96696. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  96697. },
  96698. $signature: 0
  96699. };
  96700. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  96701. call$0() {
  96702. var _this = this;
  96703. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  96704. },
  96705. $signature: 0
  96706. };
  96707. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  96708. call$0() {
  96709. var _this = this,
  96710. t1 = _this.$this;
  96711. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  96712. },
  96713. $signature: 1
  96714. };
  96715. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  96716. call$0() {
  96717. var t1 = this.$this;
  96718. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  96719. },
  96720. $signature: 0
  96721. };
  96722. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  96723. call$0() {
  96724. var t1, t2, t3, t4, _i;
  96725. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  96726. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  96727. },
  96728. $signature: 0
  96729. };
  96730. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  96731. call$0() {
  96732. return this.statement.accept$1(this.$this);
  96733. },
  96734. $signature: 42
  96735. };
  96736. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  96737. call$0() {
  96738. var t1 = this.node;
  96739. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  96740. },
  96741. $signature: 100
  96742. };
  96743. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  96744. call$1($content) {
  96745. var t1 = this.$this;
  96746. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  96747. },
  96748. $signature: 431
  96749. };
  96750. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  96751. call$0() {
  96752. return this.node.get$spanWithoutContent();
  96753. },
  96754. $signature: 25
  96755. };
  96756. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  96757. call$1(mediaQueries) {
  96758. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  96759. },
  96760. $signature: 93
  96761. };
  96762. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  96763. call$0() {
  96764. var _this = this,
  96765. t1 = _this.$this,
  96766. t2 = _this.mergedQueries;
  96767. if (t2 == null)
  96768. t2 = _this.queries;
  96769. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  96770. },
  96771. $signature: 1
  96772. };
  96773. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  96774. call$0() {
  96775. var t2, t3, _i,
  96776. t1 = this.$this,
  96777. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  96778. if (_0_0 != null)
  96779. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  96780. else
  96781. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  96782. t2[_i].accept$1(t1);
  96783. },
  96784. $signature: 1
  96785. };
  96786. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  96787. call$0() {
  96788. var t1, t2, t3, _i;
  96789. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96790. t1[_i].accept$1(t3);
  96791. },
  96792. $signature: 1
  96793. };
  96794. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  96795. call$1(node) {
  96796. var t1;
  96797. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  96798. t1 = this.mergedSources;
  96799. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  96800. } else
  96801. t1 = true;
  96802. return t1;
  96803. },
  96804. $signature: 8
  96805. };
  96806. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  96807. call$0() {
  96808. var t1, t2, t3, _i;
  96809. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96810. t1[_i].accept$1(t3);
  96811. },
  96812. $signature: 1
  96813. };
  96814. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  96815. call$1(node) {
  96816. return node instanceof A.ModifiableCssStyleRule0;
  96817. },
  96818. $signature: 8
  96819. };
  96820. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  96821. call$0() {
  96822. var t1 = this.$this;
  96823. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  96824. },
  96825. $signature: 1
  96826. };
  96827. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  96828. call$0() {
  96829. var t1, t2, t3, _i;
  96830. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96831. t1[_i].accept$1(t3);
  96832. },
  96833. $signature: 1
  96834. };
  96835. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  96836. call$1(node) {
  96837. return node instanceof A.ModifiableCssStyleRule0;
  96838. },
  96839. $signature: 8
  96840. };
  96841. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  96842. call$1(child) {
  96843. return child instanceof A.ModifiableCssComment0;
  96844. },
  96845. $signature: 130
  96846. };
  96847. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  96848. call$0() {
  96849. var t2, t3, _i,
  96850. t1 = this.$this,
  96851. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  96852. if (_0_0 != null)
  96853. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  96854. else
  96855. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  96856. t2[_i].accept$1(t1);
  96857. },
  96858. $signature: 1
  96859. };
  96860. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  96861. call$0() {
  96862. var t1, t2, t3, _i;
  96863. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96864. t1[_i].accept$1(t3);
  96865. },
  96866. $signature: 1
  96867. };
  96868. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  96869. call$1(node) {
  96870. return node instanceof A.ModifiableCssStyleRule0;
  96871. },
  96872. $signature: 8
  96873. };
  96874. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  96875. call$0() {
  96876. var t4,
  96877. t1 = this.$this,
  96878. t2 = this._box_0,
  96879. t3 = t2.declaration.name;
  96880. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  96881. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  96882. t2 = t2.declaration.value;
  96883. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  96884. },
  96885. $signature: 27
  96886. };
  96887. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  96888. call$0() {
  96889. var t1 = this.$this._evaluate0$_environment,
  96890. t2 = this._box_0.override;
  96891. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  96892. },
  96893. $signature: 1
  96894. };
  96895. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  96896. call$0() {
  96897. var t1 = this.node;
  96898. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  96899. },
  96900. $signature: 42
  96901. };
  96902. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  96903. call$0() {
  96904. var t1 = this.$this,
  96905. t2 = this.node;
  96906. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  96907. },
  96908. $signature: 1
  96909. };
  96910. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  96911. call$2(module, firstLoad) {
  96912. var t1, t2, t3, _0_0, t4, t5, span;
  96913. if (firstLoad)
  96914. this.$this._evaluate0$_registerCommentsForModule$1(module);
  96915. t1 = this.$this._evaluate0$_environment;
  96916. t2 = this.node;
  96917. t3 = t2.namespace;
  96918. if (t3 == null) {
  96919. t1._environment0$_globalModules.$indexSet(0, module, t2);
  96920. t1._environment0$_allModules.push(module);
  96921. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  96922. if (_0_0 != null)
  96923. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  96924. } else {
  96925. t4 = t1._environment0$_modules;
  96926. if (t4.containsKey$1(t3)) {
  96927. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  96928. span = t5 == null ? null : t5.span;
  96929. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  96930. if (span != null)
  96931. t5.$indexSet(0, span, "original @use");
  96932. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  96933. }
  96934. t4.$indexSet(0, t3, module);
  96935. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  96936. t1._environment0$_allModules.push(module);
  96937. }
  96938. },
  96939. $signature: 102
  96940. };
  96941. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  96942. call$0() {
  96943. return this.node.expression.accept$1(this.$this);
  96944. },
  96945. $signature: 47
  96946. };
  96947. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  96948. call$0() {
  96949. var t1, t2, t3, _0_0;
  96950. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  96951. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  96952. if (_0_0 != null)
  96953. return _0_0;
  96954. }
  96955. return null;
  96956. },
  96957. $signature: 42
  96958. };
  96959. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  96960. call$1(child) {
  96961. return child.accept$1(this.$this);
  96962. },
  96963. $signature: 103
  96964. };
  96965. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  96966. call$0() {
  96967. var t1 = this.node,
  96968. t2 = this.$this,
  96969. left = t1.left.accept$1(t2);
  96970. switch (t1.operator) {
  96971. case B.BinaryOperator_2jN0:
  96972. t1 = t1.right.accept$1(t2);
  96973. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  96974. break;
  96975. case B.BinaryOperator_M6L0:
  96976. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  96977. break;
  96978. case B.BinaryOperator_SNp0:
  96979. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  96980. break;
  96981. case B.BinaryOperator_ql50:
  96982. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96983. break;
  96984. case B.BinaryOperator_ViB0:
  96985. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96986. break;
  96987. case B.BinaryOperator_cIH0:
  96988. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  96989. break;
  96990. case B.BinaryOperator_7Tg0:
  96991. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  96992. break;
  96993. case B.BinaryOperator_U8c0:
  96994. t1 = left.lessThan$1(t1.right.accept$1(t2));
  96995. break;
  96996. case B.BinaryOperator_kpg0:
  96997. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  96998. break;
  96999. case B.BinaryOperator_anB0:
  97000. t1 = left.plus$1(t1.right.accept$1(t2));
  97001. break;
  97002. case B.BinaryOperator_olz0:
  97003. t1 = left.minus$1(t1.right.accept$1(t2));
  97004. break;
  97005. case B.BinaryOperator_qN20:
  97006. t1 = left.times$1(t1.right.accept$1(t2));
  97007. break;
  97008. case B.BinaryOperator_t8B0:
  97009. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  97010. break;
  97011. case B.BinaryOperator_OTG0:
  97012. t1 = left.modulo$1(t1.right.accept$1(t2));
  97013. break;
  97014. default:
  97015. t1 = null;
  97016. }
  97017. return t1;
  97018. },
  97019. $signature: 47
  97020. };
  97021. A._EvaluateVisitor__slash_recommendation1.prototype = {
  97022. call$1(expression) {
  97023. var t1;
  97024. $label0$0: {
  97025. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_t8B0 === expression.operator) {
  97026. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  97027. break $label0$0;
  97028. }
  97029. if (expression instanceof A.ParenthesizedExpression0) {
  97030. t1 = expression.expression.toString$0(0);
  97031. break $label0$0;
  97032. }
  97033. t1 = expression.toString$0(0);
  97034. break $label0$0;
  97035. }
  97036. return t1;
  97037. },
  97038. $signature: 131
  97039. };
  97040. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  97041. call$0() {
  97042. var t1 = this.node;
  97043. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97044. },
  97045. $signature: 42
  97046. };
  97047. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  97048. call$0() {
  97049. var t1, _this = this;
  97050. switch (_this.node.operator) {
  97051. case B.UnaryOperator_gg40:
  97052. t1 = _this.operand.unaryPlus$0();
  97053. break;
  97054. case B.UnaryOperator_TLI0:
  97055. t1 = _this.operand.unaryMinus$0();
  97056. break;
  97057. case B.UnaryOperator_Ix10:
  97058. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  97059. break;
  97060. case B.UnaryOperator_not_not_not0:
  97061. t1 = _this.operand.unaryNot$0();
  97062. break;
  97063. default:
  97064. t1 = null;
  97065. }
  97066. return t1;
  97067. },
  97068. $signature: 47
  97069. };
  97070. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  97071. call$1(expression) {
  97072. return expression.accept$1(this.$this);
  97073. },
  97074. $signature: 432
  97075. };
  97076. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  97077. call$0() {
  97078. var t1 = this.$this._evaluate0$_environment,
  97079. t2 = this.node;
  97080. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  97081. },
  97082. $signature: 100
  97083. };
  97084. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  97085. call$1(argument) {
  97086. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  97087. },
  97088. $signature: 133
  97089. };
  97090. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  97091. call$0() {
  97092. var t1 = this.node;
  97093. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  97094. },
  97095. $signature: 47
  97096. };
  97097. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  97098. call$1(maxArgs) {
  97099. var t1 = this.node,
  97100. t2 = t1.$arguments.positional.length;
  97101. if (t2 === 0)
  97102. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  97103. else if (maxArgs != null && t2 > maxArgs)
  97104. 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));
  97105. },
  97106. call$0() {
  97107. return this.call$1(null);
  97108. },
  97109. $signature: 99
  97110. };
  97111. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  97112. call$0() {
  97113. var _this = this,
  97114. t1 = _this.$this,
  97115. t2 = _this._box_0,
  97116. t3 = _this.inLegacySassFunction;
  97117. 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);
  97118. },
  97119. $signature: 82
  97120. };
  97121. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  97122. call$0() {
  97123. var t1 = this.node;
  97124. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  97125. },
  97126. $signature: 47
  97127. };
  97128. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  97129. call$0() {
  97130. var _this = this,
  97131. t1 = _this.$this,
  97132. t2 = _this.callable;
  97133. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  97134. },
  97135. $signature() {
  97136. return this.V._eval$1("0()");
  97137. }
  97138. };
  97139. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  97140. call$0() {
  97141. var _this = this,
  97142. t1 = _this.$this,
  97143. t2 = _this.V;
  97144. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  97145. },
  97146. $signature() {
  97147. return this.V._eval$1("0()");
  97148. }
  97149. };
  97150. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  97151. call$0() {
  97152. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  97153. t1 = _this.$this,
  97154. t2 = _this.evaluated._values,
  97155. t3 = _this.callable.declaration.$arguments,
  97156. t4 = _this.nodeWithSpan;
  97157. t1._evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  97158. declaredArguments = t3.$arguments;
  97159. t5 = declaredArguments.length;
  97160. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  97161. for (i = 0; i < minLength; ++i)
  97162. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  97163. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  97164. argument = declaredArguments[i];
  97165. t6 = t2[0];
  97166. t7 = argument.name;
  97167. value = J.remove$1$z(t6, t7);
  97168. if (value == null) {
  97169. t6 = argument.defaultValue;
  97170. value = t1._evaluate0$_withoutSlash$2(t6.accept$1(t1), t1._evaluate0$_expressionNode$1(t6));
  97171. }
  97172. t6 = t1._evaluate0$_environment;
  97173. t8 = J.$index$asx(t2[1], t7);
  97174. if (t8 == null) {
  97175. t8 = argument.defaultValue;
  97176. t8.toString;
  97177. t8 = t1._evaluate0$_expressionNode$1(t8);
  97178. }
  97179. t6.setLocalVariable$3(t7, value, t8);
  97180. }
  97181. restArgument = t3.restArgument;
  97182. if (restArgument != null) {
  97183. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  97184. t5 = t2[0];
  97185. t6 = t2[4];
  97186. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t6);
  97187. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  97188. } else
  97189. argumentList = null;
  97190. result = _this.run.call$0();
  97191. if (argumentList == null)
  97192. return result;
  97193. t5 = t2[0].__js_helper$_length;
  97194. if (t5 === 0)
  97195. return result;
  97196. if (argumentList._argument_list$_wereKeywordsAccessed)
  97197. return result;
  97198. argumentWord = A.pluralize0("argument", t5, null);
  97199. t2 = t2[0];
  97200. t5 = A.instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  97201. 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));
  97202. },
  97203. $signature() {
  97204. return this.V._eval$1("0()");
  97205. }
  97206. };
  97207. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  97208. call$1($name) {
  97209. return "$" + $name;
  97210. },
  97211. $signature: 5
  97212. };
  97213. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  97214. call$0() {
  97215. var t1, t2, t3, t4, _i, $returnValue;
  97216. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  97217. $returnValue = t2[_i].accept$1(t4);
  97218. if ($returnValue instanceof A.Value0)
  97219. return $returnValue;
  97220. }
  97221. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  97222. },
  97223. $signature: 47
  97224. };
  97225. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  97226. call$0() {
  97227. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  97228. },
  97229. $signature: 0
  97230. };
  97231. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  97232. call$0() {
  97233. return this._box_0.callback.call$1(this.evaluated._values[2]);
  97234. },
  97235. $signature: 47
  97236. };
  97237. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  97238. call$1($name) {
  97239. return "$" + $name;
  97240. },
  97241. $signature: 5
  97242. };
  97243. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  97244. call$1(value) {
  97245. return value;
  97246. },
  97247. $signature: 41
  97248. };
  97249. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  97250. call$1(value) {
  97251. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  97252. },
  97253. $signature: 41
  97254. };
  97255. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  97256. call$2(key, value) {
  97257. var _this = this,
  97258. t1 = _this.restNodeForSpan;
  97259. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  97260. _this.namedNodes.$indexSet(0, key, t1);
  97261. },
  97262. $signature: 86
  97263. };
  97264. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  97265. call$1(value) {
  97266. return value;
  97267. },
  97268. $signature: 41
  97269. };
  97270. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  97271. call$1(value) {
  97272. var t1 = this.restArgs;
  97273. return new A.ValueExpression0(value, t1.get$span(t1));
  97274. },
  97275. $signature: 60
  97276. };
  97277. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  97278. call$1(value) {
  97279. var t1 = this.restArgs;
  97280. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  97281. },
  97282. $signature: 60
  97283. };
  97284. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  97285. call$2(key, value) {
  97286. var _this = this,
  97287. t1 = _this.restArgs;
  97288. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  97289. },
  97290. $signature: 86
  97291. };
  97292. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  97293. call$1(value) {
  97294. var t1 = this.keywordRestArgs;
  97295. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  97296. },
  97297. $signature: 60
  97298. };
  97299. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  97300. call$2(key, value) {
  97301. var t2, _this = this,
  97302. t1 = _this.$this;
  97303. if (key instanceof A.SassString0)
  97304. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  97305. else {
  97306. t2 = _this.nodeWithSpan;
  97307. 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)));
  97308. }
  97309. },
  97310. $signature: 80
  97311. };
  97312. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  97313. call$0() {
  97314. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  97315. },
  97316. $signature: 0
  97317. };
  97318. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  97319. call$0() {
  97320. var t1, t2, t3, t4;
  97321. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97322. t4 = t1.__internal$_current;
  97323. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  97324. }
  97325. },
  97326. $signature: 1
  97327. };
  97328. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  97329. call$1(node) {
  97330. return node instanceof A.ModifiableCssStyleRule0;
  97331. },
  97332. $signature: 8
  97333. };
  97334. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  97335. call$0() {
  97336. var t1, t2, t3, t4;
  97337. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97338. t4 = t1.__internal$_current;
  97339. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  97340. }
  97341. },
  97342. $signature: 1
  97343. };
  97344. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  97345. call$1(node) {
  97346. return node instanceof A.ModifiableCssStyleRule0;
  97347. },
  97348. $signature: 8
  97349. };
  97350. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  97351. call$1(mediaQueries) {
  97352. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  97353. },
  97354. $signature: 93
  97355. };
  97356. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  97357. call$0() {
  97358. var _this = this,
  97359. t1 = _this.$this,
  97360. t2 = _this.mergedQueries;
  97361. if (t2 == null)
  97362. t2 = _this.node.queries;
  97363. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  97364. },
  97365. $signature: 1
  97366. };
  97367. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  97368. call$0() {
  97369. var t2, t3, t4,
  97370. t1 = this.$this,
  97371. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97372. if (_0_0 != null)
  97373. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  97374. else
  97375. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  97376. t4 = t2.__internal$_current;
  97377. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  97378. }
  97379. },
  97380. $signature: 1
  97381. };
  97382. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  97383. call$0() {
  97384. var t1, t2, t3, t4;
  97385. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97386. t4 = t1.__internal$_current;
  97387. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  97388. }
  97389. },
  97390. $signature: 1
  97391. };
  97392. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  97393. call$1(node) {
  97394. var t1;
  97395. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  97396. t1 = this.mergedSources;
  97397. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  97398. } else
  97399. t1 = true;
  97400. return t1;
  97401. },
  97402. $signature: 8
  97403. };
  97404. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  97405. call$0() {
  97406. var t1 = this.$this;
  97407. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  97408. },
  97409. $signature: 1
  97410. };
  97411. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  97412. call$0() {
  97413. var t1, t2, t3, t4;
  97414. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97415. t4 = t1.__internal$_current;
  97416. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  97417. }
  97418. },
  97419. $signature: 1
  97420. };
  97421. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  97422. call$1(node) {
  97423. return node instanceof A.ModifiableCssStyleRule0;
  97424. },
  97425. $signature: 8
  97426. };
  97427. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  97428. call$0() {
  97429. var t2, t3, t4,
  97430. t1 = this.$this,
  97431. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97432. if (_0_0 != null)
  97433. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  97434. else
  97435. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  97436. t4 = t2.__internal$_current;
  97437. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  97438. }
  97439. },
  97440. $signature: 1
  97441. };
  97442. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  97443. call$0() {
  97444. var t1, t2, t3, t4;
  97445. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97446. t4 = t1.__internal$_current;
  97447. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  97448. }
  97449. },
  97450. $signature: 1
  97451. };
  97452. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  97453. call$1(node) {
  97454. return node instanceof A.ModifiableCssStyleRule0;
  97455. },
  97456. $signature: 8
  97457. };
  97458. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  97459. call$1(targetLocations) {
  97460. return A.InterpolationMap$0(this.interpolation, targetLocations);
  97461. },
  97462. $signature: 170
  97463. };
  97464. A._EvaluateVisitor__serialize_closure1.prototype = {
  97465. call$0() {
  97466. return A.serializeValue0(this.value, false, this.quote);
  97467. },
  97468. $signature: 27
  97469. };
  97470. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  97471. call$0() {
  97472. var t1 = this.expression;
  97473. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  97474. },
  97475. $signature: 169
  97476. };
  97477. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  97478. call$1(number) {
  97479. var t1, before, after,
  97480. _1_0 = number.asSlash;
  97481. $label0$0: {
  97482. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  97483. t1 = type$.SassNumber_2;
  97484. before = t1._as(_1_0._0);
  97485. after = t1._as(_1_0._1);
  97486. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  97487. break $label0$0;
  97488. }
  97489. t1 = A.serializeValue0(number, true, true);
  97490. break $label0$0;
  97491. }
  97492. return t1;
  97493. },
  97494. $signature: 151
  97495. };
  97496. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  97497. call$1(url) {
  97498. var t1 = this.$this._evaluate0$_importCache;
  97499. t1 = t1 == null ? null : t1.humanize$1(url);
  97500. return t1 == null ? url : t1;
  97501. },
  97502. $signature: 44
  97503. };
  97504. A._ImportedCssVisitor1.prototype = {
  97505. visitCssAtRule$1(node) {
  97506. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  97507. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  97508. },
  97509. visitCssComment$1(node) {
  97510. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  97511. },
  97512. visitCssDeclaration$1(node) {
  97513. },
  97514. visitCssImport$1(node) {
  97515. var t2,
  97516. _s13_ = "_endOfImports",
  97517. t1 = this._evaluate0$_visitor;
  97518. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  97519. t1._evaluate0$_addChild$1(node);
  97520. 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)) {
  97521. t1._evaluate0$_addChild$1(node);
  97522. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  97523. } else {
  97524. t2 = t1._evaluate0$_outOfOrderImports;
  97525. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  97526. }
  97527. },
  97528. visitCssKeyframeBlock$1(node) {
  97529. },
  97530. visitCssMediaRule$1(node) {
  97531. var t1 = this._evaluate0$_visitor,
  97532. mediaQueries = t1._evaluate0$_mediaQueries;
  97533. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  97534. },
  97535. visitCssStyleRule$1(node) {
  97536. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  97537. },
  97538. visitCssStylesheet$1(node) {
  97539. var t1, t2, t3;
  97540. for (t1 = node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  97541. t3 = t1.__internal$_current;
  97542. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  97543. }
  97544. },
  97545. visitCssSupportsRule$1(node) {
  97546. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  97547. }
  97548. };
  97549. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  97550. call$1(node) {
  97551. return node instanceof A.ModifiableCssStyleRule0;
  97552. },
  97553. $signature: 8
  97554. };
  97555. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  97556. call$1(node) {
  97557. var t1;
  97558. if (!(node instanceof A.ModifiableCssStyleRule0))
  97559. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  97560. else
  97561. t1 = true;
  97562. return t1;
  97563. },
  97564. $signature: 8
  97565. };
  97566. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  97567. call$1(node) {
  97568. return node instanceof A.ModifiableCssStyleRule0;
  97569. },
  97570. $signature: 8
  97571. };
  97572. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  97573. call$1(node) {
  97574. return node instanceof A.ModifiableCssStyleRule0;
  97575. },
  97576. $signature: 8
  97577. };
  97578. A._EvaluationContext1.prototype = {
  97579. get$currentCallableSpan() {
  97580. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  97581. if (_0_0 != null)
  97582. return _0_0.get$span(_0_0);
  97583. throw A.wrapException(A.StateError$(string$.No_Sasc));
  97584. },
  97585. warn$2(_, message, deprecation) {
  97586. var t1 = this._evaluate0$_visitor,
  97587. t2 = t1._evaluate0$_importSpan;
  97588. if (t2 == null) {
  97589. t2 = t1._evaluate0$_callableNode;
  97590. t2 = t2 == null ? null : t2.get$span(t2);
  97591. }
  97592. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  97593. },
  97594. $isEvaluationContext0: 1
  97595. };
  97596. A.EveryCssVisitor0.prototype = {
  97597. visitCssAtRule$1(node) {
  97598. var t1 = node.children;
  97599. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  97600. },
  97601. visitCssComment$1(node) {
  97602. return false;
  97603. },
  97604. visitCssDeclaration$1(node) {
  97605. return false;
  97606. },
  97607. visitCssImport$1(node) {
  97608. return false;
  97609. },
  97610. visitCssKeyframeBlock$1(node) {
  97611. var t1 = node.children;
  97612. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  97613. },
  97614. visitCssMediaRule$1(node) {
  97615. var t1 = node.children;
  97616. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  97617. },
  97618. visitCssStyleRule$1(node) {
  97619. var t1 = node.children;
  97620. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  97621. },
  97622. visitCssStylesheet$1(node) {
  97623. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  97624. },
  97625. visitCssSupportsRule$1(node) {
  97626. var t1 = node.children;
  97627. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  97628. }
  97629. };
  97630. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  97631. call$1(child) {
  97632. return child.accept$1(this.$this);
  97633. },
  97634. $signature: 8
  97635. };
  97636. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  97637. call$1(child) {
  97638. return child.accept$1(this.$this);
  97639. },
  97640. $signature: 8
  97641. };
  97642. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  97643. call$1(child) {
  97644. return child.accept$1(this.$this);
  97645. },
  97646. $signature: 8
  97647. };
  97648. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  97649. call$1(child) {
  97650. return child.accept$1(this.$this);
  97651. },
  97652. $signature: 8
  97653. };
  97654. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  97655. call$1(child) {
  97656. return child.accept$1(this.$this);
  97657. },
  97658. $signature: 8
  97659. };
  97660. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  97661. call$1(child) {
  97662. return child.accept$1(this.$this);
  97663. },
  97664. $signature: 8
  97665. };
  97666. A._NodeException.prototype = {};
  97667. A.exceptionClass_closure.prototype = {
  97668. call$0() {
  97669. 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());
  97670. A.defineGetter(jsClass, "name", null, "sass.Exception");
  97671. 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));
  97672. return jsClass;
  97673. },
  97674. $signature: 13
  97675. };
  97676. A.exceptionClass__closure.prototype = {
  97677. call$1(exception) {
  97678. return J.get$_dartException$x(exception)._span_exception$_message;
  97679. },
  97680. $signature: 238
  97681. };
  97682. A.exceptionClass__closure0.prototype = {
  97683. call$1(exception) {
  97684. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  97685. },
  97686. $signature: 238
  97687. };
  97688. A.exceptionClass__closure1.prototype = {
  97689. call$1(exception) {
  97690. var t1 = J.get$_dartException$x(exception),
  97691. t2 = J.getInterceptor$z(t1);
  97692. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  97693. },
  97694. $signature: 434
  97695. };
  97696. A.SassException0.prototype = {
  97697. get$trace(_) {
  97698. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  97699. },
  97700. get$span(_) {
  97701. return A.SourceSpanException.prototype.get$span.call(this, 0);
  97702. },
  97703. withAdditionalSpan$2(span, label) {
  97704. return A.MultiSpanSassException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  97705. },
  97706. withTrace$1(trace) {
  97707. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  97708. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  97709. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  97710. },
  97711. withLoadedUrls$1(loadedUrls) {
  97712. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  97713. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  97714. return new A.SassException0(t2, this._span_exception$_message, t1);
  97715. },
  97716. toString$1$color(_, color) {
  97717. var t2, _i, frame, t3, _this = this,
  97718. buffer = new A.StringBuffer(""),
  97719. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  97720. buffer._contents = t1;
  97721. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  97722. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  97723. frame = t1[_i];
  97724. if (J.get$length$asx(frame) === 0)
  97725. continue;
  97726. t3 = buffer._contents += "\n";
  97727. buffer._contents = t3 + (" " + A.S(frame));
  97728. }
  97729. t1 = buffer._contents;
  97730. return t1.charCodeAt(0) == 0 ? t1 : t1;
  97731. },
  97732. toString$0(_) {
  97733. return this.toString$1$color(0, null);
  97734. }
  97735. };
  97736. A.MultiSpanSassException0.prototype = {
  97737. withAdditionalSpan$2(span, label) {
  97738. var _this = this,
  97739. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  97740. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  97741. t2.$indexSet(0, span, label);
  97742. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  97743. },
  97744. withTrace$1(trace) {
  97745. var _this = this;
  97746. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  97747. },
  97748. withLoadedUrls$1(loadedUrls) {
  97749. var _this = this;
  97750. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  97751. },
  97752. toString$1$color(_, color) {
  97753. var t1, t2, _i, frame, _this = this,
  97754. useColor = color === true && true,
  97755. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  97756. A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, useColor, null, null).highlight$0(), buffer.get$write(buffer));
  97757. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  97758. frame = t1[_i];
  97759. if (J.get$length$asx(frame) === 0)
  97760. continue;
  97761. buffer._contents += "\n";
  97762. buffer._contents += " " + A.S(frame);
  97763. }
  97764. t1 = buffer._contents;
  97765. return t1.charCodeAt(0) == 0 ? t1 : t1;
  97766. },
  97767. toString$0(_) {
  97768. return this.toString$1$color(0, null);
  97769. },
  97770. get$primaryLabel() {
  97771. return this.primaryLabel;
  97772. },
  97773. get$secondarySpans() {
  97774. return this.secondarySpans;
  97775. }
  97776. };
  97777. A.SassRuntimeException0.prototype = {
  97778. withAdditionalSpan$2(span, label) {
  97779. var _this = this;
  97780. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  97781. },
  97782. withLoadedUrls$1(loadedUrls) {
  97783. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  97784. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  97785. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  97786. },
  97787. get$trace(receiver) {
  97788. return this.trace;
  97789. }
  97790. };
  97791. A.MultiSpanSassRuntimeException0.prototype = {
  97792. withAdditionalSpan$2(span, label) {
  97793. var _this = this,
  97794. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  97795. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  97796. t2.$indexSet(0, span, label);
  97797. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  97798. },
  97799. withLoadedUrls$1(loadedUrls) {
  97800. var _this = this;
  97801. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  97802. },
  97803. $isSassRuntimeException0: 1,
  97804. get$trace(receiver) {
  97805. return this.trace;
  97806. }
  97807. };
  97808. A.SassFormatException0.prototype = {
  97809. get$source() {
  97810. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  97811. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  97812. },
  97813. withAdditionalSpan$2(span, label) {
  97814. return A.MultiSpanSassFormatException$0(this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(this, 0), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), this.loadedUrls);
  97815. },
  97816. withLoadedUrls$1(loadedUrls) {
  97817. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  97818. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  97819. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  97820. },
  97821. $isFormatException: 1,
  97822. $isSourceSpanFormatException: 1
  97823. };
  97824. A.MultiSpanSassFormatException0.prototype = {
  97825. get$source() {
  97826. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  97827. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  97828. },
  97829. withAdditionalSpan$2(span, label) {
  97830. var _this = this,
  97831. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  97832. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  97833. t2.$indexSet(0, span, label);
  97834. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  97835. },
  97836. withLoadedUrls$1(loadedUrls) {
  97837. var _this = this;
  97838. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  97839. },
  97840. $isFormatException: 1,
  97841. $isSourceSpanFormatException: 1,
  97842. $isMultiSourceSpanFormatException: 1,
  97843. $isSassFormatException0: 1
  97844. };
  97845. A.SassScriptException0.prototype = {
  97846. withSpan$1(span) {
  97847. return new A.SassException0(B.Set_empty, this.message, span);
  97848. },
  97849. toString$0(_) {
  97850. return this.message + string$.x0a_BUG_;
  97851. },
  97852. get$message(receiver) {
  97853. return this.message;
  97854. }
  97855. };
  97856. A.MultiSpanSassScriptException0.prototype = {
  97857. withSpan$1(span) {
  97858. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  97859. }
  97860. };
  97861. A.Exports.prototype = {};
  97862. A.LoggerNamespace.prototype = {};
  97863. A._IsCalculationSafeVisitor0.prototype = {
  97864. visitBinaryOperationExpression$1(node) {
  97865. var t1;
  97866. if (B.Set_FIwG40.contains$1(0, node.operator))
  97867. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  97868. else
  97869. t1 = false;
  97870. return t1;
  97871. },
  97872. visitBooleanExpression$1(node) {
  97873. return false;
  97874. },
  97875. visitColorExpression$1(node) {
  97876. return false;
  97877. },
  97878. visitFunctionExpression$1(node) {
  97879. return true;
  97880. },
  97881. visitInterpolatedFunctionExpression$1(node) {
  97882. return true;
  97883. },
  97884. visitIfExpression$1(node) {
  97885. return true;
  97886. },
  97887. visitListExpression$1(node) {
  97888. var t1;
  97889. if (node.separator === B.ListSeparator_EVt0)
  97890. if (!node.hasBrackets) {
  97891. t1 = node.contents;
  97892. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure0(this));
  97893. } else
  97894. t1 = false;
  97895. else
  97896. t1 = false;
  97897. return t1;
  97898. },
  97899. visitMapExpression$1(node) {
  97900. return false;
  97901. },
  97902. visitNullExpression$1(node) {
  97903. return false;
  97904. },
  97905. visitNumberExpression$1(node) {
  97906. return true;
  97907. },
  97908. visitParenthesizedExpression$1(node) {
  97909. return node.expression.accept$1(this);
  97910. },
  97911. visitSelectorExpression$1(node) {
  97912. return false;
  97913. },
  97914. visitStringExpression$1(node) {
  97915. var text, t1, t2;
  97916. if (node.hasQuotes)
  97917. return false;
  97918. text = node.text.get$initialPlain();
  97919. if (!B.JSString_methods.startsWith$1(text, "!"))
  97920. if (!B.JSString_methods.startsWith$1(text, "#")) {
  97921. t1 = text.length;
  97922. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  97923. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  97924. t1 = t2;
  97925. } else
  97926. t1 = false;
  97927. } else
  97928. t1 = false;
  97929. else
  97930. t1 = false;
  97931. return t1;
  97932. },
  97933. visitSupportsExpression$1(node) {
  97934. return false;
  97935. },
  97936. visitUnaryOperationExpression$1(node) {
  97937. return false;
  97938. },
  97939. visitValueExpression$1(node) {
  97940. return false;
  97941. },
  97942. visitVariableExpression$1(node) {
  97943. return true;
  97944. }
  97945. };
  97946. A._IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  97947. call$1(expression) {
  97948. return expression.accept$1(this.$this);
  97949. },
  97950. $signature: 133
  97951. };
  97952. A._MakeExpressionCalculationSafe0.prototype = {
  97953. visitBinaryOperationExpression$1(node) {
  97954. var t1, t2, t3;
  97955. if (node.operator === B.BinaryOperator_OTG0) {
  97956. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  97957. t2 = node.get$span(0);
  97958. t3 = type$.Expression_2;
  97959. 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(0));
  97960. t1 = t2;
  97961. } else
  97962. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(node);
  97963. return t1;
  97964. },
  97965. visitInterpolatedFunctionExpression$1(node) {
  97966. return node;
  97967. },
  97968. visitUnaryOperationExpression$1(node) {
  97969. var t1,
  97970. _0_0 = node.operator;
  97971. $label0$0: {
  97972. if (B.UnaryOperator_gg40 === _0_0) {
  97973. t1 = node.operand;
  97974. break $label0$0;
  97975. }
  97976. if (B.UnaryOperator_TLI0 === _0_0) {
  97977. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_qN20, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  97978. break $label0$0;
  97979. }
  97980. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(node);
  97981. break $label0$0;
  97982. }
  97983. return t1;
  97984. }
  97985. };
  97986. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  97987. A.ExtendRule0.prototype = {
  97988. accept$1$1(visitor) {
  97989. return visitor.visitExtendRule$1(this);
  97990. },
  97991. accept$1(visitor) {
  97992. return this.accept$1$1(visitor, type$.dynamic);
  97993. },
  97994. toString$0(_) {
  97995. var t1 = this.selector.toString$0(0),
  97996. t2 = this.isOptional ? " !optional" : "";
  97997. return "@extend " + t1 + t2 + ";";
  97998. },
  97999. $isAstNode0: 1,
  98000. $isStatement0: 1,
  98001. get$span(receiver) {
  98002. return this.span;
  98003. }
  98004. };
  98005. A.Extension0.prototype = {
  98006. toString$0(_) {
  98007. var t1 = this.extender.toString$0(0),
  98008. t2 = this.target.toString$0(0),
  98009. t3 = this.isOptional ? " !optional" : "";
  98010. return t1 + " {@extend " + t2 + t3 + "}";
  98011. }
  98012. };
  98013. A.Extender0.prototype = {
  98014. assertCompatibleMediaContext$1(mediaContext) {
  98015. var expectedMediaContext,
  98016. extension = this._extension$_extension;
  98017. if (extension == null)
  98018. return;
  98019. expectedMediaContext = extension.mediaContext;
  98020. if (expectedMediaContext == null)
  98021. return;
  98022. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  98023. return;
  98024. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  98025. },
  98026. toString$0(_) {
  98027. return A.serializeSelector0(this.selector, true);
  98028. }
  98029. };
  98030. A.ExtensionStore0.prototype = {
  98031. get$isEmpty(_) {
  98032. return this._extension_store$_extensions.__js_helper$_length === 0;
  98033. },
  98034. get$simpleSelectors() {
  98035. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  98036. },
  98037. extensionsWhereTarget$1(callback) {
  98038. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  98039. },
  98040. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  98041. var $async$self = this;
  98042. return function() {
  98043. var callback = $async$callback;
  98044. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  98045. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  98046. if ($async$errorCode === 1) {
  98047. $async$currentError = $async$result;
  98048. $async$goto = $async$handler;
  98049. }
  98050. while (true)
  98051. switch ($async$goto) {
  98052. case 0:
  98053. // Function start
  98054. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  98055. case 2:
  98056. // for condition
  98057. if (!t1.moveNext$0()) {
  98058. // goto after for
  98059. $async$goto = 3;
  98060. break;
  98061. }
  98062. t2 = t1.get$current(t1);
  98063. simple = t2._0;
  98064. sources = t2._1;
  98065. if (!callback.call$1(simple)) {
  98066. // goto for condition
  98067. $async$goto = 2;
  98068. break;
  98069. }
  98070. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  98071. case 4:
  98072. // for condition
  98073. if (!t2.moveNext$0()) {
  98074. // goto after for
  98075. $async$goto = 5;
  98076. break;
  98077. }
  98078. t3 = t2.get$current(t2);
  98079. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  98080. break;
  98081. case 6:
  98082. // then
  98083. t3 = t3.unmerge$0();
  98084. $async$goto = 9;
  98085. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  98086. case 9:
  98087. // after yield
  98088. // goto join
  98089. $async$goto = 7;
  98090. break;
  98091. case 8:
  98092. // else
  98093. $async$goto = !t3.isOptional ? 10 : 11;
  98094. break;
  98095. case 10:
  98096. // then
  98097. $async$goto = 12;
  98098. return $async$iterator._async$_current = t3, 1;
  98099. case 12:
  98100. // after yield
  98101. case 11:
  98102. // join
  98103. case 7:
  98104. // join
  98105. // goto for condition
  98106. $async$goto = 4;
  98107. break;
  98108. case 5:
  98109. // after for
  98110. // goto for condition
  98111. $async$goto = 2;
  98112. break;
  98113. case 3:
  98114. // after for
  98115. // implicit return
  98116. return 0;
  98117. case 1:
  98118. // rethrow
  98119. return $async$iterator._datum = $async$currentError, 3;
  98120. }
  98121. };
  98122. };
  98123. },
  98124. addSelector$2(selector, mediaContext) {
  98125. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  98126. selector = selector;
  98127. originalSelector = selector;
  98128. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  98129. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  98130. t1 = _this._extension_store$_extensions;
  98131. if (t1.__js_helper$_length !== 0)
  98132. try {
  98133. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  98134. } catch (exception) {
  98135. t1 = A.unwrapException(exception);
  98136. if (t1 instanceof A.SassException0) {
  98137. error = t1;
  98138. stackTrace = A.getTraceFromException(exception);
  98139. t1 = error;
  98140. t2 = J.getInterceptor$z(t1);
  98141. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  98142. t2 = error._span_exception$_message;
  98143. t3 = error;
  98144. t4 = J.getInterceptor$z(t3);
  98145. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  98146. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  98147. } else
  98148. throw exception;
  98149. }
  98150. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  98151. if (mediaContext != null)
  98152. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  98153. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  98154. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  98155. },
  98156. _extension_store$_registerSelector$2(list, selector) {
  98157. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2, t9, _0_2_isSet, selectorInPseudo;
  98158. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  98159. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  98160. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  98161. simple = t7[_i1];
  98162. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  98163. if (simple instanceof A.PseudoSelector0) {
  98164. _0_2 = simple.selector;
  98165. t9 = _0_2 != null;
  98166. _0_2_isSet = true;
  98167. } else {
  98168. _0_2 = null;
  98169. _0_2_isSet = false;
  98170. t9 = false;
  98171. }
  98172. if (t9) {
  98173. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  98174. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  98175. }
  98176. }
  98177. },
  98178. addExtension$4(extender, target, extend, mediaContext) {
  98179. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  98180. selectors = _this._extension_store$_selectors.$index(0, target),
  98181. t1 = _this._extension_store$_extensionsByExtender,
  98182. existingExtensions = t1.$index(0, target),
  98183. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  98184. 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) {
  98185. complex = t2[_i];
  98186. if (complex.accept$1(B.C__IsUselessVisitor0))
  98187. continue;
  98188. complex.get$specificity();
  98189. t11 = new A.Extender0(complex, false);
  98190. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  98191. _0_0 = sources.$index(0, complex);
  98192. if (_0_0 != null) {
  98193. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  98194. continue;
  98195. }
  98196. sources.$indexSet(0, complex, extension);
  98197. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  98198. t12 = t11._async$_current;
  98199. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  98200. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  98201. }
  98202. if (!t4 || t8) {
  98203. if (newExtensions == null)
  98204. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  98205. newExtensions.$indexSet(0, complex, extension);
  98206. }
  98207. }
  98208. if (newExtensions == null)
  98209. return;
  98210. t1 = type$.SimpleSelector_2;
  98211. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  98212. if (t8) {
  98213. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  98214. if (additionalExtensions != null)
  98215. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  98216. }
  98217. if (!t4)
  98218. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  98219. },
  98220. _extension_store$_simpleSelectors$1(complex) {
  98221. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  98222. },
  98223. _simpleSelectors$body$ExtensionStore0($async$complex) {
  98224. var $async$self = this;
  98225. return function() {
  98226. var complex = $async$complex;
  98227. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2, t6, _0_2_isSet, selector, t7, _i1;
  98228. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  98229. if ($async$errorCode === 1) {
  98230. $async$currentError = $async$result;
  98231. $async$goto = $async$handler;
  98232. }
  98233. while (true)
  98234. switch ($async$goto) {
  98235. case 0:
  98236. // Function start
  98237. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  98238. case 2:
  98239. // for condition
  98240. if (!(_i < t2)) {
  98241. // goto after for
  98242. $async$goto = 4;
  98243. break;
  98244. }
  98245. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  98246. case 5:
  98247. // for condition
  98248. if (!(_i0 < t5)) {
  98249. // goto after for
  98250. $async$goto = 7;
  98251. break;
  98252. }
  98253. simple = t4[_i0];
  98254. $async$goto = 8;
  98255. return $async$iterator._async$_current = simple, 1;
  98256. case 8:
  98257. // after yield
  98258. if (simple instanceof A.PseudoSelector0) {
  98259. _0_2 = simple.selector;
  98260. t6 = _0_2 != null;
  98261. _0_2_isSet = true;
  98262. } else {
  98263. _0_2 = null;
  98264. _0_2_isSet = false;
  98265. t6 = false;
  98266. }
  98267. $async$goto = t6 ? 9 : 10;
  98268. break;
  98269. case 9:
  98270. // then
  98271. selector = _0_2_isSet ? _0_2 : simple.selector;
  98272. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  98273. case 11:
  98274. // for condition
  98275. if (!(_i1 < t7)) {
  98276. // goto after for
  98277. $async$goto = 13;
  98278. break;
  98279. }
  98280. $async$goto = 14;
  98281. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  98282. case 14:
  98283. // after yield
  98284. case 12:
  98285. // for update
  98286. ++_i1;
  98287. // goto for condition
  98288. $async$goto = 11;
  98289. break;
  98290. case 13:
  98291. // after for
  98292. case 10:
  98293. // join
  98294. case 6:
  98295. // for update
  98296. ++_i0;
  98297. // goto for condition
  98298. $async$goto = 5;
  98299. break;
  98300. case 7:
  98301. // after for
  98302. case 3:
  98303. // for update
  98304. ++_i;
  98305. // goto for condition
  98306. $async$goto = 2;
  98307. break;
  98308. case 4:
  98309. // after for
  98310. // implicit return
  98311. return 0;
  98312. case 1:
  98313. // rethrow
  98314. return $async$iterator._datum = $async$currentError, 3;
  98315. }
  98316. };
  98317. };
  98318. },
  98319. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  98320. 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, _i0, _i1;
  98321. 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) {
  98322. extension = t1[_i];
  98323. t7 = t6.$index(0, extension.target);
  98324. t7.toString;
  98325. selectors = null;
  98326. try {
  98327. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  98328. if (selectors == null)
  98329. continue;
  98330. } catch (exception) {
  98331. t8 = A.unwrapException(exception);
  98332. if (t8 instanceof A.SassException0) {
  98333. error = t8;
  98334. stackTrace = A.getTraceFromException(exception);
  98335. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  98336. } else
  98337. throw exception;
  98338. }
  98339. t8 = J.get$first$ax(selectors);
  98340. t9 = extension.extender.selector;
  98341. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  98342. t8 = selectors;
  98343. t9 = A.instanceType(t8);
  98344. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  98345. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  98346. selectors = selectors0;
  98347. }
  98348. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  98349. t9 = t8.get$current(t8);
  98350. t10 = extension;
  98351. t11 = t10.target;
  98352. t12 = t10.span;
  98353. t13 = t10.mediaContext;
  98354. t10 = t10.isOptional;
  98355. t9.get$specificity();
  98356. t14 = new A.Extender0(t9, false);
  98357. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  98358. _0_0 = t7.$index(0, t9);
  98359. if (_0_0 != null)
  98360. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  98361. else {
  98362. t7.$indexSet(0, t9, withExtender);
  98363. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  98364. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  98365. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  98366. if (newExtensions.containsKey$1(extension.target)) {
  98367. if (additionalExtensions == null)
  98368. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  98369. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  98370. }
  98371. }
  98372. }
  98373. }
  98374. return additionalExtensions;
  98375. },
  98376. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  98377. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  98378. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  98379. selector = t1.get$current(t1);
  98380. oldValue = selector.value;
  98381. try {
  98382. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  98383. } catch (exception) {
  98384. t3 = A.unwrapException(exception);
  98385. if (t3 instanceof A.SassException0) {
  98386. error = t3;
  98387. stackTrace = A.getTraceFromException(exception);
  98388. t3 = selector.value.span.message$1(0, "");
  98389. t4 = error._span_exception$_message;
  98390. t5 = error;
  98391. t6 = J.getInterceptor$z(t5);
  98392. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  98393. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  98394. } else
  98395. throw exception;
  98396. }
  98397. if (oldValue === selector.value)
  98398. continue;
  98399. this._extension_store$_registerSelector$2(selector.value, selector);
  98400. }
  98401. },
  98402. addExtensions$1(extensionStores) {
  98403. 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, t16, extender, extension, _this = this, _null = null;
  98404. 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();) {
  98405. t12 = t1.get$current(t1);
  98406. if (t12.get$isEmpty(t12))
  98407. continue;
  98408. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  98409. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  98410. t13 = t12.get$current(t12);
  98411. target = t13._0;
  98412. newSources = t13._1;
  98413. if (target instanceof A.PlaceholderSelector0) {
  98414. first = target.name.charCodeAt(0);
  98415. t13 = first === 45 || first === 95;
  98416. } else
  98417. t13 = false;
  98418. if (t13)
  98419. continue;
  98420. extensionsForTarget = t8.$index(0, target);
  98421. t13 = extensionsForTarget == null;
  98422. if (!t13) {
  98423. if (extensionsToExtend == null) {
  98424. extensionsToExtend = A._setArrayType([], t9);
  98425. t14 = extensionsToExtend;
  98426. } else
  98427. t14 = extensionsToExtend;
  98428. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  98429. }
  98430. selectorsForTarget = t7.$index(0, target);
  98431. t14 = selectorsForTarget != null;
  98432. if (t14) {
  98433. if (selectorsToExtend == null) {
  98434. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  98435. t15 = selectorsToExtend;
  98436. } else
  98437. t15 = selectorsToExtend;
  98438. t15.addAll$1(0, selectorsForTarget);
  98439. }
  98440. _2_0 = t4.$index(0, target);
  98441. if (_2_0 != null)
  98442. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  98443. t16 = t15.get$current(t15);
  98444. extender = t16._0;
  98445. extension = t16._1;
  98446. if (_2_0.containsKey$1(extender)) {
  98447. t16 = _2_0.$index(0, extender);
  98448. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  98449. _2_0.$indexSet(0, extender, extension);
  98450. } else
  98451. _2_0.$indexSet(0, extender, extension);
  98452. if (!t13 || t14) {
  98453. if (newExtensions == null) {
  98454. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  98455. t16 = newExtensions;
  98456. } else
  98457. t16 = newExtensions;
  98458. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()), extender, extension);
  98459. }
  98460. }
  98461. else {
  98462. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  98463. t15.addAll$1(0, newSources);
  98464. t4.$indexSet(0, target, t15);
  98465. if (!t13 || t14) {
  98466. if (newExtensions == null) {
  98467. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  98468. t13 = newExtensions;
  98469. } else
  98470. t13 = newExtensions;
  98471. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  98472. t14.addAll$1(0, newSources);
  98473. t13.$indexSet(0, target, t14);
  98474. }
  98475. }
  98476. }
  98477. }
  98478. if (newExtensions != null) {
  98479. if (extensionsToExtend != null)
  98480. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  98481. if (selectorsToExtend != null)
  98482. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  98483. }
  98484. },
  98485. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  98486. var t1, t2, t3, extended, i, complex, result, t4;
  98487. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  98488. complex = t1[i];
  98489. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  98490. if (result == null) {
  98491. if (extended != null)
  98492. extended.push(complex);
  98493. } else {
  98494. if (extended == null)
  98495. if (i === 0)
  98496. extended = A._setArrayType([], t3);
  98497. else {
  98498. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  98499. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  98500. }
  98501. B.JSArray_methods.addAll$1(extended, result);
  98502. }
  98503. }
  98504. if (extended == null)
  98505. return list;
  98506. t1 = this._extension_store$_originals;
  98507. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  98508. },
  98509. _extension_store$_extendList$2(list, extensions) {
  98510. return this._extension_store$_extendList$3(list, extensions, null);
  98511. },
  98512. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  98513. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  98514. t1 = complex.leadingCombinators,
  98515. t2 = t1.length;
  98516. if (t2 > 1)
  98517. return null;
  98518. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  98519. 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) {
  98520. component = t3[i];
  98521. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  98522. if (extended == null) {
  98523. if (extendedNotExpanded != null)
  98524. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  98525. } else if (extendedNotExpanded != null)
  98526. extendedNotExpanded.push(extended);
  98527. else if (i !== 0) {
  98528. t11 = A._arrayInstanceType(t3);
  98529. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  98530. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  98531. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  98532. } else if (t2)
  98533. extendedNotExpanded = A._setArrayType([extended], t5);
  98534. else {
  98535. t11 = A._setArrayType([], t9);
  98536. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  98537. t13 = t12.get$current(t12);
  98538. t14 = t13.leadingCombinators;
  98539. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  98540. t14 = t13.components;
  98541. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  98542. }
  98543. }
  98544. extendedNotExpanded = A._setArrayType([t11], t5);
  98545. }
  98546. }
  98547. if (extendedNotExpanded == null)
  98548. return null;
  98549. _box_0.first = true;
  98550. t1 = type$.ComplexSelector_2;
  98551. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  98552. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  98553. },
  98554. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  98555. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  98556. t1 = _this._extension_store$_mode,
  98557. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  98558. t2 = component.selector,
  98559. simples = t2.components;
  98560. 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) {
  98561. simple = simples[i];
  98562. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  98563. if (extended == null) {
  98564. if (options != null)
  98565. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  98566. } else {
  98567. if (options == null) {
  98568. options = A._setArrayType([], t4);
  98569. if (i !== 0) {
  98570. t12 = new A.SubListIterable(simples, 0, i, t8);
  98571. t12.SubListIterable$3(simples, 0, i, t9);
  98572. result = A.List_List$from(t12, false, t11);
  98573. result.fixed$length = Array;
  98574. result.immutable$list = Array;
  98575. t12 = result;
  98576. compound = new A.CompoundSelector0(t12, t10);
  98577. if (t12.length === 0)
  98578. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  98579. result = A.List_List$from(B.List_empty14, false, t6);
  98580. result.fixed$length = Array;
  98581. result.immutable$list = Array;
  98582. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  98583. _this._extension_store$_sourceSpecificityFor$1(compound);
  98584. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  98585. }
  98586. }
  98587. B.JSArray_methods.addAll$1(options, extended);
  98588. }
  98589. }
  98590. if (options == null)
  98591. return _null;
  98592. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  98593. return _null;
  98594. if (options.length === 1) {
  98595. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  98596. t4 = t1.get$current(t1);
  98597. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  98598. complex = t4.selector.withAdditionalCombinators$1(t2);
  98599. if (complex.accept$1(B.C__IsUselessVisitor0))
  98600. continue;
  98601. if (result == null)
  98602. result = A._setArrayType([], t3);
  98603. result.push(complex);
  98604. }
  98605. return result;
  98606. }
  98607. extenderPaths = A.paths0(options, type$.Extender_2);
  98608. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98609. t1 = t1 === B.ExtendMode_replace_replace0;
  98610. t4 = !t1;
  98611. if (t4)
  98612. 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));
  98613. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  98614. t5 = A._instanceType(t2);
  98615. t2 = new A.ListIterator(t2, t2.get$length(t2), t5._eval$1("ListIterator<ListIterable.E>"));
  98616. t6 = component.combinators;
  98617. t5 = t5._eval$1("ListIterable.E");
  98618. for (; t2.moveNext$0();) {
  98619. t1 = t2.__internal$_current;
  98620. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  98621. if (extended == null)
  98622. continue;
  98623. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  98624. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  98625. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  98626. t3.push(withCombinators);
  98627. }
  98628. }
  98629. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  98630. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  98631. },
  98632. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  98633. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  98634. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  98635. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  98636. t4 = t2.get$current(t2);
  98637. if (t4.isOriginal) {
  98638. if (originals == null)
  98639. originals = A._setArrayType([], t3);
  98640. t4 = t4.selector;
  98641. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  98642. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  98643. } else {
  98644. t4 = t4.selector;
  98645. if (t4.accept$1(B.C__IsUselessVisitor0))
  98646. return _null;
  98647. else
  98648. toUnify._queue_list$_add$1(t4);
  98649. }
  98650. }
  98651. if (originals != null)
  98652. 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));
  98653. complexes = A.unifyComplex0(toUnify, span);
  98654. if (complexes == null)
  98655. return _null;
  98656. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  98657. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  98658. return complexes;
  98659. },
  98660. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  98661. var _1_0,
  98662. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  98663. if (simple instanceof A.PseudoSelector0 && simple.selector != null && true) {
  98664. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  98665. if (_1_0 != null)
  98666. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  98667. }
  98668. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  98669. },
  98670. _extension_store$_extenderForSimple$1(simple) {
  98671. var t1 = simple.span;
  98672. 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);
  98673. this._extension_store$_sourceSpecificity.$index(0, simple);
  98674. return new A.Extender0(t1, true);
  98675. },
  98676. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  98677. var extended, complexes, t1, result,
  98678. selector = pseudo.selector;
  98679. if (selector == null)
  98680. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  98681. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  98682. if (extended === selector)
  98683. return null;
  98684. complexes = extended.components;
  98685. t1 = pseudo.normalizedName === "not";
  98686. 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()))
  98687. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  98688. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  98689. if (t1 && selector.components.length === 1) {
  98690. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  98691. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  98692. return result.length === 0 ? null : result;
  98693. } else
  98694. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  98695. },
  98696. _extension_store$_trim$2(selectors, isOriginal) {
  98697. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  98698. if (selectors.length > 100)
  98699. return selectors;
  98700. result = A.QueueList$(null, type$.ComplexSelector_2);
  98701. $label0$0:
  98702. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  98703. _box_0 = {};
  98704. complex1 = selectors[i];
  98705. if (isOriginal.call$1(complex1)) {
  98706. for (j = 0; j < numOriginals; ++j)
  98707. if (J.$eq$(result.$index(0, j), complex1)) {
  98708. A.rotateSlice0(result, 0, j + 1);
  98709. continue $label0$0;
  98710. }
  98711. ++numOriginals;
  98712. result.addFirst$1(complex1);
  98713. continue $label0$0;
  98714. }
  98715. _box_0.maxSpecificity = 0;
  98716. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  98717. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  98718. _box_0.maxSpecificity = maxSpecificity;
  98719. }
  98720. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  98721. continue $label0$0;
  98722. t3 = new A.SubListIterable(selectors, 0, i, t1);
  98723. t3.SubListIterable$3(selectors, 0, i, t2);
  98724. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  98725. continue $label0$0;
  98726. result.addFirst$1(complex1);
  98727. }
  98728. return result;
  98729. },
  98730. _extension_store$_sourceSpecificityFor$1(compound) {
  98731. var t1, t2, t3, specificity, _i, t4;
  98732. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  98733. t4 = t3.$index(0, t1[_i]);
  98734. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  98735. }
  98736. return specificity;
  98737. },
  98738. clone$0() {
  98739. var t2, t3, t4, _this = this,
  98740. t1 = type$.SimpleSelector_2,
  98741. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  98742. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  98743. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  98744. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  98745. t2 = type$.Extension_2;
  98746. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  98747. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  98748. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  98749. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  98750. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  98751. t4.addAll$1(0, _this._extension_store$_originals);
  98752. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  98753. },
  98754. get$_extension_store$_extensions() {
  98755. return this._extension_store$_extensions;
  98756. },
  98757. get$_extension_store$_sourceSpecificity() {
  98758. return this._extension_store$_sourceSpecificity;
  98759. }
  98760. };
  98761. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  98762. call$1(extension) {
  98763. return !extension.isOptional;
  98764. },
  98765. $signature: 435
  98766. };
  98767. A.ExtensionStore__registerSelector_closure0.prototype = {
  98768. call$0() {
  98769. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  98770. },
  98771. $signature: 436
  98772. };
  98773. A.ExtensionStore_addExtension_closure2.prototype = {
  98774. call$0() {
  98775. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  98776. },
  98777. $signature: 123
  98778. };
  98779. A.ExtensionStore_addExtension_closure3.prototype = {
  98780. call$0() {
  98781. return A._setArrayType([], type$.JSArray_Extension_2);
  98782. },
  98783. $signature: 225
  98784. };
  98785. A.ExtensionStore_addExtension_closure4.prototype = {
  98786. call$0() {
  98787. return this.complex.get$specificity();
  98788. },
  98789. $signature: 10
  98790. };
  98791. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  98792. call$0() {
  98793. return A._setArrayType([], type$.JSArray_Extension_2);
  98794. },
  98795. $signature: 225
  98796. };
  98797. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  98798. call$0() {
  98799. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  98800. },
  98801. $signature: 123
  98802. };
  98803. A.ExtensionStore_addExtensions_closure0.prototype = {
  98804. call$0() {
  98805. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  98806. },
  98807. $signature: 123
  98808. };
  98809. A.ExtensionStore__extendComplex_closure0.prototype = {
  98810. call$1(path) {
  98811. var t1 = this.complex;
  98812. 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);
  98813. },
  98814. $signature: 439
  98815. };
  98816. A.ExtensionStore__extendComplex__closure0.prototype = {
  98817. call$1(outputComplex) {
  98818. var _this = this,
  98819. t1 = _this._box_0;
  98820. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  98821. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  98822. t1.first = false;
  98823. return outputComplex;
  98824. },
  98825. $signature: 63
  98826. };
  98827. A.ExtensionStore__extendCompound_closure2.prototype = {
  98828. call$1(extender) {
  98829. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  98830. },
  98831. $signature: 441
  98832. };
  98833. A.ExtensionStore__extendCompound_closure3.prototype = {
  98834. call$1(_) {
  98835. return false;
  98836. },
  98837. $signature: 16
  98838. };
  98839. A.ExtensionStore__extendCompound_closure4.prototype = {
  98840. call$1(complex) {
  98841. return complex.$eq(0, this.original);
  98842. },
  98843. $signature: 16
  98844. };
  98845. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  98846. call$1(simple) {
  98847. var t1, t2,
  98848. extensionsForSimple = this.extensions.$index(0, simple);
  98849. if (extensionsForSimple == null)
  98850. return null;
  98851. t1 = this.targetsUsed;
  98852. if (t1 != null)
  98853. t1.add$1(0, simple);
  98854. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  98855. t2 = this.$this;
  98856. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  98857. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  98858. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  98859. t1.push(t2.get$current(t2).extender);
  98860. return t1;
  98861. },
  98862. $signature: 442
  98863. };
  98864. A.ExtensionStore__extendSimple_closure1.prototype = {
  98865. call$1(pseudo) {
  98866. var t1 = this.withoutPseudo.call$1(pseudo);
  98867. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  98868. },
  98869. $signature: 443
  98870. };
  98871. A.ExtensionStore__extendSimple_closure2.prototype = {
  98872. call$1(result) {
  98873. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  98874. },
  98875. $signature: 444
  98876. };
  98877. A.ExtensionStore__extendPseudo_closure4.prototype = {
  98878. call$1(complex) {
  98879. return complex.components.length > 1;
  98880. },
  98881. $signature: 16
  98882. };
  98883. A.ExtensionStore__extendPseudo_closure5.prototype = {
  98884. call$1(complex) {
  98885. return complex.components.length === 1;
  98886. },
  98887. $signature: 16
  98888. };
  98889. A.ExtensionStore__extendPseudo_closure6.prototype = {
  98890. call$1(complex) {
  98891. return complex.components.length <= 1;
  98892. },
  98893. $signature: 16
  98894. };
  98895. A.ExtensionStore__extendPseudo_closure7.prototype = {
  98896. call$1(complex) {
  98897. var innerPseudo, innerSelector,
  98898. t1 = complex.get$singleCompound();
  98899. if (t1 == null)
  98900. innerPseudo = null;
  98901. else {
  98902. t1 = t1.components;
  98903. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  98904. }
  98905. if (!(innerPseudo instanceof A.PseudoSelector0))
  98906. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  98907. innerSelector = innerPseudo.selector;
  98908. if (innerSelector == null)
  98909. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  98910. t1 = this.pseudo;
  98911. switch (t1.normalizedName) {
  98912. case "not":
  98913. if (!B.Set_aAXJu.contains$1(0, innerPseudo.normalizedName))
  98914. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98915. return innerSelector.components;
  98916. case "is":
  98917. case "matches":
  98918. case "where":
  98919. case "any":
  98920. case "current":
  98921. case "nth-child":
  98922. case "nth-last-child":
  98923. if (innerPseudo.name !== t1.name)
  98924. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98925. if (innerPseudo.argument != t1.argument)
  98926. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98927. return innerSelector.components;
  98928. case "has":
  98929. case "host":
  98930. case "host-context":
  98931. case "slotted":
  98932. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  98933. default:
  98934. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98935. }
  98936. },
  98937. $signature: 445
  98938. };
  98939. A.ExtensionStore__extendPseudo_closure8.prototype = {
  98940. call$1(complex) {
  98941. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  98942. },
  98943. $signature: 446
  98944. };
  98945. A.ExtensionStore__trim_closure1.prototype = {
  98946. call$1(complex2) {
  98947. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  98948. },
  98949. $signature: 16
  98950. };
  98951. A.ExtensionStore__trim_closure2.prototype = {
  98952. call$1(complex2) {
  98953. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  98954. },
  98955. $signature: 16
  98956. };
  98957. A.ExtensionStore_clone_closure0.prototype = {
  98958. call$2(simple, selectors) {
  98959. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  98960. t1 = type$.ModifiableBox_SelectorList_2,
  98961. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  98962. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  98963. 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();) {
  98964. t7 = t2.get$current(t2);
  98965. newSelector = new A.ModifiableBox0(t7.value, t1);
  98966. newSelectorSet.add$1(0, newSelector);
  98967. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  98968. _0_0 = t5.$index(0, t7);
  98969. if (_0_0 != null)
  98970. t6.$indexSet(0, newSelector, _0_0);
  98971. }
  98972. },
  98973. $signature: 447
  98974. };
  98975. A.FiberClass.prototype = {};
  98976. A.Fiber.prototype = {};
  98977. A.JSToDartFileImporter.prototype = {
  98978. canonicalize$1(_, url) {
  98979. var result, t1, resultUrl;
  98980. if (url.get$scheme() === "file")
  98981. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  98982. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  98983. if (result == null)
  98984. return null;
  98985. t1 = self.Promise;
  98986. if (result instanceof t1)
  98987. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  98988. else {
  98989. t1 = self.URL;
  98990. if (!(result instanceof t1))
  98991. A.jsThrow(new self.Error(string$.The_fie));
  98992. }
  98993. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  98994. if (resultUrl.get$scheme() !== "file")
  98995. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  98996. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  98997. },
  98998. load$1(_, url) {
  98999. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  99000. },
  99001. isNonCanonicalScheme$1(scheme) {
  99002. return scheme !== "file";
  99003. }
  99004. };
  99005. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  99006. call$0() {
  99007. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl0(), A.utils1__dartToJSUrl$closure())});
  99008. },
  99009. $signature: 35
  99010. };
  99011. A.FilesystemImporter0.prototype = {
  99012. canonicalize$1(_, url) {
  99013. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  99014. return null;
  99015. 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());
  99016. },
  99017. load$1(_, url) {
  99018. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  99019. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  99020. },
  99021. toString$0(_) {
  99022. return this._filesystem$_loadPath;
  99023. }
  99024. };
  99025. A.FilesystemImporter_canonicalize_closure0.prototype = {
  99026. call$1(resolved) {
  99027. var t2, t0, _null = null,
  99028. t1 = A.isNodeJs() ? self.process : _null;
  99029. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  99030. t1 = A.isNodeJs() ? self.process : _null;
  99031. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  99032. } else
  99033. t1 = true;
  99034. if (t1) {
  99035. t1 = $.$get$context();
  99036. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  99037. t0 = t2;
  99038. t2 = t1;
  99039. t1 = t0;
  99040. } else {
  99041. t1 = $.$get$context();
  99042. t2 = t1.canonicalize$1(0, resolved);
  99043. t0 = t2;
  99044. t2 = t1;
  99045. t1 = t0;
  99046. }
  99047. return t2.toUri$1(t1);
  99048. },
  99049. $signature: 152
  99050. };
  99051. A.ForRule0.prototype = {
  99052. accept$1$1(visitor) {
  99053. return visitor.visitForRule$1(this);
  99054. },
  99055. accept$1(visitor) {
  99056. return this.accept$1$1(visitor, type$.dynamic);
  99057. },
  99058. toString$0(_) {
  99059. var _this = this,
  99060. t1 = _this.from.toString$0(0),
  99061. t2 = _this.isExclusive ? "to" : "through",
  99062. t3 = _this.children;
  99063. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  99064. },
  99065. get$span(receiver) {
  99066. return this.span;
  99067. }
  99068. };
  99069. A.ForwardRule0.prototype = {
  99070. accept$1$1(visitor) {
  99071. return visitor.visitForwardRule$1(this);
  99072. },
  99073. accept$1(visitor) {
  99074. return this.accept$1$1(visitor, type$.dynamic);
  99075. },
  99076. toString$0(_) {
  99077. var t2, prefix, _this = this,
  99078. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  99079. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  99080. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  99081. if (shownMixinsAndFunctions != null) {
  99082. t2 = _this.shownVariables;
  99083. t2.toString;
  99084. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  99085. t1 = t2;
  99086. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  99087. t2 = _this.hiddenVariables;
  99088. t2.toString;
  99089. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  99090. t1 = t2;
  99091. }
  99092. prefix = _this.prefix;
  99093. if (prefix != null)
  99094. t1 += " as " + prefix + "*";
  99095. t2 = _this.configuration;
  99096. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  99097. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99098. },
  99099. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  99100. var t2,
  99101. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  99102. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  99103. t1.push("$" + t2.get$current(0));
  99104. return B.JSArray_methods.join$1(t1, ", ");
  99105. },
  99106. $isAstNode0: 1,
  99107. $isStatement0: 1,
  99108. get$span(receiver) {
  99109. return this.span;
  99110. }
  99111. };
  99112. A.ForwardedModuleView0.prototype = {
  99113. get$url(_) {
  99114. var t1 = this._forwarded_view0$_inner;
  99115. return t1.get$url(t1);
  99116. },
  99117. get$upstream() {
  99118. return this._forwarded_view0$_inner.get$upstream();
  99119. },
  99120. get$extensionStore() {
  99121. return this._forwarded_view0$_inner.get$extensionStore();
  99122. },
  99123. get$css(_) {
  99124. var t1 = this._forwarded_view0$_inner;
  99125. return t1.get$css(t1);
  99126. },
  99127. get$preModuleComments() {
  99128. return this._forwarded_view0$_inner.get$preModuleComments();
  99129. },
  99130. get$transitivelyContainsCss() {
  99131. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  99132. },
  99133. get$transitivelyContainsExtensions() {
  99134. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  99135. },
  99136. setVariable$3($name, value, nodeWithSpan) {
  99137. var t2, _1_0, _2_0,
  99138. _s19_ = "Undefined variable.",
  99139. t1 = this._forwarded_view0$_rule,
  99140. _0_0 = t1.shownVariables;
  99141. if (_0_0 != null)
  99142. t2 = !_0_0._base.contains$1(0, $name);
  99143. else
  99144. t2 = false;
  99145. if (t2)
  99146. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99147. else {
  99148. _1_0 = t1.hiddenVariables;
  99149. if (_1_0 != null)
  99150. t2 = _1_0._base.contains$1(0, $name);
  99151. else
  99152. t2 = false;
  99153. if (t2)
  99154. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99155. }
  99156. _2_0 = t1.prefix;
  99157. if (_2_0 != null) {
  99158. if (!B.JSString_methods.startsWith$1($name, _2_0))
  99159. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99160. $name = B.JSString_methods.substring$1($name, _2_0.length);
  99161. }
  99162. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  99163. },
  99164. variableIdentity$1($name) {
  99165. var _0_0 = this._forwarded_view0$_rule.prefix;
  99166. if (_0_0 != null)
  99167. $name = B.JSString_methods.substring$1($name, _0_0.length);
  99168. return this._forwarded_view0$_inner.variableIdentity$1($name);
  99169. },
  99170. $eq(_, other) {
  99171. if (other == null)
  99172. return false;
  99173. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  99174. },
  99175. get$hashCode(_) {
  99176. var t1 = this._forwarded_view0$_inner;
  99177. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  99178. },
  99179. cloneCss$0() {
  99180. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  99181. },
  99182. toString$0(_) {
  99183. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  99184. },
  99185. $isModule1: 1,
  99186. get$variables() {
  99187. return this.variables;
  99188. },
  99189. get$variableNodes() {
  99190. return this.variableNodes;
  99191. },
  99192. get$functions(receiver) {
  99193. return this.functions;
  99194. },
  99195. get$mixins() {
  99196. return this.mixins;
  99197. }
  99198. };
  99199. A.FunctionExpression0.prototype = {
  99200. get$name(_) {
  99201. return A.stringReplaceAllUnchecked(this.originalName, "_", "-");
  99202. },
  99203. accept$1$1(visitor) {
  99204. return visitor.visitFunctionExpression$1(this);
  99205. },
  99206. accept$1(visitor) {
  99207. return this.accept$1$1(visitor, type$.dynamic);
  99208. },
  99209. toString$0(_) {
  99210. var t1 = this.namespace;
  99211. t1 = t1 != null ? "" + (t1 + ".") : "";
  99212. t1 += this.originalName + this.$arguments.toString$0(0);
  99213. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99214. },
  99215. $isExpression0: 1,
  99216. $isAstNode0: 1,
  99217. get$span(receiver) {
  99218. return this.span;
  99219. }
  99220. };
  99221. A.JSFunction0.prototype = {};
  99222. A.SupportsFunction0.prototype = {
  99223. toString$0(_) {
  99224. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  99225. },
  99226. $isAstNode0: 1,
  99227. get$span(receiver) {
  99228. return this.span;
  99229. }
  99230. };
  99231. A.functionClass_closure.prototype = {
  99232. call$0() {
  99233. var t1 = type$.JSClass,
  99234. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  99235. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  99236. return jsClass;
  99237. },
  99238. $signature: 13
  99239. };
  99240. A.functionClass__closure.prototype = {
  99241. call$3($self, signature, callback) {
  99242. var paren = B.JSString_methods.indexOf$1(signature, "(");
  99243. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  99244. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  99245. 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));
  99246. },
  99247. "call*": "call$3",
  99248. $requiredArgCount: 3,
  99249. $signature: 448
  99250. };
  99251. A.functionClass__closure0.prototype = {
  99252. call$1(_) {
  99253. return B.C__SassNull0;
  99254. },
  99255. $signature: 3
  99256. };
  99257. A.SassFunction0.prototype = {
  99258. accept$1$1(visitor) {
  99259. var t1, t2;
  99260. if (!visitor._serialize0$_inspect)
  99261. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  99262. t1 = visitor._serialize0$_buffer;
  99263. t1.write$1(0, "get-function(");
  99264. t2 = this.callable;
  99265. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  99266. t1.writeCharCode$1(41);
  99267. return null;
  99268. },
  99269. accept$1(visitor) {
  99270. return this.accept$1$1(visitor, type$.dynamic);
  99271. },
  99272. assertFunction$1($name) {
  99273. return this;
  99274. },
  99275. $eq(_, other) {
  99276. if (other == null)
  99277. return false;
  99278. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  99279. },
  99280. get$hashCode(_) {
  99281. var t1 = this.callable;
  99282. return t1.get$hashCode(t1);
  99283. }
  99284. };
  99285. A.FunctionRule0.prototype = {
  99286. accept$1$1(visitor) {
  99287. return visitor.visitFunctionRule$1(this);
  99288. },
  99289. accept$1(visitor) {
  99290. return this.accept$1$1(visitor, type$.dynamic);
  99291. },
  99292. toString$0(_) {
  99293. var t1 = this.children;
  99294. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  99295. }
  99296. };
  99297. A.unifyComplex_closure0.prototype = {
  99298. call$1(complex) {
  99299. return complex.lineBreak;
  99300. },
  99301. $signature: 16
  99302. };
  99303. A._weaveParents_closure3.prototype = {
  99304. call$2(group1, group2) {
  99305. var t1, unified;
  99306. if (B.C_ListEquality.equals$2(0, group1, group2))
  99307. return group1;
  99308. if (A._complexIsParentSuperselector0(group1, group2))
  99309. return group2;
  99310. if (A._complexIsParentSuperselector0(group2, group1))
  99311. return group1;
  99312. if (!A._mustUnify0(group1, group2))
  99313. return null;
  99314. t1 = this.span;
  99315. 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);
  99316. if (unified == null)
  99317. t1 = null;
  99318. else {
  99319. t1 = A.IterableExtension_get_singleOrNull(unified);
  99320. t1 = t1 == null ? null : t1.components;
  99321. }
  99322. return t1;
  99323. },
  99324. $signature: 449
  99325. };
  99326. A._weaveParents_closure4.prototype = {
  99327. call$1(sequence) {
  99328. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  99329. },
  99330. $signature: 220
  99331. };
  99332. A._weaveParents_closure5.prototype = {
  99333. call$1(sequence) {
  99334. return sequence.get$length(0) === 0;
  99335. },
  99336. $signature: 220
  99337. };
  99338. A._weaveParents_closure6.prototype = {
  99339. call$1(choice) {
  99340. return J.get$isNotEmpty$asx(choice);
  99341. },
  99342. $signature: 451
  99343. };
  99344. A._mustUnify_closure0.prototype = {
  99345. call$1(component) {
  99346. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  99347. },
  99348. $signature: 51
  99349. };
  99350. A._mustUnify__closure0.prototype = {
  99351. call$1(simple) {
  99352. var t1;
  99353. if (!(simple instanceof A.IDSelector0))
  99354. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  99355. else
  99356. t1 = true;
  99357. return t1 && this.uniqueSelectors.contains$1(0, simple);
  99358. },
  99359. $signature: 14
  99360. };
  99361. A.paths_closure0.prototype = {
  99362. call$2(paths, choice) {
  99363. var t1 = this.T;
  99364. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  99365. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  99366. },
  99367. $signature() {
  99368. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  99369. }
  99370. };
  99371. A.paths__closure0.prototype = {
  99372. call$1(option) {
  99373. var t1 = this.T;
  99374. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  99375. },
  99376. $signature() {
  99377. return this.T._eval$1("Iterable<List<0>>(0)");
  99378. }
  99379. };
  99380. A.paths___closure0.prototype = {
  99381. call$1(path) {
  99382. var t1 = A.List_List$of(path, true, this.T);
  99383. t1.push(this.option);
  99384. return t1;
  99385. },
  99386. $signature() {
  99387. return this.T._eval$1("List<0>(List<0>)");
  99388. }
  99389. };
  99390. A.listIsSuperselector_closure0.prototype = {
  99391. call$1(complex1) {
  99392. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  99393. },
  99394. $signature: 16
  99395. };
  99396. A.listIsSuperselector__closure0.prototype = {
  99397. call$1(complex2) {
  99398. return complex2.isSuperselector$1(this.complex1);
  99399. },
  99400. $signature: 16
  99401. };
  99402. A.complexIsSuperselector_closure1.prototype = {
  99403. call$1($parent) {
  99404. return $parent.combinators.length > 1;
  99405. },
  99406. $signature: 51
  99407. };
  99408. A.complexIsSuperselector_closure2.prototype = {
  99409. call$1(component) {
  99410. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  99411. },
  99412. $signature: 51
  99413. };
  99414. A._compatibleWithPreviousCombinator_closure0.prototype = {
  99415. call$1(component) {
  99416. var t1 = component.combinators,
  99417. t2 = A.IterableExtension_get_firstOrNull(t1);
  99418. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt0)) {
  99419. t1 = A.IterableExtension_get_firstOrNull(t1);
  99420. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF0);
  99421. } else
  99422. t1 = true;
  99423. return t1;
  99424. },
  99425. $signature: 51
  99426. };
  99427. A._selectorPseudoIsSuperselector_closure6.prototype = {
  99428. call$1(selector2) {
  99429. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  99430. },
  99431. $signature: 72
  99432. };
  99433. A._selectorPseudoIsSuperselector_closure7.prototype = {
  99434. call$1(complex1) {
  99435. var t1, t2;
  99436. if (complex1.leadingCombinators.length === 0) {
  99437. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  99438. t2 = this.parents;
  99439. if (t2 != null)
  99440. B.JSArray_methods.addAll$1(t1, t2);
  99441. t2 = this.compound2;
  99442. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t2.span));
  99443. t1 = A.complexIsSuperselector0(complex1.components, t1);
  99444. } else
  99445. t1 = false;
  99446. return t1;
  99447. },
  99448. $signature: 16
  99449. };
  99450. A._selectorPseudoIsSuperselector_closure8.prototype = {
  99451. call$1(selector2) {
  99452. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  99453. },
  99454. $signature: 72
  99455. };
  99456. A._selectorPseudoIsSuperselector_closure9.prototype = {
  99457. call$1(selector2) {
  99458. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  99459. },
  99460. $signature: 72
  99461. };
  99462. A._selectorPseudoIsSuperselector_closure10.prototype = {
  99463. call$1(complex) {
  99464. if (complex.accept$1(B._IsBogusVisitor_true0))
  99465. return false;
  99466. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  99467. },
  99468. $signature: 16
  99469. };
  99470. A._selectorPseudoIsSuperselector__closure0.prototype = {
  99471. call$1(simple2) {
  99472. var t1, _0_4, selector2, _this = this;
  99473. $label0$1: {
  99474. if (simple2 instanceof A.TypeSelector0) {
  99475. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  99476. break $label0$1;
  99477. }
  99478. if (simple2 instanceof A.IDSelector0) {
  99479. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  99480. break $label0$1;
  99481. }
  99482. if (simple2 instanceof A.PseudoSelector0) {
  99483. _0_4 = simple2.selector;
  99484. if (_0_4 != null) {
  99485. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  99486. t1 = simple2.name === _this.pseudo1.name;
  99487. } else {
  99488. selector2 = null;
  99489. t1 = false;
  99490. }
  99491. } else {
  99492. selector2 = null;
  99493. t1 = false;
  99494. }
  99495. if (t1) {
  99496. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  99497. break $label0$1;
  99498. }
  99499. t1 = false;
  99500. break $label0$1;
  99501. }
  99502. return t1;
  99503. },
  99504. $signature: 14
  99505. };
  99506. A._selectorPseudoIsSuperselector___closure1.prototype = {
  99507. call$1(simple1) {
  99508. var t1;
  99509. if (simple1 instanceof A.TypeSelector0) {
  99510. t1 = this.simple2;
  99511. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  99512. } else
  99513. t1 = false;
  99514. return t1;
  99515. },
  99516. $signature: 14
  99517. };
  99518. A._selectorPseudoIsSuperselector___closure2.prototype = {
  99519. call$1(simple1) {
  99520. var t1;
  99521. if (simple1 instanceof A.IDSelector0) {
  99522. t1 = this.simple2;
  99523. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  99524. } else
  99525. t1 = false;
  99526. return t1;
  99527. },
  99528. $signature: 14
  99529. };
  99530. A._selectorPseudoIsSuperselector_closure11.prototype = {
  99531. call$1(selector2) {
  99532. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  99533. return t1;
  99534. },
  99535. $signature: 72
  99536. };
  99537. A._selectorPseudoIsSuperselector_closure12.prototype = {
  99538. call$1(pseudo2) {
  99539. var t1, selector2;
  99540. if (!(pseudo2 instanceof A.PseudoSelector0))
  99541. return false;
  99542. t1 = this.pseudo1;
  99543. if (pseudo2.name !== t1.name)
  99544. return false;
  99545. if (pseudo2.argument != t1.argument)
  99546. return false;
  99547. selector2 = pseudo2.selector;
  99548. if (selector2 == null)
  99549. return false;
  99550. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  99551. },
  99552. $signature: 14
  99553. };
  99554. A._selectorPseudoArgs_closure1.prototype = {
  99555. call$1(pseudo) {
  99556. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  99557. },
  99558. $signature: 453
  99559. };
  99560. A._selectorPseudoArgs_closure2.prototype = {
  99561. call$1(pseudo) {
  99562. return pseudo.selector;
  99563. },
  99564. $signature: 454
  99565. };
  99566. A.globalFunctions_closure0.prototype = {
  99567. call$1($arguments) {
  99568. var t1 = J.getInterceptor$asx($arguments);
  99569. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  99570. },
  99571. $signature: 3
  99572. };
  99573. A.IDSelector0.prototype = {
  99574. get$specificity() {
  99575. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  99576. },
  99577. accept$1$1(visitor) {
  99578. return visitor.visitIDSelector$1(this);
  99579. },
  99580. accept$1(visitor) {
  99581. return this.accept$1$1(visitor, type$.dynamic);
  99582. },
  99583. addSuffix$1(suffix) {
  99584. return new A.IDSelector0(this.name + suffix, this.span);
  99585. },
  99586. unify$1(compound) {
  99587. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  99588. return null;
  99589. return this.super$SimpleSelector$unify0(compound);
  99590. },
  99591. $eq(_, other) {
  99592. if (other == null)
  99593. return false;
  99594. return other instanceof A.IDSelector0 && other.name === this.name;
  99595. },
  99596. get$hashCode(_) {
  99597. return B.JSString_methods.get$hashCode(this.name);
  99598. }
  99599. };
  99600. A.IDSelector_unify_closure0.prototype = {
  99601. call$1(simple) {
  99602. var t1;
  99603. if (simple instanceof A.IDSelector0)
  99604. t1 = this.$this.name !== simple.name;
  99605. else
  99606. t1 = false;
  99607. return t1;
  99608. },
  99609. $signature: 14
  99610. };
  99611. A.IfExpression0.prototype = {
  99612. accept$1$1(visitor) {
  99613. return visitor.visitIfExpression$1(this);
  99614. },
  99615. accept$1(visitor) {
  99616. return this.accept$1$1(visitor, type$.dynamic);
  99617. },
  99618. toString$0(_) {
  99619. return "if" + this.$arguments.toString$0(0);
  99620. },
  99621. $isExpression0: 1,
  99622. $isAstNode0: 1,
  99623. get$span(receiver) {
  99624. return this.span;
  99625. }
  99626. };
  99627. A.IfRule0.prototype = {
  99628. accept$1$1(visitor) {
  99629. return visitor.visitIfRule$1(this);
  99630. },
  99631. accept$1(visitor) {
  99632. return this.accept$1$1(visitor, type$.dynamic);
  99633. },
  99634. toString$0(_) {
  99635. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  99636. lastClause = this.lastClause;
  99637. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  99638. },
  99639. $isAstNode0: 1,
  99640. $isStatement0: 1,
  99641. get$span(receiver) {
  99642. return this.span;
  99643. }
  99644. };
  99645. A.IfRule_toString_closure0.prototype = {
  99646. call$2(index, clause) {
  99647. var t1 = index === 0 ? "if" : "else if";
  99648. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  99649. },
  99650. $signature: 455
  99651. };
  99652. A.IfRuleClause0.prototype = {};
  99653. A.IfRuleClause$__closure0.prototype = {
  99654. call$1(child) {
  99655. var t1;
  99656. $label0$0: {
  99657. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  99658. t1 = true;
  99659. break $label0$0;
  99660. }
  99661. if (child instanceof A.ImportRule0) {
  99662. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  99663. break $label0$0;
  99664. }
  99665. t1 = false;
  99666. break $label0$0;
  99667. }
  99668. return t1;
  99669. },
  99670. $signature: 208
  99671. };
  99672. A.IfRuleClause$___closure0.prototype = {
  99673. call$1($import) {
  99674. return $import instanceof A.DynamicImport0;
  99675. },
  99676. $signature: 207
  99677. };
  99678. A.IfClause0.prototype = {
  99679. toString$0(_) {
  99680. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  99681. }
  99682. };
  99683. A.ElseClause0.prototype = {
  99684. toString$0(_) {
  99685. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  99686. }
  99687. };
  99688. A.ImmutableList0.prototype = {};
  99689. A.ImmutableMap0.prototype = {};
  99690. A.immutableMapToDartMap_closure.prototype = {
  99691. call$3(value, key, _) {
  99692. this.dartMap.$indexSet(0, key, value);
  99693. },
  99694. "call*": "call$3",
  99695. $requiredArgCount: 3,
  99696. $signature: 458
  99697. };
  99698. A.NodeImporter.prototype = {
  99699. loadRelative$3(url, previous, forImport) {
  99700. var t1, t2, _null = null;
  99701. if ($.$get$url().style.rootLength$1(url) > 0) {
  99702. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  99703. return _null;
  99704. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  99705. }
  99706. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  99707. return _null;
  99708. t1 = $.$get$context();
  99709. previous.toString;
  99710. t2 = t1.style;
  99711. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  99712. },
  99713. load$3(_, url, previous, forImport) {
  99714. var t1, t2, _i, _0_0, _this = this,
  99715. previousString = _this._previousToString$1(previous);
  99716. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  99717. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  99718. if (_0_0 != null)
  99719. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  99720. }
  99721. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  99722. },
  99723. loadAsync$3(url, previous, forImport) {
  99724. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  99725. },
  99726. loadAsync$body$NodeImporter(url, previous, forImport) {
  99727. var $async$goto = 0,
  99728. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  99729. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  99730. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99731. if ($async$errorCode === 1)
  99732. return A._asyncRethrow($async$result, $async$completer);
  99733. while (true)
  99734. switch ($async$goto) {
  99735. case 0:
  99736. // Function start
  99737. previousString = $async$self._previousToString$1(previous);
  99738. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  99739. case 3:
  99740. // for condition
  99741. if (!(_i < t2)) {
  99742. // goto after for
  99743. $async$goto = 5;
  99744. break;
  99745. }
  99746. $async$goto = 6;
  99747. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  99748. case 6:
  99749. // returning from await.
  99750. _0_0 = $async$result;
  99751. if (_0_0 != null) {
  99752. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  99753. // goto return
  99754. $async$goto = 1;
  99755. break;
  99756. }
  99757. case 4:
  99758. // for update
  99759. ++_i;
  99760. // goto for condition
  99761. $async$goto = 3;
  99762. break;
  99763. case 5:
  99764. // after for
  99765. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  99766. // goto return
  99767. $async$goto = 1;
  99768. break;
  99769. case 1:
  99770. // return
  99771. return A._asyncReturn($async$returnValue, $async$completer);
  99772. }
  99773. });
  99774. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  99775. },
  99776. _previousToString$1(previous) {
  99777. var t1;
  99778. $label0$0: {
  99779. if (previous == null) {
  99780. t1 = "stdin";
  99781. break $label0$0;
  99782. }
  99783. if ("file" === previous.get$scheme()) {
  99784. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  99785. break $label0$0;
  99786. }
  99787. t1 = previous.toString$0(0);
  99788. break $label0$0;
  99789. }
  99790. return t1;
  99791. },
  99792. _resolveLoadPathFromUrl$2(url, forImport) {
  99793. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  99794. },
  99795. _resolveLoadPath$2(path, forImport) {
  99796. var t1, t2, _i, t3, _1_0, _null = null,
  99797. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  99798. if (_0_0 != null)
  99799. return _0_0;
  99800. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  99801. t3 = A.join(t1[_i], path, _null);
  99802. _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);
  99803. if (_1_0 != null)
  99804. return _1_0;
  99805. }
  99806. return _null;
  99807. },
  99808. _tryPath$2(path, forImport) {
  99809. var t1;
  99810. if (forImport) {
  99811. t1 = type$.nullable_Object;
  99812. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  99813. } else
  99814. t1 = A.resolveImportPath0(path);
  99815. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  99816. },
  99817. _handleImportResult$4(url, previous, value, forImport) {
  99818. var t1, file, contents, t2, resolved;
  99819. if (value instanceof self.Error)
  99820. throw A.wrapException(value);
  99821. if (!type$.NodeImporterResult._is(value))
  99822. return null;
  99823. t1 = J.getInterceptor$x(value);
  99824. file = t1.get$file(value);
  99825. contents = t1.get$contents(value);
  99826. t1 = contents == null;
  99827. t2 = !t1;
  99828. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  99829. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  99830. if (file == null)
  99831. return new A._Record_2(t1 ? "" : contents, url);
  99832. else if (t2)
  99833. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  99834. else {
  99835. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  99836. if (resolved == null)
  99837. resolved = this._resolveLoadPath$2(file, forImport);
  99838. if (resolved != null)
  99839. return resolved;
  99840. throw A.wrapException("Can't find stylesheet to import.");
  99841. }
  99842. },
  99843. _callImporterAsync$4(importer, url, previousString, forImport) {
  99844. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  99845. },
  99846. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  99847. var $async$goto = 0,
  99848. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  99849. $async$returnValue, $async$self = this, t1, result;
  99850. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99851. if ($async$errorCode === 1)
  99852. return A._asyncRethrow($async$result, $async$completer);
  99853. while (true)
  99854. switch ($async$goto) {
  99855. case 0:
  99856. // Function start
  99857. t1 = new A._Future($.Zone__current, type$._Future_Object);
  99858. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  99859. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  99860. break;
  99861. case 3:
  99862. // then
  99863. $async$goto = 5;
  99864. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  99865. case 5:
  99866. // returning from await.
  99867. $async$returnValue = $async$result;
  99868. // goto return
  99869. $async$goto = 1;
  99870. break;
  99871. case 4:
  99872. // join
  99873. $async$returnValue = result;
  99874. // goto return
  99875. $async$goto = 1;
  99876. break;
  99877. case 1:
  99878. // return
  99879. return A._asyncReturn($async$returnValue, $async$completer);
  99880. }
  99881. });
  99882. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  99883. },
  99884. _renderContext$1(fromImport) {
  99885. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  99886. J.set$context$x(J.get$options$x(context), context);
  99887. return context;
  99888. }
  99889. };
  99890. A.NodeImporter_load_closure.prototype = {
  99891. call$0() {
  99892. var _this = this;
  99893. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  99894. },
  99895. $signature: 35
  99896. };
  99897. A.NodeImporter__tryPath_closure.prototype = {
  99898. call$0() {
  99899. return A.resolveImportPath0(this.path);
  99900. },
  99901. $signature: 45
  99902. };
  99903. A.NodeImporter__tryPath_closure0.prototype = {
  99904. call$1(resolved) {
  99905. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  99906. },
  99907. $signature: 459
  99908. };
  99909. A.NodeImporter__callImporterAsync_closure.prototype = {
  99910. call$0() {
  99911. var _this = this;
  99912. 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));
  99913. },
  99914. $signature: 35
  99915. };
  99916. A.ModifiableCssImport0.prototype = {
  99917. accept$1$1(visitor) {
  99918. return visitor.visitCssImport$1(this);
  99919. },
  99920. accept$1(visitor) {
  99921. return this.accept$1$1(visitor, type$.dynamic);
  99922. },
  99923. get$span(receiver) {
  99924. return this.span;
  99925. }
  99926. };
  99927. A.ImportCache0.prototype = {
  99928. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  99929. var t1, relativeResult, _this = this;
  99930. if (A.isBrowser())
  99931. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  99932. else
  99933. t1 = false;
  99934. if (t1)
  99935. throw A.wrapException(string$.Custom);
  99936. if (baseImporter != null && url.get$scheme() === "") {
  99937. 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));
  99938. if (relativeResult != null)
  99939. return relativeResult;
  99940. }
  99941. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A._Record_2_forImport(url, forImport), new A.ImportCache_canonicalize_closure2(_this, url, baseUrl, forImport));
  99942. },
  99943. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  99944. var passContainingUrl, t1, result, _null = null,
  99945. canonicalize = forImport ? new A.ImportCache__canonicalize_closure1(importer, url) : new A.ImportCache__canonicalize_closure2(importer, url);
  99946. if (baseUrl != null)
  99947. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  99948. else
  99949. passContainingUrl = false;
  99950. t1 = passContainingUrl ? baseUrl : _null;
  99951. result = A.withContainingUrl0(t1, canonicalize, type$.nullable_Uri);
  99952. if (result == null)
  99953. return _null;
  99954. if (result.get$scheme() === "")
  99955. 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);
  99956. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  99957. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  99958. return new A._Record_3_originalUrl(importer, result, url);
  99959. },
  99960. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  99961. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  99962. },
  99963. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  99964. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  99965. },
  99966. humanize$1(canonicalUrl) {
  99967. var t1 = A.IterableNullableExtension_whereNotNull(this._import_cache$_canonicalizeCache.get$values(0), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2),
  99968. t2 = t1.$ti;
  99969. 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));
  99970. return t2 == null ? canonicalUrl : t2;
  99971. },
  99972. sourceMapUrl$1(_, canonicalUrl) {
  99973. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  99974. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  99975. return t1 == null ? canonicalUrl : t1;
  99976. }
  99977. };
  99978. A.ImportCache_canonicalize_closure1.prototype = {
  99979. call$0() {
  99980. var _this = this,
  99981. t1 = _this.baseUrl,
  99982. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  99983. if (t2 == null)
  99984. t2 = _this.url;
  99985. return _this.$this._import_cache$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  99986. },
  99987. $signature: 194
  99988. };
  99989. A.ImportCache_canonicalize_closure2.prototype = {
  99990. call$0() {
  99991. var t1, t2, t3, t4, t5, t6, _i, _0_0, _this = this;
  99992. 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) {
  99993. _0_0 = t1._import_cache$_canonicalize$4(t2[_i], t4, t5, t6);
  99994. if (_0_0 != null)
  99995. return _0_0;
  99996. }
  99997. return null;
  99998. },
  99999. $signature: 194
  100000. };
  100001. A.ImportCache__canonicalize_closure1.prototype = {
  100002. call$0() {
  100003. var t1 = type$.nullable_Object;
  100004. 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);
  100005. },
  100006. $signature: 55
  100007. };
  100008. A.ImportCache__canonicalize__closure0.prototype = {
  100009. call$0() {
  100010. return this.importer.canonicalize$1(0, this.resolved);
  100011. },
  100012. $signature: 55
  100013. };
  100014. A.ImportCache__canonicalize_closure2.prototype = {
  100015. call$0() {
  100016. return this.importer.canonicalize$1(0, this.resolved);
  100017. },
  100018. $signature: 55
  100019. };
  100020. A.ImportCache_importCanonical_closure0.prototype = {
  100021. call$0() {
  100022. var t2, t3, t4, _this = this,
  100023. t1 = _this.canonicalUrl,
  100024. result = _this.importer.load$1(0, t1);
  100025. if (result == null)
  100026. return null;
  100027. t2 = _this.$this;
  100028. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  100029. t3 = result.contents;
  100030. t4 = result.syntax;
  100031. t1 = _this.originalUrl.resolveUri$1(t1);
  100032. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  100033. },
  100034. $signature: 461
  100035. };
  100036. A.ImportCache_humanize_closure3.prototype = {
  100037. call$1(result) {
  100038. return J.$eq$(result._1, this.canonicalUrl);
  100039. },
  100040. $signature: 462
  100041. };
  100042. A.ImportCache_humanize_closure4.prototype = {
  100043. call$1(result) {
  100044. return result._2;
  100045. },
  100046. $signature: 463
  100047. };
  100048. A.ImportCache_humanize_closure5.prototype = {
  100049. call$1(url) {
  100050. return url.get$path(url).length;
  100051. },
  100052. $signature: 107
  100053. };
  100054. A.ImportCache_humanize_closure6.prototype = {
  100055. call$1(url) {
  100056. var t1 = $.$get$url(),
  100057. t2 = this.canonicalUrl;
  100058. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  100059. },
  100060. $signature: 44
  100061. };
  100062. A.ImportRule0.prototype = {
  100063. accept$1$1(visitor) {
  100064. return visitor.visitImportRule$1(this);
  100065. },
  100066. accept$1(visitor) {
  100067. return this.accept$1$1(visitor, type$.dynamic);
  100068. },
  100069. toString$0(_) {
  100070. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  100071. },
  100072. $isAstNode0: 1,
  100073. $isStatement0: 1,
  100074. get$span(receiver) {
  100075. return this.span;
  100076. }
  100077. };
  100078. A.JSImporter.prototype = {};
  100079. A.CanonicalizeContext.prototype = {};
  100080. A.JSImporterResult.prototype = {};
  100081. A.Importer0.prototype = {
  100082. isNonCanonicalScheme$1(scheme) {
  100083. return false;
  100084. }
  100085. };
  100086. A.NodeImporterResult0.prototype = {};
  100087. A.IncludeRule0.prototype = {
  100088. get$spanWithoutContent() {
  100089. var t2, t3,
  100090. t1 = this.span;
  100091. if (!(this.content == null)) {
  100092. t2 = t1.file;
  100093. t3 = this.$arguments.span;
  100094. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  100095. t1 = t3;
  100096. }
  100097. return t1;
  100098. },
  100099. accept$1$1(visitor) {
  100100. return visitor.visitIncludeRule$1(this);
  100101. },
  100102. accept$1(visitor) {
  100103. return this.accept$1$1(visitor, type$.dynamic);
  100104. },
  100105. toString$0(_) {
  100106. var t2, _this = this,
  100107. t1 = _this.namespace;
  100108. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  100109. t1 += _this.name;
  100110. t2 = _this.$arguments;
  100111. if (!t2.get$isEmpty(0))
  100112. t1 += "(" + t2.toString$0(0) + ")";
  100113. t2 = _this.content;
  100114. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  100115. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100116. },
  100117. $isAstNode0: 1,
  100118. $isStatement0: 1,
  100119. get$span(receiver) {
  100120. return this.span;
  100121. }
  100122. };
  100123. A.InterpolatedFunctionExpression0.prototype = {
  100124. accept$1$1(visitor) {
  100125. return visitor.visitInterpolatedFunctionExpression$1(this);
  100126. },
  100127. accept$1(visitor) {
  100128. return this.accept$1$1(visitor, type$.dynamic);
  100129. },
  100130. toString$0(_) {
  100131. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  100132. },
  100133. $isExpression0: 1,
  100134. $isAstNode0: 1,
  100135. get$span(receiver) {
  100136. return this.span;
  100137. }
  100138. };
  100139. A.Interpolation0.prototype = {
  100140. get$asPlain() {
  100141. var _0_1, t1, _0_6, _0_6_isSet, first, _null = null,
  100142. _0_0 = this.contents;
  100143. $label0$0: {
  100144. _0_1 = _0_0.length;
  100145. if (_0_1 <= 0) {
  100146. t1 = "";
  100147. break $label0$0;
  100148. }
  100149. if (_0_1 === 1) {
  100150. _0_6 = _0_0[0];
  100151. t1 = _0_6;
  100152. t1 = typeof t1 == "string";
  100153. _0_6_isSet = true;
  100154. } else {
  100155. _0_6 = _null;
  100156. _0_6_isSet = false;
  100157. t1 = false;
  100158. }
  100159. if (t1) {
  100160. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  100161. t1 = first;
  100162. break $label0$0;
  100163. }
  100164. t1 = _null;
  100165. break $label0$0;
  100166. }
  100167. return t1;
  100168. },
  100169. get$initialPlain() {
  100170. var _0_4, t1, _0_4_isSet, first,
  100171. _0_0 = this.contents;
  100172. $label0$0: {
  100173. if (_0_0.length >= 1) {
  100174. _0_4 = _0_0[0];
  100175. t1 = _0_4;
  100176. t1 = typeof t1 == "string";
  100177. _0_4_isSet = true;
  100178. } else {
  100179. _0_4 = null;
  100180. _0_4_isSet = false;
  100181. t1 = false;
  100182. }
  100183. if (t1) {
  100184. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  100185. t1 = first;
  100186. break $label0$0;
  100187. }
  100188. t1 = "";
  100189. break $label0$0;
  100190. }
  100191. return t1;
  100192. },
  100193. Interpolation$20(contents, span) {
  100194. var t1, t2, t3, i, t4, t5,
  100195. _s8_ = "contents";
  100196. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  100197. t4 = t1[i];
  100198. t5 = typeof t4 == "string";
  100199. if (!t5 && !t3._is(t4))
  100200. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  100201. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  100202. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  100203. }
  100204. },
  100205. toString$0(_) {
  100206. var t1 = this.contents;
  100207. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  100208. },
  100209. $isAstNode0: 1,
  100210. get$span(receiver) {
  100211. return this.span;
  100212. }
  100213. };
  100214. A.Interpolation_toString_closure0.prototype = {
  100215. call$1(value) {
  100216. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  100217. },
  100218. $signature: 137
  100219. };
  100220. A.SupportsInterpolation0.prototype = {
  100221. toString$0(_) {
  100222. return "#{" + this.expression.toString$0(0) + "}";
  100223. },
  100224. $isAstNode0: 1,
  100225. get$span(receiver) {
  100226. return this.span;
  100227. }
  100228. };
  100229. A.InterpolationBuffer0.prototype = {
  100230. writeCharCode$1(character) {
  100231. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  100232. return null;
  100233. },
  100234. addInterpolation$1(interpolation) {
  100235. var _0_4, _0_4_isSet, first, rest, _this = this,
  100236. toAdd = interpolation.contents,
  100237. t1 = toAdd.length;
  100238. if (t1 === 0)
  100239. return;
  100240. if (t1 >= 1) {
  100241. _0_4 = toAdd[0];
  100242. t1 = _0_4;
  100243. t1 = typeof t1 == "string";
  100244. _0_4_isSet = true;
  100245. } else {
  100246. _0_4 = null;
  100247. _0_4_isSet = false;
  100248. t1 = false;
  100249. }
  100250. if (t1) {
  100251. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  100252. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  100253. _this._interpolation_buffer0$_text._contents += first;
  100254. toAdd = rest;
  100255. }
  100256. _this._interpolation_buffer0$_flushText$0();
  100257. t1 = _this._interpolation_buffer0$_contents;
  100258. B.JSArray_methods.addAll$1(t1, toAdd);
  100259. if (typeof B.JSArray_methods.get$last(t1) == "string")
  100260. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  100261. },
  100262. _interpolation_buffer0$_flushText$0() {
  100263. var t1 = this._interpolation_buffer0$_text,
  100264. t2 = t1._contents;
  100265. if (t2.length === 0)
  100266. return;
  100267. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  100268. t1._contents = "";
  100269. },
  100270. interpolation$1(span) {
  100271. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  100272. t2 = this._interpolation_buffer0$_text._contents;
  100273. if (t2.length !== 0)
  100274. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  100275. return A.Interpolation$0(t1, span);
  100276. },
  100277. toString$0(_) {
  100278. var t1, t2, _i, t3, element;
  100279. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100280. element = t1[_i];
  100281. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  100282. }
  100283. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  100284. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100285. }
  100286. };
  100287. A.InterpolationMap0.prototype = {
  100288. mapException$1(error) {
  100289. var t3, t4, _this = this,
  100290. target = error.get$span(error),
  100291. source = _this.mapSpan$1(target),
  100292. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  100293. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  100294. t1 = _this._interpolation_map$_interpolation.contents,
  100295. t2 = error._span_exception$_message;
  100296. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  100297. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  100298. else {
  100299. t1 = type$.SourceSpan;
  100300. t3 = type$.String;
  100301. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  100302. error.get$source();
  100303. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  100304. }
  100305. },
  100306. mapSpan$1(target) {
  100307. var _0_10, t1, _0_20, t2, start, _0_2_isSet, end, _this = this, _null = null,
  100308. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  100309. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  100310. $label0$0: {
  100311. _0_10 = _0_1;
  100312. t1 = type$.FileSpan;
  100313. if (t1._is(_0_1)) {
  100314. t1._as(_0_10);
  100315. _0_20 = _0_2;
  100316. t2 = t1._is(_0_2);
  100317. start = _0_10;
  100318. _0_1 = start;
  100319. _0_2_isSet = true;
  100320. } else {
  100321. start = _null;
  100322. _0_20 = start;
  100323. _0_1 = _0_10;
  100324. _0_2_isSet = false;
  100325. t2 = false;
  100326. }
  100327. if (t2) {
  100328. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  100329. break $label0$0;
  100330. }
  100331. if (t1._is(_0_1)) {
  100332. t1._as(_0_1);
  100333. if (_0_2_isSet)
  100334. t2 = _0_20;
  100335. else {
  100336. t2 = _0_2;
  100337. _0_20 = t2;
  100338. _0_2_isSet = true;
  100339. }
  100340. t2 = t2 instanceof A.FileLocation;
  100341. start = _0_1;
  100342. } else {
  100343. start = _null;
  100344. t2 = false;
  100345. }
  100346. if (t2) {
  100347. t1 = _0_2_isSet ? _0_20 : _0_2;
  100348. type$.FileLocation._as(t1);
  100349. t2 = _this._interpolation_map$_interpolation.span;
  100350. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  100351. break $label0$0;
  100352. }
  100353. if (_0_1 instanceof A.FileLocation) {
  100354. type$.FileLocation._as(_0_1);
  100355. if (_0_2_isSet)
  100356. t2 = _0_20;
  100357. else {
  100358. t2 = _0_2;
  100359. _0_20 = t2;
  100360. _0_2_isSet = true;
  100361. }
  100362. t2 = t1._is(t2);
  100363. start = _0_1;
  100364. } else {
  100365. start = _null;
  100366. t2 = false;
  100367. }
  100368. if (t2) {
  100369. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  100370. t1 = _this._interpolation_map$_interpolation.span;
  100371. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  100372. break $label0$0;
  100373. }
  100374. if (_0_1 instanceof A.FileLocation) {
  100375. type$.FileLocation._as(_0_1);
  100376. if (_0_2_isSet)
  100377. t1 = _0_20;
  100378. else {
  100379. t1 = _0_2;
  100380. _0_20 = t1;
  100381. _0_2_isSet = true;
  100382. }
  100383. t1 = t1 instanceof A.FileLocation;
  100384. start = _0_1;
  100385. } else {
  100386. start = _null;
  100387. t1 = false;
  100388. }
  100389. if (t1) {
  100390. t1 = _0_2_isSet ? _0_20 : _0_2;
  100391. type$.FileLocation._as(t1);
  100392. t2 = _this._interpolation_map$_interpolation.span;
  100393. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  100394. break $label0$0;
  100395. }
  100396. t1 = A.throwExpression("[BUG] Unreachable");
  100397. }
  100398. return t1;
  100399. },
  100400. _interpolation_map$_mapLocation$1(target) {
  100401. var t4, previousLocation, _this = this,
  100402. index = _this._interpolation_map$_indexInContents$1(target),
  100403. t1 = _this._interpolation_map$_interpolation,
  100404. t2 = t1.contents,
  100405. _0_0 = t2[index],
  100406. t3 = type$.Expression_2;
  100407. if (t3._is(_0_0))
  100408. return _0_0.get$span(_0_0);
  100409. t4 = index === 0;
  100410. t1 = t1.span;
  100411. if (t4)
  100412. previousLocation = t1.get$start(t1);
  100413. else {
  100414. t1 = t1.get$file(t1);
  100415. t2 = t3._as(t2[index - 1]);
  100416. t2 = t2.get$span(t2);
  100417. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  100418. }
  100419. t1 = t4 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  100420. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  100421. },
  100422. _interpolation_map$_indexInContents$1(target) {
  100423. var t1, t2, t3, i;
  100424. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  100425. if (t3 < t1[i].get$offset())
  100426. return i;
  100427. return this._interpolation_map$_interpolation.contents.length - 1;
  100428. },
  100429. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  100430. var i0, prev, char,
  100431. source = start.file._decodedChars,
  100432. i = start.offset - 1;
  100433. for (; i >= 0;) {
  100434. i0 = i - 1;
  100435. prev = source[i];
  100436. if (prev === 123) {
  100437. if (source[i0] === 35) {
  100438. i = i0;
  100439. break;
  100440. }
  100441. i = i0;
  100442. } else if (prev === 47) {
  100443. i = i0 - 1;
  100444. if (source[i0] === 42)
  100445. for (; true;) {
  100446. i0 = i - 1;
  100447. if (source[i] !== 42) {
  100448. i = i0;
  100449. continue;
  100450. }
  100451. i = i0;
  100452. do {
  100453. i0 = i - 1;
  100454. char = source[i];
  100455. if (char === 42) {
  100456. i = i0;
  100457. continue;
  100458. } else
  100459. break;
  100460. } while (true);
  100461. if (char === 47) {
  100462. i = i0;
  100463. break;
  100464. }
  100465. i = i0;
  100466. }
  100467. } else
  100468. i = i0;
  100469. }
  100470. return i;
  100471. },
  100472. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  100473. var t1, i0, next, second, t2, char,
  100474. source = end.file._decodedChars,
  100475. i = end.offset;
  100476. for (t1 = source.length; i < t1;) {
  100477. i0 = i + 1;
  100478. next = source[i];
  100479. if (next === 125) {
  100480. i = i0;
  100481. break;
  100482. }
  100483. if (next === 47) {
  100484. i = i0 + 1;
  100485. second = source[i0];
  100486. if (second === 47) {
  100487. while (true) {
  100488. i0 = i + 1;
  100489. t2 = source[i];
  100490. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  100491. break;
  100492. i = i0;
  100493. }
  100494. i = i0;
  100495. } else if (second === 42)
  100496. for (; true;) {
  100497. i0 = i + 1;
  100498. if (source[i] !== 42) {
  100499. i = i0;
  100500. continue;
  100501. }
  100502. i = i0;
  100503. do {
  100504. i0 = i + 1;
  100505. char = source[i];
  100506. if (char === 42) {
  100507. i = i0;
  100508. continue;
  100509. } else
  100510. break;
  100511. } while (true);
  100512. if (char === 47) {
  100513. i = i0;
  100514. break;
  100515. }
  100516. i = i0;
  100517. }
  100518. } else
  100519. i = i0;
  100520. }
  100521. return i;
  100522. }
  100523. };
  100524. A.InterpolationMap_mapException_closure0.prototype = {
  100525. call$1($content) {
  100526. return type$.Expression_2._is($content);
  100527. },
  100528. $signature: 71
  100529. };
  100530. A._realCasePath_helper0.prototype = {
  100531. call$1(path) {
  100532. var dirname = $.$get$context().dirname$1(path);
  100533. if (dirname === path)
  100534. return path;
  100535. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  100536. },
  100537. $signature: 5
  100538. };
  100539. A._realCasePath_helper_closure0.prototype = {
  100540. call$0() {
  100541. var matches, t1, _0_0, match, exception,
  100542. realDirname = this.helper.call$1(this.dirname),
  100543. t2 = this.path,
  100544. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  100545. try {
  100546. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  100547. t1 = null;
  100548. _0_0 = matches;
  100549. $label0$0: {
  100550. match = null;
  100551. if (J.get$length$asx(_0_0) === 1) {
  100552. match = J.$index$asx(_0_0, 0);
  100553. t1 = match;
  100554. break $label0$0;
  100555. }
  100556. t1 = A.join(realDirname, basename, null);
  100557. break $label0$0;
  100558. }
  100559. t1 = t1;
  100560. return t1;
  100561. } catch (exception) {
  100562. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  100563. return t2;
  100564. else
  100565. throw exception;
  100566. }
  100567. },
  100568. $signature: 27
  100569. };
  100570. A._realCasePath_helper__closure0.prototype = {
  100571. call$1(realPath) {
  100572. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  100573. },
  100574. $signature: 4
  100575. };
  100576. A.FileSystemException0.prototype = {
  100577. toString$0(_) {
  100578. var t1 = $.$get$context();
  100579. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  100580. },
  100581. get$message(receiver) {
  100582. return this.message;
  100583. }
  100584. };
  100585. A._readFile_closure0.prototype = {
  100586. call$0() {
  100587. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  100588. },
  100589. $signature: 57
  100590. };
  100591. A.fileExists_closure0.prototype = {
  100592. call$0() {
  100593. var error, systemError, exception,
  100594. t1 = this.path;
  100595. if (!J.existsSync$1$x(A.fs(), t1))
  100596. return false;
  100597. try {
  100598. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  100599. return t1;
  100600. } catch (exception) {
  100601. error = A.unwrapException(exception);
  100602. systemError = type$.JsSystemError._as(error);
  100603. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  100604. return false;
  100605. throw exception;
  100606. }
  100607. },
  100608. $signature: 26
  100609. };
  100610. A.dirExists_closure0.prototype = {
  100611. call$0() {
  100612. var error, systemError, exception,
  100613. t1 = this.path;
  100614. if (!J.existsSync$1$x(A.fs(), t1))
  100615. return false;
  100616. try {
  100617. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  100618. return t1;
  100619. } catch (exception) {
  100620. error = A.unwrapException(exception);
  100621. systemError = type$.JsSystemError._as(error);
  100622. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  100623. return false;
  100624. throw exception;
  100625. }
  100626. },
  100627. $signature: 26
  100628. };
  100629. A.listDir_closure0.prototype = {
  100630. call$0() {
  100631. var t1 = this.path;
  100632. if (!this.recursive)
  100633. 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());
  100634. else
  100635. return new A.listDir_closure_list0().call$1(t1);
  100636. },
  100637. $signature: 161
  100638. };
  100639. A.listDir__closure1.prototype = {
  100640. call$1(child) {
  100641. return A.join(this.path, A._asString(child), null);
  100642. },
  100643. $signature: 116
  100644. };
  100645. A.listDir__closure2.prototype = {
  100646. call$1(child) {
  100647. return !A.dirExists0(child);
  100648. },
  100649. $signature: 4
  100650. };
  100651. A.listDir_closure_list0.prototype = {
  100652. call$1($parent) {
  100653. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  100654. },
  100655. $signature: 162
  100656. };
  100657. A.listDir__list_closure0.prototype = {
  100658. call$1(child) {
  100659. var path = A.join(this.parent, A._asString(child), null);
  100660. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  100661. },
  100662. $signature: 163
  100663. };
  100664. A.main_closure.prototype = {
  100665. call$2(_, __) {
  100666. },
  100667. $signature: 464
  100668. };
  100669. A.main_closure0.prototype = {
  100670. call$2(_, __) {
  100671. },
  100672. $signature: 465
  100673. };
  100674. A.JSToDartLogger.prototype = {
  100675. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  100676. var t1 = this._node,
  100677. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  100678. if (_0_0 != null) {
  100679. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  100680. _0_0.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  100681. } else
  100682. this._withAscii$1(new A.JSToDartLogger_warn_closure(this, message, span, trace, deprecation));
  100683. },
  100684. warn$1(_, message) {
  100685. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  100686. },
  100687. warn$2$span(_, message, span) {
  100688. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  100689. },
  100690. debug$2(_, message, span) {
  100691. var t1 = this._node,
  100692. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  100693. if (_0_0 != null)
  100694. _0_0.call$2(message, {span: span});
  100695. else
  100696. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  100697. },
  100698. _withAscii$1$1(callback) {
  100699. var t1,
  100700. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  100701. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  100702. try {
  100703. t1 = callback.call$0();
  100704. return t1;
  100705. } finally {
  100706. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  100707. }
  100708. },
  100709. _withAscii$1(callback) {
  100710. return this._withAscii$1$1(callback, type$.dynamic);
  100711. }
  100712. };
  100713. A.JSToDartLogger_warn_closure.prototype = {
  100714. call$0() {
  100715. var _this = this;
  100716. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  100717. },
  100718. $signature: 1
  100719. };
  100720. A.JSToDartLogger_debug_closure.prototype = {
  100721. call$0() {
  100722. return this.$this._fallback.debug$2(0, this.message, this.span);
  100723. },
  100724. $signature: 0
  100725. };
  100726. A.ModifiableCssKeyframeBlock0.prototype = {
  100727. accept$1$1(visitor) {
  100728. return visitor.visitCssKeyframeBlock$1(this);
  100729. },
  100730. accept$1(visitor) {
  100731. return this.accept$1$1(visitor, type$.dynamic);
  100732. },
  100733. equalsIgnoringChildren$1(other) {
  100734. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  100735. },
  100736. copyWithoutChildren$0() {
  100737. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  100738. },
  100739. get$span(receiver) {
  100740. return this.span;
  100741. }
  100742. };
  100743. A.KeyframeSelectorParser0.prototype = {
  100744. parse$0() {
  100745. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  100746. },
  100747. _keyframe_selector$_percentage$0() {
  100748. var $self, _0_0,
  100749. t1 = this.scanner,
  100750. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  100751. second = t1.peekChar$0();
  100752. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  100753. t1.error$1(0, "Expected number.");
  100754. while (true) {
  100755. $self = t1.peekChar$0();
  100756. if (!($self != null && $self >= 48 && $self <= 57))
  100757. break;
  100758. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  100759. }
  100760. if (t1.peekChar$0() === 46) {
  100761. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  100762. while (true) {
  100763. $self = t1.peekChar$0();
  100764. if (!($self != null && $self >= 48 && $self <= 57))
  100765. break;
  100766. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  100767. }
  100768. }
  100769. if (this.scanIdentChar$1(101)) {
  100770. t2 += A.Primitives_stringFromCharCode(101);
  100771. _0_0 = t1.peekChar$0();
  100772. if (43 === _0_0 || 45 === _0_0)
  100773. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  100774. $self = t1.peekChar$0();
  100775. if (!($self != null && $self >= 48 && $self <= 57))
  100776. t1.error$1(0, "Expected digit.");
  100777. do {
  100778. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  100779. $self = t1.peekChar$0();
  100780. } while ($self != null && $self >= 48 && $self <= 57);
  100781. }
  100782. t1.expectChar$1(37);
  100783. t2 += A.Primitives_stringFromCharCode(37);
  100784. return t2.charCodeAt(0) == 0 ? t2 : t2;
  100785. }
  100786. };
  100787. A.KeyframeSelectorParser_parse_closure0.prototype = {
  100788. call$0() {
  100789. var selectors = A._setArrayType([], type$.JSArray_String),
  100790. t1 = this.$this,
  100791. t2 = t1.scanner;
  100792. do {
  100793. t1.whitespace$0();
  100794. if (t1.lookingAtIdentifier$0())
  100795. if (t1.scanIdentifier$1("from"))
  100796. selectors.push("from");
  100797. else {
  100798. t1.expectIdentifier$2$name("to", '"to" or "from"');
  100799. selectors.push("to");
  100800. }
  100801. else
  100802. selectors.push(t1._keyframe_selector$_percentage$0());
  100803. t1.whitespace$0();
  100804. } while (t2.scanChar$1(44));
  100805. t2.expectDone$0();
  100806. return selectors;
  100807. },
  100808. $signature: 115
  100809. };
  100810. A.LazyFileSpan0.prototype = {
  100811. get$span(_) {
  100812. var t1 = this._lazy_file_span0$_span;
  100813. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  100814. },
  100815. compareTo$1(_, other) {
  100816. return this.get$span(0).compareTo$1(0, other);
  100817. },
  100818. get$context(_) {
  100819. var t1 = this.get$span(0);
  100820. return t1.get$context(t1);
  100821. },
  100822. get$end(_) {
  100823. var t1 = this.get$span(0);
  100824. return t1.get$end(t1);
  100825. },
  100826. expand$1(_, other) {
  100827. return this.get$span(0).expand$1(0, other);
  100828. },
  100829. get$file(_) {
  100830. var t1 = this.get$span(0);
  100831. return t1.get$file(t1);
  100832. },
  100833. highlight$1$color(color) {
  100834. return this.get$span(0).highlight$1$color(color);
  100835. },
  100836. get$length(_) {
  100837. var t1 = this.get$span(0);
  100838. return t1.get$length(t1);
  100839. },
  100840. message$2$color(_, message, color) {
  100841. return this.get$span(0).message$2$color(0, message, color);
  100842. },
  100843. message$1(_, message) {
  100844. return this.message$2$color(0, message, null);
  100845. },
  100846. get$sourceUrl(_) {
  100847. var t1 = this.get$span(0);
  100848. return t1.get$sourceUrl(t1);
  100849. },
  100850. get$start(_) {
  100851. var t1 = this.get$span(0);
  100852. return t1.get$start(t1);
  100853. },
  100854. get$text() {
  100855. return this.get$span(0).get$text();
  100856. },
  100857. $isComparable: 1,
  100858. $isFileSpan: 1,
  100859. $isSourceSpan: 1,
  100860. $isSourceSpanWithContext: 1
  100861. };
  100862. A.render_closure.prototype = {
  100863. call$0() {
  100864. var error, exception;
  100865. try {
  100866. this.callback.call$2(null, A.renderSync(this.options));
  100867. } catch (exception) {
  100868. error = A.unwrapException(exception);
  100869. this.callback.call$2(error, null);
  100870. }
  100871. return null;
  100872. },
  100873. $signature: 1
  100874. };
  100875. A.render_closure0.prototype = {
  100876. call$1(result) {
  100877. this.callback.call$2(null, result);
  100878. },
  100879. $signature: 466
  100880. };
  100881. A.render_closure1.prototype = {
  100882. call$2(error, stackTrace) {
  100883. var t2, t3, _null = null,
  100884. t1 = this.callback;
  100885. if (error instanceof A.SassException0)
  100886. t1.call$2(A._wrapException(error, stackTrace), _null);
  100887. else {
  100888. t2 = J.toString$0$(error);
  100889. t3 = A.getTrace0(error);
  100890. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  100891. }
  100892. },
  100893. $signature: 53
  100894. };
  100895. A._parseFunctions_closure.prototype = {
  100896. call$2(signature, callback) {
  100897. var _0_0, _this = this, t1 = {},
  100898. t2 = _this.options,
  100899. context = {options: A._contextOptions(t2, _this.start)};
  100900. J.set$context$x(J.get$options$x(context), context);
  100901. t1.fiber = null;
  100902. _0_0 = J.get$fiber$x(t2);
  100903. if (_0_0 != null) {
  100904. t1.fiber = _0_0;
  100905. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  100906. } else {
  100907. t1 = _this.result;
  100908. if (!_this.asynch)
  100909. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  100910. else
  100911. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  100912. }
  100913. },
  100914. $signature: 128
  100915. };
  100916. A._parseFunctions__closure.prototype = {
  100917. call$1($arguments) {
  100918. var result,
  100919. t1 = this._box_0,
  100920. currentFiber = J.get$current$x(t1.fiber),
  100921. t2 = type$.Object;
  100922. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  100923. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  100924. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  100925. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  100926. },
  100927. $signature: 3
  100928. };
  100929. A._parseFunctions___closure2.prototype = {
  100930. call$1(result) {
  100931. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  100932. },
  100933. call$0() {
  100934. return this.call$1(null);
  100935. },
  100936. "call*": "call$1",
  100937. $requiredArgCount: 0,
  100938. $defaultValues() {
  100939. return [null];
  100940. },
  100941. $signature: 89
  100942. };
  100943. A._parseFunctions____closure.prototype = {
  100944. call$0() {
  100945. return J.run$1$x(this.currentFiber, this.result);
  100946. },
  100947. $signature: 0
  100948. };
  100949. A._parseFunctions___closure3.prototype = {
  100950. call$0() {
  100951. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  100952. },
  100953. $signature: 35
  100954. };
  100955. A._parseFunctions___closure4.prototype = {
  100956. call$0() {
  100957. return J.yield$0$x(this._box_0.fiber);
  100958. },
  100959. $signature: 82
  100960. };
  100961. A._parseFunctions__closure0.prototype = {
  100962. call$1($arguments) {
  100963. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  100964. },
  100965. $signature: 3
  100966. };
  100967. A._parseFunctions___closure1.prototype = {
  100968. call$0() {
  100969. var t1 = type$.JSFunction._as(this.callback),
  100970. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  100971. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, A._instanceType(t2)._eval$1("ListIterable.E")));
  100972. },
  100973. $signature: 35
  100974. };
  100975. A._parseFunctions__closure1.prototype = {
  100976. call$1($arguments) {
  100977. return this.$call$body$_parseFunctions__closure($arguments);
  100978. },
  100979. $call$body$_parseFunctions__closure($arguments) {
  100980. var $async$goto = 0,
  100981. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  100982. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  100983. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100984. if ($async$errorCode === 1)
  100985. return A._asyncRethrow($async$result, $async$completer);
  100986. while (true)
  100987. switch ($async$goto) {
  100988. case 0:
  100989. // Function start
  100990. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  100991. t2 = type$.Object;
  100992. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  100993. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  100994. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  100995. $async$temp1 = A;
  100996. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  100997. break;
  100998. case 3:
  100999. // then
  101000. $async$goto = 6;
  101001. return A._asyncAwait(t1, $async$call$1);
  101002. case 6:
  101003. // returning from await.
  101004. // goto join
  101005. $async$goto = 4;
  101006. break;
  101007. case 5:
  101008. // else
  101009. $async$result = result;
  101010. case 4:
  101011. // join
  101012. $async$returnValue = $async$temp1.unwrapValue($async$result);
  101013. // goto return
  101014. $async$goto = 1;
  101015. break;
  101016. case 1:
  101017. // return
  101018. return A._asyncReturn($async$returnValue, $async$completer);
  101019. }
  101020. });
  101021. return A._asyncStartSync($async$call$1, $async$completer);
  101022. },
  101023. $signature: 98
  101024. };
  101025. A._parseFunctions___closure.prototype = {
  101026. call$1(result) {
  101027. return this.completer.complete$1(result);
  101028. },
  101029. call$0() {
  101030. return this.call$1(null);
  101031. },
  101032. "call*": "call$1",
  101033. $requiredArgCount: 0,
  101034. $defaultValues() {
  101035. return [null];
  101036. },
  101037. $signature: 252
  101038. };
  101039. A._parseFunctions___closure0.prototype = {
  101040. call$0() {
  101041. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101042. },
  101043. $signature: 35
  101044. };
  101045. A._parseImporter_closure.prototype = {
  101046. call$1(importer) {
  101047. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  101048. },
  101049. $signature: 467
  101050. };
  101051. A._parseImporter__closure.prototype = {
  101052. call$4(thisArg, url, previous, _) {
  101053. var t1 = this._box_0,
  101054. 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));
  101055. if (A._asBool($.$get$_isUndefined().call$1(result)))
  101056. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  101057. return result;
  101058. },
  101059. call$3(thisArg, url, previous) {
  101060. return this.call$4(thisArg, url, previous, null);
  101061. },
  101062. "call*": "call$4",
  101063. $requiredArgCount: 3,
  101064. $defaultValues() {
  101065. return [null];
  101066. },
  101067. $signature: 468
  101068. };
  101069. A._parseImporter___closure.prototype = {
  101070. call$1(result) {
  101071. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  101072. },
  101073. $signature: 469
  101074. };
  101075. A._parseImporter____closure.prototype = {
  101076. call$0() {
  101077. return J.run$1$x(this.currentFiber, this.result);
  101078. },
  101079. $signature: 0
  101080. };
  101081. A._parseImporter___closure0.prototype = {
  101082. call$0() {
  101083. return J.yield$0$x(this._box_0.fiber);
  101084. },
  101085. $signature: 82
  101086. };
  101087. A.LimitedMapView0.prototype = {
  101088. get$keys(_) {
  101089. return this._limited_map_view0$_keys;
  101090. },
  101091. get$length(_) {
  101092. return this._limited_map_view0$_keys._collection$_length;
  101093. },
  101094. get$isEmpty(_) {
  101095. return this._limited_map_view0$_keys._collection$_length === 0;
  101096. },
  101097. get$isNotEmpty(_) {
  101098. return this._limited_map_view0$_keys._collection$_length !== 0;
  101099. },
  101100. $index(_, key) {
  101101. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  101102. },
  101103. containsKey$1(key) {
  101104. return this._limited_map_view0$_keys.contains$1(0, key);
  101105. },
  101106. remove$1(_, key) {
  101107. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  101108. }
  101109. };
  101110. A.ListExpression0.prototype = {
  101111. accept$1$1(visitor) {
  101112. return visitor.visitListExpression$1(this);
  101113. },
  101114. accept$1(visitor) {
  101115. return this.accept$1$1(visitor, type$.dynamic);
  101116. },
  101117. toString$0(_) {
  101118. var t2, t3, t4, t5, _this = this,
  101119. t1 = _this.hasBrackets;
  101120. if (t1)
  101121. t2 = "" + A.Primitives_stringFromCharCode(91);
  101122. else {
  101123. t2 = _this.contents.length;
  101124. if (t2 !== 0)
  101125. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA0;
  101126. else
  101127. t2 = true;
  101128. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  101129. }
  101130. t3 = _this.contents;
  101131. t4 = _this.separator === B.ListSeparator_rXA0;
  101132. t5 = t4 ? ", " : " ";
  101133. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  101134. if (t1)
  101135. t1 = t5 + A.Primitives_stringFromCharCode(93);
  101136. else {
  101137. t1 = t3.length;
  101138. if (t1 === 0)
  101139. t1 = t5 + A.Primitives_stringFromCharCode(41);
  101140. else
  101141. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  101142. }
  101143. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101144. },
  101145. _list3$_elementNeedsParens$1(expression) {
  101146. var childSeparator, t1, _0_13;
  101147. $label0$0: {
  101148. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  101149. childSeparator = expression.separator;
  101150. t1 = this.separator === B.ListSeparator_rXA0 ? childSeparator === B.ListSeparator_rXA0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  101151. break $label0$0;
  101152. }
  101153. if (expression instanceof A.UnaryOperationExpression0) {
  101154. _0_13 = expression.operator;
  101155. if (B.UnaryOperator_gg40 !== _0_13)
  101156. t1 = B.UnaryOperator_TLI0 === _0_13;
  101157. else
  101158. t1 = true;
  101159. } else
  101160. t1 = false;
  101161. if (t1) {
  101162. t1 = this.separator === B.ListSeparator_EVt0;
  101163. break $label0$0;
  101164. }
  101165. t1 = false;
  101166. break $label0$0;
  101167. }
  101168. return t1;
  101169. },
  101170. $isExpression0: 1,
  101171. $isAstNode0: 1,
  101172. get$span(receiver) {
  101173. return this.span;
  101174. }
  101175. };
  101176. A.ListExpression_toString_closure0.prototype = {
  101177. call$1(element) {
  101178. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  101179. },
  101180. $signature: 131
  101181. };
  101182. A._length_closure2.prototype = {
  101183. call$1($arguments) {
  101184. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  101185. },
  101186. $signature: 11
  101187. };
  101188. A._nth_closure0.prototype = {
  101189. call$1($arguments) {
  101190. var t1 = J.getInterceptor$asx($arguments),
  101191. list = t1.$index($arguments, 0),
  101192. index = t1.$index($arguments, 1);
  101193. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  101194. },
  101195. $signature: 3
  101196. };
  101197. A._setNth_closure0.prototype = {
  101198. call$1($arguments) {
  101199. var newList,
  101200. t1 = J.getInterceptor$asx($arguments),
  101201. list = t1.$index($arguments, 0),
  101202. index = t1.$index($arguments, 1),
  101203. value = t1.$index($arguments, 2);
  101204. t1 = list.get$asList();
  101205. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  101206. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  101207. return list.withListContents$1(newList);
  101208. },
  101209. $signature: 22
  101210. };
  101211. A._join_closure0.prototype = {
  101212. call$1($arguments) {
  101213. var _0_1, _0_4, _0_3, _0_10, _0_40, _0_4_isSet, separator, bracketed, t2, _null = null,
  101214. t1 = J.getInterceptor$asx($arguments),
  101215. list1 = t1.$index($arguments, 0),
  101216. list2 = t1.$index($arguments, 1),
  101217. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  101218. bracketedParam = t1.$index($arguments, 3),
  101219. _1_0 = separatorParam._string0$_text;
  101220. $label1$1: {
  101221. if ("auto" === _1_0) {
  101222. _0_1 = list1.get$separator(list1);
  101223. _0_4 = list2.get$separator(list2);
  101224. $label0$0: {
  101225. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  101226. t1 = _0_3;
  101227. _0_10 = _0_1;
  101228. if (t1) {
  101229. t1 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  101230. _0_40 = _0_4;
  101231. _0_4_isSet = true;
  101232. } else {
  101233. _0_40 = _null;
  101234. _0_4_isSet = false;
  101235. t1 = false;
  101236. }
  101237. if (t1) {
  101238. t1 = B.ListSeparator_EVt0;
  101239. break $label0$0;
  101240. }
  101241. if (_0_3) {
  101242. separator = _0_4_isSet ? _0_40 : _0_4;
  101243. t1 = true;
  101244. } else {
  101245. separator = _null;
  101246. t1 = false;
  101247. }
  101248. if (!t1)
  101249. separator = _0_10;
  101250. t1 = separator;
  101251. break $label0$0;
  101252. }
  101253. break $label1$1;
  101254. }
  101255. if ("space" === _1_0) {
  101256. t1 = B.ListSeparator_EVt0;
  101257. break $label1$1;
  101258. }
  101259. if ("comma" === _1_0) {
  101260. t1 = B.ListSeparator_rXA0;
  101261. break $label1$1;
  101262. }
  101263. if ("slash" === _1_0) {
  101264. t1 = B.ListSeparator_zg90;
  101265. break $label1$1;
  101266. }
  101267. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  101268. }
  101269. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  101270. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  101271. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  101272. return A.SassList$0(t2, t1, bracketed);
  101273. },
  101274. $signature: 22
  101275. };
  101276. A._append_closure2.prototype = {
  101277. call$1($arguments) {
  101278. var t2,
  101279. t1 = J.getInterceptor$asx($arguments),
  101280. list = t1.$index($arguments, 0),
  101281. value = t1.$index($arguments, 1),
  101282. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  101283. $label0$0: {
  101284. if ("auto" === _0_0) {
  101285. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  101286. break $label0$0;
  101287. }
  101288. if ("space" === _0_0) {
  101289. t1 = B.ListSeparator_EVt0;
  101290. break $label0$0;
  101291. }
  101292. if ("comma" === _0_0) {
  101293. t1 = B.ListSeparator_rXA0;
  101294. break $label0$0;
  101295. }
  101296. if ("slash" === _0_0) {
  101297. t1 = B.ListSeparator_zg90;
  101298. break $label0$0;
  101299. }
  101300. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  101301. }
  101302. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  101303. t2.push(value);
  101304. return list.withListContents$2$separator(t2, t1);
  101305. },
  101306. $signature: 22
  101307. };
  101308. A._zip_closure0.prototype = {
  101309. call$1($arguments) {
  101310. var results, result, _box_0 = {},
  101311. t1 = J.$index$asx($arguments, 0).get$asList(),
  101312. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  101313. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  101314. if (lists.length === 0)
  101315. return B.SassList_Sof1;
  101316. _box_0.i = 0;
  101317. results = A._setArrayType([], type$.JSArray_SassList_2);
  101318. 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));) {
  101319. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  101320. result.fixed$length = Array;
  101321. result.immutable$list = Array;
  101322. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  101323. ++_box_0.i;
  101324. }
  101325. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  101326. },
  101327. $signature: 22
  101328. };
  101329. A._zip__closure2.prototype = {
  101330. call$1(list) {
  101331. return list.get$asList();
  101332. },
  101333. $signature: 471
  101334. };
  101335. A._zip__closure3.prototype = {
  101336. call$1(list) {
  101337. return this._box_0.i !== J.get$length$asx(list);
  101338. },
  101339. $signature: 472
  101340. };
  101341. A._zip__closure4.prototype = {
  101342. call$1(list) {
  101343. return J.$index$asx(list, this._box_0.i);
  101344. },
  101345. $signature: 3
  101346. };
  101347. A._index_closure2.prototype = {
  101348. call$1($arguments) {
  101349. var t1 = J.getInterceptor$asx($arguments),
  101350. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  101351. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  101352. },
  101353. $signature: 3
  101354. };
  101355. A._separator_closure0.prototype = {
  101356. call$1($arguments) {
  101357. var t1,
  101358. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  101359. $label0$0: {
  101360. if (B.ListSeparator_rXA0 === _0_0) {
  101361. t1 = new A.SassString0("comma", false);
  101362. break $label0$0;
  101363. }
  101364. if (B.ListSeparator_zg90 === _0_0) {
  101365. t1 = new A.SassString0("slash", false);
  101366. break $label0$0;
  101367. }
  101368. t1 = new A.SassString0("space", false);
  101369. break $label0$0;
  101370. }
  101371. return t1;
  101372. },
  101373. $signature: 17
  101374. };
  101375. A._isBracketed_closure0.prototype = {
  101376. call$1($arguments) {
  101377. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101378. },
  101379. $signature: 20
  101380. };
  101381. A._slash_closure0.prototype = {
  101382. call$1($arguments) {
  101383. var list = J.$index$asx($arguments, 0).get$asList();
  101384. if (list.length < 2)
  101385. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  101386. return A.SassList$0(list, B.ListSeparator_zg90, false);
  101387. },
  101388. $signature: 22
  101389. };
  101390. A.SelectorList0.prototype = {
  101391. get$asSassList() {
  101392. var t1 = this.components;
  101393. 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);
  101394. },
  101395. accept$1$1(visitor) {
  101396. return visitor.visitSelectorList$1(this);
  101397. },
  101398. accept$1(visitor) {
  101399. return this.accept$1$1(visitor, type$.dynamic);
  101400. },
  101401. unify$1(other) {
  101402. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  101403. t1 = type$.JSArray_ComplexSelector_2,
  101404. t2 = A._setArrayType([], t1);
  101405. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  101406. complex1 = t3[_i];
  101407. for (_i0 = 0; _i0 < t6; ++_i0) {
  101408. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  101409. if (t7 != null)
  101410. B.JSArray_methods.addAll$1(t2, t7);
  101411. }
  101412. }
  101413. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  101414. },
  101415. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  101416. var parentSelector, t1, _this = this;
  101417. if ($parent == null) {
  101418. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  101419. if (parentSelector == null)
  101420. return _this;
  101421. throw A.wrapException(A.SassException$0(string$.Top_le, parentSelector.span, null));
  101422. }
  101423. t1 = _this.components;
  101424. 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);
  101425. },
  101426. resolveParentSelectors$1($parent) {
  101427. return this.resolveParentSelectors$2$implicitParent($parent, true);
  101428. },
  101429. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  101430. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  101431. t1 = component.selector,
  101432. simples = t1.components,
  101433. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  101434. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  101435. return null;
  101436. if (containsSelectorPseudo) {
  101437. t2 = simples;
  101438. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  101439. } else
  101440. resolvedSimples0 = simples;
  101441. resolvedSimples = resolvedSimples0;
  101442. parentSelector = J.get$first$ax(simples);
  101443. try {
  101444. if (!(parentSelector instanceof A.ParentSelector0)) {
  101445. t2 = component.span;
  101446. 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);
  101447. return t2;
  101448. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  101449. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  101450. return t1.components;
  101451. }
  101452. } catch (exception) {
  101453. t1 = A.unwrapException(exception);
  101454. if (t1 instanceof A.SassException0) {
  101455. error = t1;
  101456. stackTrace = A.getTraceFromException(exception);
  101457. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  101458. } else
  101459. throw exception;
  101460. }
  101461. t1 = $parent.components;
  101462. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  101463. },
  101464. isSuperselector$1(other) {
  101465. return A.listIsSuperselector0(this.components, other.components);
  101466. },
  101467. withAdditionalCombinators$1(combinators) {
  101468. var t1;
  101469. if (combinators.length === 0)
  101470. t1 = this;
  101471. else {
  101472. t1 = this.components;
  101473. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  101474. }
  101475. return t1;
  101476. },
  101477. get$hashCode(_) {
  101478. return B.C_ListEquality0.hash$1(this.components);
  101479. },
  101480. $eq(_, other) {
  101481. if (other == null)
  101482. return false;
  101483. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  101484. }
  101485. };
  101486. A.SelectorList_asSassList_closure0.prototype = {
  101487. call$1(complex) {
  101488. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  101489. t1 = type$.JSArray_Value_2,
  101490. t2 = A._setArrayType([], t1);
  101491. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  101492. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  101493. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  101494. component = t3[_i];
  101495. t5 = component.selector;
  101496. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  101497. t5.accept$1(visitor);
  101498. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  101499. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  101500. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  101501. B.JSArray_methods.addAll$1(t2, t5);
  101502. }
  101503. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  101504. },
  101505. $signature: 473
  101506. };
  101507. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  101508. call$1(complex) {
  101509. 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;
  101510. if (complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  101511. if (!_this.implicitParent)
  101512. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  101513. t1 = _this.parent.components;
  101514. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  101515. }
  101516. t1 = type$.JSArray_ComplexSelector_2;
  101517. newComplexes = A._setArrayType([], t1);
  101518. 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) {
  101519. component = t2[_i];
  101520. resolved = t4._list2$_resolveParentSelectorsCompound$2(component, t5);
  101521. if (resolved == null)
  101522. if (newComplexes.length === 0)
  101523. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  101524. else
  101525. for (i = 0; i < newComplexes.length; ++i) {
  101526. t12 = newComplexes[i];
  101527. t13 = t12.leadingCombinators;
  101528. t14 = A.List_List$of(t12.components, true, t10);
  101529. t14.push(component);
  101530. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12.lineBreak || false);
  101531. }
  101532. else if (newComplexes.length === 0)
  101533. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure2(complex), t6));
  101534. else {
  101535. t12 = A._setArrayType([], t1);
  101536. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  101537. newComplex = newComplexes[_i0];
  101538. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  101539. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  101540. }
  101541. newComplexes = t12;
  101542. }
  101543. }
  101544. return newComplexes;
  101545. },
  101546. $signature: 474
  101547. };
  101548. A.SelectorList_resolveParentSelectors__closure1.prototype = {
  101549. call$1(parentComplex) {
  101550. var t1 = this.complex;
  101551. return parentComplex.concatenate$2(t1, t1.span);
  101552. },
  101553. $signature: 63
  101554. };
  101555. A.SelectorList_resolveParentSelectors__closure2.prototype = {
  101556. call$1(resolvedComplex) {
  101557. var t1 = resolvedComplex.leadingCombinators,
  101558. t2 = this.complex,
  101559. t3 = t2.leadingCombinators;
  101560. if (t1.length === 0)
  101561. t1 = t3;
  101562. else {
  101563. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  101564. B.JSArray_methods.addAll$1(t3, t1);
  101565. t1 = t3;
  101566. }
  101567. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  101568. },
  101569. $signature: 63
  101570. };
  101571. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  101572. call$1(simple) {
  101573. var selector;
  101574. if (!(simple instanceof A.PseudoSelector0))
  101575. return false;
  101576. selector = simple.selector;
  101577. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  101578. },
  101579. $signature: 14
  101580. };
  101581. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  101582. call$1(simple) {
  101583. var _0_2, selector, t1;
  101584. $label0$0: {
  101585. if (simple instanceof A.PseudoSelector0) {
  101586. _0_2 = simple.selector;
  101587. if (_0_2 != null) {
  101588. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  101589. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  101590. } else {
  101591. selector = null;
  101592. t1 = false;
  101593. }
  101594. } else {
  101595. selector = null;
  101596. t1 = false;
  101597. }
  101598. if (t1) {
  101599. t1 = simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  101600. break $label0$0;
  101601. }
  101602. t1 = simple;
  101603. break $label0$0;
  101604. }
  101605. return t1;
  101606. },
  101607. $signature: 475
  101608. };
  101609. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  101610. call$1(complex) {
  101611. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  101612. try {
  101613. t4 = complex.components;
  101614. lastComponent = B.JSArray_methods.get$last(t4);
  101615. if (lastComponent.combinators.length !== 0) {
  101616. 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);
  101617. throw A.wrapException(t1);
  101618. }
  101619. suffix = _this.parentSelector.suffix;
  101620. lastSimples = lastComponent.selector.components;
  101621. t5 = type$.SimpleSelector_2;
  101622. t6 = _this.resolvedSimples;
  101623. t7 = J.getInterceptor$ax(t6);
  101624. if (suffix == null) {
  101625. t1 = A.List_List$of(lastSimples, true, t5);
  101626. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  101627. t1 = t1;
  101628. } else {
  101629. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  101630. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  101631. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  101632. t1 = t2;
  101633. }
  101634. t2 = _this.component;
  101635. last = A.CompoundSelector$0(t1, t2.selector.span);
  101636. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  101637. t4 = t2.span;
  101638. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  101639. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  101640. return t4;
  101641. } catch (exception) {
  101642. t1 = A.unwrapException(exception);
  101643. if (t1 instanceof A.SassException0) {
  101644. error = t1;
  101645. stackTrace = A.getTraceFromException(exception);
  101646. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  101647. } else
  101648. throw exception;
  101649. }
  101650. },
  101651. $signature: 63
  101652. };
  101653. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  101654. call$1(complex) {
  101655. return complex.withAdditionalCombinators$1(this.combinators);
  101656. },
  101657. $signature: 63
  101658. };
  101659. A._ParentSelectorVisitor0.prototype = {
  101660. visitParentSelector$1(selector) {
  101661. return selector;
  101662. }
  101663. };
  101664. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  101665. A.listClass_closure.prototype = {
  101666. call$0() {
  101667. var t1 = type$.JSClass,
  101668. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  101669. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  101670. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  101671. return jsClass;
  101672. },
  101673. $signature: 13
  101674. };
  101675. A.listClass__closure.prototype = {
  101676. call$3($self, contentsOrOptions, options) {
  101677. var contents, t1, t2;
  101678. if (self.immutable.isList(contentsOrOptions))
  101679. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  101680. else if (type$.List_dynamic._is(contentsOrOptions))
  101681. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  101682. else {
  101683. contents = A._setArrayType([], type$.JSArray_Value_2);
  101684. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  101685. options = contentsOrOptions;
  101686. }
  101687. t1 = options == null;
  101688. if (!t1) {
  101689. t2 = J.get$separator$x(options);
  101690. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  101691. } else
  101692. t2 = true;
  101693. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  101694. t1 = t1 ? null : J.get$brackets$x(options);
  101695. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  101696. },
  101697. call$1($self) {
  101698. return this.call$3($self, null, null);
  101699. },
  101700. call$2($self, contentsOrOptions) {
  101701. return this.call$3($self, contentsOrOptions, null);
  101702. },
  101703. "call*": "call$3",
  101704. $requiredArgCount: 1,
  101705. $defaultValues() {
  101706. return [null, null];
  101707. },
  101708. $signature: 476
  101709. };
  101710. A.listClass__closure0.prototype = {
  101711. call$2($self, indexFloat) {
  101712. var index = B.JSNumber_methods.floor$0(indexFloat);
  101713. if (index < 0)
  101714. index = $self.get$asList().length + index;
  101715. if (index < 0 || index >= $self.get$asList().length)
  101716. return self.undefined;
  101717. return $self.get$asList()[index];
  101718. },
  101719. $signature: 182
  101720. };
  101721. A._ConstructorOptions.prototype = {};
  101722. A._NodeSassList.prototype = {};
  101723. A.legacyListClass_closure.prototype = {
  101724. call$4(thisArg, $length, commaSeparator, dartValue) {
  101725. var t1;
  101726. if (dartValue == null) {
  101727. $length.toString;
  101728. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  101729. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  101730. } else
  101731. t1 = dartValue;
  101732. J.set$dartValue$x(thisArg, t1);
  101733. },
  101734. call$2(thisArg, $length) {
  101735. return this.call$4(thisArg, $length, null, null);
  101736. },
  101737. call$3(thisArg, $length, commaSeparator) {
  101738. return this.call$4(thisArg, $length, commaSeparator, null);
  101739. },
  101740. "call*": "call$4",
  101741. $requiredArgCount: 2,
  101742. $defaultValues() {
  101743. return [null, null];
  101744. },
  101745. $signature: 478
  101746. };
  101747. A.legacyListClass__closure.prototype = {
  101748. call$1(_) {
  101749. return B.C__SassNull0;
  101750. },
  101751. $signature: 181
  101752. };
  101753. A.legacyListClass_closure0.prototype = {
  101754. call$2(thisArg, index) {
  101755. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  101756. },
  101757. $signature: 480
  101758. };
  101759. A.legacyListClass_closure1.prototype = {
  101760. call$3(thisArg, index, value) {
  101761. var t1 = J.getInterceptor$x(thisArg),
  101762. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  101763. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  101764. mutable[index] = A.unwrapValue(value);
  101765. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  101766. },
  101767. "call*": "call$3",
  101768. $requiredArgCount: 3,
  101769. $signature: 481
  101770. };
  101771. A.legacyListClass_closure2.prototype = {
  101772. call$1(thisArg) {
  101773. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  101774. },
  101775. $signature: 482
  101776. };
  101777. A.legacyListClass_closure3.prototype = {
  101778. call$2(thisArg, isComma) {
  101779. var t1 = J.getInterceptor$x(thisArg),
  101780. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  101781. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  101782. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  101783. },
  101784. $signature: 483
  101785. };
  101786. A.legacyListClass_closure4.prototype = {
  101787. call$1(thisArg) {
  101788. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  101789. },
  101790. $signature: 484
  101791. };
  101792. A.SassList0.prototype = {
  101793. get$separator(_) {
  101794. return this._list1$_separator;
  101795. },
  101796. get$hasBrackets() {
  101797. return this._list1$_hasBrackets;
  101798. },
  101799. get$isBlank() {
  101800. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  101801. },
  101802. get$asList() {
  101803. return this._list1$_contents;
  101804. },
  101805. get$lengthAsList() {
  101806. return this._list1$_contents.length;
  101807. },
  101808. SassList$3$brackets0(contents, _separator, brackets) {
  101809. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  101810. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  101811. },
  101812. accept$1$1(visitor) {
  101813. return visitor.visitList$1(this);
  101814. },
  101815. accept$1(visitor) {
  101816. return this.accept$1$1(visitor, type$.dynamic);
  101817. },
  101818. assertMap$1($name) {
  101819. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  101820. },
  101821. tryMap$0() {
  101822. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  101823. },
  101824. $eq(_, other) {
  101825. var t1, _this = this;
  101826. if (other == null)
  101827. return false;
  101828. 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)))
  101829. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  101830. else
  101831. t1 = true;
  101832. return t1;
  101833. },
  101834. get$hashCode(_) {
  101835. return B.C_ListEquality0.hash$1(this._list1$_contents);
  101836. }
  101837. };
  101838. A.SassList_isBlank_closure0.prototype = {
  101839. call$1(element) {
  101840. return element.get$isBlank();
  101841. },
  101842. $signature: 49
  101843. };
  101844. A.ListSeparator0.prototype = {
  101845. _enumToString$0() {
  101846. return "ListSeparator." + this._name;
  101847. },
  101848. toString$0(_) {
  101849. return this._list1$_name;
  101850. }
  101851. };
  101852. A.JSLogger.prototype = {};
  101853. A.WarnOptions.prototype = {};
  101854. A.DebugOptions.prototype = {};
  101855. A._QuietLogger0.prototype = {
  101856. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  101857. },
  101858. warn$2$span(_, message, span) {
  101859. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  101860. }
  101861. };
  101862. A.LoudComment0.prototype = {
  101863. get$span(_) {
  101864. return this.text.span;
  101865. },
  101866. accept$1$1(visitor) {
  101867. return visitor.visitLoudComment$1(this);
  101868. },
  101869. accept$1(visitor) {
  101870. return this.accept$1$1(visitor, type$.dynamic);
  101871. },
  101872. toString$0(_) {
  101873. return this.text.toString$0(0);
  101874. },
  101875. $isAstNode0: 1,
  101876. $isStatement0: 1
  101877. };
  101878. A.MapExpression0.prototype = {
  101879. accept$1$1(visitor) {
  101880. return visitor.visitMapExpression$1(this);
  101881. },
  101882. accept$1(visitor) {
  101883. return this.accept$1$1(visitor, type$.dynamic);
  101884. },
  101885. toString$0(_) {
  101886. var t2, t3, _i, t4, key, value,
  101887. t1 = A._setArrayType([], type$.JSArray_String);
  101888. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101889. t4 = t2[_i];
  101890. key = t4._0;
  101891. value = t4._1;
  101892. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  101893. }
  101894. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  101895. },
  101896. $isExpression0: 1,
  101897. $isAstNode0: 1,
  101898. get$span(receiver) {
  101899. return this.span;
  101900. }
  101901. };
  101902. A._get_closure0.prototype = {
  101903. call$1($arguments) {
  101904. var value,
  101905. t1 = J.getInterceptor$asx($arguments),
  101906. map = t1.$index($arguments, 0).assertMap$1("map"),
  101907. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  101908. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  101909. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  101910. value = map._map0$_contents.$index(0, t1.get$current(t1));
  101911. if (!(value instanceof A.SassMap0))
  101912. return B.C__SassNull0;
  101913. }
  101914. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  101915. return t1 == null ? B.C__SassNull0 : t1;
  101916. },
  101917. $signature: 3
  101918. };
  101919. A._set_closure1.prototype = {
  101920. call$1($arguments) {
  101921. var t1 = J.getInterceptor$asx($arguments);
  101922. return A._modify0(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2), new A._set__closure2($arguments), true);
  101923. },
  101924. $signature: 3
  101925. };
  101926. A._set__closure2.prototype = {
  101927. call$1(_) {
  101928. return J.$index$asx(this.$arguments, 2);
  101929. },
  101930. $signature: 41
  101931. };
  101932. A._set_closure2.prototype = {
  101933. call$1($arguments) {
  101934. var keys, t1 = {},
  101935. t2 = J.getInterceptor$asx($arguments),
  101936. map = t2.$index($arguments, 0).assertMap$1("map"),
  101937. _0_0 = t2.$index($arguments, 1).get$asList(),
  101938. _0_1 = _0_0.length;
  101939. if (_0_1 <= 0)
  101940. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  101941. if (_0_1 === 1)
  101942. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  101943. keys = t1.value = null;
  101944. if (_0_1 >= 1) {
  101945. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  101946. t1.value = _0_0[_0_1 - 1];
  101947. t2 = true;
  101948. } else
  101949. t2 = false;
  101950. if (t2)
  101951. return A._modify0(map, keys, new A._set__closure1(t1), true);
  101952. throw A.wrapException("[BUG] Unreachable code");
  101953. },
  101954. $signature: 3
  101955. };
  101956. A._set__closure1.prototype = {
  101957. call$1(_) {
  101958. return this._box_0.value;
  101959. },
  101960. $signature: 41
  101961. };
  101962. A._merge_closure1.prototype = {
  101963. call$1($arguments) {
  101964. var t2,
  101965. t1 = J.getInterceptor$asx($arguments),
  101966. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  101967. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  101968. t1 = type$.Value_2;
  101969. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  101970. t2.addAll$1(0, map2._map0$_contents);
  101971. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  101972. },
  101973. $signature: 31
  101974. };
  101975. A._merge_closure2.prototype = {
  101976. call$1($arguments) {
  101977. var keys, last, _null = null,
  101978. t1 = J.getInterceptor$asx($arguments),
  101979. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  101980. _0_0 = t1.$index($arguments, 1).get$asList(),
  101981. _0_1 = _0_0.length;
  101982. if (_0_1 <= 0)
  101983. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  101984. if (_0_1 === 1)
  101985. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  101986. if (_0_1 >= 1) {
  101987. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1);
  101988. last = _0_0[_0_1 - 1];
  101989. t1 = true;
  101990. } else {
  101991. last = _null;
  101992. keys = last;
  101993. t1 = false;
  101994. }
  101995. if (t1)
  101996. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  101997. throw A.wrapException("[BUG] Unreachable code");
  101998. },
  101999. $signature: 3
  102000. };
  102001. A._merge__closure0.prototype = {
  102002. call$1(oldValue) {
  102003. var t1, t2,
  102004. nestedMap = oldValue.tryMap$0();
  102005. if (nestedMap == null)
  102006. return this.map2;
  102007. t1 = type$.Value_2;
  102008. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102009. t2.addAll$1(0, this.map2._map0$_contents);
  102010. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102011. },
  102012. $signature: 485
  102013. };
  102014. A._deepMerge_closure0.prototype = {
  102015. call$1($arguments) {
  102016. var t1 = J.getInterceptor$asx($arguments);
  102017. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  102018. },
  102019. $signature: 31
  102020. };
  102021. A._deepRemove_closure0.prototype = {
  102022. call$1($arguments) {
  102023. var t1 = J.getInterceptor$asx($arguments),
  102024. map = t1.$index($arguments, 0).assertMap$1("map"),
  102025. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102026. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102027. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  102028. },
  102029. $signature: 3
  102030. };
  102031. A._deepRemove__closure0.prototype = {
  102032. call$1(value) {
  102033. var t1, nestedMap, t2,
  102034. _0_0 = value.tryMap$0();
  102035. if (_0_0 != null) {
  102036. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  102037. nestedMap = _0_0;
  102038. } else {
  102039. nestedMap = null;
  102040. t1 = false;
  102041. }
  102042. if (t1) {
  102043. t1 = type$.Value_2;
  102044. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102045. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  102046. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102047. }
  102048. return value;
  102049. },
  102050. $signature: 41
  102051. };
  102052. A._remove_closure1.prototype = {
  102053. call$1($arguments) {
  102054. return J.$index$asx($arguments, 0).assertMap$1("map");
  102055. },
  102056. $signature: 31
  102057. };
  102058. A._remove_closure2.prototype = {
  102059. call$1($arguments) {
  102060. var mutableMap, t3, _i,
  102061. t1 = J.getInterceptor$asx($arguments),
  102062. map = t1.$index($arguments, 0).assertMap$1("map"),
  102063. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102064. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102065. t1 = type$.Value_2;
  102066. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  102067. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  102068. mutableMap.remove$1(0, t2[_i]);
  102069. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102070. },
  102071. $signature: 31
  102072. };
  102073. A._keys_closure0.prototype = {
  102074. call$1($arguments) {
  102075. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102076. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  102077. },
  102078. $signature: 22
  102079. };
  102080. A._values_closure0.prototype = {
  102081. call$1($arguments) {
  102082. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102083. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  102084. },
  102085. $signature: 22
  102086. };
  102087. A._hasKey_closure0.prototype = {
  102088. call$1($arguments) {
  102089. var value,
  102090. t1 = J.getInterceptor$asx($arguments),
  102091. map = t1.$index($arguments, 0).assertMap$1("map"),
  102092. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102093. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102094. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102095. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102096. if (!(value instanceof A.SassMap0))
  102097. return B.SassBoolean_false0;
  102098. }
  102099. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102100. },
  102101. $signature: 20
  102102. };
  102103. A._modify_modifyNestedMap0.prototype = {
  102104. call$1(map) {
  102105. var nestedMap, _this = this,
  102106. t1 = type$.Value_2,
  102107. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  102108. t2 = _this.keyIterator,
  102109. key = t2.get$current(t2);
  102110. if (!t2.moveNext$0()) {
  102111. t2 = mutableMap.$index(0, key);
  102112. if (t2 == null)
  102113. t2 = B.C__SassNull0;
  102114. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  102115. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102116. }
  102117. t2 = mutableMap.$index(0, key);
  102118. nestedMap = t2 == null ? null : t2.tryMap$0();
  102119. t2 = nestedMap == null;
  102120. if (t2 && !_this.addNesting)
  102121. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102122. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  102123. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102124. },
  102125. $signature: 486
  102126. };
  102127. A.MapExtensions_get_pairs_closure0.prototype = {
  102128. call$1(e) {
  102129. return new A._Record_2(e.key, e.value);
  102130. },
  102131. $signature() {
  102132. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  102133. }
  102134. };
  102135. A.mapClass_closure.prototype = {
  102136. call$0() {
  102137. var t1 = type$.JSClass,
  102138. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  102139. t2 = J.getInterceptor$x(jsClass);
  102140. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  102141. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  102142. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  102143. return jsClass;
  102144. },
  102145. $signature: 13
  102146. };
  102147. A.mapClass__closure.prototype = {
  102148. call$2($self, contents) {
  102149. var t1;
  102150. if (contents == null)
  102151. t1 = B.SassMap_Map_empty0;
  102152. else {
  102153. t1 = type$.Value_2;
  102154. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  102155. }
  102156. return t1;
  102157. },
  102158. call$1($self) {
  102159. return this.call$2($self, null);
  102160. },
  102161. "call*": "call$2",
  102162. $requiredArgCount: 1,
  102163. $defaultValues() {
  102164. return [null];
  102165. },
  102166. $signature: 487
  102167. };
  102168. A.mapClass__closure0.prototype = {
  102169. call$1($self) {
  102170. return A.dartMapToImmutableMap($self._map0$_contents);
  102171. },
  102172. $signature: 488
  102173. };
  102174. A.mapClass__closure1.prototype = {
  102175. call$2($self, indexOrKey) {
  102176. var index, t1, _0_0;
  102177. if (typeof indexOrKey == "number") {
  102178. index = B.JSNumber_methods.floor$0(indexOrKey);
  102179. if (index < 0) {
  102180. t1 = $self._map0$_contents;
  102181. index = t1.get$length(t1) + index;
  102182. }
  102183. if (index >= 0) {
  102184. t1 = $self._map0$_contents;
  102185. t1 = index >= t1.get$length(t1);
  102186. } else
  102187. t1 = true;
  102188. if (t1)
  102189. return self.undefined;
  102190. t1 = type$.Value_2;
  102191. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  102192. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  102193. } else {
  102194. t1 = $self._map0$_contents.$index(0, indexOrKey);
  102195. return t1 == null ? self.undefined : t1;
  102196. }
  102197. },
  102198. $signature: 489
  102199. };
  102200. A._NodeSassMap.prototype = {};
  102201. A.legacyMapClass_closure.prototype = {
  102202. call$3(thisArg, $length, dartValue) {
  102203. var t1, t2, t3, map;
  102204. if (dartValue == null) {
  102205. $length.toString;
  102206. t1 = type$.Value_2;
  102207. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  102208. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  102209. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  102210. A.MapBase__fillMapWithIterables(map, t2, t3);
  102211. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  102212. } else
  102213. t1 = dartValue;
  102214. J.set$dartValue$x(thisArg, t1);
  102215. },
  102216. call$2(thisArg, $length) {
  102217. return this.call$3(thisArg, $length, null);
  102218. },
  102219. "call*": "call$3",
  102220. $requiredArgCount: 2,
  102221. $defaultValues() {
  102222. return [null];
  102223. },
  102224. $signature: 490
  102225. };
  102226. A.legacyMapClass__closure.prototype = {
  102227. call$1(i) {
  102228. return A.SassNumber_SassNumber0(i, null);
  102229. },
  102230. $signature: 491
  102231. };
  102232. A.legacyMapClass__closure0.prototype = {
  102233. call$1(_) {
  102234. return B.C__SassNull0;
  102235. },
  102236. $signature: 181
  102237. };
  102238. A.legacyMapClass_closure0.prototype = {
  102239. call$2(thisArg, index) {
  102240. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  102241. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  102242. },
  102243. $signature: 175
  102244. };
  102245. A.legacyMapClass_closure1.prototype = {
  102246. call$2(thisArg, index) {
  102247. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  102248. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  102249. },
  102250. $signature: 175
  102251. };
  102252. A.legacyMapClass_closure2.prototype = {
  102253. call$1(thisArg) {
  102254. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  102255. return t1.get$length(t1);
  102256. },
  102257. $signature: 493
  102258. };
  102259. A.legacyMapClass_closure3.prototype = {
  102260. call$3(thisArg, index, key) {
  102261. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  102262. t1 = J.getInterceptor$x(thisArg),
  102263. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  102264. $length = oldMap.get$length(oldMap);
  102265. A.IndexError_check(index, $length, oldMap, null, "index");
  102266. newKey = A.unwrapValue(key);
  102267. t2 = type$.Value_2;
  102268. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  102269. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  102270. t4 = t3.get$current(t3);
  102271. oldKey = t4._0;
  102272. oldValue = t4._1;
  102273. if (i === index)
  102274. newMap.$indexSet(0, newKey, oldValue);
  102275. else {
  102276. if (newKey.$eq(0, oldKey))
  102277. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  102278. newMap.$indexSet(0, oldKey, oldValue);
  102279. }
  102280. ++i;
  102281. }
  102282. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  102283. },
  102284. "call*": "call$3",
  102285. $requiredArgCount: 3,
  102286. $signature: 173
  102287. };
  102288. A.legacyMapClass_closure4.prototype = {
  102289. call$3(thisArg, index, value) {
  102290. var t3,
  102291. t1 = J.getInterceptor$x(thisArg),
  102292. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  102293. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  102294. t2 = type$.Value_2;
  102295. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  102296. t3.$indexSet(0, key, A.unwrapValue(value));
  102297. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  102298. },
  102299. "call*": "call$3",
  102300. $requiredArgCount: 3,
  102301. $signature: 173
  102302. };
  102303. A.SassMap0.prototype = {
  102304. get$separator(_) {
  102305. var t1 = this._map0$_contents;
  102306. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  102307. },
  102308. get$asList() {
  102309. var t3, t4, t5, result,
  102310. t1 = type$.JSArray_Value_2,
  102311. t2 = A._setArrayType([], t1);
  102312. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  102313. t5 = t4.get$current(t4);
  102314. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  102315. result.fixed$length = Array;
  102316. result.immutable$list = Array;
  102317. t2.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  102318. }
  102319. return t2;
  102320. },
  102321. get$lengthAsList() {
  102322. var t1 = this._map0$_contents;
  102323. return t1.get$length(t1);
  102324. },
  102325. accept$1$1(visitor) {
  102326. return visitor.visitMap$1(this);
  102327. },
  102328. accept$1(visitor) {
  102329. return this.accept$1$1(visitor, type$.dynamic);
  102330. },
  102331. assertMap$1($name) {
  102332. return this;
  102333. },
  102334. tryMap$0() {
  102335. return this;
  102336. },
  102337. $eq(_, other) {
  102338. var t1;
  102339. if (other == null)
  102340. return false;
  102341. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  102342. t1 = this._map0$_contents;
  102343. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  102344. } else
  102345. t1 = true;
  102346. return t1;
  102347. },
  102348. get$hashCode(_) {
  102349. var t1 = this._map0$_contents;
  102350. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  102351. }
  102352. };
  102353. A.global_closure31.prototype = {
  102354. call$1($arguments) {
  102355. var t1, t2,
  102356. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  102357. if (number.hasUnit$1("%")) {
  102358. t1 = number.toString$0(0);
  102359. t2 = number.toString$0(0);
  102360. A.EvaluationContext_current0().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_la6);
  102361. }
  102362. t1 = number.get$numeratorUnits(number);
  102363. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  102364. },
  102365. $signature: 11
  102366. };
  102367. A.module_closure11.prototype = {
  102368. call$1(value) {
  102369. return Math.abs(value);
  102370. },
  102371. $signature: 37
  102372. };
  102373. A._ceil_closure0.prototype = {
  102374. call$1(value) {
  102375. return B.JSNumber_methods.ceil$0(value);
  102376. },
  102377. $signature: 37
  102378. };
  102379. A._clamp_closure0.prototype = {
  102380. call$1($arguments) {
  102381. var t1 = J.getInterceptor$asx($arguments),
  102382. min = t1.$index($arguments, 0).assertNumber$1("min"),
  102383. number = t1.$index($arguments, 1).assertNumber$1("number"),
  102384. max = t1.$index($arguments, 2).assertNumber$1("max");
  102385. number.convertValueToMatch$3(min, "number", "min");
  102386. max.convertValueToMatch$3(min, "max", "min");
  102387. if (min.greaterThanOrEquals$1(max).value)
  102388. return min;
  102389. if (min.greaterThanOrEquals$1(number).value)
  102390. return min;
  102391. if (number.greaterThanOrEquals$1(max).value)
  102392. return max;
  102393. return number;
  102394. },
  102395. $signature: 11
  102396. };
  102397. A._floor_closure0.prototype = {
  102398. call$1(value) {
  102399. return B.JSNumber_methods.floor$0(value);
  102400. },
  102401. $signature: 37
  102402. };
  102403. A._max_closure0.prototype = {
  102404. call$1($arguments) {
  102405. var t1, t2, max, _i, number;
  102406. 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) {
  102407. number = t1[_i].assertNumber$0();
  102408. if (max == null || max.lessThan$1(number).value)
  102409. max = number;
  102410. }
  102411. if (max != null)
  102412. return max;
  102413. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  102414. },
  102415. $signature: 11
  102416. };
  102417. A._min_closure0.prototype = {
  102418. call$1($arguments) {
  102419. var t1, t2, min, _i, number;
  102420. 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) {
  102421. number = t1[_i].assertNumber$0();
  102422. if (min == null || min.greaterThan$1(number).value)
  102423. min = number;
  102424. }
  102425. if (min != null)
  102426. return min;
  102427. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  102428. },
  102429. $signature: 11
  102430. };
  102431. A._round_closure0.prototype = {
  102432. call$1(number) {
  102433. return B.JSNumber_methods.round$0(number);
  102434. },
  102435. $signature: 37
  102436. };
  102437. A._hypot_closure0.prototype = {
  102438. call$1($arguments) {
  102439. var subtotal, i, i0, t3, t4,
  102440. t1 = J.$index$asx($arguments, 0).get$asList(),
  102441. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  102442. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  102443. t1 = numbers.length;
  102444. if (t1 === 0)
  102445. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  102446. for (subtotal = 0, i = 0; i < t1; i = i0) {
  102447. i0 = i + 1;
  102448. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  102449. }
  102450. t1 = Math.sqrt(subtotal);
  102451. t2 = numbers[0];
  102452. t3 = J.getInterceptor$x(t2);
  102453. t4 = t3.get$numeratorUnits(t2);
  102454. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  102455. },
  102456. $signature: 11
  102457. };
  102458. A._hypot__closure0.prototype = {
  102459. call$1(argument) {
  102460. return argument.assertNumber$0();
  102461. },
  102462. $signature: 495
  102463. };
  102464. A._log_closure0.prototype = {
  102465. call$1($arguments) {
  102466. var base,
  102467. _s18_ = " to have no units.",
  102468. _null = null,
  102469. t1 = J.getInterceptor$asx($arguments),
  102470. number = t1.$index($arguments, 0).assertNumber$1("number");
  102471. if (number.get$hasUnits())
  102472. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  102473. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  102474. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  102475. base = t1.$index($arguments, 1).assertNumber$1("base");
  102476. if (base.get$hasUnits())
  102477. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  102478. else
  102479. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  102480. },
  102481. $signature: 11
  102482. };
  102483. A._pow_closure0.prototype = {
  102484. call$1($arguments) {
  102485. var t1 = J.getInterceptor$asx($arguments);
  102486. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  102487. },
  102488. $signature: 11
  102489. };
  102490. A._atan2_closure0.prototype = {
  102491. call$1($arguments) {
  102492. var t1 = J.getInterceptor$asx($arguments),
  102493. y = t1.$index($arguments, 0).assertNumber$1("y");
  102494. 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));
  102495. },
  102496. $signature: 11
  102497. };
  102498. A._compatible_closure0.prototype = {
  102499. call$1($arguments) {
  102500. var t1 = J.getInterceptor$asx($arguments);
  102501. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102502. },
  102503. $signature: 20
  102504. };
  102505. A._isUnitless_closure0.prototype = {
  102506. call$1($arguments) {
  102507. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102508. },
  102509. $signature: 20
  102510. };
  102511. A._unit_closure0.prototype = {
  102512. call$1($arguments) {
  102513. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  102514. },
  102515. $signature: 17
  102516. };
  102517. A._percentage_closure0.prototype = {
  102518. call$1($arguments) {
  102519. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  102520. number.assertNoUnits$1("number");
  102521. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  102522. },
  102523. $signature: 11
  102524. };
  102525. A._randomFunction_closure0.prototype = {
  102526. call$1($arguments) {
  102527. var limit, t2, t3, t4, limitScalar,
  102528. t1 = J.getInterceptor$asx($arguments);
  102529. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  102530. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  102531. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  102532. if (limit.get$hasUnits()) {
  102533. t1 = limit.toString$0(0);
  102534. t2 = limit.get$unitString();
  102535. t3 = limit.get$unitString();
  102536. t4 = limit.get$unitString();
  102537. 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);
  102538. }
  102539. limitScalar = limit.assertInt$1("limit");
  102540. if (limitScalar < 1)
  102541. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  102542. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  102543. },
  102544. $signature: 11
  102545. };
  102546. A._div_closure0.prototype = {
  102547. call$1($arguments) {
  102548. var t1 = J.getInterceptor$asx($arguments),
  102549. number1 = t1.$index($arguments, 0),
  102550. number2 = t1.$index($arguments, 1);
  102551. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0)) {
  102552. t1 = A.EvaluationContext_current0();
  102553. t1.warn$2(0, string$.math_d, null);
  102554. }
  102555. return number1.dividedBy$1(number2);
  102556. },
  102557. $signature: 3
  102558. };
  102559. A._singleArgumentMathFunc_closure0.prototype = {
  102560. call$1($arguments) {
  102561. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  102562. },
  102563. $signature: 11
  102564. };
  102565. A._numberFunction_closure0.prototype = {
  102566. call$1($arguments) {
  102567. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  102568. t1 = this.transform.call$1(number._number1$_value),
  102569. t2 = number.get$numeratorUnits(number);
  102570. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  102571. },
  102572. $signature: 11
  102573. };
  102574. A.CssMediaQuery0.prototype = {
  102575. merge$1(other) {
  102576. 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";
  102577. if (!_this.conjunction || !other.conjunction)
  102578. return B._SingletonCssMediaQueryMergeResult_10;
  102579. t1 = _this.modifier;
  102580. ourModifier = t1 == null ? _null : t1.toLowerCase();
  102581. t2 = _this.type;
  102582. t3 = t2 == null;
  102583. ourType = t3 ? _null : t2.toLowerCase();
  102584. t4 = other.modifier;
  102585. theirModifier = t4 == null ? _null : t4.toLowerCase();
  102586. t5 = other.type;
  102587. t6 = t5 == null;
  102588. theirType = t6 ? _null : t5.toLowerCase();
  102589. t7 = ourType == null;
  102590. if (t7 && theirType == null) {
  102591. t1 = A.List_List$of(_this.conditions, true, type$.String);
  102592. B.JSArray_methods.addAll$1(t1, other.conditions);
  102593. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  102594. }
  102595. t8 = ourModifier === "not";
  102596. if (t8 !== (theirModifier === "not")) {
  102597. if (ourType == theirType) {
  102598. negativeConditions = t8 ? _this.conditions : other.conditions;
  102599. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  102600. return B._SingletonCssMediaQueryMergeResult_00;
  102601. else
  102602. return B._SingletonCssMediaQueryMergeResult_10;
  102603. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  102604. return B._SingletonCssMediaQueryMergeResult_10;
  102605. if (t8) {
  102606. conditions = other.conditions;
  102607. type = theirType;
  102608. modifier = theirModifier;
  102609. } else {
  102610. conditions = _this.conditions;
  102611. type = ourType;
  102612. modifier = ourModifier;
  102613. }
  102614. } else if (t8) {
  102615. if (ourType != theirType)
  102616. return B._SingletonCssMediaQueryMergeResult_10;
  102617. fewerConditions = _this.conditions;
  102618. fewerConditions0 = other.conditions;
  102619. t3 = fewerConditions.length > fewerConditions0.length;
  102620. moreConditions = t3 ? fewerConditions : fewerConditions0;
  102621. if (t3)
  102622. fewerConditions = fewerConditions0;
  102623. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  102624. return B._SingletonCssMediaQueryMergeResult_10;
  102625. conditions = moreConditions;
  102626. type = ourType;
  102627. modifier = ourModifier;
  102628. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  102629. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  102630. t3 = A.List_List$of(_this.conditions, true, type$.String);
  102631. B.JSArray_methods.addAll$1(t3, other.conditions);
  102632. conditions = t3;
  102633. modifier = theirModifier;
  102634. } else {
  102635. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  102636. t3 = A.List_List$of(_this.conditions, true, type$.String);
  102637. B.JSArray_methods.addAll$1(t3, other.conditions);
  102638. conditions = t3;
  102639. modifier = ourModifier;
  102640. } else {
  102641. if (ourType != theirType)
  102642. return B._SingletonCssMediaQueryMergeResult_00;
  102643. else {
  102644. modifier = ourModifier == null ? theirModifier : ourModifier;
  102645. t3 = A.List_List$of(_this.conditions, true, type$.String);
  102646. B.JSArray_methods.addAll$1(t3, other.conditions);
  102647. }
  102648. conditions = t3;
  102649. }
  102650. type = ourType;
  102651. }
  102652. t2 = type == ourType ? t2 : t5;
  102653. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  102654. },
  102655. $eq(_, other) {
  102656. if (other == null)
  102657. return false;
  102658. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  102659. },
  102660. get$hashCode(_) {
  102661. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  102662. },
  102663. toString$0(_) {
  102664. var t2, _this = this,
  102665. t1 = _this.modifier;
  102666. t1 = t1 != null ? "" + (t1 + " ") : "";
  102667. t2 = _this.type;
  102668. if (t2 != null) {
  102669. t1 += t2;
  102670. if (_this.conditions.length !== 0)
  102671. t1 += " and ";
  102672. }
  102673. t2 = _this.conjunction ? " and " : " or ";
  102674. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  102675. return t2.charCodeAt(0) == 0 ? t2 : t2;
  102676. }
  102677. };
  102678. A._SingletonCssMediaQueryMergeResult0.prototype = {
  102679. _enumToString$0() {
  102680. return "_SingletonCssMediaQueryMergeResult." + this._name;
  102681. }
  102682. };
  102683. A.MediaQuerySuccessfulMergeResult0.prototype = {
  102684. toString$0(_) {
  102685. return this.query.toString$0(0);
  102686. }
  102687. };
  102688. A.MediaQueryParser0.prototype = {
  102689. parse$0() {
  102690. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  102691. },
  102692. _media_query$_mediaQuery$0() {
  102693. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  102694. if (_this.scanner.peekChar$0() === 40) {
  102695. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  102696. _this.whitespace$0();
  102697. if (_this.scanIdentifier$1(_s3_)) {
  102698. _this.expectWhitespace$0();
  102699. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  102700. conjunction = true;
  102701. } else if (_this.scanIdentifier$1("or")) {
  102702. _this.expectWhitespace$0();
  102703. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  102704. conjunction = false;
  102705. } else
  102706. conjunction = true;
  102707. return A.CssMediaQuery$condition0(conditions, conjunction);
  102708. }
  102709. identifier1 = _this.identifier$0();
  102710. if (A.equalsIgnoreCase0(identifier1, "not")) {
  102711. _this.expectWhitespace$0();
  102712. if (!_this.lookingAtIdentifier$0())
  102713. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  102714. }
  102715. _this.whitespace$0();
  102716. if (!_this.lookingAtIdentifier$0())
  102717. return A.CssMediaQuery$type0(identifier1, _null, _null);
  102718. identifier2 = _this.identifier$0();
  102719. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  102720. _this.expectWhitespace$0();
  102721. type = identifier1;
  102722. modifier = _null;
  102723. } else {
  102724. _this.whitespace$0();
  102725. if (_this.scanIdentifier$1(_s3_))
  102726. _this.expectWhitespace$0();
  102727. else
  102728. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  102729. type = identifier2;
  102730. modifier = identifier1;
  102731. }
  102732. if (_this.scanIdentifier$1("not")) {
  102733. _this.expectWhitespace$0();
  102734. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  102735. }
  102736. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  102737. },
  102738. _media_query$_mediaLogicSequence$1(operator) {
  102739. var t1, t2, _this = this,
  102740. result = A._setArrayType([], type$.JSArray_String);
  102741. for (t1 = _this.scanner; true;) {
  102742. t1.expectChar$2$name(40, "media condition in parentheses");
  102743. t2 = _this.declarationValue$0();
  102744. t1.expectChar$1(41);
  102745. result.push("(" + t2 + ")");
  102746. _this.whitespace$0();
  102747. if (!_this.scanIdentifier$1(operator))
  102748. return result;
  102749. _this.expectWhitespace$0();
  102750. }
  102751. },
  102752. _media_query$_mediaInParens$0() {
  102753. var t2,
  102754. t1 = this.scanner;
  102755. t1.expectChar$2$name(40, "media condition in parentheses");
  102756. t2 = this.declarationValue$0();
  102757. t1.expectChar$1(41);
  102758. return "(" + t2 + ")";
  102759. }
  102760. };
  102761. A.MediaQueryParser_parse_closure0.prototype = {
  102762. call$0() {
  102763. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  102764. t1 = this.$this,
  102765. t2 = t1.scanner;
  102766. do {
  102767. t1.whitespace$0();
  102768. queries.push(t1._media_query$_mediaQuery$0());
  102769. t1.whitespace$0();
  102770. } while (t2.scanChar$1(44));
  102771. t2.expectDone$0();
  102772. return queries;
  102773. },
  102774. $signature: 496
  102775. };
  102776. A.ModifiableCssMediaRule0.prototype = {
  102777. accept$1$1(visitor) {
  102778. return visitor.visitCssMediaRule$1(this);
  102779. },
  102780. accept$1(visitor) {
  102781. return this.accept$1$1(visitor, type$.dynamic);
  102782. },
  102783. equalsIgnoringChildren$1(other) {
  102784. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  102785. },
  102786. copyWithoutChildren$0() {
  102787. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  102788. },
  102789. get$span(receiver) {
  102790. return this.span;
  102791. }
  102792. };
  102793. A.MediaRule0.prototype = {
  102794. accept$1$1(visitor) {
  102795. return visitor.visitMediaRule$1(this);
  102796. },
  102797. accept$1(visitor) {
  102798. return this.accept$1$1(visitor, type$.dynamic);
  102799. },
  102800. toString$0(_) {
  102801. var t1 = this.children;
  102802. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  102803. },
  102804. get$span(receiver) {
  102805. return this.span;
  102806. }
  102807. };
  102808. A.MergedExtension0.prototype = {
  102809. unmerge$0() {
  102810. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  102811. },
  102812. unmerge$body$MergedExtension0() {
  102813. var $async$self = this;
  102814. return function() {
  102815. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  102816. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  102817. if ($async$errorCode === 1) {
  102818. $async$currentError = $async$result;
  102819. $async$goto = $async$handler;
  102820. }
  102821. while (true)
  102822. switch ($async$goto) {
  102823. case 0:
  102824. // Function start
  102825. left = $async$self.left;
  102826. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  102827. break;
  102828. case 2:
  102829. // then
  102830. $async$goto = 5;
  102831. return $async$iterator._yieldStar$1(left.unmerge$0());
  102832. case 5:
  102833. // after yield
  102834. // goto join
  102835. $async$goto = 3;
  102836. break;
  102837. case 4:
  102838. // else
  102839. $async$goto = 6;
  102840. return $async$iterator._async$_current = left, 1;
  102841. case 6:
  102842. // after yield
  102843. case 3:
  102844. // join
  102845. right = $async$self.right;
  102846. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  102847. break;
  102848. case 7:
  102849. // then
  102850. $async$goto = 10;
  102851. return $async$iterator._yieldStar$1(right.unmerge$0());
  102852. case 10:
  102853. // after yield
  102854. // goto join
  102855. $async$goto = 8;
  102856. break;
  102857. case 9:
  102858. // else
  102859. $async$goto = 11;
  102860. return $async$iterator._async$_current = right, 1;
  102861. case 11:
  102862. // after yield
  102863. case 8:
  102864. // join
  102865. // implicit return
  102866. return 0;
  102867. case 1:
  102868. // rethrow
  102869. return $async$iterator._datum = $async$currentError, 3;
  102870. }
  102871. };
  102872. };
  102873. }
  102874. };
  102875. A.MergedMapView0.prototype = {
  102876. get$keys(_) {
  102877. var t1 = this._merged_map_view$_mapsByKey;
  102878. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  102879. },
  102880. get$length(_) {
  102881. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  102882. },
  102883. get$isEmpty(_) {
  102884. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  102885. },
  102886. get$isNotEmpty(_) {
  102887. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  102888. },
  102889. MergedMapView$10(maps, $K, $V) {
  102890. var t1, t2, t3, _i, map, t4, t5, t6;
  102891. 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) {
  102892. map = maps[_i];
  102893. if (t3._is(map))
  102894. for (t4 = map._merged_map_view$_mapsByKey.get$values(0), t5 = A._instanceType(t4), t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")), t5 = t5._rest[1]; t4.moveNext$0();) {
  102895. t6 = t4.__internal$_current;
  102896. if (t6 == null)
  102897. t6 = t5._as(t6);
  102898. A.setAll0(t2, t6.get$keys(t6), t6);
  102899. }
  102900. else
  102901. A.setAll0(t2, map.get$keys(map), map);
  102902. }
  102903. },
  102904. $index(_, key) {
  102905. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  102906. return t1 == null ? null : t1.$index(0, key);
  102907. },
  102908. $indexSet(_, key, value) {
  102909. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  102910. if (_0_0 != null)
  102911. _0_0.$indexSet(0, key, value);
  102912. else
  102913. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  102914. },
  102915. remove$1(_, key) {
  102916. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  102917. },
  102918. containsKey$1(key) {
  102919. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  102920. }
  102921. };
  102922. A.global_closure59.prototype = {
  102923. call$1($arguments) {
  102924. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102925. },
  102926. $signature: 20
  102927. };
  102928. A.global_closure60.prototype = {
  102929. call$1($arguments) {
  102930. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  102931. },
  102932. $signature: 17
  102933. };
  102934. A.global_closure61.prototype = {
  102935. call$1($arguments) {
  102936. var t1 = J.getInterceptor$asx($arguments),
  102937. _0_0 = t1.$index($arguments, 0);
  102938. $label0$0: {
  102939. if (_0_0 instanceof A.SassArgumentList0) {
  102940. t1 = "arglist";
  102941. break $label0$0;
  102942. }
  102943. if (_0_0 instanceof A.SassBoolean0) {
  102944. t1 = "bool";
  102945. break $label0$0;
  102946. }
  102947. if (_0_0 instanceof A.SassColor0) {
  102948. t1 = "color";
  102949. break $label0$0;
  102950. }
  102951. if (_0_0 instanceof A.SassList0) {
  102952. t1 = "list";
  102953. break $label0$0;
  102954. }
  102955. if (_0_0 instanceof A.SassMap0) {
  102956. t1 = "map";
  102957. break $label0$0;
  102958. }
  102959. if (B.C__SassNull0 === _0_0) {
  102960. t1 = "null";
  102961. break $label0$0;
  102962. }
  102963. if (_0_0 instanceof A.SassNumber0) {
  102964. t1 = "number";
  102965. break $label0$0;
  102966. }
  102967. if (_0_0 instanceof A.SassFunction0) {
  102968. t1 = "function";
  102969. break $label0$0;
  102970. }
  102971. if (_0_0 instanceof A.SassMixin0) {
  102972. t1 = "mixin";
  102973. break $label0$0;
  102974. }
  102975. if (_0_0 instanceof A.SassCalculation0) {
  102976. t1 = "calculation";
  102977. break $label0$0;
  102978. }
  102979. if (_0_0 instanceof A.SassString0) {
  102980. t1 = "string";
  102981. break $label0$0;
  102982. }
  102983. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  102984. }
  102985. return new A.SassString0(t1, false);
  102986. },
  102987. $signature: 17
  102988. };
  102989. A.global_closure62.prototype = {
  102990. call$1($arguments) {
  102991. var t2, t3, t4,
  102992. t1 = J.getInterceptor$asx($arguments),
  102993. _1_0 = t1.$index($arguments, 0);
  102994. if (_1_0 instanceof A.SassArgumentList0) {
  102995. _1_0._argument_list$_wereKeywordsAccessed = true;
  102996. t1 = type$.Value_2;
  102997. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102998. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102999. t4 = t3.get$current(t3);
  103000. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  103001. }
  103002. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103003. } else
  103004. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  103005. },
  103006. $signature: 31
  103007. };
  103008. A.local_closure2.prototype = {
  103009. call$1($arguments) {
  103010. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  103011. },
  103012. $signature: 17
  103013. };
  103014. A.local_closure3.prototype = {
  103015. call$1($arguments) {
  103016. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  103017. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  103018. },
  103019. $signature: 22
  103020. };
  103021. A.local__closure0.prototype = {
  103022. call$1(argument) {
  103023. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  103024. },
  103025. $signature: 497
  103026. };
  103027. A.local_closure4.prototype = {
  103028. call$1($arguments) {
  103029. var _0_2, acceptsContent, _0_2_isSet, t1, _0_5, _0_5_isSet, hasContent,
  103030. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  103031. _0_0 = mixin.callable;
  103032. $label0$0: {
  103033. if (type$.AsyncBuiltInCallable_2._is(_0_0)) {
  103034. _0_2 = _0_0.get$acceptsContent();
  103035. acceptsContent = _0_2;
  103036. _0_2_isSet = true;
  103037. t1 = true;
  103038. } else {
  103039. _0_2 = null;
  103040. _0_2_isSet = false;
  103041. acceptsContent = null;
  103042. t1 = false;
  103043. }
  103044. if (!t1)
  103045. if (_0_0 instanceof A.BuiltInCallable0) {
  103046. acceptsContent = _0_2_isSet ? _0_2 : _0_0.acceptsContent;
  103047. t1 = true;
  103048. } else
  103049. t1 = false;
  103050. else
  103051. t1 = true;
  103052. if (t1) {
  103053. t1 = acceptsContent;
  103054. break $label0$0;
  103055. }
  103056. if (_0_0 instanceof A.UserDefinedCallable0) {
  103057. _0_5 = _0_0.declaration;
  103058. t1 = _0_5 instanceof A.MixinRule0;
  103059. _0_5_isSet = true;
  103060. } else {
  103061. _0_5 = null;
  103062. _0_5_isSet = false;
  103063. t1 = false;
  103064. }
  103065. if (t1) {
  103066. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  103067. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  103068. t1 = hasContent;
  103069. break $label0$0;
  103070. }
  103071. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  103072. }
  103073. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103074. },
  103075. $signature: 20
  103076. };
  103077. A.mixinClass_closure.prototype = {
  103078. call$0() {
  103079. var t1 = type$.JSClass,
  103080. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  103081. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  103082. return jsClass;
  103083. },
  103084. $signature: 13
  103085. };
  103086. A.mixinClass__closure.prototype = {
  103087. call$1($self) {
  103088. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  103089. },
  103090. $signature: 498
  103091. };
  103092. A.mixinClass__closure0.prototype = {
  103093. call$1(_) {
  103094. return B.C__SassNull0;
  103095. },
  103096. $signature: 3
  103097. };
  103098. A.SassMixin0.prototype = {
  103099. accept$1$1(visitor) {
  103100. var t1, t2;
  103101. if (!visitor._serialize0$_inspect)
  103102. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  103103. t1 = visitor._serialize0$_buffer;
  103104. t1.write$1(0, "get-mixin(");
  103105. t2 = this.callable;
  103106. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  103107. t1.writeCharCode$1(41);
  103108. return null;
  103109. },
  103110. accept$1(visitor) {
  103111. return this.accept$1$1(visitor, type$.dynamic);
  103112. },
  103113. assertMixin$1($name) {
  103114. return this;
  103115. },
  103116. $eq(_, other) {
  103117. if (other == null)
  103118. return false;
  103119. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  103120. },
  103121. get$hashCode(_) {
  103122. var t1 = this.callable;
  103123. return t1.get$hashCode(t1);
  103124. }
  103125. };
  103126. A.MixinRule0.prototype = {
  103127. get$hasContent() {
  103128. var result, _this = this,
  103129. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  103130. if (value === $) {
  103131. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  103132. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  103133. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  103134. value = result;
  103135. }
  103136. return value;
  103137. },
  103138. accept$1$1(visitor) {
  103139. return visitor.visitMixinRule$1(this);
  103140. },
  103141. accept$1(visitor) {
  103142. return this.accept$1$1(visitor, type$.dynamic);
  103143. },
  103144. toString$0(_) {
  103145. var t1 = "@mixin " + this.name,
  103146. t2 = this.$arguments;
  103147. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  103148. t1 += "(" + t2.toString$0(0) + ")";
  103149. t2 = this.children;
  103150. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  103151. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103152. }
  103153. };
  103154. A._HasContentVisitor0.prototype = {
  103155. visitContentRule$1(_) {
  103156. return true;
  103157. }
  103158. };
  103159. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  103160. A.ExtendMode0.prototype = {
  103161. _enumToString$0() {
  103162. return "ExtendMode." + this._name;
  103163. },
  103164. toString$0(_) {
  103165. return this.name;
  103166. }
  103167. };
  103168. A.JSModule0.prototype = {};
  103169. A.JSModuleRequire0.prototype = {};
  103170. A.MultiSpan0.prototype = {
  103171. get$start(_) {
  103172. var t1 = this._multi_span0$_primary;
  103173. return t1.get$start(t1);
  103174. },
  103175. get$end(_) {
  103176. var t1 = this._multi_span0$_primary;
  103177. return t1.get$end(t1);
  103178. },
  103179. get$text() {
  103180. return this._multi_span0$_primary.get$text();
  103181. },
  103182. get$context(_) {
  103183. var t1 = this._multi_span0$_primary;
  103184. return t1.get$context(t1);
  103185. },
  103186. get$file(_) {
  103187. var t1 = this._multi_span0$_primary;
  103188. return t1.get$file(t1);
  103189. },
  103190. get$length(_) {
  103191. var t1 = this._multi_span0$_primary;
  103192. return t1.get$length(t1);
  103193. },
  103194. get$sourceUrl(_) {
  103195. var t1 = this._multi_span0$_primary;
  103196. return t1.get$sourceUrl(t1);
  103197. },
  103198. compareTo$1(_, other) {
  103199. return this._multi_span0$_primary.compareTo$1(0, other);
  103200. },
  103201. toString$0(_) {
  103202. return this._multi_span0$_primary.toString$0(0);
  103203. },
  103204. expand$1(_, other) {
  103205. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  103206. },
  103207. highlight$1$color(color) {
  103208. var t1 = color === true || false;
  103209. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  103210. },
  103211. message$2$color(_, message, color) {
  103212. var t1 = J.$eq$(color, true) || typeof color == "string",
  103213. t2 = typeof color == "string" ? color : null;
  103214. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  103215. },
  103216. message$1(_, message) {
  103217. return this.message$2$color(0, message, null);
  103218. },
  103219. $isComparable: 1,
  103220. $isFileSpan: 1,
  103221. $isSourceSpan: 1,
  103222. $isSourceSpanWithContext: 1
  103223. };
  103224. A.SupportsNegation0.prototype = {
  103225. toString$0(_) {
  103226. var t1 = this.condition;
  103227. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  103228. return "not (" + t1.toString$0(0) + ")";
  103229. else
  103230. return "not " + t1.toString$0(0);
  103231. },
  103232. $isAstNode0: 1,
  103233. get$span(receiver) {
  103234. return this.span;
  103235. }
  103236. };
  103237. A.NoOpImporter0.prototype = {
  103238. canonicalize$1(_, url) {
  103239. return null;
  103240. },
  103241. load$1(_, url) {
  103242. return null;
  103243. },
  103244. toString$0(_) {
  103245. return "(unknown)";
  103246. }
  103247. };
  103248. A.NoSourceMapBuffer0.prototype = {
  103249. get$length(_) {
  103250. return this._no_source_map_buffer0$_buffer._contents.length;
  103251. },
  103252. forSpan$1$2(span, callback) {
  103253. return callback.call$0();
  103254. },
  103255. forSpan$2(span, callback) {
  103256. return this.forSpan$1$2(span, callback, type$.dynamic);
  103257. },
  103258. write$1(_, object) {
  103259. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  103260. return null;
  103261. },
  103262. writeCharCode$1(charCode) {
  103263. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  103264. return null;
  103265. },
  103266. toString$0(_) {
  103267. var t1 = this._no_source_map_buffer0$_buffer._contents;
  103268. return t1.charCodeAt(0) == 0 ? t1 : t1;
  103269. },
  103270. buildSourceMap$1$prefix(prefix) {
  103271. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  103272. }
  103273. };
  103274. A._FakeAstNode0.prototype = {
  103275. get$span(_) {
  103276. return this._node0$_callback.call$0();
  103277. },
  103278. $isAstNode0: 1
  103279. };
  103280. A.CssNode0.prototype = {
  103281. toString$0(_) {
  103282. return A.serialize0(this, true, null, true, null, false, null, true)._0;
  103283. },
  103284. $isAstNode0: 1
  103285. };
  103286. A.CssParentNode0.prototype = {};
  103287. A._IsInvisibleVisitor1.prototype = {
  103288. visitCssAtRule$1(rule) {
  103289. return false;
  103290. },
  103291. visitCssComment$1(comment) {
  103292. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  103293. },
  103294. visitCssStyleRule$1(rule) {
  103295. var t1 = rule._style_rule0$_selector._box0$_inner;
  103296. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  103297. }
  103298. };
  103299. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  103300. A.ModifiableCssNode0.prototype = {
  103301. get$hasFollowingSibling() {
  103302. var t2,
  103303. t1 = this._node$_parent;
  103304. if (t1 == null)
  103305. t1 = null;
  103306. else {
  103307. t1 = t1.children;
  103308. t2 = this._node$_indexInParent;
  103309. t2.toString;
  103310. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  103311. }
  103312. return t1 === true;
  103313. },
  103314. get$isGroupEnd() {
  103315. return this.isGroupEnd;
  103316. }
  103317. };
  103318. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  103319. call$1(sibling) {
  103320. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  103321. },
  103322. $signature: 130
  103323. };
  103324. A.ModifiableCssParentNode0.prototype = {
  103325. get$isChildless() {
  103326. return false;
  103327. },
  103328. addChild$1(child) {
  103329. var t1;
  103330. child._node$_parent = this;
  103331. t1 = this._node$_children;
  103332. child._node$_indexInParent = t1.length;
  103333. t1.push(child);
  103334. },
  103335. clearChildren$0() {
  103336. var t1, t2, _i, child;
  103337. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  103338. child = t1[_i];
  103339. child._node$_indexInParent = child._node$_parent = null;
  103340. }
  103341. B.JSArray_methods.clear$0(t1);
  103342. },
  103343. $isCssParentNode0: 1,
  103344. get$children(receiver) {
  103345. return this.children;
  103346. }
  103347. };
  103348. A.NodePackageImporter0.prototype = {
  103349. isNonCanonicalScheme$1(scheme) {
  103350. return scheme === "pkg";
  103351. },
  103352. canonicalize$1(_, url) {
  103353. var packageName, jsonPath, jsonString, packageManifest, e, t1, t2, t3, t4, baseDirectory, parts, t5, $name, subpath, packageRoot, exception, _1_0, rootPath, subpathInRoot, _this = this, _null = null;
  103354. if (url.get$scheme() === "file")
  103355. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  103356. if (url.get$scheme() !== "pkg")
  103357. return _null;
  103358. if (url.get$hasAuthority())
  103359. throw A.wrapException(string$.A_pkg_h);
  103360. else {
  103361. t1 = $.$get$url();
  103362. t2 = t1.style;
  103363. if (t2.rootLength$1(url.get$path(url)) > 0)
  103364. throw A.wrapException("A pkg: URL's path must not begin with /.");
  103365. else if (url.get$path(url).length === 0)
  103366. throw A.wrapException("A pkg: URL must not have an empty path.");
  103367. else if (url.get$hasQuery() || url.get$hasFragment())
  103368. throw A.wrapException(string$.A_pkg_q);
  103369. }
  103370. t3 = A.containingUrl0();
  103371. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  103372. t3 = A.containingUrl0();
  103373. t3.toString;
  103374. t4 = $.$get$context();
  103375. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  103376. } else {
  103377. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  103378. t3 === $ && A.throwUnnamedLateFieldNI();
  103379. baseDirectory = t3;
  103380. }
  103381. packageName = null;
  103382. parts = t1.split$1(0, url.get$path(url));
  103383. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  103384. t4 = $.$get$context();
  103385. t3.toString;
  103386. t5 = t4.style;
  103387. $name = t5.pathFromUri$1(A._parseUri(t3));
  103388. if (B.JSString_methods.startsWith$1($name, "@"))
  103389. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  103390. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  103391. packageName = $name;
  103392. if (!J.startsWith$1$s(packageName, "."))
  103393. if (!J.contains$1$asx(packageName, "\\"))
  103394. if (!J.contains$1$asx(packageName, "%"))
  103395. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  103396. else
  103397. t1 = true;
  103398. else
  103399. t1 = true;
  103400. else
  103401. t1 = true;
  103402. if (t1)
  103403. return _null;
  103404. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  103405. if (packageRoot == null)
  103406. return _null;
  103407. jsonPath = A.join(packageRoot, "package.json", _null);
  103408. jsonString = A.readFile0(jsonPath);
  103409. packageManifest = null;
  103410. try {
  103411. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  103412. } catch (exception) {
  103413. e = A.unwrapException(exception);
  103414. t1 = A.S(jsonPath);
  103415. t2 = A.S(packageName);
  103416. t3 = A.S(e);
  103417. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  103418. }
  103419. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  103420. if (_1_0 != null)
  103421. if (B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  103422. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  103423. else {
  103424. t1 = subpath == null ? "root" : subpath;
  103425. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  103426. }
  103427. if (subpath == null) {
  103428. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  103429. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  103430. }
  103431. subpathInRoot = A.join(packageRoot, subpath, _null);
  103432. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  103433. },
  103434. load$1(_, url) {
  103435. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  103436. },
  103437. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  103438. var potentialPackage, t1;
  103439. for (; true;) {
  103440. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  103441. if (A.dirExists0(potentialPackage))
  103442. return potentialPackage;
  103443. t1 = $.$get$context();
  103444. if (t1.split$1(0, baseDirectory).length === 1)
  103445. return null;
  103446. baseDirectory = t1.dirname$1(baseDirectory);
  103447. }
  103448. },
  103449. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  103450. var t1, sassValue, _1_0, styleValue, _null = null,
  103451. _0_0 = packageManifest.$index(0, "sass");
  103452. if (typeof _0_0 == "string") {
  103453. t1 = B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  103454. sassValue = _0_0;
  103455. } else {
  103456. sassValue = _null;
  103457. t1 = false;
  103458. }
  103459. if (t1)
  103460. return A.join(packageRoot, sassValue, _null);
  103461. else {
  103462. _1_0 = packageManifest.$index(0, "style");
  103463. if (typeof _1_0 == "string") {
  103464. t1 = B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  103465. styleValue = _1_0;
  103466. } else {
  103467. styleValue = _null;
  103468. t1 = false;
  103469. }
  103470. if (t1)
  103471. return A.join(packageRoot, styleValue, _null);
  103472. }
  103473. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  103474. },
  103475. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  103476. var _0_0, _1_0, _this = this,
  103477. exports = packageManifest.$index(0, "exports");
  103478. if (exports == null)
  103479. return null;
  103480. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  103481. if (_0_0 != null)
  103482. return _0_0;
  103483. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  103484. return null;
  103485. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  103486. if (_1_0 != null)
  103487. return _1_0;
  103488. return null;
  103489. },
  103490. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  103491. var t1, matches, _1_1, path;
  103492. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure3()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure4()))
  103493. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  103494. t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure6(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), type$.String);
  103495. matches = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  103496. $label0$1: {
  103497. _1_1 = matches.length;
  103498. if (_1_1 === 1) {
  103499. path = matches[0];
  103500. t1 = path;
  103501. break $label0$1;
  103502. }
  103503. if (_1_1 <= 0) {
  103504. t1 = null;
  103505. break $label0$1;
  103506. }
  103507. t1 = subpath == null ? "root" : subpath;
  103508. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  103509. }
  103510. return t1;
  103511. },
  103512. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  103513. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  103514. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  103515. t2 = B.JSString_methods.contains$1(keyB, "*"),
  103516. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  103517. if (baseLengthA > baseLengthB)
  103518. return -1;
  103519. if (baseLengthB > baseLengthA)
  103520. return 1;
  103521. if (!t1)
  103522. return 1;
  103523. if (!t2)
  103524. return -1;
  103525. t1 = keyA.length;
  103526. t2 = keyB.length;
  103527. if (t1 > t2)
  103528. return -1;
  103529. if (t2 > t1)
  103530. return 1;
  103531. return 0;
  103532. },
  103533. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  103534. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  103535. t1 = typeof exports == "string";
  103536. if (t1) {
  103537. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  103538. string = exports;
  103539. } else {
  103540. string = _null;
  103541. t2 = false;
  103542. }
  103543. if (t2)
  103544. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  103545. if (t1) {
  103546. t2 = patternMatch != null;
  103547. string = exports;
  103548. } else {
  103549. string = _null;
  103550. t2 = false;
  103551. }
  103552. if (t2) {
  103553. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  103554. t2 = $.$get$context();
  103555. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  103556. return A.fileExists0(path) ? path : _null;
  103557. }
  103558. if (t1) {
  103559. string = exports;
  103560. t1 = true;
  103561. } else {
  103562. string = _null;
  103563. t1 = false;
  103564. }
  103565. if (t1) {
  103566. t1 = $.$get$context();
  103567. string.toString;
  103568. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  103569. }
  103570. if (type$.Map_String_dynamic._is(exports)) {
  103571. map = exports;
  103572. t1 = true;
  103573. } else {
  103574. map = _null;
  103575. t1 = false;
  103576. }
  103577. if (t1) {
  103578. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  103579. t2 = t1.get$current(t1);
  103580. key = t2._0;
  103581. value = t2._1;
  103582. if (!B.Set_gkcz.contains$1(0, key))
  103583. continue;
  103584. if (value == null)
  103585. continue;
  103586. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  103587. if (_1_0 != null)
  103588. return _1_0;
  103589. }
  103590. return _null;
  103591. }
  103592. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  103593. return _null;
  103594. if (type$.List_dynamic._is(exports)) {
  103595. array = exports;
  103596. t1 = true;
  103597. } else {
  103598. array = _null;
  103599. t1 = false;
  103600. }
  103601. if (t1) {
  103602. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  103603. value = t1.get$current(t1);
  103604. if (value == null)
  103605. continue;
  103606. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  103607. if (_2_0 != null)
  103608. return _2_0;
  103609. }
  103610. return _null;
  103611. }
  103612. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  103613. },
  103614. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  103615. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  103616. },
  103617. _node_package$_getMainExport$1(exports) {
  103618. var t1, t2, map, _0_4, _0_4_isSet, $export;
  103619. $label0$0: {
  103620. if (typeof exports == "string") {
  103621. t1 = exports;
  103622. break $label0$0;
  103623. }
  103624. if (type$.List_String._is(exports)) {
  103625. t1 = exports;
  103626. break $label0$0;
  103627. }
  103628. t1 = type$.Map_String_dynamic._is(exports);
  103629. if (t1) {
  103630. t2 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  103631. map = exports;
  103632. } else {
  103633. map = null;
  103634. t2 = false;
  103635. }
  103636. if (t2) {
  103637. t1 = map;
  103638. break $label0$0;
  103639. }
  103640. if (t1) {
  103641. _0_4 = exports.$index(0, ".");
  103642. t1 = _0_4 == null;
  103643. if (t1)
  103644. t2 = exports.containsKey$1(".");
  103645. else
  103646. t2 = true;
  103647. if (t2)
  103648. t1 = !t1;
  103649. else
  103650. t1 = false;
  103651. _0_4_isSet = true;
  103652. } else {
  103653. _0_4 = null;
  103654. _0_4_isSet = false;
  103655. t1 = false;
  103656. }
  103657. if (t1) {
  103658. $export = _0_4_isSet ? _0_4 : J.$index$asx(exports, ".");
  103659. t1 = $export;
  103660. break $label0$0;
  103661. }
  103662. t1 = null;
  103663. break $label0$0;
  103664. }
  103665. return t1;
  103666. },
  103667. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  103668. var basename, dirname, t3, t4, _i, path,
  103669. t1 = type$.JSArray_String,
  103670. paths = A._setArrayType([], t1),
  103671. t2 = subpath == null;
  103672. if (t2 && addIndex)
  103673. subpath = "index";
  103674. else if (!t2 && addIndex)
  103675. subpath = A.join(subpath, "index", null);
  103676. if (subpath == null)
  103677. return A._setArrayType([null], type$.JSArray_nullable_String);
  103678. if (B.Set_HW1We.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  103679. paths.push(subpath);
  103680. else
  103681. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  103682. t1 = $.$get$context();
  103683. t2 = t1.style;
  103684. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  103685. dirname = t1.dirname$1(subpath);
  103686. if (B.JSString_methods.startsWith$1(basename, "_"))
  103687. return paths;
  103688. t1 = A.List_List$of(paths, true, type$.nullable_String);
  103689. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  103690. path = paths[_i];
  103691. if (t4)
  103692. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  103693. else
  103694. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  103695. }
  103696. return t1;
  103697. },
  103698. _node_package$_exportsToCheck$1(subpath) {
  103699. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  103700. }
  103701. };
  103702. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  103703. call$1(key) {
  103704. return B.JSString_methods.startsWith$1(key, ".");
  103705. },
  103706. $signature: 4
  103707. };
  103708. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  103709. call$1(key) {
  103710. return !B.JSString_methods.startsWith$1(key, ".");
  103711. },
  103712. $signature: 4
  103713. };
  103714. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  103715. call$1(key) {
  103716. return '"' + key + '"';
  103717. },
  103718. $signature: 5
  103719. };
  103720. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  103721. call$1(variant) {
  103722. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, patternBase, patternTrailer, t7, t8, target, _this = this, _null = null;
  103723. if (variant == null) {
  103724. t1 = _this.$this;
  103725. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  103726. } else {
  103727. t1 = _this.exports;
  103728. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  103729. return _null;
  103730. }
  103731. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  103732. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  103733. t1 = J.$index$asx(t1, matchKey);
  103734. if (t1 == null)
  103735. t1 = type$.Object._as(t1);
  103736. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  103737. }
  103738. t2 = A._setArrayType([], type$.JSArray_String);
  103739. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  103740. t5 = t4.get$current(t4);
  103741. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  103742. t2.push(t5);
  103743. }
  103744. t4 = _this.$this;
  103745. B.JSArray_methods.sort$1(t2, t4.get$_node_package$_compareExpansionKeys());
  103746. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  103747. expansionKey = t2[_i];
  103748. _0_0 = expansionKey.split("*");
  103749. if (_0_0.length === 2) {
  103750. patternBase = _0_0[0];
  103751. patternTrailer = _0_0[1];
  103752. patternTrailer = patternTrailer;
  103753. t7 = true;
  103754. } else {
  103755. patternTrailer = _null;
  103756. patternBase = patternTrailer;
  103757. t7 = false;
  103758. }
  103759. if (!t7)
  103760. throw A.wrapException(A.StateError$("Pattern matching error"));
  103761. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  103762. continue;
  103763. if (matchKey === patternBase)
  103764. continue;
  103765. t7 = patternTrailer.length;
  103766. if (t7 !== 0)
  103767. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  103768. else
  103769. t8 = true;
  103770. if (t8) {
  103771. target = t3.$index(t1, expansionKey);
  103772. if (target == null)
  103773. continue;
  103774. return t4._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  103775. }
  103776. }
  103777. return _null;
  103778. },
  103779. $signature: 154
  103780. };
  103781. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  103782. call$1(mainExport) {
  103783. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  103784. },
  103785. $signature: 155
  103786. };
  103787. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  103788. call$1(key) {
  103789. return !B.JSString_methods.startsWith$1(key, ".");
  103790. },
  103791. $signature: 4
  103792. };
  103793. A.NodePackageImporter__getMainExport_closure0.prototype = {
  103794. call$1(key) {
  103795. return B.JSString_methods.startsWith$1(key, ".");
  103796. },
  103797. $signature: 4
  103798. };
  103799. A.NullExpression0.prototype = {
  103800. accept$1$1(visitor) {
  103801. return visitor.visitNullExpression$1(this);
  103802. },
  103803. accept$1(visitor) {
  103804. return this.accept$1$1(visitor, type$.dynamic);
  103805. },
  103806. toString$0(_) {
  103807. return "null";
  103808. },
  103809. $isExpression0: 1,
  103810. $isAstNode0: 1,
  103811. get$span(receiver) {
  103812. return this.span;
  103813. }
  103814. };
  103815. A.legacyNullClass_closure.prototype = {
  103816. call$0() {
  103817. var t1 = type$.JSClass,
  103818. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  103819. jsClass.NULL = B.C__SassNull0;
  103820. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  103821. return jsClass;
  103822. },
  103823. $signature: 13
  103824. };
  103825. A.legacyNullClass__closure.prototype = {
  103826. call$2(_, __) {
  103827. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  103828. },
  103829. call$1(_) {
  103830. return this.call$2(_, null);
  103831. },
  103832. "call*": "call$2",
  103833. $requiredArgCount: 1,
  103834. $defaultValues() {
  103835. return [null];
  103836. },
  103837. $signature: 145
  103838. };
  103839. A._SassNull0.prototype = {
  103840. get$isTruthy() {
  103841. return false;
  103842. },
  103843. get$isBlank() {
  103844. return true;
  103845. },
  103846. get$realNull() {
  103847. return null;
  103848. },
  103849. accept$1$1(visitor) {
  103850. if (visitor._serialize0$_inspect)
  103851. visitor._serialize0$_buffer.write$1(0, "null");
  103852. return null;
  103853. },
  103854. accept$1(visitor) {
  103855. return this.accept$1$1(visitor, type$.dynamic);
  103856. },
  103857. unaryNot$0() {
  103858. return B.SassBoolean_true0;
  103859. }
  103860. };
  103861. A.NumberExpression0.prototype = {
  103862. accept$1$1(visitor) {
  103863. return visitor.visitNumberExpression$1(this);
  103864. },
  103865. accept$1(visitor) {
  103866. return this.accept$1$1(visitor, type$.dynamic);
  103867. },
  103868. toString$0(_) {
  103869. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  103870. },
  103871. $isExpression0: 1,
  103872. $isAstNode0: 1,
  103873. get$span(receiver) {
  103874. return this.span;
  103875. }
  103876. };
  103877. A.numberClass_closure.prototype = {
  103878. call$0() {
  103879. var t1 = type$.JSClass,
  103880. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  103881. t2 = type$.String,
  103882. t3 = type$.Function;
  103883. 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));
  103884. 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));
  103885. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  103886. return jsClass;
  103887. },
  103888. $signature: 13
  103889. };
  103890. A.numberClass__closure.prototype = {
  103891. call$3($self, value, unitOrOptions) {
  103892. var t1, t2, _null = null;
  103893. if (typeof unitOrOptions == "string")
  103894. return A.SassNumber_SassNumber0(value, unitOrOptions);
  103895. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  103896. t1 = unitOrOptions == null;
  103897. if (t1)
  103898. t2 = _null;
  103899. else {
  103900. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  103901. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  103902. }
  103903. if (t1)
  103904. t1 = _null;
  103905. else {
  103906. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  103907. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  103908. }
  103909. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  103910. },
  103911. call$2($self, value) {
  103912. return this.call$3($self, value, null);
  103913. },
  103914. "call*": "call$3",
  103915. $requiredArgCount: 2,
  103916. $defaultValues() {
  103917. return [null];
  103918. },
  103919. $signature: 499
  103920. };
  103921. A.numberClass__closure0.prototype = {
  103922. call$1($self) {
  103923. return $self._number1$_value;
  103924. },
  103925. $signature: 500
  103926. };
  103927. A.numberClass__closure1.prototype = {
  103928. call$1($self) {
  103929. return A.fuzzyIsInt($self._number1$_value);
  103930. },
  103931. $signature: 171
  103932. };
  103933. A.numberClass__closure2.prototype = {
  103934. call$1($self) {
  103935. return A.fuzzyAsInt0($self._number1$_value);
  103936. },
  103937. $signature: 502
  103938. };
  103939. A.numberClass__closure3.prototype = {
  103940. call$1($self) {
  103941. return new self.immutable.List($self.get$numeratorUnits($self));
  103942. },
  103943. $signature: 160
  103944. };
  103945. A.numberClass__closure4.prototype = {
  103946. call$1($self) {
  103947. return new self.immutable.List($self.get$denominatorUnits($self));
  103948. },
  103949. $signature: 160
  103950. };
  103951. A.numberClass__closure5.prototype = {
  103952. call$1($self) {
  103953. return $self.get$hasUnits();
  103954. },
  103955. $signature: 171
  103956. };
  103957. A.numberClass__closure6.prototype = {
  103958. call$2($self, $name) {
  103959. return $self.assertInt$1($name);
  103960. },
  103961. call$1($self) {
  103962. return this.call$2($self, null);
  103963. },
  103964. "call*": "call$2",
  103965. $requiredArgCount: 1,
  103966. $defaultValues() {
  103967. return [null];
  103968. },
  103969. $signature: 504
  103970. };
  103971. A.numberClass__closure7.prototype = {
  103972. call$4($self, min, max, $name) {
  103973. return $self.valueInRange$3(min, max, $name);
  103974. },
  103975. call$3($self, min, max) {
  103976. return this.call$4($self, min, max, null);
  103977. },
  103978. "call*": "call$4",
  103979. $requiredArgCount: 3,
  103980. $defaultValues() {
  103981. return [null];
  103982. },
  103983. $signature: 505
  103984. };
  103985. A.numberClass__closure8.prototype = {
  103986. call$2($self, $name) {
  103987. $self.assertNoUnits$1($name);
  103988. return $self;
  103989. },
  103990. call$1($self) {
  103991. return this.call$2($self, null);
  103992. },
  103993. "call*": "call$2",
  103994. $requiredArgCount: 1,
  103995. $defaultValues() {
  103996. return [null];
  103997. },
  103998. $signature: 506
  103999. };
  104000. A.numberClass__closure9.prototype = {
  104001. call$3($self, unit, $name) {
  104002. $self.assertUnit$2(unit, $name);
  104003. return $self;
  104004. },
  104005. call$2($self, unit) {
  104006. return this.call$3($self, unit, null);
  104007. },
  104008. "call*": "call$3",
  104009. $requiredArgCount: 2,
  104010. $defaultValues() {
  104011. return [null];
  104012. },
  104013. $signature: 625
  104014. };
  104015. A.numberClass__closure10.prototype = {
  104016. call$2($self, unit) {
  104017. return $self.hasUnit$1(unit);
  104018. },
  104019. $signature: 159
  104020. };
  104021. A.numberClass__closure11.prototype = {
  104022. call$2($self, unit) {
  104023. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  104024. },
  104025. $signature: 159
  104026. };
  104027. A.numberClass__closure12.prototype = {
  104028. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104029. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104030. t2 = type$.String;
  104031. t1 = J.cast$1$0$ax(t1, t2);
  104032. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  104033. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  104034. },
  104035. call$3($self, numeratorUnits, denominatorUnits) {
  104036. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104037. },
  104038. "call*": "call$4",
  104039. $requiredArgCount: 3,
  104040. $defaultValues() {
  104041. return [null];
  104042. },
  104043. $signature: 158
  104044. };
  104045. A.numberClass__closure13.prototype = {
  104046. call$4($self, other, $name, otherName) {
  104047. return $self.convertToMatch$3(other, $name, otherName);
  104048. },
  104049. call$2($self, other) {
  104050. return this.call$4($self, other, null, null);
  104051. },
  104052. call$3($self, other, $name) {
  104053. return this.call$4($self, other, $name, null);
  104054. },
  104055. "call*": "call$4",
  104056. $requiredArgCount: 2,
  104057. $defaultValues() {
  104058. return [null, null];
  104059. },
  104060. $signature: 146
  104061. };
  104062. A.numberClass__closure14.prototype = {
  104063. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104064. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104065. t2 = type$.String;
  104066. t1 = J.cast$1$0$ax(t1, t2);
  104067. 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);
  104068. },
  104069. call$3($self, numeratorUnits, denominatorUnits) {
  104070. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104071. },
  104072. "call*": "call$4",
  104073. $requiredArgCount: 3,
  104074. $defaultValues() {
  104075. return [null];
  104076. },
  104077. $signature: 144
  104078. };
  104079. A.numberClass__closure15.prototype = {
  104080. call$4($self, other, $name, otherName) {
  104081. return $self.convertValueToMatch$3(other, $name, otherName);
  104082. },
  104083. call$2($self, other) {
  104084. return this.call$4($self, other, null, null);
  104085. },
  104086. call$3($self, other, $name) {
  104087. return this.call$4($self, other, $name, null);
  104088. },
  104089. "call*": "call$4",
  104090. $requiredArgCount: 2,
  104091. $defaultValues() {
  104092. return [null, null];
  104093. },
  104094. $signature: 157
  104095. };
  104096. A.numberClass__closure16.prototype = {
  104097. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104098. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104099. t2 = type$.String;
  104100. t1 = J.cast$1$0$ax(t1, t2);
  104101. 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);
  104102. },
  104103. call$3($self, numeratorUnits, denominatorUnits) {
  104104. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104105. },
  104106. "call*": "call$4",
  104107. $requiredArgCount: 3,
  104108. $defaultValues() {
  104109. return [null];
  104110. },
  104111. $signature: 158
  104112. };
  104113. A.numberClass__closure17.prototype = {
  104114. call$4($self, other, $name, otherName) {
  104115. return $self.coerceToMatch$3(other, $name, otherName);
  104116. },
  104117. call$2($self, other) {
  104118. return this.call$4($self, other, null, null);
  104119. },
  104120. call$3($self, other, $name) {
  104121. return this.call$4($self, other, $name, null);
  104122. },
  104123. "call*": "call$4",
  104124. $requiredArgCount: 2,
  104125. $defaultValues() {
  104126. return [null, null];
  104127. },
  104128. $signature: 146
  104129. };
  104130. A.numberClass__closure18.prototype = {
  104131. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104132. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104133. t2 = type$.String;
  104134. t1 = J.cast$1$0$ax(t1, t2);
  104135. 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);
  104136. },
  104137. call$3($self, numeratorUnits, denominatorUnits) {
  104138. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104139. },
  104140. "call*": "call$4",
  104141. $requiredArgCount: 3,
  104142. $defaultValues() {
  104143. return [null];
  104144. },
  104145. $signature: 144
  104146. };
  104147. A.numberClass__closure19.prototype = {
  104148. call$4($self, other, $name, otherName) {
  104149. return $self.coerceValueToMatch$3(other, $name, otherName);
  104150. },
  104151. call$2($self, other) {
  104152. return this.call$4($self, other, null, null);
  104153. },
  104154. call$3($self, other, $name) {
  104155. return this.call$4($self, other, $name, null);
  104156. },
  104157. "call*": "call$4",
  104158. $requiredArgCount: 2,
  104159. $defaultValues() {
  104160. return [null, null];
  104161. },
  104162. $signature: 157
  104163. };
  104164. A._ConstructorOptions0.prototype = {};
  104165. A._NodeSassNumber.prototype = {};
  104166. A.legacyNumberClass_closure.prototype = {
  104167. call$4(thisArg, value, unit, dartValue) {
  104168. var t1;
  104169. if (dartValue == null) {
  104170. value.toString;
  104171. t1 = A._parseNumber(value, unit);
  104172. } else
  104173. t1 = dartValue;
  104174. J.set$dartValue$x(thisArg, t1);
  104175. },
  104176. call$2(thisArg, value) {
  104177. return this.call$4(thisArg, value, null, null);
  104178. },
  104179. call$3(thisArg, value, unit) {
  104180. return this.call$4(thisArg, value, unit, null);
  104181. },
  104182. "call*": "call$4",
  104183. $requiredArgCount: 2,
  104184. $defaultValues() {
  104185. return [null, null];
  104186. },
  104187. $signature: 513
  104188. };
  104189. A.legacyNumberClass_closure0.prototype = {
  104190. call$1(thisArg) {
  104191. return J.get$dartValue$x(thisArg)._number1$_value;
  104192. },
  104193. $signature: 514
  104194. };
  104195. A.legacyNumberClass_closure1.prototype = {
  104196. call$2(thisArg, value) {
  104197. var t1 = J.getInterceptor$x(thisArg),
  104198. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  104199. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  104200. },
  104201. $signature: 515
  104202. };
  104203. A.legacyNumberClass_closure2.prototype = {
  104204. call$1(thisArg) {
  104205. var t1 = J.getInterceptor$x(thisArg),
  104206. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  104207. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  104208. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  104209. },
  104210. $signature: 516
  104211. };
  104212. A.legacyNumberClass_closure3.prototype = {
  104213. call$2(thisArg, unit) {
  104214. var t1 = J.getInterceptor$x(thisArg);
  104215. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  104216. },
  104217. $signature: 517
  104218. };
  104219. A._parseNumber_closure.prototype = {
  104220. call$1(unit) {
  104221. return unit.length === 0;
  104222. },
  104223. $signature: 4
  104224. };
  104225. A._parseNumber_closure0.prototype = {
  104226. call$1(unit) {
  104227. return unit.length === 0;
  104228. },
  104229. $signature: 4
  104230. };
  104231. A.SassNumber0.prototype = {
  104232. get$unitString() {
  104233. var _this = this;
  104234. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  104235. },
  104236. accept$1$1(visitor) {
  104237. return visitor.visitNumber$1(this);
  104238. },
  104239. accept$1(visitor) {
  104240. return this.accept$1$1(visitor, type$.dynamic);
  104241. },
  104242. withoutSlash$0() {
  104243. var _this = this;
  104244. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  104245. },
  104246. assertNumber$1($name) {
  104247. return this;
  104248. },
  104249. assertNumber$0() {
  104250. return this.assertNumber$1(null);
  104251. },
  104252. assertInt$1($name) {
  104253. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  104254. if (_0_0 != null)
  104255. return _0_0;
  104256. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  104257. },
  104258. assertInt$0() {
  104259. return this.assertInt$1(null);
  104260. },
  104261. valueInRange$3(min, max, $name) {
  104262. var _this = this,
  104263. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  104264. if (_0_0 != null)
  104265. return _0_0;
  104266. 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));
  104267. },
  104268. valueInRangeWithUnit$4(min, max, $name, unit) {
  104269. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  104270. if (_0_0 != null)
  104271. return _0_0;
  104272. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  104273. },
  104274. hasCompatibleUnits$1(other) {
  104275. var _this = this;
  104276. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  104277. return false;
  104278. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  104279. return false;
  104280. return _this.isComparableTo$1(other);
  104281. },
  104282. assertUnit$2(unit, $name) {
  104283. if (this.hasUnit$1(unit))
  104284. return;
  104285. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  104286. },
  104287. assertNoUnits$1($name) {
  104288. if (!this.get$hasUnits())
  104289. return;
  104290. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  104291. },
  104292. assertNoUnits$0() {
  104293. return this.assertNoUnits$1(null);
  104294. },
  104295. convertToMatch$3(other, $name, otherName) {
  104296. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  104297. t2 = other.get$numeratorUnits(other);
  104298. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  104299. },
  104300. convertValueToMatch$3(other, $name, otherName) {
  104301. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  104302. },
  104303. convertValueToMatch$1(other) {
  104304. return this.convertValueToMatch$3(other, null, null);
  104305. },
  104306. coerce$3(newNumerators, newDenominators, $name) {
  104307. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  104308. },
  104309. coerce$2(newNumerators, newDenominators) {
  104310. return this.coerce$3(newNumerators, newDenominators, null);
  104311. },
  104312. coerceValue$3(newNumerators, newDenominators, $name) {
  104313. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  104314. },
  104315. coerceValueToUnit$2(unit, $name) {
  104316. var t1 = type$.JSArray_String;
  104317. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  104318. },
  104319. coerceValueToUnit$1(unit) {
  104320. return this.coerceValueToUnit$2(unit, null);
  104321. },
  104322. coerceToMatch$3(other, $name, otherName) {
  104323. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  104324. t2 = other.get$numeratorUnits(other);
  104325. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  104326. },
  104327. coerceValueToMatch$3(other, $name, otherName) {
  104328. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  104329. },
  104330. coerceValueToMatch$1(other) {
  104331. return this.coerceValueToMatch$3(other, null, null);
  104332. },
  104333. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  104334. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  104335. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  104336. return _this._number1$_value;
  104337. t1 = J.getInterceptor$asx(newNumerators);
  104338. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  104339. if (coerceUnitless)
  104340. t2 = !_this.get$hasUnits() || !otherHasUnits;
  104341. else
  104342. t2 = false;
  104343. if (t2)
  104344. return _this._number1$_value;
  104345. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  104346. _box_0.value = _this._number1$_value;
  104347. t2 = _this.get$numeratorUnits(_this);
  104348. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  104349. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  104350. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  104351. t1 = _this.get$denominatorUnits(_this);
  104352. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  104353. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  104354. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  104355. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  104356. throw A.wrapException(compatibilityException.call$0());
  104357. return _box_0.value;
  104358. },
  104359. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  104360. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  104361. },
  104362. isComparableTo$1(other) {
  104363. var exception;
  104364. if (!this.get$hasUnits() || !other.get$hasUnits())
  104365. return true;
  104366. try {
  104367. this.greaterThan$1(other);
  104368. return true;
  104369. } catch (exception) {
  104370. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  104371. return false;
  104372. else
  104373. throw exception;
  104374. }
  104375. },
  104376. greaterThan$1(other) {
  104377. if (other instanceof A.SassNumber0)
  104378. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104379. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  104380. },
  104381. greaterThanOrEquals$1(other) {
  104382. if (other instanceof A.SassNumber0)
  104383. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104384. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  104385. },
  104386. lessThan$1(other) {
  104387. if (other instanceof A.SassNumber0)
  104388. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104389. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  104390. },
  104391. lessThanOrEquals$1(other) {
  104392. if (other instanceof A.SassNumber0)
  104393. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104394. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  104395. },
  104396. modulo$1(other) {
  104397. if (other instanceof A.SassNumber0)
  104398. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  104399. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  104400. },
  104401. plus$1(other) {
  104402. var _this = this;
  104403. if (other instanceof A.SassNumber0)
  104404. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  104405. if (!(other instanceof A.SassColor0))
  104406. return _this.super$Value$plus0(other);
  104407. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  104408. },
  104409. minus$1(other) {
  104410. var _this = this;
  104411. if (other instanceof A.SassNumber0)
  104412. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  104413. if (!(other instanceof A.SassColor0))
  104414. return _this.super$Value$minus0(other);
  104415. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  104416. },
  104417. times$1(other) {
  104418. var _this = this;
  104419. if (other instanceof A.SassNumber0) {
  104420. if (!other.get$hasUnits())
  104421. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  104422. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  104423. }
  104424. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  104425. },
  104426. dividedBy$1(other) {
  104427. var _this = this;
  104428. if (other instanceof A.SassNumber0) {
  104429. if (!other.get$hasUnits())
  104430. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  104431. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  104432. }
  104433. return _this.super$Value$dividedBy0(other);
  104434. },
  104435. unaryPlus$0() {
  104436. return this;
  104437. },
  104438. _number1$_coerceUnits$1$2(other, operation) {
  104439. var t1, exception;
  104440. try {
  104441. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  104442. return t1;
  104443. } catch (exception) {
  104444. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  104445. this.coerceValueToMatch$1(other);
  104446. throw exception;
  104447. } else
  104448. throw exception;
  104449. }
  104450. },
  104451. _number1$_coerceUnits$2(other, operation) {
  104452. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  104453. },
  104454. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  104455. var t1, _0_1, _0_2, _0_3, _0_6, t2, _0_7, _0_9, _0_9_isSet, _0_7_isSet, _0_3_isSet, denominators_case_0, _0_6_isSet, _0_11, _0_10, _0_2_isSet, _0_13, numerators_case_0, _0_13_isSet, _0_11_isSet, t3, t4, denominators_case_1, numerators_case_1, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  104456. _box_0.value = value;
  104457. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  104458. _0_1 = t1[0];
  104459. _0_2 = t1[1];
  104460. _0_3 = t1[2];
  104461. _0_6 = _0_3.length <= 0;
  104462. t2 = _0_6;
  104463. if (t2) {
  104464. _0_7 = t1[3];
  104465. _0_9 = _0_7.length <= 0;
  104466. t2 = _0_9;
  104467. _0_9_isSet = true;
  104468. _0_7_isSet = true;
  104469. } else {
  104470. _0_7 = _null;
  104471. _0_9 = _0_7;
  104472. _0_9_isSet = false;
  104473. _0_7_isSet = false;
  104474. t2 = false;
  104475. }
  104476. _0_3_isSet = true;
  104477. denominators_case_0 = _0_2;
  104478. _0_6_isSet = true;
  104479. if (!t2) {
  104480. _0_11 = _0_1.length <= 0;
  104481. t2 = _0_11;
  104482. _0_10 = _0_1;
  104483. if (t2) {
  104484. t2 = _0_2;
  104485. _0_2_isSet = true;
  104486. _0_13 = t2.length <= 0;
  104487. t2 = _0_13;
  104488. if (t2) {
  104489. if (_0_3_isSet)
  104490. numerators_case_0 = _0_3;
  104491. else {
  104492. _0_3 = t1[2];
  104493. numerators_case_0 = _0_3;
  104494. _0_3_isSet = true;
  104495. }
  104496. if (_0_7_isSet)
  104497. denominators_case_0 = _0_7;
  104498. else {
  104499. _0_7 = t1[3];
  104500. denominators_case_0 = _0_7;
  104501. _0_7_isSet = true;
  104502. }
  104503. t2 = true;
  104504. } else {
  104505. numerators_case_0 = _0_1;
  104506. t2 = false;
  104507. }
  104508. _0_13_isSet = true;
  104509. } else {
  104510. numerators_case_0 = _0_1;
  104511. _0_13 = _null;
  104512. _0_2_isSet = true;
  104513. _0_13_isSet = false;
  104514. t2 = false;
  104515. }
  104516. _0_1 = _0_10;
  104517. _0_11_isSet = true;
  104518. } else {
  104519. numerators_case_0 = _0_1;
  104520. _0_13 = _null;
  104521. _0_11 = _0_13;
  104522. _0_2_isSet = true;
  104523. _0_11_isSet = false;
  104524. _0_13_isSet = false;
  104525. t2 = true;
  104526. }
  104527. if (t2) {
  104528. t3 = denominators_case_0;
  104529. t2 = numerators_case_0;
  104530. t4 = true;
  104531. } else {
  104532. t3 = _null;
  104533. t2 = t3;
  104534. t4 = false;
  104535. }
  104536. if (!t4) {
  104537. if (_0_11_isSet)
  104538. t4 = _0_11;
  104539. else {
  104540. _0_11 = _0_1.length <= 0;
  104541. t4 = _0_11;
  104542. }
  104543. if (t4) {
  104544. if (_0_2_isSet)
  104545. denominators_case_1 = _0_2;
  104546. else {
  104547. _0_2 = t1[1];
  104548. denominators_case_1 = _0_2;
  104549. _0_2_isSet = true;
  104550. }
  104551. if (_0_3_isSet)
  104552. numerators_case_1 = _0_3;
  104553. else {
  104554. _0_3 = t1[2];
  104555. numerators_case_1 = _0_3;
  104556. _0_3_isSet = true;
  104557. }
  104558. if (_0_9_isSet)
  104559. t4 = _0_9;
  104560. else {
  104561. if (_0_7_isSet)
  104562. t4 = _0_7;
  104563. else {
  104564. _0_7 = t1[3];
  104565. t4 = _0_7;
  104566. _0_7_isSet = true;
  104567. }
  104568. _0_9 = t4.length <= 0;
  104569. t4 = _0_9;
  104570. }
  104571. } else {
  104572. numerators_case_1 = _null;
  104573. denominators_case_1 = numerators_case_1;
  104574. t4 = false;
  104575. }
  104576. if (!t4) {
  104577. if (_0_13_isSet)
  104578. t4 = _0_13;
  104579. else {
  104580. _0_13 = (_0_2_isSet ? _0_2 : t1[1]).length <= 0;
  104581. t4 = _0_13;
  104582. }
  104583. if (t4) {
  104584. if (_0_6_isSet)
  104585. t4 = _0_6;
  104586. else {
  104587. _0_6 = (_0_3_isSet ? _0_3 : t1[2]).length <= 0;
  104588. t4 = _0_6;
  104589. }
  104590. if (t4) {
  104591. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  104592. t1 = true;
  104593. } else
  104594. t1 = false;
  104595. } else
  104596. t1 = false;
  104597. numerators_case_1 = _0_1;
  104598. } else
  104599. t1 = true;
  104600. if (t1)
  104601. if (!_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1)) {
  104602. t2 = denominators_case_1;
  104603. t1 = numerators_case_1;
  104604. t3 = true;
  104605. } else {
  104606. t1 = t2;
  104607. t2 = t3;
  104608. t3 = false;
  104609. }
  104610. else {
  104611. t1 = t2;
  104612. t2 = t3;
  104613. t3 = false;
  104614. }
  104615. } else {
  104616. t1 = t2;
  104617. t2 = t3;
  104618. t3 = true;
  104619. }
  104620. if (t3)
  104621. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  104622. newNumerators = A._setArrayType([], type$.JSArray_String);
  104623. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  104624. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104625. numerator = t1[_i];
  104626. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  104627. }
  104628. t1 = _this.get$denominatorUnits(_this);
  104629. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  104630. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  104631. numerator = otherNumerators[_i];
  104632. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  104633. }
  104634. t1 = _box_0.value;
  104635. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  104636. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  104637. },
  104638. _number1$_areAnyConvertible$2(units1, units2) {
  104639. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  104640. },
  104641. _number1$_unitString$2(numerators, denominators) {
  104642. var _0_4, _0_6, t1, _0_7, _0_5, _0_7_isSet, _0_6_isSet, _0_5_isSet, _null = null;
  104643. $label0$0: {
  104644. _0_4 = J.get$length$asx(numerators) <= 0;
  104645. if (_0_4) {
  104646. _0_6 = J.get$length$asx(denominators);
  104647. t1 = _0_6;
  104648. _0_7 = t1 <= 0;
  104649. t1 = _0_7;
  104650. _0_5 = denominators;
  104651. _0_7_isSet = true;
  104652. _0_6_isSet = true;
  104653. _0_5_isSet = true;
  104654. } else {
  104655. _0_5 = _null;
  104656. _0_6 = _0_5;
  104657. _0_7 = _0_6;
  104658. _0_7_isSet = false;
  104659. _0_6_isSet = false;
  104660. _0_5_isSet = false;
  104661. t1 = false;
  104662. }
  104663. if (t1) {
  104664. t1 = "no units";
  104665. break $label0$0;
  104666. }
  104667. if (_0_4) {
  104668. if (_0_6_isSet)
  104669. t1 = _0_6;
  104670. else {
  104671. if (_0_5_isSet)
  104672. t1 = _0_5;
  104673. else {
  104674. t1 = denominators;
  104675. _0_5 = t1;
  104676. _0_5_isSet = true;
  104677. }
  104678. _0_6 = J.get$length$asx(t1);
  104679. t1 = _0_6;
  104680. _0_6_isSet = true;
  104681. }
  104682. t1 = t1 === 1;
  104683. } else
  104684. t1 = false;
  104685. if (t1) {
  104686. t1 = J.$index$asx(_0_5_isSet ? _0_5 : denominators, 0) + "^-1";
  104687. break $label0$0;
  104688. }
  104689. if (_0_4) {
  104690. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  104691. break $label0$0;
  104692. }
  104693. if (_0_7_isSet)
  104694. t1 = _0_7;
  104695. else {
  104696. if (_0_6_isSet)
  104697. t1 = _0_6;
  104698. else {
  104699. _0_6 = J.get$length$asx(_0_5_isSet ? _0_5 : denominators);
  104700. t1 = _0_6;
  104701. }
  104702. _0_7 = t1 <= 0;
  104703. t1 = _0_7;
  104704. }
  104705. if (t1) {
  104706. t1 = J.join$1$ax(numerators, "*");
  104707. break $label0$0;
  104708. }
  104709. t1 = J.join$1$ax(numerators, "*") + "/" + J.join$1$ax(denominators, "*");
  104710. break $label0$0;
  104711. }
  104712. return t1;
  104713. },
  104714. $eq(_, other) {
  104715. var _this = this;
  104716. if (other == null)
  104717. return false;
  104718. if (!(other instanceof A.SassNumber0))
  104719. return false;
  104720. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  104721. return false;
  104722. if (!_this.get$hasUnits())
  104723. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  104724. 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))))
  104725. return false;
  104726. 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)));
  104727. },
  104728. get$hashCode(_) {
  104729. var _this = this,
  104730. t1 = _this.hashCache;
  104731. 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;
  104732. },
  104733. _number1$_canonicalizeUnitList$1(units) {
  104734. var type,
  104735. t1 = units.length;
  104736. if (t1 === 0)
  104737. return units;
  104738. if (t1 === 1) {
  104739. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  104740. if (type == null)
  104741. t1 = units;
  104742. else {
  104743. t1 = B.Map_ws7dy.$index(0, type);
  104744. t1.toString;
  104745. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  104746. }
  104747. return t1;
  104748. }
  104749. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  104750. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  104751. B.JSArray_methods.sort$0(t1);
  104752. return t1;
  104753. },
  104754. _number1$_canonicalMultiplier$1(units) {
  104755. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  104756. },
  104757. canonicalMultiplierForUnit$1(unit) {
  104758. var t1,
  104759. innerMap = B.Map_nfuzN.$index(0, unit);
  104760. if (innerMap == null)
  104761. t1 = 1;
  104762. else {
  104763. t1 = innerMap.get$values(innerMap);
  104764. t1 = 1 / t1.get$first(t1);
  104765. }
  104766. return t1;
  104767. },
  104768. unitSuggestion$2($name, unit) {
  104769. var t2, t3, result, _this = this,
  104770. t1 = _this.get$denominatorUnits(_this);
  104771. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  104772. t2 = _this.get$numeratorUnits(_this);
  104773. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  104774. t3 = unit == null ? "" : " * 1" + unit;
  104775. result = "$" + $name + t1 + t2 + t3;
  104776. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  104777. },
  104778. unitSuggestion$1($name) {
  104779. return this.unitSuggestion$2($name, null);
  104780. }
  104781. };
  104782. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  104783. call$0() {
  104784. var t2, t3, message, t4, type, unit, _this = this,
  104785. t1 = _this.other;
  104786. if (t1 != null) {
  104787. t2 = _this.$this;
  104788. t3 = t2.toString$0(0) + " and";
  104789. message = new A.StringBuffer(t3);
  104790. t4 = _this.otherName;
  104791. if (t4 != null)
  104792. t3 = message._contents = t3 + (" $" + t4 + ":");
  104793. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  104794. message._contents = t1;
  104795. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  104796. message._contents = t1 + " (one has units and the other doesn't)";
  104797. t1 = message.toString$0(0) + ".";
  104798. t2 = _this.name;
  104799. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  104800. } else if (!_this.otherHasUnits) {
  104801. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  104802. t2 = _this.name;
  104803. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  104804. } else {
  104805. t1 = _this.newNumerators;
  104806. t2 = J.getInterceptor$asx(t1);
  104807. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  104808. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  104809. if (type != null) {
  104810. t1 = _this.$this.toString$0(0);
  104811. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  104812. t3 = B.Map_ws7dy.$index(0, type);
  104813. t3.toString;
  104814. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  104815. t2 = _this.name;
  104816. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  104817. }
  104818. }
  104819. t3 = _this.newDenominators;
  104820. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  104821. t2 = _this.$this;
  104822. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  104823. t1 = _this.name;
  104824. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  104825. }
  104826. },
  104827. $signature: 518
  104828. };
  104829. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  104830. call$1(oldNumerator) {
  104831. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  104832. if (factor == null)
  104833. return false;
  104834. this._box_0.value *= factor;
  104835. return true;
  104836. },
  104837. $signature: 4
  104838. };
  104839. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  104840. call$0() {
  104841. return A.throwExpression(this.compatibilityException.call$0());
  104842. },
  104843. $signature: 0
  104844. };
  104845. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  104846. call$1(oldDenominator) {
  104847. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  104848. if (factor == null)
  104849. return false;
  104850. this._box_0.value /= factor;
  104851. return true;
  104852. },
  104853. $signature: 4
  104854. };
  104855. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  104856. call$0() {
  104857. return A.throwExpression(this.compatibilityException.call$0());
  104858. },
  104859. $signature: 0
  104860. };
  104861. A.SassNumber_plus_closure0.prototype = {
  104862. call$2(num1, num2) {
  104863. return num1 + num2;
  104864. },
  104865. $signature: 64
  104866. };
  104867. A.SassNumber_minus_closure0.prototype = {
  104868. call$2(num1, num2) {
  104869. return num1 - num2;
  104870. },
  104871. $signature: 64
  104872. };
  104873. A.SassNumber_multiplyUnits_closure3.prototype = {
  104874. call$1(denominator) {
  104875. var factor = A.conversionFactor0(this.numerator, denominator);
  104876. if (factor == null)
  104877. return false;
  104878. this._box_0.value /= factor;
  104879. return true;
  104880. },
  104881. $signature: 4
  104882. };
  104883. A.SassNumber_multiplyUnits_closure4.prototype = {
  104884. call$0() {
  104885. return this.newNumerators.push(this.numerator);
  104886. },
  104887. $signature: 0
  104888. };
  104889. A.SassNumber_multiplyUnits_closure5.prototype = {
  104890. call$1(denominator) {
  104891. var factor = A.conversionFactor0(this.numerator, denominator);
  104892. if (factor == null)
  104893. return false;
  104894. this._box_0.value /= factor;
  104895. return true;
  104896. },
  104897. $signature: 4
  104898. };
  104899. A.SassNumber_multiplyUnits_closure6.prototype = {
  104900. call$0() {
  104901. return this.newNumerators.push(this.numerator);
  104902. },
  104903. $signature: 0
  104904. };
  104905. A.SassNumber__areAnyConvertible_closure0.prototype = {
  104906. call$1(unit1) {
  104907. var t1,
  104908. _0_0 = B.Map_nfuzN.$index(0, unit1);
  104909. $label0$0: {
  104910. if (_0_0 != null) {
  104911. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  104912. break $label0$0;
  104913. }
  104914. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  104915. break $label0$0;
  104916. }
  104917. return t1;
  104918. },
  104919. $signature: 4
  104920. };
  104921. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  104922. call$1(unit) {
  104923. var t1,
  104924. type = $.$get$_typesByUnit0().$index(0, unit);
  104925. if (type == null)
  104926. t1 = unit;
  104927. else {
  104928. t1 = B.Map_ws7dy.$index(0, type);
  104929. t1.toString;
  104930. t1 = B.JSArray_methods.get$first(t1);
  104931. }
  104932. return t1;
  104933. },
  104934. $signature: 5
  104935. };
  104936. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  104937. call$2(multiplier, unit) {
  104938. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  104939. },
  104940. $signature: 221
  104941. };
  104942. A.SassNumber_unitSuggestion_closure1.prototype = {
  104943. call$1(unit) {
  104944. return " * 1" + unit;
  104945. },
  104946. $signature: 5
  104947. };
  104948. A.SassNumber_unitSuggestion_closure2.prototype = {
  104949. call$1(unit) {
  104950. return " / 1" + unit;
  104951. },
  104952. $signature: 5
  104953. };
  104954. A.SupportsOperation0.prototype = {
  104955. toString$0(_) {
  104956. var _this = this;
  104957. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  104958. },
  104959. _operation0$_parenthesize$1(condition) {
  104960. var t1;
  104961. if (!(condition instanceof A.SupportsNegation0))
  104962. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  104963. else
  104964. t1 = true;
  104965. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  104966. },
  104967. $isAstNode0: 1,
  104968. get$span(receiver) {
  104969. return this.span;
  104970. }
  104971. };
  104972. A.ParentSelector0.prototype = {
  104973. accept$1$1(visitor) {
  104974. return visitor.visitParentSelector$1(this);
  104975. },
  104976. accept$1(visitor) {
  104977. return this.accept$1$1(visitor, type$.dynamic);
  104978. },
  104979. unify$1(compound) {
  104980. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  104981. }
  104982. };
  104983. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  104984. A.ParentStatement_closure0.prototype = {
  104985. call$1(child) {
  104986. var t1;
  104987. $label0$0: {
  104988. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  104989. t1 = true;
  104990. break $label0$0;
  104991. }
  104992. if (child instanceof A.ImportRule0) {
  104993. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  104994. break $label0$0;
  104995. }
  104996. t1 = false;
  104997. break $label0$0;
  104998. }
  104999. return t1;
  105000. },
  105001. $signature: 208
  105002. };
  105003. A.ParentStatement__closure0.prototype = {
  105004. call$1($import) {
  105005. return $import instanceof A.DynamicImport0;
  105006. },
  105007. $signature: 207
  105008. };
  105009. A.ParenthesizedExpression0.prototype = {
  105010. accept$1$1(visitor) {
  105011. return visitor.visitParenthesizedExpression$1(this);
  105012. },
  105013. accept$1(visitor) {
  105014. return this.accept$1$1(visitor, type$.dynamic);
  105015. },
  105016. toString$0(_) {
  105017. return "(" + this.expression.toString$0(0) + ")";
  105018. },
  105019. $isExpression0: 1,
  105020. $isAstNode0: 1,
  105021. get$span(receiver) {
  105022. return this.span;
  105023. }
  105024. };
  105025. A.Parser1.prototype = {
  105026. _parser0$_parseIdentifier$0() {
  105027. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  105028. },
  105029. whitespace$0() {
  105030. do
  105031. this.whitespaceWithoutComments$0();
  105032. while (this.scanComment$0());
  105033. },
  105034. whitespaceWithoutComments$0() {
  105035. var t3,
  105036. t1 = this.scanner,
  105037. t2 = t1.string.length;
  105038. while (true) {
  105039. if (t1._string_scanner$_position !== t2) {
  105040. t3 = t1.peekChar$0();
  105041. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  105042. } else
  105043. t3 = false;
  105044. if (!t3)
  105045. break;
  105046. t1.readChar$0();
  105047. }
  105048. },
  105049. spaces$0() {
  105050. var t3,
  105051. t1 = this.scanner,
  105052. t2 = t1.string.length;
  105053. while (true) {
  105054. if (t1._string_scanner$_position !== t2) {
  105055. t3 = t1.peekChar$0();
  105056. t3 = t3 === 32 || t3 === 9;
  105057. } else
  105058. t3 = false;
  105059. if (!t3)
  105060. break;
  105061. t1.readChar$0();
  105062. }
  105063. },
  105064. scanComment$0() {
  105065. var _0_0,
  105066. t1 = this.scanner;
  105067. if (t1.peekChar$0() !== 47)
  105068. return false;
  105069. _0_0 = t1.peekChar$1(1);
  105070. if (47 === _0_0) {
  105071. this.silentComment$0();
  105072. return true;
  105073. }
  105074. if (42 === _0_0) {
  105075. this.loudComment$0();
  105076. return true;
  105077. }
  105078. return false;
  105079. },
  105080. expectWhitespace$0() {
  105081. var t2, t3,
  105082. t1 = this.scanner;
  105083. if (t1._string_scanner$_position !== t1.string.length) {
  105084. t2 = t1.peekChar$0();
  105085. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  105086. t2 = t3;
  105087. } else
  105088. t2 = true;
  105089. if (t2)
  105090. t1.error$1(0, "Expected whitespace.");
  105091. this.whitespace$0();
  105092. },
  105093. silentComment$0() {
  105094. var t2, t3,
  105095. t1 = this.scanner;
  105096. t1.expect$1("//");
  105097. t2 = t1.string.length;
  105098. while (true) {
  105099. if (t1._string_scanner$_position !== t2) {
  105100. t3 = t1.peekChar$0();
  105101. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  105102. } else
  105103. t3 = false;
  105104. if (!t3)
  105105. break;
  105106. t1.readChar$0();
  105107. }
  105108. },
  105109. loudComment$0() {
  105110. var next,
  105111. t1 = this.scanner;
  105112. t1.expect$1("/*");
  105113. for (; true;) {
  105114. if (t1.readChar$0() !== 42)
  105115. continue;
  105116. do
  105117. next = t1.readChar$0();
  105118. while (next === 42);
  105119. if (next === 47)
  105120. break;
  105121. }
  105122. },
  105123. identifier$2$normalize$unit(normalize, unit) {
  105124. var t2, _0_0, _this = this,
  105125. _s20_ = "Expected identifier.",
  105126. text = new A.StringBuffer(""),
  105127. t1 = _this.scanner;
  105128. if (t1.scanChar$1(45)) {
  105129. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  105130. if (t1.scanChar$1(45)) {
  105131. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105132. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105133. t1 = text._contents;
  105134. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105135. }
  105136. } else
  105137. t2 = "";
  105138. $label0$0: {
  105139. _0_0 = t1.peekChar$0();
  105140. if (_0_0 == null)
  105141. t1.error$1(0, _s20_);
  105142. if (95 === _0_0 && normalize) {
  105143. t1.readChar$0();
  105144. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105145. break $label0$0;
  105146. }
  105147. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  105148. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  105149. break $label0$0;
  105150. }
  105151. if (92 === _0_0) {
  105152. text._contents = t2 + _this.escape$1$identifierStart(true);
  105153. break $label0$0;
  105154. }
  105155. t1.error$1(0, _s20_);
  105156. }
  105157. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105158. t1 = text._contents;
  105159. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105160. },
  105161. identifier$0() {
  105162. return this.identifier$2$normalize$unit(false, false);
  105163. },
  105164. identifier$1$normalize(normalize) {
  105165. return this.identifier$2$normalize$unit(normalize, false);
  105166. },
  105167. identifier$1$unit(unit) {
  105168. return this.identifier$2$normalize$unit(false, unit);
  105169. },
  105170. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  105171. var t1, _1_0, _0_0, t2;
  105172. for (t1 = this.scanner; true;) {
  105173. _1_0 = t1.peekChar$0();
  105174. if (_1_0 == null)
  105175. break;
  105176. if (45 === _1_0 && unit) {
  105177. _0_0 = t1.peekChar$1(1);
  105178. if (46 !== _0_0)
  105179. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  105180. else
  105181. t2 = true;
  105182. if (t2)
  105183. break;
  105184. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105185. continue;
  105186. }
  105187. if (95 === _1_0 && normalize) {
  105188. t1.readChar$0();
  105189. text._contents += A.Primitives_stringFromCharCode(45);
  105190. continue;
  105191. }
  105192. if (_1_0 !== 95) {
  105193. if (!(_1_0 >= 97 && _1_0 <= 122))
  105194. t2 = _1_0 >= 65 && _1_0 <= 90;
  105195. else
  105196. t2 = true;
  105197. t2 = t2 || _1_0 >= 128;
  105198. } else
  105199. t2 = true;
  105200. if (!t2)
  105201. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  105202. else
  105203. t2 = true;
  105204. if (t2) {
  105205. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105206. continue;
  105207. }
  105208. if (92 === _1_0) {
  105209. text._contents += this.escape$0();
  105210. continue;
  105211. }
  105212. break;
  105213. }
  105214. },
  105215. _parser0$_identifierBody$1(text) {
  105216. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  105217. },
  105218. string$0() {
  105219. var buffer, _0_0, t2,
  105220. t1 = this.scanner,
  105221. quote = t1.readChar$0();
  105222. if (quote !== 39 && quote !== 34)
  105223. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  105224. buffer = new A.StringBuffer("");
  105225. for (; true;) {
  105226. _0_0 = t1.peekChar$0();
  105227. if (_0_0 === quote) {
  105228. t1.readChar$0();
  105229. break;
  105230. }
  105231. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  105232. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  105233. if (92 === _0_0) {
  105234. t2 = t1.peekChar$1(1);
  105235. if (t2 === 10 || t2 === 13 || t2 === 12) {
  105236. t1.readChar$0();
  105237. t1.readChar$0();
  105238. } else
  105239. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  105240. continue;
  105241. }
  105242. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105243. }
  105244. t1 = buffer._contents;
  105245. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105246. },
  105247. declarationValue$1$allowEmpty(allowEmpty) {
  105248. var t1, t2, wroteNewline, next, start, end, t3, _0_0, _this = this,
  105249. buffer = new A.StringBuffer(""),
  105250. brackets = A._setArrayType([], type$.JSArray_int);
  105251. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  105252. next = t1.peekChar$0();
  105253. if (next == null)
  105254. break;
  105255. if (92 === next) {
  105256. buffer._contents += _this.escape$1$identifierStart(true);
  105257. wroteNewline = false;
  105258. continue;
  105259. }
  105260. if (34 === next || 39 === next) {
  105261. start = t1._string_scanner$_position;
  105262. t2.call$0();
  105263. end = t1._string_scanner$_position;
  105264. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105265. wroteNewline = false;
  105266. continue;
  105267. }
  105268. if (47 === next) {
  105269. if (t1.peekChar$1(1) === 42) {
  105270. t3 = _this.get$loudComment();
  105271. start = t1._string_scanner$_position;
  105272. t3.call$0();
  105273. end = t1._string_scanner$_position;
  105274. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105275. } else
  105276. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105277. wroteNewline = false;
  105278. continue;
  105279. }
  105280. if (32 === next || 9 === next) {
  105281. if (!wroteNewline) {
  105282. t3 = t1.peekChar$1(1);
  105283. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  105284. } else
  105285. t3 = true;
  105286. if (t3)
  105287. buffer._contents += A.Primitives_stringFromCharCode(32);
  105288. t1.readChar$0();
  105289. continue;
  105290. }
  105291. if (10 === next || 13 === next || 12 === next) {
  105292. t3 = t1.peekChar$1(-1);
  105293. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  105294. buffer._contents += "\n";
  105295. t1.readChar$0();
  105296. wroteNewline = true;
  105297. continue;
  105298. }
  105299. if (40 === next || 123 === next || 91 === next) {
  105300. buffer._contents += A.Primitives_stringFromCharCode(next);
  105301. brackets.push(A.opposite0(t1.readChar$0()));
  105302. wroteNewline = false;
  105303. continue;
  105304. }
  105305. if (41 === next || 125 === next || 93 === next) {
  105306. if (brackets.length === 0)
  105307. break;
  105308. buffer._contents += A.Primitives_stringFromCharCode(next);
  105309. t1.expectChar$1(brackets.pop());
  105310. wroteNewline = false;
  105311. continue;
  105312. }
  105313. if (59 === next) {
  105314. if (brackets.length === 0)
  105315. break;
  105316. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105317. continue;
  105318. }
  105319. if (117 === next || 85 === next) {
  105320. _0_0 = _this.tryUrl$0();
  105321. if (_0_0 != null)
  105322. buffer._contents += _0_0;
  105323. else
  105324. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105325. wroteNewline = false;
  105326. continue;
  105327. }
  105328. if (_this.lookingAtIdentifier$0())
  105329. buffer._contents += _this.identifier$0();
  105330. else
  105331. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105332. wroteNewline = false;
  105333. }
  105334. if (brackets.length !== 0)
  105335. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  105336. if (!allowEmpty && buffer._contents.length === 0)
  105337. t1.error$1(0, "Expected token.");
  105338. t1 = buffer._contents;
  105339. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105340. },
  105341. declarationValue$0() {
  105342. return this.declarationValue$1$allowEmpty(false);
  105343. },
  105344. tryUrl$0() {
  105345. var buffer, _0_0, t2, _this = this,
  105346. t1 = _this.scanner,
  105347. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  105348. if (!_this.scanIdentifier$1("url"))
  105349. return null;
  105350. if (!t1.scanChar$1(40)) {
  105351. t1.set$state(start);
  105352. return null;
  105353. }
  105354. _this.whitespace$0();
  105355. buffer = new A.StringBuffer("");
  105356. buffer._contents = "" + "url(";
  105357. for (; true;) {
  105358. _0_0 = t1.peekChar$0();
  105359. if (_0_0 == null)
  105360. break;
  105361. if (92 === _0_0) {
  105362. buffer._contents += _this.escape$0();
  105363. continue;
  105364. }
  105365. if (37 !== _0_0)
  105366. if (38 !== _0_0)
  105367. if (35 !== _0_0)
  105368. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  105369. else
  105370. t2 = true;
  105371. else
  105372. t2 = true;
  105373. else
  105374. t2 = true;
  105375. if (t2) {
  105376. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105377. continue;
  105378. }
  105379. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  105380. _this.whitespace$0();
  105381. if (t1.peekChar$0() !== 41)
  105382. break;
  105383. continue;
  105384. }
  105385. if (41 === _0_0) {
  105386. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105387. return t2.charCodeAt(0) == 0 ? t2 : t2;
  105388. }
  105389. break;
  105390. }
  105391. t1.set$state(start);
  105392. return null;
  105393. },
  105394. variableName$0() {
  105395. this.scanner.expectChar$1(36);
  105396. return this.identifier$1$normalize(true);
  105397. },
  105398. escape$1$identifierStart(identifierStart) {
  105399. var value, _0_0, i, next, t2, exception,
  105400. _s25_ = "Expected escape sequence.",
  105401. t1 = this.scanner,
  105402. start = t1._string_scanner$_position;
  105403. t1.expectChar$1(92);
  105404. value = 0;
  105405. $label0$1: {
  105406. _0_0 = t1.peekChar$0();
  105407. if (_0_0 == null)
  105408. t1.error$1(0, _s25_);
  105409. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  105410. t1.error$1(0, _s25_);
  105411. if (A.CharacterExtension_get_isHex0(_0_0)) {
  105412. for (i = 0; i < 6; ++i) {
  105413. next = t1.peekChar$0();
  105414. if (next != null) {
  105415. if (!(next >= 48 && next <= 57))
  105416. if (!(next >= 97 && next <= 102))
  105417. t2 = next >= 65 && next <= 70;
  105418. else
  105419. t2 = true;
  105420. else
  105421. t2 = true;
  105422. t2 = !t2;
  105423. } else
  105424. t2 = true;
  105425. if (t2)
  105426. break;
  105427. value *= 16;
  105428. value += A.asHex0(t1.readChar$0());
  105429. }
  105430. this.scanCharIf$1(new A.Parser_escape_closure0());
  105431. break $label0$1;
  105432. }
  105433. value = t1.readChar$0();
  105434. }
  105435. if (identifierStart) {
  105436. t2 = value;
  105437. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  105438. } else {
  105439. t2 = value;
  105440. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  105441. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  105442. else
  105443. t2 = true;
  105444. }
  105445. if (t2)
  105446. try {
  105447. t2 = A.Primitives_stringFromCharCode(value);
  105448. return t2;
  105449. } catch (exception) {
  105450. if (type$.RangeError._is(A.unwrapException(exception)))
  105451. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  105452. else
  105453. throw exception;
  105454. }
  105455. else {
  105456. if (!(value <= 31))
  105457. if (!J.$eq$(value, 127))
  105458. if (identifierStart) {
  105459. t1 = value;
  105460. t1 = t1 >= 48 && t1 <= 57;
  105461. } else
  105462. t1 = false;
  105463. else
  105464. t1 = true;
  105465. else
  105466. t1 = true;
  105467. if (t1) {
  105468. t1 = "" + A.Primitives_stringFromCharCode(92);
  105469. if (value > 15)
  105470. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  105471. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  105472. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105473. } else
  105474. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  105475. }
  105476. },
  105477. escape$0() {
  105478. return this.escape$1$identifierStart(false);
  105479. },
  105480. scanCharIf$1(condition) {
  105481. var t1 = this.scanner;
  105482. if (!condition.call$1(t1.peekChar$0()))
  105483. return false;
  105484. t1.readChar$0();
  105485. return true;
  105486. },
  105487. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  105488. var t3,
  105489. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  105490. t2 = this.scanner,
  105491. _0_0 = t2.peekChar$0();
  105492. if (_0_0 != null) {
  105493. t3 = t1.call$1(_0_0);
  105494. t3 = t3;
  105495. } else
  105496. t3 = false;
  105497. if (t3) {
  105498. t2.readChar$0();
  105499. return true;
  105500. }
  105501. if (92 === _0_0) {
  105502. t3 = t2._string_scanner$_position;
  105503. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  105504. return true;
  105505. t2.set$state(new A._SpanScannerState(t2, t3));
  105506. }
  105507. return false;
  105508. },
  105509. scanIdentChar$1(char) {
  105510. return this.scanIdentChar$2$caseSensitive(char, false);
  105511. },
  105512. expectIdentChar$1(letter) {
  105513. var t1;
  105514. if (this.scanIdentChar$2$caseSensitive(letter, false))
  105515. return;
  105516. t1 = this.scanner;
  105517. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  105518. },
  105519. lookingAtIdentifier$1($forward) {
  105520. var t1, _1_0, t2, _0_0;
  105521. if ($forward == null)
  105522. $forward = 0;
  105523. t1 = this.scanner;
  105524. _1_0 = t1.peekChar$1($forward);
  105525. $label0$0: {
  105526. if (A._isInt(_1_0))
  105527. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  105528. else
  105529. t2 = false;
  105530. if (t2 || 92 === _1_0) {
  105531. t1 = true;
  105532. break $label0$0;
  105533. }
  105534. if (45 === _1_0) {
  105535. _0_0 = t1.peekChar$1($forward + 1);
  105536. $label1$1: {
  105537. if (A._isInt(_0_0))
  105538. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  105539. else
  105540. t1 = false;
  105541. if (t1 || 92 === _0_0 || 45 === _0_0) {
  105542. t1 = true;
  105543. break $label1$1;
  105544. }
  105545. t1 = false;
  105546. break $label1$1;
  105547. }
  105548. break $label0$0;
  105549. }
  105550. t1 = false;
  105551. break $label0$0;
  105552. }
  105553. return t1;
  105554. },
  105555. lookingAtIdentifier$0() {
  105556. return this.lookingAtIdentifier$1(null);
  105557. },
  105558. lookingAtIdentifierBody$0() {
  105559. var t1,
  105560. next = this.scanner.peekChar$0();
  105561. if (next != null) {
  105562. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  105563. t1 = next >= 48 && next <= 57 || next === 45;
  105564. else
  105565. t1 = true;
  105566. t1 = t1 || next === 92;
  105567. } else
  105568. t1 = false;
  105569. return t1;
  105570. },
  105571. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  105572. var t1, t2, _this = this;
  105573. if (!_this.lookingAtIdentifier$0())
  105574. return false;
  105575. t1 = _this.scanner;
  105576. t2 = t1._string_scanner$_position;
  105577. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  105578. return true;
  105579. else {
  105580. t1.set$state(new A._SpanScannerState(t1, t2));
  105581. return false;
  105582. }
  105583. },
  105584. scanIdentifier$1(text) {
  105585. return this.scanIdentifier$2$caseSensitive(text, false);
  105586. },
  105587. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  105588. var t1, t2, t3;
  105589. for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  105590. t3 = t1.__internal$_current;
  105591. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  105592. return false;
  105593. }
  105594. return true;
  105595. },
  105596. expectIdentifier$2$name(text, $name) {
  105597. var t1, start, t2, t3, t4, t5, t6;
  105598. if ($name == null)
  105599. $name = '"' + text + '"';
  105600. t1 = this.scanner;
  105601. start = t1._string_scanner$_position;
  105602. for (t2 = new A.CodeUnits(text), t3 = type$.CodeUnits, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = "Expected " + $name, t5 = t4 + ".", t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  105603. t6 = t2.__internal$_current;
  105604. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  105605. continue;
  105606. t1.error$2$position(0, t5, start);
  105607. }
  105608. if (!this.lookingAtIdentifierBody$0())
  105609. return;
  105610. t1.error$2$position(0, t4, start);
  105611. },
  105612. expectIdentifier$1(text) {
  105613. return this.expectIdentifier$2$name(text, null);
  105614. },
  105615. rawText$1(consumer) {
  105616. var t1 = this.scanner,
  105617. start = t1._string_scanner$_position;
  105618. consumer.call$0();
  105619. return t1.substring$1(0, start);
  105620. },
  105621. spanFrom$1(state) {
  105622. var span = this.scanner.spanFrom$1(state);
  105623. return this._parser0$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  105624. },
  105625. error$3(_, message, span, trace) {
  105626. var exception = new A.StringScannerException(this.scanner.string, message, span);
  105627. if (trace == null)
  105628. throw A.wrapException(exception);
  105629. else
  105630. A.throwWithTrace0(exception, this.get$error(this), trace);
  105631. },
  105632. error$2(_, message, span) {
  105633. return this.error$3(0, message, span, null);
  105634. },
  105635. withErrorMessage$1$2(message, callback) {
  105636. var error, stackTrace, t1, exception;
  105637. try {
  105638. t1 = callback.call$0();
  105639. return t1;
  105640. } catch (exception) {
  105641. t1 = A.unwrapException(exception);
  105642. if (type$.SourceSpanFormatException._is(t1)) {
  105643. error = t1;
  105644. stackTrace = A.getTraceFromException(exception);
  105645. t1 = J.get$span$z(error);
  105646. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  105647. } else
  105648. throw exception;
  105649. }
  105650. },
  105651. withErrorMessage$2(message, callback) {
  105652. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  105653. },
  105654. wrapSpanFormatException$1$1(callback) {
  105655. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  105656. _s8_ = "expected";
  105657. try {
  105658. try {
  105659. t3 = callback.call$0();
  105660. return t3;
  105661. } catch (exception) {
  105662. t3 = A.unwrapException(exception);
  105663. if (type$.SourceSpanFormatException._is(t3)) {
  105664. error = t3;
  105665. stackTrace = A.getTraceFromException(exception);
  105666. map = _this._parser0$_interpolationMap;
  105667. if (map == null)
  105668. throw exception;
  105669. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  105670. } else
  105671. throw exception;
  105672. }
  105673. } catch (exception) {
  105674. t3 = A.unwrapException(exception);
  105675. if (type$.SourceSpanFormatException._is(t3)) {
  105676. error0 = t3;
  105677. stackTrace0 = A.getTraceFromException(exception);
  105678. span = J.get$span$z(error0);
  105679. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  105680. span = _this._parser0$_adjustExceptionSpan$1(span);
  105681. t1 = error0._span_exception$_message;
  105682. t2 = span;
  105683. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error0, stackTrace0);
  105684. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  105685. error1 = t3;
  105686. stackTrace1 = A.getTraceFromException(exception);
  105687. span0 = J.get$span$z(error1);
  105688. t3 = type$.FileSpan;
  105689. t4 = type$.String;
  105690. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  105691. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  105692. span0 = _this._parser0$_adjustExceptionSpan$1(span0);
  105693. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  105694. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  105695. t2 = t3.get$current(t3);
  105696. span1 = null;
  105697. description = null;
  105698. _0_0 = t2;
  105699. span1 = _0_0._0;
  105700. description = _0_0._1;
  105701. J.$indexSet$ax(t1, _this._parser0$_adjustExceptionSpan$1(span1), description);
  105702. }
  105703. secondarySpans = t1;
  105704. }
  105705. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  105706. } else
  105707. throw exception;
  105708. }
  105709. },
  105710. wrapSpanFormatException$1(callback) {
  105711. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  105712. },
  105713. _parser0$_adjustExceptionSpan$1(span) {
  105714. var start, t1;
  105715. if (span.get$length(span) > 0)
  105716. return span;
  105717. start = this._parser0$_firstNewlineBefore$1(span.get$start(span));
  105718. if (start.$eq(0, span.get$start(span)))
  105719. t1 = span;
  105720. else {
  105721. t1 = start.offset;
  105722. t1 = A._FileSpan$(start.file, t1, t1);
  105723. }
  105724. return t1;
  105725. },
  105726. _parser0$_firstNewlineBefore$1($location) {
  105727. var lastNewline, codeUnit,
  105728. t1 = $location.file,
  105729. t2 = $location.offset,
  105730. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  105731. index = t2 - 1;
  105732. for (lastNewline = null; index >= 0;) {
  105733. codeUnit = text.charCodeAt(index);
  105734. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  105735. if (lastNewline == null)
  105736. t1 = $location;
  105737. else {
  105738. t2 = new A.FileLocation(t1, lastNewline);
  105739. t2.FileLocation$_$2(t1, lastNewline);
  105740. t1 = t2;
  105741. }
  105742. return t1;
  105743. }
  105744. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  105745. lastNewline = index;
  105746. --index;
  105747. }
  105748. return $location;
  105749. }
  105750. };
  105751. A.Parser__parseIdentifier_closure0.prototype = {
  105752. call$0() {
  105753. var t1 = this.$this,
  105754. result = t1.identifier$0();
  105755. t1.scanner.expectDone$0();
  105756. return result;
  105757. },
  105758. $signature: 27
  105759. };
  105760. A.Parser_escape_closure0.prototype = {
  105761. call$1(char) {
  105762. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  105763. },
  105764. $signature: 28
  105765. };
  105766. A.Parser_scanIdentChar_matches0.prototype = {
  105767. call$1(actual) {
  105768. var t1 = this.char;
  105769. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  105770. },
  105771. $signature: 46
  105772. };
  105773. A.Parser_spanFrom_closure0.prototype = {
  105774. call$0() {
  105775. return this.$this._parser0$_interpolationMap.mapSpan$1(this.span);
  105776. },
  105777. $signature: 25
  105778. };
  105779. A.PlaceholderSelector0.prototype = {
  105780. accept$1$1(visitor) {
  105781. return visitor.visitPlaceholderSelector$1(this);
  105782. },
  105783. accept$1(visitor) {
  105784. return this.accept$1$1(visitor, type$.dynamic);
  105785. },
  105786. addSuffix$1(suffix) {
  105787. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  105788. },
  105789. $eq(_, other) {
  105790. if (other == null)
  105791. return false;
  105792. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  105793. },
  105794. get$hashCode(_) {
  105795. return B.JSString_methods.get$hashCode(this.name);
  105796. }
  105797. };
  105798. A.PlainCssCallable0.prototype = {
  105799. $eq(_, other) {
  105800. if (other == null)
  105801. return false;
  105802. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  105803. },
  105804. get$hashCode(_) {
  105805. return B.JSString_methods.get$hashCode(this.name);
  105806. },
  105807. $isAsyncCallable0: 1,
  105808. $isCallable: 1,
  105809. get$name(receiver) {
  105810. return this.name;
  105811. }
  105812. };
  105813. A.PrefixedMapView0.prototype = {
  105814. get$keys(_) {
  105815. return new A._PrefixedKeys0(this);
  105816. },
  105817. get$length(_) {
  105818. var t1 = this._prefixed_map_view0$_map;
  105819. return t1.get$length(t1);
  105820. },
  105821. get$isEmpty(_) {
  105822. var t1 = this._prefixed_map_view0$_map;
  105823. return t1.get$isEmpty(t1);
  105824. },
  105825. get$isNotEmpty(_) {
  105826. var t1 = this._prefixed_map_view0$_map;
  105827. return t1.get$isNotEmpty(t1);
  105828. },
  105829. $index(_, key) {
  105830. 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;
  105831. },
  105832. containsKey$1(key) {
  105833. 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));
  105834. }
  105835. };
  105836. A._PrefixedKeys0.prototype = {
  105837. get$length(_) {
  105838. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  105839. return t1.get$length(t1);
  105840. },
  105841. get$iterator(_) {
  105842. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  105843. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  105844. return t1.get$iterator(t1);
  105845. },
  105846. contains$1(_, key) {
  105847. return this._prefixed_map_view0$_view.containsKey$1(key);
  105848. }
  105849. };
  105850. A._PrefixedKeys_iterator_closure0.prototype = {
  105851. call$1(key) {
  105852. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  105853. },
  105854. $signature: 5
  105855. };
  105856. A.PseudoSelector0.prototype = {
  105857. get$isHostContext() {
  105858. return this.isClass && this.name === "host-context" && this.selector != null;
  105859. },
  105860. get$specificity() {
  105861. var result, _this = this,
  105862. value = _this._pseudo$__PseudoSelector_specificity_FI;
  105863. if (value === $) {
  105864. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  105865. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  105866. _this._pseudo$__PseudoSelector_specificity_FI = result;
  105867. value = result;
  105868. }
  105869. return value;
  105870. },
  105871. withSelector$1(selector) {
  105872. var _this = this;
  105873. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  105874. },
  105875. addSuffix$1(suffix) {
  105876. var _this = this;
  105877. if (_this.argument != null || _this.selector != null)
  105878. _this.super$SimpleSelector$addSuffix0(suffix);
  105879. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  105880. },
  105881. unify$1(compound) {
  105882. var other, result, t2, addedThis, _i, simple, _this = this,
  105883. t1 = _this.name;
  105884. if (t1 === "host" || t1 === "host-context") {
  105885. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  105886. return null;
  105887. } else {
  105888. if (compound.length === 1) {
  105889. other = compound[0];
  105890. if (!(other instanceof A.UniversalSelector0))
  105891. if (other instanceof A.PseudoSelector0)
  105892. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  105893. else
  105894. t1 = false;
  105895. else
  105896. t1 = true;
  105897. } else {
  105898. other = null;
  105899. t1 = false;
  105900. }
  105901. if (t1)
  105902. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  105903. }
  105904. if (B.JSArray_methods.contains$1(compound, _this))
  105905. return compound;
  105906. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  105907. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  105908. simple = compound[_i];
  105909. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  105910. if (t2)
  105911. return null;
  105912. result.push(_this);
  105913. addedThis = true;
  105914. }
  105915. result.push(simple);
  105916. }
  105917. if (!addedThis)
  105918. result.push(_this);
  105919. return result;
  105920. },
  105921. isSuperselector$1(other) {
  105922. var selector, t1, t2, _this = this;
  105923. if (_this.super$SimpleSelector$isSuperselector0(other))
  105924. return true;
  105925. selector = _this.selector;
  105926. if (selector == null)
  105927. return _this.$eq(0, other);
  105928. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  105929. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  105930. return t1 == null ? false : t1;
  105931. }
  105932. t1 = type$.JSArray_SimpleSelector_2;
  105933. t2 = _this.span;
  105934. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  105935. },
  105936. accept$1$1(visitor) {
  105937. return visitor.visitPseudoSelector$1(this);
  105938. },
  105939. accept$1(visitor) {
  105940. return this.accept$1$1(visitor, type$.dynamic);
  105941. },
  105942. $eq(_, other) {
  105943. var _this = this;
  105944. if (other == null)
  105945. return false;
  105946. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  105947. },
  105948. get$hashCode(_) {
  105949. var _this = this,
  105950. t1 = B.JSString_methods.get$hashCode(_this.name),
  105951. t2 = !_this.isClass ? 519018 : 218159;
  105952. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  105953. }
  105954. };
  105955. A.PseudoSelector_specificity_closure0.prototype = {
  105956. call$0() {
  105957. var selector, t2,
  105958. t1 = this.$this;
  105959. if (!t1.isClass)
  105960. return 1;
  105961. selector = t1.selector;
  105962. if (selector == null)
  105963. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  105964. switch (t1.normalizedName) {
  105965. case "where":
  105966. return 0;
  105967. case "is":
  105968. case "not":
  105969. case "has":
  105970. case "matches":
  105971. t1 = selector.components;
  105972. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  105973. case "nth-child":
  105974. case "nth-last-child":
  105975. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  105976. t2 = selector.components;
  105977. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  105978. default:
  105979. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  105980. }
  105981. },
  105982. $signature: 10
  105983. };
  105984. A.PseudoSelector_specificity__closure1.prototype = {
  105985. call$1(component) {
  105986. return component.get$specificity();
  105987. },
  105988. $signature: 166
  105989. };
  105990. A.PseudoSelector_specificity__closure2.prototype = {
  105991. call$1(component) {
  105992. return component.get$specificity();
  105993. },
  105994. $signature: 166
  105995. };
  105996. A.PseudoSelector_unify_closure0.prototype = {
  105997. call$1(simple) {
  105998. var t1;
  105999. if (simple instanceof A.PseudoSelector0)
  106000. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  106001. else
  106002. t1 = false;
  106003. return t1;
  106004. },
  106005. $signature: 14
  106006. };
  106007. A.PublicMemberMapView0.prototype = {
  106008. get$keys(_) {
  106009. var t1 = this._public_member_map_view0$_inner;
  106010. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  106011. },
  106012. containsKey$1(key) {
  106013. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  106014. },
  106015. $index(_, key) {
  106016. if (typeof key == "string" && A.isPublic0(key))
  106017. return this._public_member_map_view0$_inner.$index(0, key);
  106018. return null;
  106019. }
  106020. };
  106021. A.QualifiedName0.prototype = {
  106022. $eq(_, other) {
  106023. if (other == null)
  106024. return false;
  106025. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  106026. },
  106027. get$hashCode(_) {
  106028. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  106029. },
  106030. toString$0(_) {
  106031. var t1 = this.namespace,
  106032. t2 = this.name;
  106033. return t1 == null ? t2 : t1 + "|" + t2;
  106034. }
  106035. };
  106036. A.JSClass0.prototype = {};
  106037. A.JSClassExtension_setCustomInspect_closure.prototype = {
  106038. call$4($self, _, __, ___) {
  106039. return this.inspect.call$1($self);
  106040. },
  106041. call$3($self, _, __) {
  106042. return this.call$4($self, _, __, null);
  106043. },
  106044. "call*": "call$4",
  106045. $requiredArgCount: 3,
  106046. $defaultValues() {
  106047. return [null];
  106048. },
  106049. $signature: 520
  106050. };
  106051. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  106052. call$2($name, body) {
  106053. this._this[$name] = A.allowInteropNamed($name, body);
  106054. return null;
  106055. },
  106056. $signature: 112
  106057. };
  106058. A.JSClassExtension_get_defineMethod_closure.prototype = {
  106059. call$2($name, body) {
  106060. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  106061. return null;
  106062. },
  106063. $signature: 112
  106064. };
  106065. A.JSClassExtension_get_defineGetter_closure.prototype = {
  106066. call$2($name, body) {
  106067. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  106068. return null;
  106069. },
  106070. $signature: 112
  106071. };
  106072. A.RenderContext0.prototype = {};
  106073. A.RenderContextOptions0.prototype = {};
  106074. A.RenderContextResult0.prototype = {};
  106075. A.RenderContextResultStats0.prototype = {};
  106076. A.RenderOptions.prototype = {};
  106077. A.RenderResult.prototype = {};
  106078. A.RenderResultStats.prototype = {};
  106079. A.ReplaceExpressionVisitor0.prototype = {
  106080. visitBinaryOperationExpression$1(node) {
  106081. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  106082. },
  106083. visitBooleanExpression$1(node) {
  106084. return node;
  106085. },
  106086. visitColorExpression$1(node) {
  106087. return node;
  106088. },
  106089. visitFunctionExpression$1(node) {
  106090. return new A.FunctionExpression0(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  106091. },
  106092. visitInterpolatedFunctionExpression$1(node) {
  106093. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  106094. },
  106095. visitIfExpression$1(node) {
  106096. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  106097. },
  106098. visitListExpression$1(node) {
  106099. var t1 = node.contents;
  106100. 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);
  106101. },
  106102. visitMapExpression$1(node) {
  106103. var t2, t3, _i, t4, key, value,
  106104. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  106105. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  106106. t4 = t2[_i];
  106107. key = t4._0;
  106108. value = t4._1;
  106109. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  106110. }
  106111. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  106112. },
  106113. visitNullExpression$1(node) {
  106114. return node;
  106115. },
  106116. visitNumberExpression$1(node) {
  106117. return node;
  106118. },
  106119. visitParenthesizedExpression$1(node) {
  106120. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  106121. },
  106122. visitSelectorExpression$1(node) {
  106123. return node;
  106124. },
  106125. visitStringExpression$1(node) {
  106126. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  106127. },
  106128. visitSupportsExpression$1(node) {
  106129. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  106130. },
  106131. visitUnaryOperationExpression$1(node) {
  106132. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  106133. },
  106134. visitValueExpression$1(node) {
  106135. return node;
  106136. },
  106137. visitVariableExpression$1(node) {
  106138. return node;
  106139. },
  106140. visitArgumentInvocation$1(invocation) {
  106141. var t5, t6, _this = this,
  106142. t1 = invocation.positional,
  106143. t2 = type$.String,
  106144. t3 = type$.Expression_2,
  106145. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106146. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  106147. t6 = t5.get$current(t5);
  106148. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  106149. }
  106150. t5 = invocation.rest;
  106151. t5 = t5 == null ? null : t5.accept$1(_this);
  106152. t6 = invocation.keywordRest;
  106153. t6 = t6 == null ? null : t6.accept$1(_this);
  106154. 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);
  106155. },
  106156. visitSupportsCondition$1(condition) {
  106157. var _this = this;
  106158. if (condition instanceof A.SupportsOperation0)
  106159. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  106160. else if (condition instanceof A.SupportsNegation0)
  106161. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  106162. else if (condition instanceof A.SupportsInterpolation0)
  106163. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  106164. else if (condition instanceof A.SupportsDeclaration0)
  106165. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  106166. else
  106167. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  106168. },
  106169. visitInterpolation$1(interpolation) {
  106170. var t1 = interpolation.contents;
  106171. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  106172. }
  106173. };
  106174. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  106175. call$1(item) {
  106176. return item.accept$1(this.$this);
  106177. },
  106178. $signature: 177
  106179. };
  106180. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  106181. call$1(expression) {
  106182. return expression.accept$1(this.$this);
  106183. },
  106184. $signature: 177
  106185. };
  106186. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  106187. call$1(node) {
  106188. return type$.Expression_2._is(node) ? node.accept$1(this.$this) : node;
  106189. },
  106190. $signature: 67
  106191. };
  106192. A.ImporterResult0.prototype = {
  106193. get$sourceMapUrl(_) {
  106194. var t1 = this._result$_sourceMapUrl;
  106195. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  106196. }
  106197. };
  106198. A.ReturnRule0.prototype = {
  106199. accept$1$1(visitor) {
  106200. return visitor.visitReturnRule$1(this);
  106201. },
  106202. accept$1(visitor) {
  106203. return this.accept$1$1(visitor, type$.dynamic);
  106204. },
  106205. toString$0(_) {
  106206. return "@return " + this.expression.toString$0(0) + ";";
  106207. },
  106208. $isAstNode0: 1,
  106209. $isStatement0: 1,
  106210. get$span(receiver) {
  106211. return this.span;
  106212. }
  106213. };
  106214. A.SassParser0.prototype = {
  106215. get$currentIndentation() {
  106216. return this._sass0$_currentIndentation;
  106217. },
  106218. get$indented() {
  106219. return true;
  106220. },
  106221. styleRuleSelector$0() {
  106222. var t4,
  106223. t1 = this.scanner,
  106224. t2 = t1._string_scanner$_position,
  106225. t3 = new A.StringBuffer(""),
  106226. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  106227. do {
  106228. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  106229. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  106230. } 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()));
  106231. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  106232. },
  106233. expectStatementSeparator$1($name) {
  106234. var t1, _this = this;
  106235. if (!_this.atEndOfStatement$0())
  106236. _this._sass0$_expectNewline$0();
  106237. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  106238. return;
  106239. t1 = $name == null ? "here" : "beneath a " + $name;
  106240. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  106241. },
  106242. expectStatementSeparator$0() {
  106243. return this.expectStatementSeparator$1(null);
  106244. },
  106245. atEndOfStatement$0() {
  106246. var t1 = this.scanner.peekChar$0();
  106247. if (t1 == null)
  106248. t1 = null;
  106249. else
  106250. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106251. return t1 !== false;
  106252. },
  106253. lookingAtChildren$0() {
  106254. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  106255. },
  106256. importArgument$0() {
  106257. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  106258. $label0$0: {
  106259. t1 = _this.scanner;
  106260. _0_0 = t1.peekChar$0();
  106261. if (117 === _0_0 || 85 === _0_0) {
  106262. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106263. if (_this.scanIdentifier$1("url"))
  106264. if (t1.scanChar$1(40)) {
  106265. t1.set$state(start);
  106266. return _this.super$StylesheetParser$importArgument0();
  106267. } else
  106268. t1.set$state(start);
  106269. break $label0$0;
  106270. }
  106271. if (39 === _0_0 || 34 === _0_0)
  106272. return _this.super$StylesheetParser$importArgument0();
  106273. }
  106274. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106275. next = t1.peekChar$0();
  106276. while (true) {
  106277. if (next != null)
  106278. if (next !== 44)
  106279. if (next !== 59)
  106280. t2 = !(next === 10 || next === 13 || next === 12);
  106281. else
  106282. t2 = false;
  106283. else
  106284. t2 = false;
  106285. else
  106286. t2 = false;
  106287. if (!t2)
  106288. break;
  106289. t1.readChar$0();
  106290. next = t1.peekChar$0();
  106291. }
  106292. url = t1.substring$1(0, start.position);
  106293. span = t1.spanFrom$1(start);
  106294. if (_this.isPlainImportUrl$1(url))
  106295. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  106296. else
  106297. try {
  106298. t1 = _this.parseImportUrl$1(url);
  106299. return new A.DynamicImport0(t1, span);
  106300. } catch (exception) {
  106301. t1 = A.unwrapException(exception);
  106302. if (type$.FormatException._is(t1)) {
  106303. innerError = t1;
  106304. stackTrace = A.getTraceFromException(exception);
  106305. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  106306. } else
  106307. throw exception;
  106308. }
  106309. },
  106310. scanElse$1(ifIndentation) {
  106311. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  106312. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  106313. return false;
  106314. t1 = _this.scanner;
  106315. t2 = t1._string_scanner$_position;
  106316. startIndentation = _this._sass0$_currentIndentation;
  106317. startNextIndentation = _this._sass0$_nextIndentation;
  106318. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  106319. _this._sass0$_readIndentation$0();
  106320. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  106321. return true;
  106322. t1.set$state(new A._SpanScannerState(t1, t2));
  106323. _this._sass0$_currentIndentation = startIndentation;
  106324. _this._sass0$_nextIndentation = startNextIndentation;
  106325. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  106326. return false;
  106327. },
  106328. children$1(_, child) {
  106329. var children = A._setArrayType([], type$.JSArray_Statement_2);
  106330. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  106331. return children;
  106332. },
  106333. statements$1(statement) {
  106334. var statements, t2, _1_0,
  106335. t1 = this.scanner,
  106336. _0_0 = t1.peekChar$0();
  106337. if (9 === _0_0 || 32 === _0_0)
  106338. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  106339. statements = A._setArrayType([], type$.JSArray_Statement_2);
  106340. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  106341. _1_0 = this._sass0$_child$1(statement);
  106342. if (_1_0 != null)
  106343. statements.push(_1_0);
  106344. this._sass0$_readIndentation$0();
  106345. }
  106346. return statements;
  106347. },
  106348. _sass0$_child$1(child) {
  106349. var _0_0, _this = this,
  106350. t1 = _this.scanner,
  106351. _1_0 = t1.peekChar$0();
  106352. $label0$0: {
  106353. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  106354. t1 = null;
  106355. break $label0$0;
  106356. }
  106357. if (36 === _1_0) {
  106358. t1 = _this.variableDeclarationWithoutNamespace$0();
  106359. break $label0$0;
  106360. }
  106361. if (47 === _1_0) {
  106362. _0_0 = t1.peekChar$1(1);
  106363. $label1$1: {
  106364. if (47 === _0_0) {
  106365. t1 = _this._sass0$_silentComment$0();
  106366. break $label1$1;
  106367. }
  106368. if (42 === _0_0) {
  106369. t1 = _this._sass0$_loudComment$0();
  106370. break $label1$1;
  106371. }
  106372. t1 = child.call$0();
  106373. break $label1$1;
  106374. }
  106375. break $label0$0;
  106376. }
  106377. t1 = child.call$0();
  106378. break $label0$0;
  106379. }
  106380. return t1;
  106381. },
  106382. _sass0$_silentComment$0() {
  106383. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  106384. t1 = _this.scanner,
  106385. t2 = t1._string_scanner$_position;
  106386. t1.expect$1("//");
  106387. buffer = new A.StringBuffer("");
  106388. parentIndentation = _this._sass0$_currentIndentation;
  106389. t3 = t1.string.length;
  106390. t4 = 1 + parentIndentation;
  106391. t5 = 2 + parentIndentation;
  106392. $label0$0:
  106393. do {
  106394. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  106395. for (i = commentPrefix.length; true;) {
  106396. t6 = buffer._contents += commentPrefix;
  106397. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  106398. t6 += A.Primitives_stringFromCharCode(32);
  106399. buffer._contents = t6;
  106400. }
  106401. while (true) {
  106402. if (t1._string_scanner$_position !== t3) {
  106403. t7 = t1.peekChar$0();
  106404. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  106405. } else
  106406. t7 = false;
  106407. if (!t7)
  106408. break;
  106409. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  106410. buffer._contents = t6;
  106411. }
  106412. buffer._contents = t6 + "\n";
  106413. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  106414. break $label0$0;
  106415. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  106416. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  106417. _this._sass0$_readIndentation$0();
  106418. break;
  106419. }
  106420. _this._sass0$_readIndentation$0();
  106421. }
  106422. } while (t1.scan$1("//"));
  106423. t3 = buffer._contents;
  106424. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  106425. },
  106426. _sass0$_loudComment$0() {
  106427. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  106428. t1 = _this.scanner,
  106429. t2 = t1._string_scanner$_position;
  106430. t1.expect$1("/*");
  106431. t3 = new A.StringBuffer("");
  106432. t4 = A._setArrayType([], type$.JSArray_Object);
  106433. buffer = new A.InterpolationBuffer0(t3, t4);
  106434. t3._contents = "" + "/*";
  106435. parentIndentation = _this._sass0$_currentIndentation;
  106436. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  106437. if (first) {
  106438. beginningOfComment = t1._string_scanner$_position;
  106439. _this.spaces$0();
  106440. t7 = t1.peekChar$0();
  106441. if (t7 === 10 || t7 === 13 || t7 === 12) {
  106442. _this._sass0$_readIndentation$0();
  106443. t3._contents += A.Primitives_stringFromCharCode(32);
  106444. } else {
  106445. end = t1._string_scanner$_position;
  106446. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  106447. }
  106448. } else {
  106449. t7 = t3._contents += "\n";
  106450. t3._contents = t7 + " * ";
  106451. }
  106452. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i)
  106453. t3._contents += A.Primitives_stringFromCharCode(32);
  106454. for (; t1._string_scanner$_position !== t6;) {
  106455. _0_0 = t1.peekChar$0();
  106456. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  106457. break;
  106458. if (35 === _0_0) {
  106459. if (t1.peekChar$1(1) === 123) {
  106460. t7 = _this.singleInterpolation$0();
  106461. buffer._interpolation_buffer0$_flushText$0();
  106462. t4.push(t7);
  106463. } else
  106464. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106465. continue;
  106466. }
  106467. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106468. }
  106469. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  106470. break;
  106471. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  106472. _this._sass0$_expectNewline$0();
  106473. t7 = t3._contents += "\n";
  106474. t3._contents = t7 + " *";
  106475. }
  106476. _this._sass0$_readIndentation$0();
  106477. }
  106478. t4 = t3._contents;
  106479. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  106480. t3._contents += " */";
  106481. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  106482. },
  106483. whitespaceWithoutComments$0() {
  106484. var t1, t2, next;
  106485. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  106486. next = t1.peekChar$0();
  106487. if (next !== 9 && next !== 32)
  106488. break;
  106489. t1.readChar$0();
  106490. }
  106491. },
  106492. loudComment$0() {
  106493. var next,
  106494. t1 = this.scanner;
  106495. t1.expect$1("/*");
  106496. for (; true;) {
  106497. next = t1.readChar$0();
  106498. if (next === 10 || next === 13 || next === 12)
  106499. t1.error$1(0, "expected */.");
  106500. if (next !== 42)
  106501. continue;
  106502. do
  106503. next = t1.readChar$0();
  106504. while (next === 42);
  106505. if (next === 47)
  106506. break;
  106507. }
  106508. },
  106509. _sass0$_expectNewline$0() {
  106510. var t1 = this.scanner,
  106511. _0_0 = t1.peekChar$0();
  106512. if (59 === _0_0)
  106513. t1.error$1(0, string$.semico);
  106514. if (13 === _0_0) {
  106515. t1.readChar$0();
  106516. if (t1.peekChar$0() === 10)
  106517. t1.readChar$0();
  106518. return;
  106519. }
  106520. if (10 === _0_0 || 12 === _0_0) {
  106521. t1.readChar$0();
  106522. return;
  106523. }
  106524. t1.error$1(0, "expected newline.");
  106525. },
  106526. _sass0$_lookingAtDoubleNewline$0() {
  106527. var _0_0,
  106528. t1 = this.scanner,
  106529. _1_0 = t1.peekChar$0();
  106530. $label1$1: {
  106531. if (13 === _1_0) {
  106532. _0_0 = t1.peekChar$1(1);
  106533. $label0$0: {
  106534. if (10 === _0_0) {
  106535. t1 = t1.peekChar$1(2);
  106536. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106537. break $label0$0;
  106538. }
  106539. if (13 === _0_0 || 12 === _0_0) {
  106540. t1 = true;
  106541. break $label0$0;
  106542. }
  106543. t1 = false;
  106544. break $label0$0;
  106545. }
  106546. break $label1$1;
  106547. }
  106548. if (10 === _1_0 || 12 === _1_0) {
  106549. t1 = t1.peekChar$1(1);
  106550. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106551. break $label1$1;
  106552. }
  106553. t1 = false;
  106554. break $label1$1;
  106555. }
  106556. return t1;
  106557. },
  106558. _sass0$_whileIndentedLower$1(body) {
  106559. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  106560. parentIndentation = _this._sass0$_currentIndentation;
  106561. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  106562. indentation = _this._sass0$_readIndentation$0();
  106563. if (childIndentation == null)
  106564. childIndentation = indentation;
  106565. if (childIndentation !== indentation) {
  106566. t3 = t1._string_scanner$_position;
  106567. t4 = t2.getColumn$1(t3);
  106568. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  106569. }
  106570. body.call$0();
  106571. }
  106572. },
  106573. _sass0$_readIndentation$0() {
  106574. var t1, _this = this,
  106575. currentIndentation = _this._sass0$_nextIndentation;
  106576. if (currentIndentation == null)
  106577. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  106578. _this._sass0$_currentIndentation = currentIndentation;
  106579. t1 = _this._sass0$_nextIndentationEnd;
  106580. t1.toString;
  106581. _this.scanner.set$state(t1);
  106582. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  106583. return currentIndentation;
  106584. },
  106585. _sass0$_peekIndentation$0() {
  106586. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  106587. _0_0 = _this._sass0$_nextIndentation;
  106588. if (_0_0 != null)
  106589. return _0_0;
  106590. t1 = _this.scanner;
  106591. t2 = t1._string_scanner$_position;
  106592. t3 = t1.string.length;
  106593. if (t2 === t3) {
  106594. _this._sass0$_nextIndentation = 0;
  106595. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  106596. return 0;
  106597. }
  106598. start = new A._SpanScannerState(t1, t2);
  106599. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  106600. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  106601. containsTab = A._Cell$();
  106602. containsSpace = A._Cell$();
  106603. nextIndentation = A._Cell$();
  106604. t2 = nextIndentation.__late_helper$_name;
  106605. do {
  106606. containsSpace._value = containsTab._value = false;
  106607. nextIndentation._value = 0;
  106608. for (; true;) {
  106609. $label0$0: {
  106610. _1_0 = t1.peekChar$0();
  106611. if (32 === _1_0) {
  106612. containsSpace._value = true;
  106613. break $label0$0;
  106614. }
  106615. if (9 === _1_0) {
  106616. containsTab._value = true;
  106617. break $label0$0;
  106618. }
  106619. break;
  106620. }
  106621. t4 = nextIndentation._value;
  106622. if (t4 === nextIndentation)
  106623. A.throwExpression(A.LateError$localNI(t2));
  106624. nextIndentation._value = t4 + 1;
  106625. t1.readChar$0();
  106626. }
  106627. t4 = t1._string_scanner$_position;
  106628. if (t4 === t3) {
  106629. _this._sass0$_nextIndentation = 0;
  106630. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  106631. t1.set$state(start);
  106632. return 0;
  106633. }
  106634. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  106635. t2 = containsTab._readLocal$0();
  106636. t3 = containsSpace._readLocal$0();
  106637. if (t2) {
  106638. if (t3) {
  106639. t2 = t1._string_scanner$_position;
  106640. t3 = t1._sourceFile;
  106641. t4 = t3.getColumn$1(t2);
  106642. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  106643. } else if (_this._sass0$_spaces === true) {
  106644. t2 = t1._string_scanner$_position;
  106645. t3 = t1._sourceFile;
  106646. t4 = t3.getColumn$1(t2);
  106647. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  106648. }
  106649. } else if (t3 && _this._sass0$_spaces === false) {
  106650. t2 = t1._string_scanner$_position;
  106651. t3 = t1._sourceFile;
  106652. t4 = t3.getColumn$1(t2);
  106653. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  106654. }
  106655. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  106656. if (nextIndentation._readLocal$0() > 0)
  106657. if (_this._sass0$_spaces == null)
  106658. _this._sass0$_spaces = containsSpace._readLocal$0();
  106659. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106660. t1.set$state(start);
  106661. return nextIndentation._readLocal$0();
  106662. }
  106663. };
  106664. A.SassParser_styleRuleSelector_closure0.prototype = {
  106665. call$1(char) {
  106666. return char === 10 || char === 13 || char === 12;
  106667. },
  106668. $signature: 28
  106669. };
  106670. A.SassParser_children_closure0.prototype = {
  106671. call$0() {
  106672. var _0_0 = this.$this._sass0$_child$1(this.child);
  106673. if (_0_0 != null)
  106674. this.children.push(_0_0);
  106675. },
  106676. $signature: 0
  106677. };
  106678. A.SassParser__peekIndentation_closure1.prototype = {
  106679. call$1(char) {
  106680. return char === 10 || char === 13 || char === 12;
  106681. },
  106682. $signature: 28
  106683. };
  106684. A.SassParser__peekIndentation_closure2.prototype = {
  106685. call$1(char) {
  106686. return char === 10 || char === 13 || char === 12;
  106687. },
  106688. $signature: 28
  106689. };
  106690. A._Exports.prototype = {};
  106691. A._wrapMain_closure.prototype = {
  106692. call$1(_) {
  106693. return A._translateReturnValue(this.main.call$0());
  106694. },
  106695. $signature: 106
  106696. };
  106697. A._wrapMain_closure0.prototype = {
  106698. call$1(args) {
  106699. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  106700. },
  106701. $signature: 106
  106702. };
  106703. A.ScssParser0.prototype = {
  106704. get$indented() {
  106705. return false;
  106706. },
  106707. get$currentIndentation() {
  106708. return 0;
  106709. },
  106710. styleRuleSelector$0() {
  106711. return this.almostAnyValue$0();
  106712. },
  106713. expectStatementSeparator$1($name) {
  106714. var t1, _0_0;
  106715. this.whitespaceWithoutComments$0();
  106716. t1 = this.scanner;
  106717. if (t1._string_scanner$_position === t1.string.length)
  106718. return;
  106719. _0_0 = t1.peekChar$0();
  106720. if (59 === _0_0 || 125 === _0_0)
  106721. return;
  106722. t1.expectChar$1(59);
  106723. },
  106724. expectStatementSeparator$0() {
  106725. return this.expectStatementSeparator$1(null);
  106726. },
  106727. atEndOfStatement$0() {
  106728. var next = this.scanner.peekChar$0();
  106729. return next == null || next === 59 || next === 125 || next === 123;
  106730. },
  106731. lookingAtChildren$0() {
  106732. return this.scanner.peekChar$0() === 123;
  106733. },
  106734. scanElse$1(ifIndentation) {
  106735. var t3, _this = this,
  106736. t1 = _this.scanner,
  106737. t2 = t1._string_scanner$_position;
  106738. _this.whitespace$0();
  106739. t3 = t1._string_scanner$_position;
  106740. if (t1.scanChar$1(64)) {
  106741. if (_this.scanIdentifier$2$caseSensitive("else", true))
  106742. return true;
  106743. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  106744. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_elseif_false_elseif, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  106745. t1.set$position(t1._string_scanner$_position - 2);
  106746. return true;
  106747. }
  106748. }
  106749. t1.set$state(new A._SpanScannerState(t1, t2));
  106750. return false;
  106751. },
  106752. children$1(_, child) {
  106753. var children, _this = this,
  106754. t1 = _this.scanner;
  106755. t1.expectChar$1(123);
  106756. _this.whitespaceWithoutComments$0();
  106757. children = A._setArrayType([], type$.JSArray_Statement_2);
  106758. for (; true;)
  106759. switch (t1.peekChar$0()) {
  106760. case 36:
  106761. children.push(_this.variableDeclarationWithoutNamespace$0());
  106762. break;
  106763. case 47:
  106764. switch (t1.peekChar$1(1)) {
  106765. case 47:
  106766. children.push(_this._scss0$_silentComment$0());
  106767. _this.whitespaceWithoutComments$0();
  106768. break;
  106769. case 42:
  106770. children.push(_this._scss0$_loudComment$0());
  106771. _this.whitespaceWithoutComments$0();
  106772. break;
  106773. default:
  106774. children.push(child.call$0());
  106775. }
  106776. break;
  106777. case 59:
  106778. t1.readChar$0();
  106779. _this.whitespaceWithoutComments$0();
  106780. break;
  106781. case 125:
  106782. t1.expectChar$1(125);
  106783. return children;
  106784. default:
  106785. children.push(child.call$0());
  106786. }
  106787. },
  106788. statements$1(statement) {
  106789. var t1, t2, _0_0, _1_0, _this = this,
  106790. statements = A._setArrayType([], type$.JSArray_Statement_2);
  106791. _this.whitespaceWithoutComments$0();
  106792. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  106793. switch (t1.peekChar$0()) {
  106794. case 36:
  106795. statements.push(_this.variableDeclarationWithoutNamespace$0());
  106796. break;
  106797. case 47:
  106798. switch (t1.peekChar$1(1)) {
  106799. case 47:
  106800. statements.push(_this._scss0$_silentComment$0());
  106801. _this.whitespaceWithoutComments$0();
  106802. break;
  106803. case 42:
  106804. statements.push(_this._scss0$_loudComment$0());
  106805. _this.whitespaceWithoutComments$0();
  106806. break;
  106807. default:
  106808. _0_0 = statement.call$0();
  106809. if (_0_0 != null)
  106810. statements.push(_0_0);
  106811. }
  106812. break;
  106813. case 59:
  106814. t1.readChar$0();
  106815. _this.whitespaceWithoutComments$0();
  106816. break;
  106817. default:
  106818. _1_0 = statement.call$0();
  106819. if (_1_0 != null)
  106820. statements.push(_1_0);
  106821. }
  106822. return statements;
  106823. },
  106824. _scss0$_silentComment$0() {
  106825. var t2, t3, _this = this,
  106826. t1 = _this.scanner,
  106827. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106828. t1.expect$1("//");
  106829. t2 = t1.string.length;
  106830. do {
  106831. while (true) {
  106832. if (t1._string_scanner$_position !== t2) {
  106833. t3 = t1.readChar$0();
  106834. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  106835. } else
  106836. t3 = false;
  106837. if (!t3)
  106838. break;
  106839. }
  106840. if (t1._string_scanner$_position === t2)
  106841. break;
  106842. _this.spaces$0();
  106843. } while (t1.scan$1("//"));
  106844. if (_this.get$plainCss())
  106845. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  106846. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  106847. },
  106848. _scss0$_loudComment$0() {
  106849. var t3, t4, buffer, t5, endPosition, t6, result,
  106850. t1 = this.scanner,
  106851. t2 = t1._string_scanner$_position;
  106852. t1.expect$1("/*");
  106853. t3 = new A.StringBuffer("");
  106854. t4 = A._setArrayType([], type$.JSArray_Object);
  106855. buffer = new A.InterpolationBuffer0(t3, t4);
  106856. t3._contents = "" + "/*";
  106857. $label0$1:
  106858. for (; true;)
  106859. switch (t1.peekChar$0()) {
  106860. case 35:
  106861. if (t1.peekChar$1(1) === 123) {
  106862. t5 = this.singleInterpolation$0();
  106863. buffer._interpolation_buffer0$_flushText$0();
  106864. t4.push(t5);
  106865. } else
  106866. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106867. break;
  106868. case 42:
  106869. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106870. if (t1.peekChar$0() !== 47)
  106871. continue $label0$1;
  106872. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106873. endPosition = t1._string_scanner$_position;
  106874. t5 = t1._sourceFile;
  106875. t6 = new A._SpanScannerState(t1, t2).position;
  106876. t1 = new A._FileSpan(t5, t6, endPosition);
  106877. t1._FileSpan$3(t5, t6, endPosition);
  106878. t6 = type$.Object;
  106879. t5 = A.List_List$of(t4, true, t6);
  106880. t2 = t3._contents;
  106881. if (t2.length !== 0)
  106882. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  106883. result = A.List_List$from(t5, false, t6);
  106884. result.fixed$length = Array;
  106885. result.immutable$list = Array;
  106886. t2 = new A.Interpolation0(result, t1);
  106887. t2.Interpolation$20(t5, t1);
  106888. return new A.LoudComment0(t2);
  106889. case 13:
  106890. t1.readChar$0();
  106891. if (t1.peekChar$0() !== 10)
  106892. t3._contents += A.Primitives_stringFromCharCode(10);
  106893. break;
  106894. case 12:
  106895. t1.readChar$0();
  106896. t3._contents += A.Primitives_stringFromCharCode(10);
  106897. break;
  106898. default:
  106899. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106900. }
  106901. }
  106902. };
  106903. A.Selector0.prototype = {
  106904. assertNotBogus$1$name($name) {
  106905. var t1;
  106906. if (!this.accept$1(B._IsBogusVisitor_true0))
  106907. return;
  106908. t1 = this.toString$0(0);
  106909. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_XV6);
  106910. },
  106911. toString$0(_) {
  106912. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  106913. this.accept$1(visitor);
  106914. return visitor._serialize0$_buffer.toString$0(0);
  106915. },
  106916. $isAstNode0: 1,
  106917. get$span(receiver) {
  106918. return this.span;
  106919. }
  106920. };
  106921. A._IsInvisibleVisitor2.prototype = {
  106922. visitSelectorList$1(list) {
  106923. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  106924. },
  106925. visitComplexSelector$1(complex) {
  106926. var t1;
  106927. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  106928. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  106929. else
  106930. t1 = true;
  106931. return t1;
  106932. },
  106933. visitPlaceholderSelector$1(placeholder) {
  106934. return true;
  106935. },
  106936. visitPseudoSelector$1(pseudo) {
  106937. var t1,
  106938. _0_0 = pseudo.selector;
  106939. if (_0_0 != null) {
  106940. if (pseudo.name === "not")
  106941. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  106942. else
  106943. t1 = this.visitSelectorList$1(_0_0);
  106944. return t1;
  106945. } else
  106946. return false;
  106947. }
  106948. };
  106949. A._IsBogusVisitor0.prototype = {
  106950. visitComplexSelector$1(complex) {
  106951. var t2,
  106952. t1 = complex.components;
  106953. if (t1.length === 0)
  106954. return complex.leadingCombinators.length !== 0;
  106955. else {
  106956. t2 = this.includeLeadingCombinator ? 0 : 1;
  106957. 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));
  106958. }
  106959. },
  106960. visitPseudoSelector$1(pseudo) {
  106961. var selector = pseudo.selector;
  106962. if (selector == null)
  106963. return false;
  106964. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  106965. }
  106966. };
  106967. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  106968. call$1(component) {
  106969. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  106970. },
  106971. $signature: 51
  106972. };
  106973. A._IsUselessVisitor0.prototype = {
  106974. visitComplexSelector$1(complex) {
  106975. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  106976. },
  106977. visitPseudoSelector$1(pseudo) {
  106978. return pseudo.accept$1(B._IsBogusVisitor_true0);
  106979. }
  106980. };
  106981. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  106982. call$1(component) {
  106983. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  106984. },
  106985. $signature: 51
  106986. };
  106987. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  106988. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  106989. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  106990. A.SelectorExpression0.prototype = {
  106991. accept$1$1(visitor) {
  106992. return visitor.visitSelectorExpression$1(this);
  106993. },
  106994. accept$1(visitor) {
  106995. return this.accept$1$1(visitor, type$.dynamic);
  106996. },
  106997. toString$0(_) {
  106998. return "&";
  106999. },
  107000. $isExpression0: 1,
  107001. $isAstNode0: 1,
  107002. get$span(receiver) {
  107003. return this.span;
  107004. }
  107005. };
  107006. A._nest_closure0.prototype = {
  107007. call$1($arguments) {
  107008. var t1 = {},
  107009. selectors = J.$index$asx($arguments, 0).get$asList();
  107010. if (selectors.length === 0)
  107011. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107012. t1.first = true;
  107013. 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();
  107014. },
  107015. $signature: 22
  107016. };
  107017. A._nest__closure1.prototype = {
  107018. call$1(selector) {
  107019. var t1 = this._box_0,
  107020. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  107021. t1.first = false;
  107022. return result;
  107023. },
  107024. $signature: 178
  107025. };
  107026. A._nest__closure2.prototype = {
  107027. call$2($parent, child) {
  107028. return child.resolveParentSelectors$1($parent);
  107029. },
  107030. $signature: 183
  107031. };
  107032. A._append_closure1.prototype = {
  107033. call$1($arguments) {
  107034. var selectors = J.$index$asx($arguments, 0).get$asList();
  107035. if (selectors.length === 0)
  107036. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107037. 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();
  107038. },
  107039. $signature: 22
  107040. };
  107041. A._append__closure1.prototype = {
  107042. call$1(selector) {
  107043. return A.SassApiValue_assertSelector0(selector, false, null);
  107044. },
  107045. $signature: 178
  107046. };
  107047. A._append__closure2.prototype = {
  107048. call$2($parent, child) {
  107049. var t1 = child.components,
  107050. t2 = this.span;
  107051. 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);
  107052. },
  107053. $signature: 183
  107054. };
  107055. A._append___closure0.prototype = {
  107056. call$1(complex) {
  107057. var _0_0, component, rest, t1, newCompound, t2, _null = null;
  107058. if (complex.leadingCombinators.length !== 0)
  107059. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107060. _0_0 = complex.components;
  107061. if (_0_0.length >= 1) {
  107062. component = _0_0[0];
  107063. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  107064. t1 = true;
  107065. } else {
  107066. rest = _null;
  107067. component = rest;
  107068. t1 = false;
  107069. }
  107070. if (!t1)
  107071. throw A.wrapException(A.StateError$("Pattern matching error"));
  107072. newCompound = A._prependParent0(component.selector);
  107073. if (newCompound == null)
  107074. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107075. t1 = this.span;
  107076. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  107077. B.JSArray_methods.addAll$1(t2, rest);
  107078. return A.ComplexSelector$0(B.List_empty14, t2, t1, false);
  107079. },
  107080. $signature: 63
  107081. };
  107082. A._extend_closure0.prototype = {
  107083. call$1($arguments) {
  107084. var target, source,
  107085. _s8_ = "selector",
  107086. _s8_0 = "extendee",
  107087. _s8_1 = "extender",
  107088. t1 = J.getInterceptor$asx($arguments),
  107089. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107090. selector.assertNotBogus$1$name(_s8_);
  107091. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107092. target.assertNotBogus$1$name(_s8_0);
  107093. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  107094. source.assertNotBogus$1$name(_s8_1);
  107095. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  107096. },
  107097. $signature: 22
  107098. };
  107099. A._replace_closure0.prototype = {
  107100. call$1($arguments) {
  107101. var target, source,
  107102. _s8_ = "selector",
  107103. _s8_0 = "original",
  107104. _s11_ = "replacement",
  107105. t1 = J.getInterceptor$asx($arguments),
  107106. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107107. selector.assertNotBogus$1$name(_s8_);
  107108. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107109. target.assertNotBogus$1$name(_s8_0);
  107110. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  107111. source.assertNotBogus$1$name(_s11_);
  107112. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  107113. },
  107114. $signature: 22
  107115. };
  107116. A._unify_closure0.prototype = {
  107117. call$1($arguments) {
  107118. var selector2,
  107119. _s9_ = "selector1",
  107120. _s9_0 = "selector2",
  107121. t1 = J.getInterceptor$asx($arguments),
  107122. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  107123. selector1.assertNotBogus$1$name(_s9_);
  107124. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  107125. selector2.assertNotBogus$1$name(_s9_0);
  107126. t1 = selector1.unify$1(selector2);
  107127. t1 = t1 == null ? null : t1.get$asSassList();
  107128. return t1 == null ? B.C__SassNull0 : t1;
  107129. },
  107130. $signature: 3
  107131. };
  107132. A._isSuperselector_closure0.prototype = {
  107133. call$1($arguments) {
  107134. var selector2,
  107135. t1 = J.getInterceptor$asx($arguments),
  107136. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  107137. selector1.assertNotBogus$1$name("super");
  107138. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  107139. selector2.assertNotBogus$1$name("sub");
  107140. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  107141. },
  107142. $signature: 20
  107143. };
  107144. A._simpleSelectors_closure0.prototype = {
  107145. call$1($arguments) {
  107146. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  107147. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  107148. },
  107149. $signature: 22
  107150. };
  107151. A._simpleSelectors__closure0.prototype = {
  107152. call$1(simple) {
  107153. return new A.SassString0(A.serializeSelector0(simple, true), false);
  107154. },
  107155. $signature: 525
  107156. };
  107157. A._parse_closure0.prototype = {
  107158. call$1($arguments) {
  107159. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  107160. },
  107161. $signature: 22
  107162. };
  107163. A.SelectorParser0.prototype = {
  107164. parse$0() {
  107165. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  107166. },
  107167. parseCompoundSelector$0() {
  107168. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  107169. },
  107170. _selector$_selectorList$0() {
  107171. var t4, t5, lineBreak, _this = this,
  107172. t1 = _this.scanner,
  107173. t2 = t1._string_scanner$_position,
  107174. t3 = t1._sourceFile,
  107175. previousLine = t3.getLine$1(t2),
  107176. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  107177. _this.whitespace$0();
  107178. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  107179. _this.whitespace$0();
  107180. if (t1.peekChar$0() === 44)
  107181. continue;
  107182. t5 = t1._string_scanner$_position;
  107183. if (t5 === t4)
  107184. break;
  107185. lineBreak = t3.getLine$1(t5) !== previousLine;
  107186. if (lineBreak)
  107187. previousLine = t3.getLine$1(t1._string_scanner$_position);
  107188. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  107189. }
  107190. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107191. },
  107192. _selector$_complexSelector$1$lineBreak(lineBreak) {
  107193. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  107194. t1 = _this.scanner,
  107195. t2 = t1._string_scanner$_position,
  107196. componentStart = new A._SpanScannerState(t1, t2),
  107197. t3 = type$.JSArray_CssValue_Combinator_2,
  107198. combinators = A._setArrayType([], t3),
  107199. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  107200. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  107201. _this.whitespace$0();
  107202. _0_0 = t1.peekChar$0();
  107203. if (43 === _0_0) {
  107204. t5 = t1._string_scanner$_position;
  107205. t1.readChar$0();
  107206. combinators.push(new A.CssValue0(B.Combinator_4QF0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107207. continue;
  107208. }
  107209. if (62 === _0_0) {
  107210. t5 = t1._string_scanner$_position;
  107211. t1.readChar$0();
  107212. combinators.push(new A.CssValue0(B.Combinator_Cht0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107213. continue;
  107214. }
  107215. if (126 === _0_0) {
  107216. t5 = t1._string_scanner$_position;
  107217. t1.readChar$0();
  107218. combinators.push(new A.CssValue0(B.Combinator_Htt0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107219. continue;
  107220. }
  107221. if (_0_0 == null)
  107222. break;
  107223. if (91 !== _0_0)
  107224. if (46 !== _0_0)
  107225. if (35 !== _0_0)
  107226. if (37 !== _0_0)
  107227. if (58 !== _0_0)
  107228. if (38 !== _0_0)
  107229. if (42 !== _0_0)
  107230. if (124 !== _0_0)
  107231. t5 = _this.lookingAtIdentifier$0();
  107232. else
  107233. t5 = true;
  107234. else
  107235. t5 = true;
  107236. else
  107237. t5 = true;
  107238. else
  107239. t5 = true;
  107240. else
  107241. t5 = true;
  107242. else
  107243. t5 = true;
  107244. else
  107245. t5 = true;
  107246. else
  107247. t5 = true;
  107248. if (t5) {
  107249. if (lastCompound != null) {
  107250. t5 = _this.spanFrom$1(componentStart);
  107251. result = A.List_List$from(combinators, false, t4);
  107252. result.fixed$length = Array;
  107253. result.immutable$list = Array;
  107254. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  107255. } else if (combinators.length !== 0) {
  107256. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107257. initialCombinators = combinators;
  107258. }
  107259. lastCompound = _this._selector$_compoundSelector$0();
  107260. combinators = A._setArrayType([], t3);
  107261. if (t1.peekChar$0() === 38)
  107262. t1.error$1(0, string$.x22x26__ma);
  107263. continue;
  107264. }
  107265. break;
  107266. }
  107267. if (lastCompound != null) {
  107268. t3 = _this.spanFrom$1(componentStart);
  107269. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  107270. } else if (combinators.length !== 0)
  107271. initialCombinators = combinators;
  107272. else
  107273. t1.error$1(0, "expected selector.");
  107274. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  107275. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  107276. },
  107277. _selector$_complexSelector$0() {
  107278. return this._selector$_complexSelector$1$lineBreak(false);
  107279. },
  107280. _selector$_compoundSelector$0() {
  107281. var t3, _this = this,
  107282. t1 = _this.scanner,
  107283. t2 = t1._string_scanner$_position,
  107284. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  107285. while (true) {
  107286. t3 = t1.peekChar$0();
  107287. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  107288. break;
  107289. components.push(_this._selector$_simpleSelector$1$allowParent(false));
  107290. }
  107291. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107292. },
  107293. _selector$_simpleSelector$1$allowParent(allowParent) {
  107294. var t2, $name, text, t3, suffix, _this = this,
  107295. t1 = _this.scanner,
  107296. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107297. if (allowParent == null)
  107298. allowParent = _this._selector$_allowParent;
  107299. switch (t1.peekChar$0()) {
  107300. case 91:
  107301. return _this._selector$_attributeSelector$0();
  107302. case 46:
  107303. t2 = t1._string_scanner$_position;
  107304. t1.expectChar$1(46);
  107305. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107306. case 35:
  107307. t2 = t1._string_scanner$_position;
  107308. t1.expectChar$1(35);
  107309. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107310. case 37:
  107311. t2 = t1._string_scanner$_position;
  107312. t1.expectChar$1(37);
  107313. $name = _this.identifier$0();
  107314. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  107315. if (!_this._selector$_allowPlaceholder)
  107316. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  107317. return new A.PlaceholderSelector0($name, t2);
  107318. case 58:
  107319. return _this._selector$_pseudoSelector$0();
  107320. case 38:
  107321. t2 = t1._string_scanner$_position;
  107322. t1.expectChar$1(38);
  107323. if (_this.lookingAtIdentifierBody$0()) {
  107324. text = new A.StringBuffer("");
  107325. _this._parser0$_identifierBody$1(text);
  107326. if (text._contents.length === 0)
  107327. t1.error$1(0, "Expected identifier body.");
  107328. t3 = text._contents;
  107329. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  107330. } else
  107331. suffix = null;
  107332. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  107333. if (!allowParent)
  107334. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  107335. return new A.ParentSelector0(suffix, t2);
  107336. default:
  107337. return _this._selector$_typeOrUniversalSelector$0();
  107338. }
  107339. },
  107340. _selector$_simpleSelector$0() {
  107341. return this._selector$_simpleSelector$1$allowParent(null);
  107342. },
  107343. _selector$_attributeSelector$0() {
  107344. var $name, operator, next, value, modifier, _this = this, _null = null,
  107345. t1 = _this.scanner,
  107346. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107347. t1.expectChar$1(91);
  107348. _this.whitespace$0();
  107349. $name = _this._selector$_attributeName$0();
  107350. _this.whitespace$0();
  107351. if (t1.scanChar$1(93))
  107352. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  107353. operator = _this._selector$_attributeOperator$0();
  107354. _this.whitespace$0();
  107355. next = t1.peekChar$0();
  107356. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  107357. _this.whitespace$0();
  107358. next = t1.peekChar$0();
  107359. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  107360. t1.expectChar$1(93);
  107361. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  107362. },
  107363. _selector$_attributeName$0() {
  107364. var nameOrNamespace, _this = this,
  107365. t1 = _this.scanner;
  107366. if (t1.scanChar$1(42)) {
  107367. t1.expectChar$1(124);
  107368. return new A.QualifiedName0(_this.identifier$0(), "*");
  107369. }
  107370. if (t1.scanChar$1(124))
  107371. return new A.QualifiedName0(_this.identifier$0(), "");
  107372. nameOrNamespace = _this.identifier$0();
  107373. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  107374. return new A.QualifiedName0(nameOrNamespace, null);
  107375. t1.readChar$0();
  107376. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  107377. },
  107378. _selector$_attributeOperator$0() {
  107379. var t1 = this.scanner,
  107380. t2 = t1._string_scanner$_position;
  107381. switch (t1.readChar$0()) {
  107382. case 61:
  107383. return B.AttributeOperator_ES60;
  107384. case 126:
  107385. t1.expectChar$1(61);
  107386. return B.AttributeOperator_r600;
  107387. case 124:
  107388. t1.expectChar$1(61);
  107389. return B.AttributeOperator_ivT0;
  107390. case 94:
  107391. t1.expectChar$1(61);
  107392. return B.AttributeOperator_eot0;
  107393. case 36:
  107394. t1.expectChar$1(61);
  107395. return B.AttributeOperator_BGd0;
  107396. case 42:
  107397. t1.expectChar$1(61);
  107398. return B.AttributeOperator_8aB0;
  107399. default:
  107400. t1.error$2$position(0, 'Expected "]".', t2);
  107401. }
  107402. },
  107403. _selector$_pseudoSelector$0() {
  107404. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  107405. t1 = _this.scanner,
  107406. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107407. t1.expectChar$1(58);
  107408. element = t1.scanChar$1(58);
  107409. $name = _this.identifier$0();
  107410. if (!t1.scanChar$1(40))
  107411. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  107412. _this.whitespace$0();
  107413. unvendored = A.unvendor0($name);
  107414. if (element)
  107415. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  107416. selector = _this._selector$_selectorList$0();
  107417. argument = _null;
  107418. } else {
  107419. argument = _this.declarationValue$1$allowEmpty(true);
  107420. selector = _null;
  107421. }
  107422. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  107423. selector = _this._selector$_selectorList$0();
  107424. argument = _null;
  107425. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  107426. argument = _this._selector$_aNPlusB$0();
  107427. _this.whitespace$0();
  107428. t2 = t1.peekChar$1(-1);
  107429. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  107430. _this.expectIdentifier$1("of");
  107431. argument += " of";
  107432. _this.whitespace$0();
  107433. selector = _this._selector$_selectorList$0();
  107434. } else
  107435. selector = _null;
  107436. } else {
  107437. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  107438. selector = _null;
  107439. }
  107440. t1.expectChar$1(41);
  107441. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  107442. },
  107443. _selector$_aNPlusB$0() {
  107444. var t1, _0_0, t2, $self, next, _this = this;
  107445. $label0$0: {
  107446. t1 = _this.scanner;
  107447. _0_0 = t1.peekChar$0();
  107448. if (101 === _0_0 || 69 === _0_0) {
  107449. _this.expectIdentifier$1("even");
  107450. return "even";
  107451. }
  107452. if (111 === _0_0 || 79 === _0_0) {
  107453. _this.expectIdentifier$1("odd");
  107454. return "odd";
  107455. }
  107456. if (43 === _0_0 || 45 === _0_0) {
  107457. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  107458. break $label0$0;
  107459. }
  107460. t2 = "";
  107461. }
  107462. $self = t1.peekChar$0();
  107463. if ($self != null && $self >= 48 && $self <= 57) {
  107464. do {
  107465. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107466. $self = t1.peekChar$0();
  107467. } while ($self != null && $self >= 48 && $self <= 57);
  107468. _this.whitespace$0();
  107469. if (!_this.scanIdentChar$1(110))
  107470. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107471. } else
  107472. _this.expectIdentChar$1(110);
  107473. t2 += A.Primitives_stringFromCharCode(110);
  107474. _this.whitespace$0();
  107475. next = t1.peekChar$0();
  107476. if (next !== 43 && next !== 45)
  107477. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107478. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107479. _this.whitespace$0();
  107480. $self = t1.peekChar$0();
  107481. if (!($self != null && $self >= 48 && $self <= 57))
  107482. t1.error$1(0, "Expected a number.");
  107483. do {
  107484. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107485. $self = t1.peekChar$0();
  107486. } while ($self != null && $self >= 48 && $self <= 57);
  107487. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107488. },
  107489. _selector$_typeOrUniversalSelector$0() {
  107490. var nameOrNamespace, _this = this,
  107491. t1 = _this.scanner,
  107492. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107493. if (t1.scanChar$1(42)) {
  107494. if (!t1.scanChar$1(124))
  107495. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  107496. 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));
  107497. } else if (t1.scanChar$1(124))
  107498. 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));
  107499. nameOrNamespace = _this.identifier$0();
  107500. if (!t1.scanChar$1(124))
  107501. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  107502. else if (t1.scanChar$1(42))
  107503. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  107504. else
  107505. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  107506. }
  107507. };
  107508. A.SelectorParser_parse_closure0.prototype = {
  107509. call$0() {
  107510. var t1 = this.$this,
  107511. selector = t1._selector$_selectorList$0();
  107512. t1 = t1.scanner;
  107513. if (t1._string_scanner$_position !== t1.string.length)
  107514. t1.error$1(0, "expected selector.");
  107515. return selector;
  107516. },
  107517. $signature: 526
  107518. };
  107519. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  107520. call$0() {
  107521. var t1 = this.$this,
  107522. compound = t1._selector$_compoundSelector$0();
  107523. t1 = t1.scanner;
  107524. if (t1._string_scanner$_position !== t1.string.length)
  107525. t1.error$1(0, "expected selector.");
  107526. return compound;
  107527. },
  107528. $signature: 527
  107529. };
  107530. A.SelectorSearchVisitor0.prototype = {
  107531. visitAttributeSelector$1(attribute) {
  107532. return null;
  107533. },
  107534. visitClassSelector$1(klass) {
  107535. return null;
  107536. },
  107537. visitIDSelector$1(id) {
  107538. return null;
  107539. },
  107540. visitParentSelector$1(placeholder) {
  107541. return null;
  107542. },
  107543. visitPlaceholderSelector$1(placeholder) {
  107544. return null;
  107545. },
  107546. visitTypeSelector$1(type) {
  107547. return null;
  107548. },
  107549. visitUniversalSelector$1(universal) {
  107550. return null;
  107551. },
  107552. visitComplexSelector$1(complex) {
  107553. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  107554. },
  107555. visitCompoundSelector$1(compound) {
  107556. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  107557. },
  107558. visitPseudoSelector$1(pseudo) {
  107559. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  107560. },
  107561. visitSelectorList$1(list) {
  107562. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  107563. }
  107564. };
  107565. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  107566. call$1(component) {
  107567. return this.$this.visitCompoundSelector$1(component.selector);
  107568. },
  107569. $signature() {
  107570. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  107571. }
  107572. };
  107573. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  107574. call$1(simple) {
  107575. return simple.accept$1(this.$this);
  107576. },
  107577. $signature() {
  107578. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  107579. }
  107580. };
  107581. A.serialize_closure0.prototype = {
  107582. call$1(codeUnit) {
  107583. return codeUnit > 127;
  107584. },
  107585. $signature: 46
  107586. };
  107587. A._SerializeVisitor0.prototype = {
  107588. visitCssStylesheet$1(node) {
  107589. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  107590. 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();) {
  107591. previous0 = t1.get$current(t1);
  107592. if (t2)
  107593. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  107594. else
  107595. t8 = false;
  107596. if (t8)
  107597. continue;
  107598. if (previous != null) {
  107599. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  107600. t6.writeCharCode$1(59);
  107601. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  107602. if (t4)
  107603. t6.writeCharCode$1(32);
  107604. } else {
  107605. if (t4)
  107606. t6.write$1(0, t7);
  107607. if (previous.get$isGroupEnd())
  107608. if (t4)
  107609. t6.write$1(0, t7);
  107610. }
  107611. }
  107612. previous0.accept$1(_this);
  107613. previous = previous0;
  107614. }
  107615. if (previous != null)
  107616. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  107617. else
  107618. t1 = false;
  107619. if (t1)
  107620. t6.writeCharCode$1(59);
  107621. },
  107622. visitCssComment$1(node) {
  107623. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  107624. },
  107625. visitCssAtRule$1(node) {
  107626. var t1, _this = this;
  107627. _this._serialize0$_writeIndentation$0();
  107628. t1 = _this._serialize0$_buffer;
  107629. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  107630. if (!node.isChildless) {
  107631. if (_this._serialize0$_style !== B.OutputStyle_10)
  107632. t1.writeCharCode$1(32);
  107633. _this._serialize0$_visitChildren$1(node);
  107634. }
  107635. },
  107636. visitCssMediaRule$1(node) {
  107637. var t1, _this = this;
  107638. _this._serialize0$_writeIndentation$0();
  107639. t1 = _this._serialize0$_buffer;
  107640. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  107641. if (_this._serialize0$_style !== B.OutputStyle_10)
  107642. t1.writeCharCode$1(32);
  107643. _this._serialize0$_visitChildren$1(node);
  107644. },
  107645. visitCssImport$1(node) {
  107646. this._serialize0$_writeIndentation$0();
  107647. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  107648. },
  107649. _serialize0$_writeImportUrl$1(url) {
  107650. var urlContents, maybeQuote, _this = this;
  107651. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  107652. _this._serialize0$_buffer.write$1(0, url);
  107653. return;
  107654. }
  107655. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  107656. maybeQuote = urlContents.charCodeAt(0);
  107657. if (maybeQuote === 39 || maybeQuote === 34)
  107658. _this._serialize0$_buffer.write$1(0, urlContents);
  107659. else
  107660. _this._serialize0$_visitQuotedString$1(urlContents);
  107661. },
  107662. visitCssKeyframeBlock$1(node) {
  107663. var t1, _this = this;
  107664. _this._serialize0$_writeIndentation$0();
  107665. t1 = _this._serialize0$_buffer;
  107666. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  107667. if (_this._serialize0$_style !== B.OutputStyle_10)
  107668. t1.writeCharCode$1(32);
  107669. _this._serialize0$_visitChildren$1(node);
  107670. },
  107671. _serialize0$_visitMediaQuery$1(query) {
  107672. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  107673. _0_0 = query.modifier;
  107674. if (_0_0 != null) {
  107675. t1 = _this._serialize0$_buffer;
  107676. t1.write$1(0, _0_0);
  107677. t1.writeCharCode$1(32);
  107678. }
  107679. _1_0 = query.type;
  107680. if (_1_0 != null) {
  107681. t1 = _this._serialize0$_buffer;
  107682. t1.write$1(0, _1_0);
  107683. if (query.conditions.length !== 0)
  107684. t1.write$1(0, " and ");
  107685. }
  107686. _2_0 = query.conditions;
  107687. if (_2_0.length === 1)
  107688. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  107689. else
  107690. t1 = false;
  107691. if (t1) {
  107692. t1 = _this._serialize0$_buffer;
  107693. t1.write$1(0, "not ");
  107694. condition = B.JSArray_methods.get$first(_2_0);
  107695. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  107696. } else {
  107697. operator = query.conjunction ? "and" : "or";
  107698. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  107699. t2 = _this._serialize0$_buffer;
  107700. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  107701. }
  107702. },
  107703. visitCssStyleRule$1(node) {
  107704. var t1, _this = this;
  107705. _this._serialize0$_writeIndentation$0();
  107706. t1 = _this._serialize0$_buffer;
  107707. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  107708. if (_this._serialize0$_style !== B.OutputStyle_10)
  107709. t1.writeCharCode$1(32);
  107710. _this._serialize0$_visitChildren$1(node);
  107711. },
  107712. visitCssSupportsRule$1(node) {
  107713. var t1, _this = this;
  107714. _this._serialize0$_writeIndentation$0();
  107715. t1 = _this._serialize0$_buffer;
  107716. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  107717. if (_this._serialize0$_style !== B.OutputStyle_10)
  107718. t1.writeCharCode$1(32);
  107719. _this._serialize0$_visitChildren$1(node);
  107720. },
  107721. visitCssDeclaration$1(node) {
  107722. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  107723. _this._serialize0$_writeIndentation$0();
  107724. t1 = node.name;
  107725. _this._serialize0$_write$1(t1);
  107726. t2 = _this._serialize0$_buffer;
  107727. t2.writeCharCode$1(58);
  107728. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  107729. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  107730. else {
  107731. if (_this._serialize0$_style !== B.OutputStyle_10)
  107732. t2.writeCharCode$1(32);
  107733. try {
  107734. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  107735. } catch (exception) {
  107736. t1 = A.unwrapException(exception);
  107737. if (t1 instanceof A.MultiSpanSassScriptException0) {
  107738. error = t1;
  107739. stackTrace = A.getTraceFromException(exception);
  107740. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  107741. } else if (t1 instanceof A.SassScriptException0) {
  107742. error0 = t1;
  107743. stackTrace0 = A.getTraceFromException(exception);
  107744. t1 = error0.message;
  107745. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  107746. } else
  107747. throw exception;
  107748. }
  107749. }
  107750. },
  107751. _serialize0$_writeFoldedValue$1(node) {
  107752. var t1, t2, next, t3,
  107753. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  107754. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  107755. next = scanner.readChar$0();
  107756. if (next !== 10) {
  107757. t2.writeCharCode$1(next);
  107758. continue;
  107759. }
  107760. t2.writeCharCode$1(32);
  107761. while (true) {
  107762. t3 = scanner.peekChar$0();
  107763. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  107764. break;
  107765. scanner.readChar$0();
  107766. }
  107767. }
  107768. },
  107769. _serialize0$_writeReindentedValue$1(node) {
  107770. var _0_0, t1, _this = this,
  107771. value = type$.SassString_2._as(node.value.value)._string0$_text;
  107772. $label0$0: {
  107773. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  107774. if (_0_0 == null) {
  107775. _this._serialize0$_buffer.write$1(0, value);
  107776. break $label0$0;
  107777. }
  107778. if (-1 === _0_0) {
  107779. t1 = _this._serialize0$_buffer;
  107780. t1.write$1(0, A.trimAsciiRight0(value, true));
  107781. t1.writeCharCode$1(32);
  107782. break $label0$0;
  107783. }
  107784. t1 = node.name.span;
  107785. t1 = t1.get$start(t1);
  107786. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  107787. }
  107788. },
  107789. _serialize0$_minimumIndentation$1(text) {
  107790. var character, t2, min, next, min0,
  107791. scanner = A.LineScanner$(text),
  107792. t1 = scanner.string.length;
  107793. while (true) {
  107794. if (scanner._string_scanner$_position !== t1) {
  107795. character = scanner.super$StringScanner$readChar();
  107796. scanner._adjustLineAndColumn$1(character);
  107797. t2 = character !== 10;
  107798. } else
  107799. t2 = false;
  107800. if (!t2)
  107801. break;
  107802. }
  107803. if (scanner._string_scanner$_position === t1)
  107804. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  107805. for (min = null; scanner._string_scanner$_position !== t1;) {
  107806. for (; scanner._string_scanner$_position !== t1;) {
  107807. next = scanner.peekChar$0();
  107808. if (next !== 32 && next !== 9)
  107809. break;
  107810. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  107811. }
  107812. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  107813. continue;
  107814. min0 = scanner._line_scanner$_column;
  107815. min = min == null ? min0 : Math.min(min, min0);
  107816. while (true) {
  107817. if (scanner._string_scanner$_position !== t1) {
  107818. character = scanner.super$StringScanner$readChar();
  107819. scanner._adjustLineAndColumn$1(character);
  107820. t2 = character !== 10;
  107821. } else
  107822. t2 = false;
  107823. if (!t2)
  107824. break;
  107825. }
  107826. }
  107827. return min == null ? -1 : min;
  107828. },
  107829. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  107830. var t1, t2, t3, character, lineStart, newlines, end,
  107831. scanner = A.LineScanner$(text);
  107832. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  107833. character = scanner.super$StringScanner$readChar();
  107834. scanner._adjustLineAndColumn$1(character);
  107835. if (character === 10)
  107836. break;
  107837. t3.writeCharCode$1(character);
  107838. }
  107839. for (; true;) {
  107840. lineStart = scanner._string_scanner$_position;
  107841. for (newlines = 1; true;) {
  107842. if (scanner._string_scanner$_position === t2) {
  107843. t3.writeCharCode$1(32);
  107844. return;
  107845. }
  107846. $label0$2: {
  107847. character = scanner.super$StringScanner$readChar();
  107848. scanner._adjustLineAndColumn$1(character);
  107849. if (32 === character || 9 === character)
  107850. continue;
  107851. if (10 === character) {
  107852. lineStart = scanner._string_scanner$_position;
  107853. ++newlines;
  107854. break $label0$2;
  107855. }
  107856. break;
  107857. }
  107858. }
  107859. this._serialize0$_writeTimes$2(10, newlines);
  107860. this._serialize0$_writeIndentation$0();
  107861. end = scanner._string_scanner$_position;
  107862. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  107863. for (; true;) {
  107864. if (scanner._string_scanner$_position === t2)
  107865. return;
  107866. character = scanner.super$StringScanner$readChar();
  107867. scanner._adjustLineAndColumn$1(character);
  107868. if (character === 10)
  107869. break;
  107870. t3.writeCharCode$1(character);
  107871. }
  107872. }
  107873. },
  107874. visitCalculation$1(value) {
  107875. var t2, _this = this,
  107876. t1 = _this._serialize0$_buffer;
  107877. t1.write$1(0, value.name);
  107878. t1.writeCharCode$1(40);
  107879. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  107880. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  107881. t1.writeCharCode$1(41);
  107882. },
  107883. _serialize0$_writeCalculationValue$1(value) {
  107884. var t1, _2_4, t2, _2_4_isSet, _0_0, _1_0, first, rest, operator, left, right, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this, _null = null;
  107885. $label1$1: {
  107886. t1 = value instanceof A.SassNumber0;
  107887. if (t1) {
  107888. _2_4 = value.get$hasComplexUnits();
  107889. t2 = _2_4 && !_this._serialize0$_inspect;
  107890. _2_4_isSet = true;
  107891. } else {
  107892. _2_4 = _null;
  107893. _2_4_isSet = false;
  107894. t2 = false;
  107895. }
  107896. if (t2)
  107897. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  107898. if (t1 && !isFinite(value._number1$_value)) {
  107899. $label0$0: {
  107900. _0_0 = value._number1$_value;
  107901. if (1 / 0 === _0_0) {
  107902. _this._serialize0$_buffer.write$1(0, "infinity");
  107903. break $label0$0;
  107904. }
  107905. if (-1 / 0 === _0_0) {
  107906. _this._serialize0$_buffer.write$1(0, "-infinity");
  107907. break $label0$0;
  107908. }
  107909. if (isNaN(_0_0))
  107910. _this._serialize0$_buffer.write$1(0, "NaN");
  107911. }
  107912. t1 = J.getInterceptor$x(value);
  107913. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  107914. break $label1$1;
  107915. }
  107916. if (t1)
  107917. t1 = _2_4_isSet ? _2_4 : value.get$hasComplexUnits();
  107918. else
  107919. t1 = false;
  107920. if (t1) {
  107921. _this._serialize0$_writeNumber$1(value._number1$_value);
  107922. t1 = J.getInterceptor$x(value);
  107923. _1_0 = t1.get$numeratorUnits(value);
  107924. if (_1_0.length >= 1) {
  107925. first = _1_0[0];
  107926. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  107927. _this._serialize0$_buffer.write$1(0, first);
  107928. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  107929. } else
  107930. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  107931. break $label1$1;
  107932. }
  107933. if (value instanceof A.Value0) {
  107934. value.accept$1(_this);
  107935. break $label1$1;
  107936. }
  107937. if (value instanceof A.CalculationOperation0) {
  107938. operator = value._calculation0$_operator;
  107939. left = value._calculation0$_left;
  107940. right = value._calculation0$_right;
  107941. right = right;
  107942. t1 = true;
  107943. } else {
  107944. right = _null;
  107945. left = right;
  107946. operator = left;
  107947. t1 = false;
  107948. }
  107949. if (t1) {
  107950. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  107951. if (parenthesizeLeft)
  107952. _this._serialize0$_buffer.writeCharCode$1(40);
  107953. _this._serialize0$_writeCalculationValue$1(left);
  107954. if (parenthesizeLeft)
  107955. _this._serialize0$_buffer.writeCharCode$1(41);
  107956. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  107957. if (operatorWhitespace)
  107958. _this._serialize0$_buffer.writeCharCode$1(32);
  107959. t1 = _this._serialize0$_buffer;
  107960. t1.write$1(0, operator.operator);
  107961. if (operatorWhitespace)
  107962. t1.writeCharCode$1(32);
  107963. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator)))
  107964. if (operator === B.CalculationOperator_OvN0) {
  107965. if (right instanceof A.SassNumber0)
  107966. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  107967. else
  107968. t2 = false;
  107969. parenthesizeRight = t2;
  107970. } else
  107971. parenthesizeRight = false;
  107972. else
  107973. parenthesizeRight = true;
  107974. if (parenthesizeRight)
  107975. t1.writeCharCode$1(40);
  107976. _this._serialize0$_writeCalculationValue$1(right);
  107977. if (parenthesizeRight)
  107978. t1.writeCharCode$1(41);
  107979. }
  107980. }
  107981. },
  107982. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  107983. var t1, t2, t3, t4;
  107984. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  107985. t4 = t1.get$current(t1);
  107986. if (t3)
  107987. t2.writeCharCode$1(32);
  107988. t2.writeCharCode$1(42);
  107989. if (t3)
  107990. t2.writeCharCode$1(32);
  107991. t2.writeCharCode$1(49);
  107992. t2.write$1(0, t4);
  107993. }
  107994. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  107995. t4 = t1.get$current(t1);
  107996. if (t3)
  107997. t2.writeCharCode$1(32);
  107998. t2.writeCharCode$1(47);
  107999. if (t3)
  108000. t2.writeCharCode$1(32);
  108001. t2.writeCharCode$1(49);
  108002. t2.write$1(0, t4);
  108003. }
  108004. },
  108005. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  108006. var t1;
  108007. $label0$0: {
  108008. if (B.CalculationOperator_OvN0 === outer) {
  108009. t1 = true;
  108010. break $label0$0;
  108011. }
  108012. if (B.CalculationOperator_IyK0 === outer) {
  108013. t1 = false;
  108014. break $label0$0;
  108015. }
  108016. t1 = right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  108017. break $label0$0;
  108018. }
  108019. return t1;
  108020. },
  108021. visitColor$1(value) {
  108022. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  108023. if (_this._serialize0$_style === B.OutputStyle_10)
  108024. if (!A.fuzzyEquals0(value._color1$_alpha, 1))
  108025. _this._serialize0$_writeRgb$1(value);
  108026. else {
  108027. hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
  108028. _0_0 = $.$get$namesByColor0().$index(0, value);
  108029. if (_0_0 != null) {
  108030. t1 = _0_0.length <= hexLength;
  108031. $name = _0_0;
  108032. } else {
  108033. $name = null;
  108034. t1 = false;
  108035. }
  108036. if (t1)
  108037. _this._serialize0$_buffer.write$1(0, $name);
  108038. else {
  108039. t1 = _this._serialize0$_buffer;
  108040. if (_this._serialize0$_canUseShortHex$1(value)) {
  108041. t1.writeCharCode$1(35);
  108042. t1.writeCharCode$1(A.hexCharFor0(value.get$red(0) & 15));
  108043. t1.writeCharCode$1(A.hexCharFor0(value.get$green(0) & 15));
  108044. t1.writeCharCode$1(A.hexCharFor0(value.get$blue(0) & 15));
  108045. } else {
  108046. t1.writeCharCode$1(35);
  108047. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108048. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108049. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108050. }
  108051. }
  108052. }
  108053. else {
  108054. _1_0 = value.format;
  108055. if (_1_0 != null)
  108056. $label0$0: {
  108057. if (B._ColorFormatEnum_rgbFunction0 === _1_0) {
  108058. _this._serialize0$_writeRgb$1(value);
  108059. break $label0$0;
  108060. }
  108061. if (B._ColorFormatEnum_hslFunction0 === _1_0) {
  108062. t1 = value._color1$_alpha;
  108063. opaque = A.fuzzyEquals0(t1, 1);
  108064. t2 = _this._serialize0$_buffer;
  108065. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  108066. _this._serialize0$_writeNumber$1(value.get$hue(0));
  108067. t2.write$1(0, ", ");
  108068. _this._serialize0$_writeNumber$1(value.get$saturation(0));
  108069. t2.writeCharCode$1(37);
  108070. t2.write$1(0, ", ");
  108071. _this._serialize0$_writeNumber$1(value.get$lightness(0));
  108072. t2.writeCharCode$1(37);
  108073. if (!opaque) {
  108074. t2.write$1(0, ", ");
  108075. _this._serialize0$_writeNumber$1(t1);
  108076. }
  108077. t2.writeCharCode$1(41);
  108078. break $label0$0;
  108079. }
  108080. if (_1_0 instanceof A.SpanColorFormat0) {
  108081. _this._serialize0$_buffer.write$1(0, _1_0._color1$_span.get$text());
  108082. break $label0$0;
  108083. }
  108084. }
  108085. else {
  108086. _3_0 = $.$get$namesByColor0().$index(0, value);
  108087. if (_3_0 != null) {
  108088. t1 = !A.fuzzyEquals0(value._color1$_alpha, 0);
  108089. $name = _3_0;
  108090. } else {
  108091. $name = null;
  108092. t1 = false;
  108093. }
  108094. if (t1)
  108095. _this._serialize0$_buffer.write$1(0, $name);
  108096. else if (A.fuzzyEquals0(value._color1$_alpha, 1)) {
  108097. _this._serialize0$_buffer.writeCharCode$1(35);
  108098. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108099. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108100. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108101. } else
  108102. _this._serialize0$_writeRgb$1(value);
  108103. }
  108104. }
  108105. },
  108106. _serialize0$_writeRgb$1(value) {
  108107. var t3,
  108108. t1 = value._color1$_alpha,
  108109. opaque = A.fuzzyEquals0(t1, 1),
  108110. t2 = this._serialize0$_buffer;
  108111. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  108112. t2.write$1(0, value.get$red(0));
  108113. t3 = this._serialize0$_style === B.OutputStyle_10;
  108114. t2.write$1(0, t3 ? "," : ", ");
  108115. t2.write$1(0, value.get$green(0));
  108116. t2.write$1(0, t3 ? "," : ", ");
  108117. t2.write$1(0, value.get$blue(0));
  108118. if (!opaque) {
  108119. t2.write$1(0, t3 ? "," : ", ");
  108120. this._serialize0$_writeNumber$1(t1);
  108121. }
  108122. t2.writeCharCode$1(41);
  108123. },
  108124. _serialize0$_canUseShortHex$1(color) {
  108125. var t1 = color.get$red(0);
  108126. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108127. t1 = color.get$green(0);
  108128. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108129. t1 = color.get$blue(0);
  108130. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  108131. } else
  108132. t1 = false;
  108133. } else
  108134. t1 = false;
  108135. return t1;
  108136. },
  108137. _serialize0$_writeHexComponent$1(color) {
  108138. var t1 = this._serialize0$_buffer;
  108139. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  108140. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  108141. },
  108142. visitList$1(value) {
  108143. var t2, t3, singleton, t4, t5, _this = this,
  108144. t1 = value._list1$_hasBrackets;
  108145. if (t1)
  108146. _this._serialize0$_buffer.writeCharCode$1(91);
  108147. else if (value._list1$_contents.length === 0) {
  108148. if (!_this._serialize0$_inspect)
  108149. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  108150. _this._serialize0$_buffer.write$1(0, "()");
  108151. return;
  108152. }
  108153. t2 = _this._serialize0$_inspect;
  108154. if (t2)
  108155. if (value._list1$_contents.length === 1) {
  108156. t3 = value._list1$_separator;
  108157. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  108158. singleton = t3;
  108159. } else
  108160. singleton = false;
  108161. else
  108162. singleton = false;
  108163. if (singleton && !t1)
  108164. _this._serialize0$_buffer.writeCharCode$1(40);
  108165. t3 = value._list1$_contents;
  108166. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  108167. t4 = value._list1$_separator;
  108168. t5 = _this._serialize0$_separatorString$1(t4);
  108169. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  108170. if (singleton) {
  108171. t2 = _this._serialize0$_buffer;
  108172. t2.write$1(0, t4.separator);
  108173. if (!t1)
  108174. t2.writeCharCode$1(41);
  108175. }
  108176. if (t1)
  108177. _this._serialize0$_buffer.writeCharCode$1(93);
  108178. },
  108179. _serialize0$_separatorString$1(separator) {
  108180. var t1;
  108181. $label0$0: {
  108182. if (B.ListSeparator_rXA0 === separator) {
  108183. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108184. break $label0$0;
  108185. }
  108186. if (B.ListSeparator_zg90 === separator) {
  108187. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  108188. break $label0$0;
  108189. }
  108190. if (B.ListSeparator_EVt0 === separator) {
  108191. t1 = " ";
  108192. break $label0$0;
  108193. }
  108194. t1 = "";
  108195. break $label0$0;
  108196. }
  108197. return t1;
  108198. },
  108199. _serialize0$_elementNeedsParens$2(separator, value) {
  108200. var t1;
  108201. $label1$1: {
  108202. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  108203. $label0$0: {
  108204. if (B.ListSeparator_rXA0 === separator) {
  108205. t1 = value._list1$_separator === B.ListSeparator_rXA0;
  108206. break $label0$0;
  108207. }
  108208. if (B.ListSeparator_zg90 === separator) {
  108209. t1 = value._list1$_separator;
  108210. t1 = t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  108211. break $label0$0;
  108212. }
  108213. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  108214. break $label0$0;
  108215. }
  108216. break $label1$1;
  108217. }
  108218. t1 = false;
  108219. break $label1$1;
  108220. }
  108221. return t1;
  108222. },
  108223. visitMap$1(map) {
  108224. var t1, t2, _this = this;
  108225. if (!_this._serialize0$_inspect)
  108226. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  108227. t1 = _this._serialize0$_buffer;
  108228. t1.writeCharCode$1(40);
  108229. t2 = map._map0$_contents;
  108230. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  108231. t1.writeCharCode$1(41);
  108232. },
  108233. _serialize0$_writeMapElement$1(value) {
  108234. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  108235. if (needsParens)
  108236. this._serialize0$_buffer.writeCharCode$1(40);
  108237. value.accept$1(this);
  108238. if (needsParens)
  108239. this._serialize0$_buffer.writeCharCode$1(41);
  108240. },
  108241. visitNumber$1(value) {
  108242. var before, after, t1, _1_0, _this = this,
  108243. _0_0 = value.asSlash;
  108244. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  108245. before = _0_0._0;
  108246. after = _0_0._1;
  108247. _this.visitNumber$1(before);
  108248. _this._serialize0$_buffer.writeCharCode$1(47);
  108249. _this.visitNumber$1(after);
  108250. return;
  108251. }
  108252. t1 = value._number1$_value;
  108253. if (!isFinite(t1)) {
  108254. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108255. return;
  108256. }
  108257. if (value.get$hasComplexUnits()) {
  108258. if (!_this._serialize0$_inspect)
  108259. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  108260. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108261. } else {
  108262. _this._serialize0$_writeNumber$1(t1);
  108263. _1_0 = value.get$numeratorUnits(value);
  108264. if (_1_0.length === 1)
  108265. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  108266. }
  108267. },
  108268. _serialize0$_writeNumber$1(number) {
  108269. var text, _this = this,
  108270. _0_0 = A.fuzzyAsInt0(number);
  108271. if (_0_0 != null) {
  108272. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  108273. return;
  108274. }
  108275. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  108276. if (text.length < 12) {
  108277. if (_this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48)
  108278. text = B.JSString_methods.substring$1(text, 1);
  108279. _this._serialize0$_buffer.write$1(0, text);
  108280. return;
  108281. }
  108282. _this._serialize0$_writeRounded$1(text);
  108283. },
  108284. _serialize0$_removeExponent$1(text) {
  108285. var buffer, t2, t3, additionalZeroes,
  108286. negative = text.charCodeAt(0) === 45,
  108287. exponent = A._Cell$(),
  108288. t1 = text.length,
  108289. i = 0;
  108290. while (true) {
  108291. if (!(i < t1)) {
  108292. buffer = null;
  108293. break;
  108294. }
  108295. c$0: {
  108296. if (text.charCodeAt(i) !== 101)
  108297. break c$0;
  108298. buffer = new A.StringBuffer("");
  108299. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  108300. if (negative) {
  108301. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  108302. buffer._contents = t2;
  108303. if (i > 3)
  108304. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  108305. } else if (i > 2)
  108306. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  108307. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  108308. break;
  108309. }
  108310. ++i;
  108311. }
  108312. if (buffer == null)
  108313. return text;
  108314. if (exponent._readLocal$0() > 0) {
  108315. t1 = exponent._readLocal$0();
  108316. t2 = buffer._contents;
  108317. t3 = negative ? 1 : 0;
  108318. additionalZeroes = t1 - (t2.length - 1 - t3);
  108319. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  108320. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  108321. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108322. } else {
  108323. negative = text.charCodeAt(0) === 45;
  108324. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  108325. t2 = exponent.__late_helper$_name;
  108326. i = -1;
  108327. while (true) {
  108328. t3 = exponent._value;
  108329. if (t3 === exponent)
  108330. A.throwExpression(A.LateError$localNI(t2));
  108331. if (!(i > t3))
  108332. break;
  108333. t1 += A.Primitives_stringFromCharCode(48);
  108334. --i;
  108335. }
  108336. if (negative) {
  108337. t2 = buffer._contents;
  108338. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  108339. } else
  108340. t2 = buffer;
  108341. t2 = t1 + A.S(t2);
  108342. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108343. }
  108344. },
  108345. _serialize0$_writeRounded$1(text) {
  108346. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  108347. if (B.JSString_methods.endsWith$1(text, ".0")) {
  108348. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  108349. return;
  108350. }
  108351. t1 = text.length;
  108352. digits = new Uint8Array(t1 + 1);
  108353. negative = text.charCodeAt(0) === 45;
  108354. textIndex = negative ? 1 : 0;
  108355. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  108356. if (textIndex === t1) {
  108357. _this._serialize0$_buffer.write$1(0, text);
  108358. return;
  108359. }
  108360. textIndex0 = textIndex + 1;
  108361. codeUnit = text.charCodeAt(textIndex);
  108362. if (codeUnit === 46) {
  108363. textIndex = textIndex0;
  108364. break;
  108365. }
  108366. digitsIndex0 = digitsIndex + 1;
  108367. digits[digitsIndex] = codeUnit - 48;
  108368. }
  108369. indexAfterPrecision = textIndex + 10;
  108370. if (indexAfterPrecision >= t1) {
  108371. _this._serialize0$_buffer.write$1(0, text);
  108372. return;
  108373. }
  108374. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  108375. digitsIndex1 = digitsIndex0 + 1;
  108376. textIndex0 = textIndex + 1;
  108377. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  108378. }
  108379. if (text.charCodeAt(textIndex) - 48 >= 5)
  108380. for (; true; digitsIndex0 = digitsIndex1) {
  108381. digitsIndex1 = digitsIndex0 - 1;
  108382. newDigit = digits[digitsIndex1] + 1;
  108383. digits[digitsIndex1] = newDigit;
  108384. if (newDigit !== 10)
  108385. break;
  108386. }
  108387. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  108388. digits[digitsIndex0] = 0;
  108389. while (true) {
  108390. t1 = digitsIndex0 > digitsIndex;
  108391. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  108392. break;
  108393. --digitsIndex0;
  108394. }
  108395. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  108396. _this._serialize0$_buffer.writeCharCode$1(48);
  108397. return;
  108398. }
  108399. if (negative)
  108400. _this._serialize0$_buffer.writeCharCode$1(45);
  108401. if (digits[0] === 0)
  108402. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  108403. else
  108404. writtenIndex = 0;
  108405. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  108406. t2.writeCharCode$1(48 + digits[writtenIndex]);
  108407. if (t1) {
  108408. t2.writeCharCode$1(46);
  108409. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  108410. t2.writeCharCode$1(48 + digits[writtenIndex]);
  108411. }
  108412. },
  108413. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  108414. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  108415. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  108416. if (forceDoubleQuote)
  108417. buffer.writeCharCode$1(34);
  108418. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  108419. char = string.charCodeAt(i);
  108420. _1_2 = 39 === char;
  108421. if (_1_2 && forceDoubleQuote) {
  108422. buffer.writeCharCode$1(39);
  108423. continue;
  108424. }
  108425. if (_1_2 && includesDoubleQuote) {
  108426. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  108427. return;
  108428. }
  108429. if (_1_2) {
  108430. buffer.writeCharCode$1(39);
  108431. includesSingleQuote = true;
  108432. continue;
  108433. }
  108434. _1_4 = 34 === char;
  108435. if (_1_4 && forceDoubleQuote) {
  108436. buffer.writeCharCode$1(92);
  108437. buffer.writeCharCode$1(34);
  108438. continue;
  108439. }
  108440. if (_1_4 && includesSingleQuote) {
  108441. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  108442. return;
  108443. }
  108444. if (_1_4) {
  108445. buffer.writeCharCode$1(34);
  108446. includesDoubleQuote = true;
  108447. continue;
  108448. }
  108449. 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) {
  108450. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  108451. continue;
  108452. }
  108453. if (92 === char) {
  108454. buffer.writeCharCode$1(92);
  108455. buffer.writeCharCode$1(92);
  108456. continue;
  108457. }
  108458. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  108459. if (_0_0 != null)
  108460. i = _0_0;
  108461. else
  108462. buffer.writeCharCode$1(char);
  108463. }
  108464. if (forceDoubleQuote)
  108465. buffer.writeCharCode$1(34);
  108466. else {
  108467. quote = includesDoubleQuote ? 39 : 34;
  108468. t1 = _this._serialize0$_buffer;
  108469. t1.writeCharCode$1(quote);
  108470. t1.write$1(0, buffer);
  108471. t1.writeCharCode$1(quote);
  108472. }
  108473. },
  108474. _serialize0$_visitQuotedString$1(string) {
  108475. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  108476. },
  108477. _serialize0$_visitUnquotedString$1(string) {
  108478. var t1, t2, afterNewline, i, _1_0, _0_0;
  108479. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  108480. _1_0 = string.charCodeAt(i);
  108481. if (10 === _1_0) {
  108482. t2.writeCharCode$1(32);
  108483. afterNewline = true;
  108484. continue;
  108485. }
  108486. if (32 === _1_0) {
  108487. if (!afterNewline)
  108488. t2.writeCharCode$1(32);
  108489. continue;
  108490. }
  108491. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  108492. if (_0_0 != null)
  108493. i = _0_0;
  108494. else
  108495. t2.writeCharCode$1(_1_0);
  108496. afterNewline = false;
  108497. }
  108498. },
  108499. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  108500. var t1;
  108501. if (this._serialize0$_style === B.OutputStyle_10)
  108502. return null;
  108503. if (codeUnit >= 57344 && codeUnit <= 63743) {
  108504. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  108505. return i;
  108506. }
  108507. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  108508. t1 = i + 1;
  108509. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  108510. return t1;
  108511. }
  108512. return null;
  108513. },
  108514. _serialize0$_writeEscape$4(buffer, character, string, i) {
  108515. var t1, next;
  108516. buffer.writeCharCode$1(92);
  108517. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  108518. t1 = i + 1;
  108519. if (string.length === t1)
  108520. return;
  108521. next = string.charCodeAt(t1);
  108522. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  108523. buffer.writeCharCode$1(32);
  108524. },
  108525. visitAttributeSelector$1(attribute) {
  108526. var _0_0, t2,
  108527. t1 = this._serialize0$_buffer;
  108528. t1.writeCharCode$1(91);
  108529. t1.write$1(0, attribute.name);
  108530. _0_0 = attribute.value;
  108531. if (_0_0 != null) {
  108532. t1.write$1(0, attribute.op);
  108533. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  108534. t1.write$1(0, _0_0);
  108535. t2 = attribute.modifier;
  108536. if (t2 != null)
  108537. t1.writeCharCode$1(32);
  108538. } else {
  108539. this._serialize0$_visitQuotedString$1(_0_0);
  108540. t2 = attribute.modifier;
  108541. if (t2 != null)
  108542. if (this._serialize0$_style !== B.OutputStyle_10)
  108543. t1.writeCharCode$1(32);
  108544. }
  108545. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  108546. }
  108547. t1.writeCharCode$1(93);
  108548. },
  108549. visitClassSelector$1(klass) {
  108550. var t1 = this._serialize0$_buffer;
  108551. t1.writeCharCode$1(46);
  108552. t1.write$1(0, klass.name);
  108553. },
  108554. visitComplexSelector$1(complex) {
  108555. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  108556. t1 = complex.leadingCombinators;
  108557. _this._serialize0$_writeCombinators$1(t1);
  108558. if (t1.length >= 1 && complex.components.length >= 1)
  108559. if (_this._serialize0$_style !== B.OutputStyle_10)
  108560. _this._serialize0$_buffer.writeCharCode$1(32);
  108561. 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) {
  108562. component = t1[i];
  108563. _this.visitCompoundSelector$1(component.selector);
  108564. t7 = component.combinators;
  108565. t8 = t7.length === 0;
  108566. if (!t8)
  108567. if (t6)
  108568. t4.writeCharCode$1(32);
  108569. t9 = t5 ? "" : " ";
  108570. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  108571. if (i !== t3)
  108572. t7 = !t5 || t8;
  108573. else
  108574. t7 = false;
  108575. if (t7)
  108576. t4.writeCharCode$1(32);
  108577. }
  108578. },
  108579. _serialize0$_writeCombinators$1(combinators) {
  108580. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  108581. t2 = this._serialize0$_buffer;
  108582. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  108583. },
  108584. visitCompoundSelector$1(compound) {
  108585. var t2, t3, _i,
  108586. t1 = this._serialize0$_buffer,
  108587. start = t1.get$length(t1);
  108588. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  108589. t2[_i].accept$1(this);
  108590. if (t1.get$length(t1) === start)
  108591. t1.writeCharCode$1(42);
  108592. },
  108593. visitIDSelector$1(id) {
  108594. var t1 = this._serialize0$_buffer;
  108595. t1.writeCharCode$1(35);
  108596. t1.write$1(0, id.name);
  108597. },
  108598. visitSelectorList$1(list) {
  108599. var t1, t2, t3, t4, first, t5, _this = this,
  108600. complexes = list.components;
  108601. 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();) {
  108602. t5 = t1.get$current(t1);
  108603. if (first)
  108604. first = false;
  108605. else {
  108606. t3.writeCharCode$1(44);
  108607. if (t5.lineBreak) {
  108608. if (t2)
  108609. t3.write$1(0, t4);
  108610. _this._serialize0$_writeIndentation$0();
  108611. } else if (t2)
  108612. t3.writeCharCode$1(32);
  108613. }
  108614. _this.visitComplexSelector$1(t5);
  108615. }
  108616. },
  108617. visitParentSelector$1($parent) {
  108618. var t1 = this._serialize0$_buffer;
  108619. t1.writeCharCode$1(38);
  108620. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  108621. },
  108622. visitPlaceholderSelector$1(placeholder) {
  108623. var t1 = this._serialize0$_buffer;
  108624. t1.writeCharCode$1(37);
  108625. t1.write$1(0, placeholder.name);
  108626. },
  108627. visitPseudoSelector$1(pseudo) {
  108628. var _0_4, t2, t3,
  108629. t1 = pseudo.name;
  108630. if ("not" === t1) {
  108631. _0_4 = pseudo.selector;
  108632. if (_0_4 instanceof A.SelectorList0)
  108633. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  108634. else
  108635. t2 = false;
  108636. } else
  108637. t2 = false;
  108638. if (t2)
  108639. return;
  108640. t2 = this._serialize0$_buffer;
  108641. t2.writeCharCode$1(58);
  108642. if (!pseudo.isSyntacticClass)
  108643. t2.writeCharCode$1(58);
  108644. t2.write$1(0, t1);
  108645. t1 = pseudo.argument;
  108646. t3 = t1 == null;
  108647. if (t3 && pseudo.selector == null)
  108648. return;
  108649. t2.writeCharCode$1(40);
  108650. if (!t3) {
  108651. t2.write$1(0, t1);
  108652. if (pseudo.selector != null)
  108653. t2.writeCharCode$1(32);
  108654. }
  108655. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  108656. t2.writeCharCode$1(41);
  108657. },
  108658. visitTypeSelector$1(type) {
  108659. this._serialize0$_buffer.write$1(0, type.name);
  108660. },
  108661. visitUniversalSelector$1(universal) {
  108662. var t2,
  108663. t1 = universal.namespace;
  108664. if (t1 != null) {
  108665. t2 = this._serialize0$_buffer;
  108666. t2.write$1(0, t1);
  108667. t2.writeCharCode$1(124);
  108668. }
  108669. this._serialize0$_buffer.writeCharCode$1(42);
  108670. },
  108671. _serialize0$_write$1(value) {
  108672. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  108673. },
  108674. _serialize0$_visitChildren$1($parent) {
  108675. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  108676. t1 = _this._serialize0$_buffer;
  108677. t1.writeCharCode$1(123);
  108678. for (t2 = $parent.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t4 = _this._serialize0$_style === B.OutputStyle_10, t5 = !t4, t6 = _this.get$_serialize0$_requiresSemicolon(), t7 = !_this._serialize0$_inspect, t3 = t3._eval$1("ListBase.E"), t8 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  108679. t9 = t2.__internal$_current;
  108680. previous0 = t9 == null ? t3._as(t9) : t9;
  108681. if (t7)
  108682. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  108683. else
  108684. t9 = false;
  108685. if (t9)
  108686. continue;
  108687. t9 = previous == null;
  108688. t10 = t9 ? null : t6.call$1(previous);
  108689. if (t10 == null ? false : t10)
  108690. t1.writeCharCode$1(59);
  108691. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  108692. if (t5)
  108693. t1.writeCharCode$1(32);
  108694. savedIndentation = _this._serialize0$_indentation;
  108695. _this._serialize0$_indentation = 0;
  108696. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  108697. _this._serialize0$_indentation = savedIndentation;
  108698. } else {
  108699. if (t5)
  108700. t1.write$1(0, t8);
  108701. ++_this._serialize0$_indentation;
  108702. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  108703. --_this._serialize0$_indentation;
  108704. }
  108705. prePrevious = previous;
  108706. previous = previous0;
  108707. }
  108708. if (previous != null) {
  108709. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  108710. t1.writeCharCode$1(59);
  108711. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  108712. if (t5)
  108713. t1.writeCharCode$1(32);
  108714. } else {
  108715. _this._serialize0$_writeLineFeed$0();
  108716. _this._serialize0$_writeIndentation$0();
  108717. }
  108718. }
  108719. t1.writeCharCode$1(125);
  108720. },
  108721. _serialize0$_requiresSemicolon$1(node) {
  108722. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  108723. },
  108724. _serialize0$_isTrailingComment$2(node, previous) {
  108725. var t1, t2, t3, searchFrom, endOffset, t4, span;
  108726. if (this._serialize0$_style === B.OutputStyle_10)
  108727. return false;
  108728. if (!(node instanceof A.ModifiableCssComment0))
  108729. return false;
  108730. t1 = node.span;
  108731. t2 = t1.get$sourceUrl(t1);
  108732. t3 = previous.get$span(previous);
  108733. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  108734. return false;
  108735. t2 = previous.get$span(previous);
  108736. 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)) {
  108737. t1 = t1.get$start(t1);
  108738. t1 = t1.file.getLine$1(t1.offset);
  108739. t2 = previous.get$span(previous);
  108740. t2 = t2.get$end(t2);
  108741. return t1 === t2.file.getLine$1(t2.offset);
  108742. }
  108743. t2 = t1.get$start(t1);
  108744. t3 = previous.get$span(previous);
  108745. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  108746. if (searchFrom < 0)
  108747. return false;
  108748. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  108749. t2 = previous.get$span(previous);
  108750. t2 = t2.get$file(t2);
  108751. t3 = previous.get$span(previous);
  108752. t3 = t3.get$start(t3);
  108753. t4 = previous.get$span(previous);
  108754. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  108755. t1 = t1.get$start(t1);
  108756. t1 = t1.file.getLine$1(t1.offset);
  108757. t4 = A.FileLocation$_(span.file, span._end);
  108758. return t1 === t4.file.getLine$1(t4.offset);
  108759. },
  108760. _serialize0$_writeLineFeed$0() {
  108761. if (this._serialize0$_style !== B.OutputStyle_10)
  108762. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  108763. },
  108764. _serialize0$_writeIndentation$0() {
  108765. var _this = this;
  108766. if (_this._serialize0$_style === B.OutputStyle_10)
  108767. return;
  108768. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  108769. },
  108770. _serialize0$_writeTimes$2(char, times) {
  108771. var t1, i;
  108772. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  108773. t1.writeCharCode$1(char);
  108774. },
  108775. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  108776. var t1, t2, first, value;
  108777. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  108778. value = t1.get$current(t1);
  108779. if (first)
  108780. first = false;
  108781. else
  108782. t2.write$1(0, text);
  108783. callback.call$1(value);
  108784. }
  108785. },
  108786. _serialize0$_writeBetween$3(iterable, text, callback) {
  108787. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  108788. }
  108789. };
  108790. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  108791. call$0() {
  108792. var t2, t3, _0_0, minimumIndentation,
  108793. t1 = this.$this;
  108794. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  108795. return;
  108796. t2 = this.node;
  108797. t3 = t2.text;
  108798. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  108799. return;
  108800. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  108801. if (_0_0 != null) {
  108802. t2 = t2.span;
  108803. t2 = t2.get$start(t2);
  108804. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  108805. t1._serialize0$_writeIndentation$0();
  108806. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  108807. } else {
  108808. t1._serialize0$_writeIndentation$0();
  108809. t1._serialize0$_buffer.write$1(0, t3);
  108810. }
  108811. },
  108812. $signature: 1
  108813. };
  108814. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  108815. call$0() {
  108816. var t3, _0_0,
  108817. t1 = this.$this,
  108818. t2 = t1._serialize0$_buffer;
  108819. t2.writeCharCode$1(64);
  108820. t3 = this.node;
  108821. t1._serialize0$_write$1(t3.name);
  108822. _0_0 = t3.value;
  108823. if (_0_0 != null) {
  108824. t2.writeCharCode$1(32);
  108825. t1._serialize0$_write$1(_0_0);
  108826. }
  108827. },
  108828. $signature: 1
  108829. };
  108830. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  108831. call$0() {
  108832. var t3, firstQuery, t4, t5,
  108833. t1 = this.$this,
  108834. t2 = t1._serialize0$_buffer;
  108835. t2.write$1(0, "@media");
  108836. t3 = this.node.queries;
  108837. firstQuery = B.JSArray_methods.get$first(t3);
  108838. t4 = t1._serialize0$_style === B.OutputStyle_10;
  108839. if (t4)
  108840. if (firstQuery.modifier == null)
  108841. if (firstQuery.type == null) {
  108842. t5 = firstQuery.conditions;
  108843. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  108844. } else
  108845. t5 = true;
  108846. else
  108847. t5 = true;
  108848. else
  108849. t5 = true;
  108850. if (t5)
  108851. t2.writeCharCode$1(32);
  108852. t2 = t4 ? "," : ", ";
  108853. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  108854. },
  108855. $signature: 1
  108856. };
  108857. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  108858. call$0() {
  108859. var t3, t4, _0_0,
  108860. t1 = this.$this,
  108861. t2 = t1._serialize0$_buffer;
  108862. t2.write$1(0, "@import");
  108863. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  108864. if (t3)
  108865. t2.writeCharCode$1(32);
  108866. t4 = this.node;
  108867. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  108868. _0_0 = t4.modifiers;
  108869. if (_0_0 != null) {
  108870. if (t3)
  108871. t2.writeCharCode$1(32);
  108872. t2.write$1(0, _0_0);
  108873. }
  108874. },
  108875. $signature: 1
  108876. };
  108877. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  108878. call$0() {
  108879. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  108880. },
  108881. $signature: 0
  108882. };
  108883. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  108884. call$0() {
  108885. var t1 = this.$this,
  108886. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  108887. t3 = t1._serialize0$_buffer;
  108888. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  108889. },
  108890. $signature: 0
  108891. };
  108892. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  108893. call$0() {
  108894. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  108895. },
  108896. $signature: 0
  108897. };
  108898. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  108899. call$0() {
  108900. var t1 = this.$this,
  108901. t2 = t1._serialize0$_buffer;
  108902. t2.write$1(0, "@supports");
  108903. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  108904. t2.writeCharCode$1(32);
  108905. t1._serialize0$_write$1(this.node.condition);
  108906. },
  108907. $signature: 1
  108908. };
  108909. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  108910. call$0() {
  108911. var t1 = this.$this,
  108912. t2 = this.node;
  108913. if (t1._serialize0$_style === B.OutputStyle_10)
  108914. t1._serialize0$_writeFoldedValue$1(t2);
  108915. else
  108916. t1._serialize0$_writeReindentedValue$1(t2);
  108917. },
  108918. $signature: 1
  108919. };
  108920. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  108921. call$0() {
  108922. return this.node.value.value.accept$1(this.$this);
  108923. },
  108924. $signature: 0
  108925. };
  108926. A._SerializeVisitor_visitList_closure2.prototype = {
  108927. call$1(element) {
  108928. return !element.get$isBlank();
  108929. },
  108930. $signature: 49
  108931. };
  108932. A._SerializeVisitor_visitList_closure3.prototype = {
  108933. call$1(element) {
  108934. var t1 = this.$this,
  108935. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  108936. if (needsParens)
  108937. t1._serialize0$_buffer.writeCharCode$1(40);
  108938. element.accept$1(t1);
  108939. if (needsParens)
  108940. t1._serialize0$_buffer.writeCharCode$1(41);
  108941. },
  108942. $signature: 65
  108943. };
  108944. A._SerializeVisitor_visitList_closure4.prototype = {
  108945. call$1(element) {
  108946. element.accept$1(this.$this);
  108947. },
  108948. $signature: 65
  108949. };
  108950. A._SerializeVisitor_visitMap_closure0.prototype = {
  108951. call$1(entry) {
  108952. var t1 = this.$this;
  108953. t1._serialize0$_writeMapElement$1(entry.key);
  108954. t1._serialize0$_buffer.write$1(0, ": ");
  108955. t1._serialize0$_writeMapElement$1(entry.value);
  108956. },
  108957. $signature: 530
  108958. };
  108959. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  108960. call$1(complex) {
  108961. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  108962. },
  108963. $signature: 16
  108964. };
  108965. A._SerializeVisitor__write_closure0.prototype = {
  108966. call$0() {
  108967. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  108968. },
  108969. $signature: 0
  108970. };
  108971. A._SerializeVisitor__visitChildren_closure1.prototype = {
  108972. call$0() {
  108973. return this.child.accept$1(this.$this);
  108974. },
  108975. $signature: 0
  108976. };
  108977. A._SerializeVisitor__visitChildren_closure2.prototype = {
  108978. call$0() {
  108979. this.child.accept$1(this.$this);
  108980. },
  108981. $signature: 0
  108982. };
  108983. A.OutputStyle0.prototype = {
  108984. _enumToString$0() {
  108985. return "OutputStyle." + this._name;
  108986. }
  108987. };
  108988. A.LineFeed0.prototype = {
  108989. _enumToString$0() {
  108990. return "LineFeed." + this._name;
  108991. },
  108992. toString$0(_) {
  108993. return this.name;
  108994. }
  108995. };
  108996. A.ShadowedModuleView0.prototype = {
  108997. get$url(_) {
  108998. var t1 = this._shadowed_view0$_inner;
  108999. return t1.get$url(t1);
  109000. },
  109001. get$upstream() {
  109002. return this._shadowed_view0$_inner.get$upstream();
  109003. },
  109004. get$extensionStore() {
  109005. return this._shadowed_view0$_inner.get$extensionStore();
  109006. },
  109007. get$css(_) {
  109008. var t1 = this._shadowed_view0$_inner;
  109009. return t1.get$css(t1);
  109010. },
  109011. get$preModuleComments() {
  109012. return this._shadowed_view0$_inner.get$preModuleComments();
  109013. },
  109014. get$transitivelyContainsCss() {
  109015. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  109016. },
  109017. get$transitivelyContainsExtensions() {
  109018. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  109019. },
  109020. setVariable$3($name, value, nodeWithSpan) {
  109021. if (!this.variables.containsKey$1($name))
  109022. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  109023. else
  109024. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  109025. },
  109026. variableIdentity$1($name) {
  109027. return this._shadowed_view0$_inner.variableIdentity$1($name);
  109028. },
  109029. $eq(_, other) {
  109030. var t1, t2, _this = this;
  109031. if (other == null)
  109032. return false;
  109033. if (other instanceof A.ShadowedModuleView0)
  109034. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  109035. t1 = _this.variables;
  109036. t1 = t1.get$keys(t1);
  109037. t2 = other.variables;
  109038. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109039. t1 = _this.functions;
  109040. t1 = t1.get$keys(t1);
  109041. t2 = other.functions;
  109042. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109043. t1 = _this.mixins;
  109044. t1 = t1.get$keys(t1);
  109045. t2 = other.mixins;
  109046. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  109047. t1 = t2;
  109048. } else
  109049. t1 = false;
  109050. } else
  109051. t1 = false;
  109052. } else
  109053. t1 = false;
  109054. else
  109055. t1 = false;
  109056. return t1;
  109057. },
  109058. get$hashCode(_) {
  109059. var t1 = this._shadowed_view0$_inner;
  109060. return t1.get$hashCode(t1);
  109061. },
  109062. cloneCss$0() {
  109063. var _this = this;
  109064. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  109065. },
  109066. toString$0(_) {
  109067. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  109068. },
  109069. $isModule1: 1,
  109070. get$variables() {
  109071. return this.variables;
  109072. },
  109073. get$variableNodes() {
  109074. return this.variableNodes;
  109075. },
  109076. get$functions(receiver) {
  109077. return this.functions;
  109078. },
  109079. get$mixins() {
  109080. return this.mixins;
  109081. }
  109082. };
  109083. A.SilentComment0.prototype = {
  109084. accept$1$1(visitor) {
  109085. return visitor.visitSilentComment$1(this);
  109086. },
  109087. accept$1(visitor) {
  109088. return this.accept$1$1(visitor, type$.dynamic);
  109089. },
  109090. toString$0(_) {
  109091. return this.text;
  109092. },
  109093. $isAstNode0: 1,
  109094. $isStatement0: 1,
  109095. get$span(receiver) {
  109096. return this.span;
  109097. }
  109098. };
  109099. A.SimpleSelector0.prototype = {
  109100. get$specificity() {
  109101. return 1000;
  109102. },
  109103. addSuffix$1(suffix) {
  109104. 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));
  109105. },
  109106. unify$1(compound) {
  109107. var other, t1, result, addedThis, _i, simple, _this = this;
  109108. if (compound.length === 1) {
  109109. other = compound[0];
  109110. if (!(other instanceof A.UniversalSelector0))
  109111. if (other instanceof A.PseudoSelector0)
  109112. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  109113. else
  109114. t1 = false;
  109115. else
  109116. t1 = true;
  109117. } else {
  109118. other = null;
  109119. t1 = false;
  109120. }
  109121. if (t1)
  109122. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  109123. if (B.JSArray_methods.contains$1(compound, _this))
  109124. return compound;
  109125. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  109126. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  109127. simple = compound[_i];
  109128. if (!addedThis && simple instanceof A.PseudoSelector0) {
  109129. result.push(_this);
  109130. addedThis = true;
  109131. }
  109132. result.push(simple);
  109133. }
  109134. if (!addedThis)
  109135. result.push(_this);
  109136. return result;
  109137. },
  109138. isSuperselector$1(other) {
  109139. var list;
  109140. if (this.$eq(0, other))
  109141. return true;
  109142. if (other instanceof A.PseudoSelector0 && other.isClass) {
  109143. list = other.selector;
  109144. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  109145. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  109146. }
  109147. return false;
  109148. }
  109149. };
  109150. A.SimpleSelector_isSuperselector_closure0.prototype = {
  109151. call$1(complex) {
  109152. var t1 = complex.components;
  109153. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  109154. },
  109155. $signature: 16
  109156. };
  109157. A.SimpleSelector_isSuperselector__closure0.prototype = {
  109158. call$1(simple) {
  109159. return this.$this.isSuperselector$1(simple);
  109160. },
  109161. $signature: 14
  109162. };
  109163. A.SingleUnitSassNumber0.prototype = {
  109164. get$numeratorUnits(_) {
  109165. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  109166. },
  109167. get$denominatorUnits(_) {
  109168. return B.List_empty;
  109169. },
  109170. get$hasUnits() {
  109171. return true;
  109172. },
  109173. get$hasComplexUnits() {
  109174. return false;
  109175. },
  109176. withValue$1(value) {
  109177. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  109178. },
  109179. withSlash$2(numerator, denominator) {
  109180. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  109181. },
  109182. hasUnit$1(unit) {
  109183. return unit === this._single_unit$_unit;
  109184. },
  109185. hasCompatibleUnits$1(other) {
  109186. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  109187. },
  109188. hasPossiblyCompatibleUnits$1(other) {
  109189. var t1, knownCompatibilities, otherUnit;
  109190. if (!(other instanceof A.SingleUnitSassNumber0))
  109191. return false;
  109192. t1 = $.$get$_knownCompatibilitiesByUnit0();
  109193. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  109194. if (knownCompatibilities == null)
  109195. return true;
  109196. otherUnit = other._single_unit$_unit.toLowerCase();
  109197. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  109198. },
  109199. compatibleWithUnit$1(unit) {
  109200. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  109201. },
  109202. coerceToMatch$3(other, $name, otherName) {
  109203. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109204. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  109205. },
  109206. coerceToMatch$1(other) {
  109207. return this.coerceToMatch$3(other, null, null);
  109208. },
  109209. coerceValueToMatch$3(other, $name, otherName) {
  109210. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109211. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  109212. },
  109213. coerceValueToMatch$1(other) {
  109214. return this.coerceValueToMatch$3(other, null, null);
  109215. },
  109216. convertToMatch$3(other, $name, otherName) {
  109217. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109218. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  109219. },
  109220. convertValueToMatch$3(other, $name, otherName) {
  109221. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109222. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  109223. },
  109224. convertValueToMatch$1(other) {
  109225. return this.convertValueToMatch$3(other, null, null);
  109226. },
  109227. coerce$3(newNumerators, newDenominators, $name) {
  109228. var t1 = J.getInterceptor$asx(newNumerators);
  109229. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  109230. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  109231. },
  109232. coerce$2(newNumerators, newDenominators) {
  109233. return this.coerce$3(newNumerators, newDenominators, null);
  109234. },
  109235. coerceValue$3(newNumerators, newDenominators, $name) {
  109236. var t1 = J.getInterceptor$asx(newNumerators);
  109237. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  109238. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  109239. },
  109240. coerceValueToUnit$2(unit, $name) {
  109241. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  109242. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  109243. },
  109244. coerceValueToUnit$1(unit) {
  109245. return this.coerceValueToUnit$2(unit, null);
  109246. },
  109247. _single_unit$_coerceToUnit$1(unit) {
  109248. var t1 = this._single_unit$_unit;
  109249. if (t1 === unit)
  109250. return this;
  109251. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  109252. },
  109253. _single_unit$_coerceValueToUnit$1(unit) {
  109254. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  109255. },
  109256. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  109257. var mutableOtherDenominators, t1 = {};
  109258. t1.value = value;
  109259. t1.newNumerators = otherNumerators;
  109260. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  109261. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  109262. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  109263. },
  109264. unaryMinus$0() {
  109265. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  109266. },
  109267. $eq(_, other) {
  109268. var factor;
  109269. if (other == null)
  109270. return false;
  109271. if (other instanceof A.SingleUnitSassNumber0) {
  109272. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  109273. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  109274. } else
  109275. return false;
  109276. },
  109277. get$hashCode(_) {
  109278. var _this = this,
  109279. t1 = _this.hashCache;
  109280. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  109281. }
  109282. };
  109283. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  109284. call$1(factor) {
  109285. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  109286. },
  109287. $signature: 531
  109288. };
  109289. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  109290. call$1(factor) {
  109291. return this.$this._number1$_value * factor;
  109292. },
  109293. $signature: 37
  109294. };
  109295. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  109296. call$1(denominator) {
  109297. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  109298. if (factor == null)
  109299. return false;
  109300. this._box_0.value *= factor;
  109301. return true;
  109302. },
  109303. $signature: 4
  109304. };
  109305. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  109306. call$0() {
  109307. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  109308. t2 = this._box_0;
  109309. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  109310. t2.newNumerators = t1;
  109311. },
  109312. $signature: 0
  109313. };
  109314. A.SourceMapBuffer0.prototype = {
  109315. get$_source_map_buffer0$_targetLocation() {
  109316. var t1 = this._source_map_buffer0$_buffer._contents,
  109317. t2 = this._source_map_buffer0$_line;
  109318. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  109319. },
  109320. get$length(_) {
  109321. return this._source_map_buffer0$_buffer._contents.length;
  109322. },
  109323. forSpan$1$2(span, callback) {
  109324. var t1, _this = this,
  109325. wasInSpan = _this._source_map_buffer0$_inSpan;
  109326. _this._source_map_buffer0$_inSpan = true;
  109327. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  109328. try {
  109329. t1 = callback.call$0();
  109330. return t1;
  109331. } finally {
  109332. _this._source_map_buffer0$_inSpan = wasInSpan;
  109333. }
  109334. },
  109335. forSpan$2(span, callback) {
  109336. return this.forSpan$1$2(span, callback, type$.dynamic);
  109337. },
  109338. _source_map_buffer0$_addEntry$2(source, target) {
  109339. var entry, t2,
  109340. t1 = this._source_map_buffer0$_entries;
  109341. if (t1.length !== 0) {
  109342. entry = B.JSArray_methods.get$last(t1);
  109343. t2 = entry.source;
  109344. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  109345. return;
  109346. if (entry.target.offset === target.offset)
  109347. return;
  109348. }
  109349. t1.push(new A.Entry(source, target, null));
  109350. },
  109351. write$1(_, object) {
  109352. var t1, i,
  109353. string = J.toString$0$(object);
  109354. this._source_map_buffer0$_buffer._contents += string;
  109355. for (t1 = string.length, i = 0; i < t1; ++i)
  109356. if (string.charCodeAt(i) === 10)
  109357. this._source_map_buffer0$_writeLine$0();
  109358. else
  109359. ++this._source_map_buffer0$_column;
  109360. },
  109361. writeCharCode$1(charCode) {
  109362. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  109363. if (charCode === 10)
  109364. this._source_map_buffer0$_writeLine$0();
  109365. else
  109366. ++this._source_map_buffer0$_column;
  109367. },
  109368. _source_map_buffer0$_writeLine$0() {
  109369. var _this = this,
  109370. t1 = _this._source_map_buffer0$_entries;
  109371. 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)
  109372. t1.pop();
  109373. ++_this._source_map_buffer0$_line;
  109374. _this._source_map_buffer0$_column = 0;
  109375. if (_this._source_map_buffer0$_inSpan)
  109376. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  109377. },
  109378. toString$0(_) {
  109379. var t1 = this._source_map_buffer0$_buffer._contents;
  109380. return t1.charCodeAt(0) == 0 ? t1 : t1;
  109381. },
  109382. buildSourceMap$1$prefix(prefix) {
  109383. var i, t2, prefixColumn, _box_0 = {},
  109384. t1 = prefix.length;
  109385. if (t1 === 0)
  109386. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  109387. _box_0.prefixColumn = _box_0.prefixLines = 0;
  109388. for (i = 0, t2 = 0; i < t1; ++i)
  109389. if (prefix.charCodeAt(i) === 10) {
  109390. ++_box_0.prefixLines;
  109391. _box_0.prefixColumn = 0;
  109392. t2 = 0;
  109393. } else {
  109394. prefixColumn = t2 + 1;
  109395. _box_0.prefixColumn = prefixColumn;
  109396. t2 = prefixColumn;
  109397. }
  109398. t2 = this._source_map_buffer0$_entries;
  109399. 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>")));
  109400. }
  109401. };
  109402. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  109403. call$1(entry) {
  109404. var t1 = entry.target,
  109405. t2 = t1.line,
  109406. t3 = this._box_0,
  109407. t4 = t3.prefixLines;
  109408. t3 = t2 === 0 ? t3.prefixColumn : 0;
  109409. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  109410. },
  109411. $signature: 204
  109412. };
  109413. A.updateSourceSpanPrototype_closure.prototype = {
  109414. call$0() {
  109415. return this.span;
  109416. },
  109417. $signature: 25
  109418. };
  109419. A.updateSourceSpanPrototype_closure0.prototype = {
  109420. call$1(span) {
  109421. return span.get$start(span);
  109422. },
  109423. $signature: 223
  109424. };
  109425. A.updateSourceSpanPrototype_closure1.prototype = {
  109426. call$1(span) {
  109427. return span.get$end(span);
  109428. },
  109429. $signature: 223
  109430. };
  109431. A.updateSourceSpanPrototype_closure2.prototype = {
  109432. call$1(span) {
  109433. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  109434. },
  109435. $signature: 533
  109436. };
  109437. A.updateSourceSpanPrototype_closure3.prototype = {
  109438. call$1(span) {
  109439. return span.get$text();
  109440. },
  109441. $signature: 256
  109442. };
  109443. A.updateSourceSpanPrototype_closure4.prototype = {
  109444. call$1(span) {
  109445. return span.get$context(span);
  109446. },
  109447. $signature: 256
  109448. };
  109449. A.updateSourceSpanPrototype_closure5.prototype = {
  109450. call$1($location) {
  109451. return $location.get$line();
  109452. },
  109453. $signature: 246
  109454. };
  109455. A.updateSourceSpanPrototype_closure6.prototype = {
  109456. call$1($location) {
  109457. return $location.get$column();
  109458. },
  109459. $signature: 246
  109460. };
  109461. A.StatementSearchVisitor0.prototype = {
  109462. visitAtRootRule$1(node) {
  109463. return this.visitChildren$1(node.children);
  109464. },
  109465. visitAtRule$1(node) {
  109466. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  109467. },
  109468. visitContentBlock$1(node) {
  109469. return this.visitChildren$1(node.children);
  109470. },
  109471. visitContentRule$1(node) {
  109472. return null;
  109473. },
  109474. visitDebugRule$1(node) {
  109475. return null;
  109476. },
  109477. visitDeclaration$1(node) {
  109478. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  109479. },
  109480. visitEachRule$1(node) {
  109481. return this.visitChildren$1(node.children);
  109482. },
  109483. visitErrorRule$1(node) {
  109484. return null;
  109485. },
  109486. visitExtendRule$1(node) {
  109487. return null;
  109488. },
  109489. visitForRule$1(node) {
  109490. return this.visitChildren$1(node.children);
  109491. },
  109492. visitForwardRule$1(node) {
  109493. return null;
  109494. },
  109495. visitFunctionRule$1(node) {
  109496. return this.visitChildren$1(node.children);
  109497. },
  109498. visitIfRule$1(node) {
  109499. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  109500. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  109501. },
  109502. visitImportRule$1(node) {
  109503. return null;
  109504. },
  109505. visitIncludeRule$1(node) {
  109506. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  109507. },
  109508. visitLoudComment$1(node) {
  109509. return null;
  109510. },
  109511. visitMediaRule$1(node) {
  109512. return this.visitChildren$1(node.children);
  109513. },
  109514. visitMixinRule$1(node) {
  109515. return this.visitChildren$1(node.children);
  109516. },
  109517. visitReturnRule$1(node) {
  109518. return null;
  109519. },
  109520. visitSilentComment$1(node) {
  109521. return null;
  109522. },
  109523. visitStyleRule$1(node) {
  109524. return this.visitChildren$1(node.children);
  109525. },
  109526. visitStylesheet$1(node) {
  109527. return this.visitChildren$1(node.children);
  109528. },
  109529. visitSupportsRule$1(node) {
  109530. return this.visitChildren$1(node.children);
  109531. },
  109532. visitUseRule$1(node) {
  109533. return null;
  109534. },
  109535. visitVariableDeclaration$1(node) {
  109536. return null;
  109537. },
  109538. visitWarnRule$1(node) {
  109539. return null;
  109540. },
  109541. visitWhileRule$1(node) {
  109542. return this.visitChildren$1(node.children);
  109543. },
  109544. visitChildren$1(children) {
  109545. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  109546. }
  109547. };
  109548. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  109549. call$1(clause) {
  109550. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  109551. },
  109552. $signature() {
  109553. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  109554. }
  109555. };
  109556. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  109557. call$1(child) {
  109558. return child.accept$1(this.$this);
  109559. },
  109560. $signature() {
  109561. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  109562. }
  109563. };
  109564. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  109565. call$1(lastClause) {
  109566. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  109567. },
  109568. $signature() {
  109569. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  109570. }
  109571. };
  109572. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  109573. call$1(child) {
  109574. return child.accept$1(this.$this);
  109575. },
  109576. $signature() {
  109577. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  109578. }
  109579. };
  109580. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  109581. call$1(child) {
  109582. return child.accept$1(this.$this);
  109583. },
  109584. $signature() {
  109585. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  109586. }
  109587. };
  109588. A.StaticImport0.prototype = {
  109589. toString$0(_) {
  109590. var t1 = this.url.toString$0(0),
  109591. t2 = this.modifiers;
  109592. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  109593. },
  109594. $isImport0: 1,
  109595. $isAstNode0: 1,
  109596. get$span(receiver) {
  109597. return this.span;
  109598. }
  109599. };
  109600. A.StderrLogger0.prototype = {
  109601. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  109602. var t2,
  109603. result = new A.StringBuffer(""),
  109604. t1 = this.color;
  109605. if (t1) {
  109606. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  109607. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  109608. } else
  109609. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  109610. if (span == null)
  109611. t1 = result._contents = t2 + (": " + message + "\n");
  109612. else if (trace != null) {
  109613. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  109614. result._contents = t1;
  109615. } else {
  109616. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  109617. result._contents = t1;
  109618. }
  109619. if (trace != null)
  109620. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  109621. A.printError0(result);
  109622. },
  109623. warn$1(_, message) {
  109624. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  109625. },
  109626. warn$3$span$trace(_, message, span, trace) {
  109627. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  109628. },
  109629. warn$2$span(_, message, span) {
  109630. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  109631. },
  109632. warn$2$trace(_, message, trace) {
  109633. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  109634. },
  109635. debug$2(_, message, span) {
  109636. var url, t3, t4,
  109637. t1 = span.file,
  109638. t2 = span._file$_start;
  109639. if (A.FileLocation$_(t1, t2).file.url == null)
  109640. url = "-";
  109641. else {
  109642. t3 = A.FileLocation$_(t1, t2).file.url;
  109643. t4 = $.$get$context();
  109644. t3.toString;
  109645. url = t4.prettyUri$1(t3);
  109646. }
  109647. t1 = A.FileLocation$_(t1, t2);
  109648. t1 = t1.file.getLine$1(t1.offset);
  109649. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  109650. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  109651. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  109652. }
  109653. };
  109654. A.StringExpression0.prototype = {
  109655. get$span(_) {
  109656. return this.text.span;
  109657. },
  109658. accept$1$1(visitor) {
  109659. return visitor.visitStringExpression$1(this);
  109660. },
  109661. accept$1(visitor) {
  109662. return this.accept$1$1(visitor, type$.dynamic);
  109663. },
  109664. asInterpolation$1$static($static) {
  109665. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  109666. if (!this.hasQuotes)
  109667. return this.text;
  109668. t1 = this.text;
  109669. t2 = t1.contents;
  109670. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  109671. t3 = new A.StringBuffer("");
  109672. t4 = A._setArrayType([], type$.JSArray_Object);
  109673. buffer = new A.InterpolationBuffer0(t3, t4);
  109674. t3._contents += A.Primitives_stringFromCharCode(quote);
  109675. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  109676. value = t2[_i];
  109677. if (t6._is(value)) {
  109678. buffer._interpolation_buffer0$_flushText$0();
  109679. t4.push(value);
  109680. continue;
  109681. }
  109682. if (typeof value == "string")
  109683. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  109684. }
  109685. t3._contents += A.Primitives_stringFromCharCode(quote);
  109686. return buffer.interpolation$1(t1.span);
  109687. },
  109688. asInterpolation$0() {
  109689. return this.asInterpolation$1$static(false);
  109690. },
  109691. toString$0(_) {
  109692. return this.asInterpolation$0().toString$0(0);
  109693. },
  109694. $isExpression0: 1,
  109695. $isAstNode0: 1
  109696. };
  109697. A.module_closure10.prototype = {
  109698. call$1($arguments) {
  109699. var limit, t2, chunks, i, lastEnd, match, t3,
  109700. t1 = J.getInterceptor$asx($arguments),
  109701. string = t1.$index($arguments, 0).assertString$1("string"),
  109702. separator = t1.$index($arguments, 1).assertString$1("separator");
  109703. t1 = t1.$index($arguments, 2).get$realNull();
  109704. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  109705. if (limit != null && limit < 1)
  109706. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  109707. t1 = string._string0$_text;
  109708. if (t1.length === 0)
  109709. return B.SassList_Sof2;
  109710. else {
  109711. t2 = separator._string0$_text;
  109712. if (t2.length === 0)
  109713. 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);
  109714. }
  109715. chunks = A._setArrayType([], type$.JSArray_String);
  109716. 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();) {
  109717. match = t2.__js_helper$_current;
  109718. t3 = match.start;
  109719. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  109720. lastEnd = t3 + match.pattern.length;
  109721. ++i;
  109722. if (i === limit)
  109723. break;
  109724. }
  109725. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  109726. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_rXA0, true);
  109727. },
  109728. $signature: 22
  109729. };
  109730. A.module__closure2.prototype = {
  109731. call$1(rune) {
  109732. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  109733. },
  109734. $signature: 536
  109735. };
  109736. A.module__closure3.prototype = {
  109737. call$1(chunk) {
  109738. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  109739. },
  109740. $signature: 537
  109741. };
  109742. A._unquote_closure0.prototype = {
  109743. call$1($arguments) {
  109744. var string = J.$index$asx($arguments, 0).assertString$1("string");
  109745. if (!string._string0$_hasQuotes)
  109746. return string;
  109747. return new A.SassString0(string._string0$_text, false);
  109748. },
  109749. $signature: 17
  109750. };
  109751. A._quote_closure0.prototype = {
  109752. call$1($arguments) {
  109753. var string = J.$index$asx($arguments, 0).assertString$1("string");
  109754. if (string._string0$_hasQuotes)
  109755. return string;
  109756. return new A.SassString0(string._string0$_text, true);
  109757. },
  109758. $signature: 17
  109759. };
  109760. A._length_closure1.prototype = {
  109761. call$1($arguments) {
  109762. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  109763. },
  109764. $signature: 11
  109765. };
  109766. A._insert_closure0.prototype = {
  109767. call$1($arguments) {
  109768. var indexInt, codeUnitIndex, _s5_ = "index",
  109769. t1 = J.getInterceptor$asx($arguments),
  109770. string = t1.$index($arguments, 0).assertString$1("string"),
  109771. insert = t1.$index($arguments, 1).assertString$1("insert"),
  109772. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  109773. index.assertNoUnits$1(_s5_);
  109774. indexInt = index.assertInt$1(_s5_);
  109775. if (indexInt < 0)
  109776. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  109777. t1 = string._string0$_text;
  109778. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  109779. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  109780. },
  109781. $signature: 17
  109782. };
  109783. A._index_closure1.prototype = {
  109784. call$1($arguments) {
  109785. var t1 = J.getInterceptor$asx($arguments),
  109786. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  109787. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  109788. if (codeUnitIndex === -1)
  109789. return B.C__SassNull0;
  109790. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  109791. },
  109792. $signature: 3
  109793. };
  109794. A._slice_closure0.prototype = {
  109795. call$1($arguments) {
  109796. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  109797. _s8_ = "start-at",
  109798. t1 = J.getInterceptor$asx($arguments),
  109799. string = t1.$index($arguments, 0).assertString$1("string"),
  109800. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  109801. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  109802. start.assertNoUnits$1(_s8_);
  109803. end.assertNoUnits$1("end-at");
  109804. lengthInCodepoints = string.get$_string0$_sassLength();
  109805. endInt = end.assertInt$0();
  109806. if (endInt === 0)
  109807. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  109808. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  109809. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  109810. if (endCodepoint === lengthInCodepoints)
  109811. --endCodepoint;
  109812. if (endCodepoint < startCodepoint)
  109813. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  109814. t1 = string._string0$_text;
  109815. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  109816. },
  109817. $signature: 17
  109818. };
  109819. A._toUpperCase_closure0.prototype = {
  109820. call$1($arguments) {
  109821. var t1, t2, i, t3, t4,
  109822. string = J.$index$asx($arguments, 0).assertString$1("string");
  109823. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  109824. t4 = t1.charCodeAt(i);
  109825. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  109826. }
  109827. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  109828. },
  109829. $signature: 17
  109830. };
  109831. A._toLowerCase_closure0.prototype = {
  109832. call$1($arguments) {
  109833. var t1, t2, i, t3, t4,
  109834. string = J.$index$asx($arguments, 0).assertString$1("string");
  109835. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  109836. t4 = t1.charCodeAt(i);
  109837. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  109838. }
  109839. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  109840. },
  109841. $signature: 17
  109842. };
  109843. A._uniqueId_closure0.prototype = {
  109844. call$1($arguments) {
  109845. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  109846. $._previousUniqueId0 = t1;
  109847. if (t1 > Math.pow(36, 6))
  109848. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  109849. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  109850. },
  109851. $signature: 17
  109852. };
  109853. A.stringClass_closure.prototype = {
  109854. call$0() {
  109855. var t2,
  109856. t1 = type$.JSClass,
  109857. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  109858. 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));
  109859. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  109860. t2 = $.$get$_emptyQuoted0();
  109861. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  109862. return jsClass;
  109863. },
  109864. $signature: 13
  109865. };
  109866. A.stringClass__closure.prototype = {
  109867. call$3($self, textOrOptions, options) {
  109868. var t1;
  109869. if (typeof textOrOptions == "string") {
  109870. t1 = options == null ? null : J.get$quotes$x(options);
  109871. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  109872. } else {
  109873. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  109874. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  109875. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  109876. }
  109877. return t1;
  109878. },
  109879. call$1($self) {
  109880. return this.call$3($self, null, null);
  109881. },
  109882. call$2($self, textOrOptions) {
  109883. return this.call$3($self, textOrOptions, null);
  109884. },
  109885. "call*": "call$3",
  109886. $requiredArgCount: 1,
  109887. $defaultValues() {
  109888. return [null, null];
  109889. },
  109890. $signature: 538
  109891. };
  109892. A.stringClass__closure0.prototype = {
  109893. call$1($self) {
  109894. return $self._string0$_text;
  109895. },
  109896. $signature: 539
  109897. };
  109898. A.stringClass__closure1.prototype = {
  109899. call$1($self) {
  109900. return $self._string0$_hasQuotes;
  109901. },
  109902. $signature: 540
  109903. };
  109904. A.stringClass__closure2.prototype = {
  109905. call$1($self) {
  109906. return $self.get$_string0$_sassLength();
  109907. },
  109908. $signature: 541
  109909. };
  109910. A.stringClass__closure3.prototype = {
  109911. call$3($self, sassIndex, $name) {
  109912. var t1,
  109913. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  109914. if (index === 0)
  109915. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  109916. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  109917. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  109918. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  109919. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  109920. },
  109921. call$2($self, sassIndex) {
  109922. return this.call$3($self, sassIndex, null);
  109923. },
  109924. "call*": "call$3",
  109925. $requiredArgCount: 2,
  109926. $defaultValues() {
  109927. return [null];
  109928. },
  109929. $signature: 542
  109930. };
  109931. A._ConstructorOptions1.prototype = {};
  109932. A._NodeSassString.prototype = {};
  109933. A.legacyStringClass_closure.prototype = {
  109934. call$3(thisArg, value, dartValue) {
  109935. var t1;
  109936. if (dartValue == null) {
  109937. value.toString;
  109938. t1 = new A.SassString0(value, false);
  109939. } else
  109940. t1 = dartValue;
  109941. J.set$dartValue$x(thisArg, t1);
  109942. },
  109943. call$2(thisArg, value) {
  109944. return this.call$3(thisArg, value, null);
  109945. },
  109946. "call*": "call$3",
  109947. $requiredArgCount: 2,
  109948. $defaultValues() {
  109949. return [null];
  109950. },
  109951. $signature: 543
  109952. };
  109953. A.legacyStringClass_closure0.prototype = {
  109954. call$1(thisArg) {
  109955. return J.get$dartValue$x(thisArg)._string0$_text;
  109956. },
  109957. $signature: 544
  109958. };
  109959. A.legacyStringClass_closure1.prototype = {
  109960. call$2(thisArg, value) {
  109961. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  109962. },
  109963. $signature: 545
  109964. };
  109965. A.SassString0.prototype = {
  109966. get$_string0$_sassLength() {
  109967. var result, _this = this,
  109968. value = _this._string0$__SassString__sassLength_FI;
  109969. if (value === $) {
  109970. result = new A.Runes(_this._string0$_text).get$length(0);
  109971. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  109972. _this._string0$__SassString__sassLength_FI = result;
  109973. value = result;
  109974. }
  109975. return value;
  109976. },
  109977. get$isSpecialNumber() {
  109978. var t1, _2_0, _0_0, _1_0;
  109979. if (this._string0$_hasQuotes)
  109980. return false;
  109981. t1 = this._string0$_text;
  109982. if (t1.length < 6)
  109983. return false;
  109984. _2_0 = t1.charCodeAt(0);
  109985. $label1$1: {
  109986. if (99 === _2_0 || 67 === _2_0) {
  109987. _0_0 = t1.charCodeAt(1);
  109988. $label0$0: {
  109989. if (108 === _0_0 || 76 === _0_0) {
  109990. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  109991. break $label0$0;
  109992. }
  109993. if (97 === _0_0 || 65 === _0_0) {
  109994. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  109995. break $label0$0;
  109996. }
  109997. t1 = false;
  109998. break $label0$0;
  109999. }
  110000. break $label1$1;
  110001. }
  110002. if (118 === _2_0 || 86 === _2_0) {
  110003. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110004. break $label1$1;
  110005. }
  110006. if (101 === _2_0 || 69 === _2_0) {
  110007. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  110008. break $label1$1;
  110009. }
  110010. if (109 === _2_0 || 77 === _2_0) {
  110011. _1_0 = t1.charCodeAt(1);
  110012. $label2$2: {
  110013. if (97 === _1_0 || 65 === _1_0) {
  110014. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  110015. break $label2$2;
  110016. }
  110017. if (105 === _1_0 || 73 === _1_0) {
  110018. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  110019. break $label2$2;
  110020. }
  110021. t1 = false;
  110022. break $label2$2;
  110023. }
  110024. break $label1$1;
  110025. }
  110026. t1 = false;
  110027. break $label1$1;
  110028. }
  110029. return t1;
  110030. },
  110031. get$isVar() {
  110032. if (this._string0$_hasQuotes)
  110033. return false;
  110034. var t1 = this._string0$_text;
  110035. if (t1.length < 8)
  110036. return false;
  110037. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110038. },
  110039. get$isBlank() {
  110040. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  110041. },
  110042. accept$1$1(visitor) {
  110043. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  110044. t2 = this._string0$_text;
  110045. if (t1)
  110046. visitor._serialize0$_visitQuotedString$1(t2);
  110047. else
  110048. visitor._serialize0$_visitUnquotedString$1(t2);
  110049. return null;
  110050. },
  110051. accept$1(visitor) {
  110052. return this.accept$1$1(visitor, type$.dynamic);
  110053. },
  110054. assertString$1($name) {
  110055. return this;
  110056. },
  110057. plus$1(other) {
  110058. var t1 = this._string0$_text,
  110059. t2 = this._string0$_hasQuotes;
  110060. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  110061. },
  110062. $eq(_, other) {
  110063. if (other == null)
  110064. return false;
  110065. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  110066. },
  110067. get$hashCode(_) {
  110068. var t1 = this._string0$_hashCache;
  110069. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  110070. }
  110071. };
  110072. A.ModifiableCssStyleRule0.prototype = {
  110073. accept$1$1(visitor) {
  110074. return visitor.visitCssStyleRule$1(this);
  110075. },
  110076. accept$1(visitor) {
  110077. return this.accept$1$1(visitor, type$.dynamic);
  110078. },
  110079. equalsIgnoringChildren$1(other) {
  110080. var t1;
  110081. if (other instanceof A.ModifiableCssStyleRule0)
  110082. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  110083. else
  110084. t1 = false;
  110085. return t1;
  110086. },
  110087. copyWithoutChildren$0() {
  110088. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, this.originalSelector);
  110089. },
  110090. get$span(receiver) {
  110091. return this.span;
  110092. }
  110093. };
  110094. A.StyleRule0.prototype = {
  110095. accept$1$1(visitor) {
  110096. return visitor.visitStyleRule$1(this);
  110097. },
  110098. accept$1(visitor) {
  110099. return this.accept$1$1(visitor, type$.dynamic);
  110100. },
  110101. toString$0(_) {
  110102. var t1 = this.children;
  110103. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110104. },
  110105. get$span(receiver) {
  110106. return this.span;
  110107. }
  110108. };
  110109. A.CssStylesheet0.prototype = {
  110110. get$isGroupEnd() {
  110111. return false;
  110112. },
  110113. get$isChildless() {
  110114. return false;
  110115. },
  110116. accept$1$1(visitor) {
  110117. return visitor.visitCssStylesheet$1(this);
  110118. },
  110119. accept$1(visitor) {
  110120. return this.accept$1$1(visitor, type$.dynamic);
  110121. },
  110122. get$children(receiver) {
  110123. return this.children;
  110124. },
  110125. get$span(receiver) {
  110126. return this.span;
  110127. }
  110128. };
  110129. A.ModifiableCssStylesheet0.prototype = {
  110130. accept$1$1(visitor) {
  110131. return visitor.visitCssStylesheet$1(this);
  110132. },
  110133. accept$1(visitor) {
  110134. return this.accept$1$1(visitor, type$.dynamic);
  110135. },
  110136. equalsIgnoringChildren$1(other) {
  110137. return other instanceof A.ModifiableCssStylesheet0;
  110138. },
  110139. copyWithoutChildren$0() {
  110140. return A.ModifiableCssStylesheet$0(this.span);
  110141. },
  110142. $isCssStylesheet0: 1,
  110143. get$span(receiver) {
  110144. return this.span;
  110145. }
  110146. };
  110147. A.StylesheetParser0.prototype = {
  110148. parse$0() {
  110149. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  110150. },
  110151. parseArgumentDeclaration$0() {
  110152. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  110153. },
  110154. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  110155. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  110156. },
  110157. parseSignature$1$requireParens(requireParens) {
  110158. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  110159. },
  110160. _stylesheet0$_statement$1$root(root) {
  110161. var t2, _this = this,
  110162. t1 = _this.scanner,
  110163. _0_0 = t1.peekChar$0();
  110164. if (64 === _0_0)
  110165. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  110166. if (43 === _0_0) {
  110167. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  110168. return _this._stylesheet0$_styleRule$0();
  110169. _this._stylesheet0$_isUseAllowed = false;
  110170. t2 = t1._string_scanner$_position;
  110171. t1.readChar$0();
  110172. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  110173. }
  110174. if (61 === _0_0) {
  110175. if (!_this.get$indented())
  110176. return _this._stylesheet0$_styleRule$0();
  110177. _this._stylesheet0$_isUseAllowed = false;
  110178. t2 = t1._string_scanner$_position;
  110179. t1.readChar$0();
  110180. _this.whitespace$0();
  110181. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  110182. }
  110183. if (125 === _0_0)
  110184. t1.error$2$length(0, 'unmatched "}".', 1);
  110185. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  110186. },
  110187. _stylesheet0$_statement$0() {
  110188. return this._stylesheet0$_statement$1$root(false);
  110189. },
  110190. variableDeclarationWithoutNamespace$2(namespace, start_) {
  110191. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  110192. precedingComment = _this.lastSilentComment;
  110193. _this.lastSilentComment = null;
  110194. if (start_ == null) {
  110195. t1 = _this.scanner;
  110196. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110197. } else
  110198. start = start_;
  110199. $name = _this.variableName$0();
  110200. t1 = namespace != null;
  110201. if (t1)
  110202. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  110203. if (_this.get$plainCss())
  110204. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  110205. _this.whitespace$0();
  110206. t2 = _this.scanner;
  110207. t2.expectChar$1(58);
  110208. _this.whitespace$0();
  110209. value = _this._stylesheet0$_expression$0();
  110210. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110211. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  110212. $label0$0: {
  110213. _0_0 = _this.identifier$0();
  110214. if ("default" === _0_0) {
  110215. if (guarded) {
  110216. endPosition = t2._string_scanner$_position;
  110217. t4 = t2._sourceFile;
  110218. t5 = flagStart.position;
  110219. t6 = new A._FileSpan(t4, t5, endPosition);
  110220. t6._FileSpan$3(t4, t5, endPosition);
  110221. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_ynv, string$.x21defau, t6, null);
  110222. }
  110223. guarded = true;
  110224. break $label0$0;
  110225. }
  110226. if ("global" === _0_0) {
  110227. if (t1) {
  110228. endPosition = t2._string_scanner$_position;
  110229. t4 = t2._sourceFile;
  110230. t5 = flagStart.position;
  110231. t6 = new A._FileSpan(t4, t5, endPosition);
  110232. t6._FileSpan$3(t4, t5, endPosition);
  110233. _this.error$2(0, string$.x21globai, t6);
  110234. } else if (global) {
  110235. endPosition = t2._string_scanner$_position;
  110236. t4 = t2._sourceFile;
  110237. t5 = flagStart.position;
  110238. t6 = new A._FileSpan(t4, t5, endPosition);
  110239. t6._FileSpan$3(t4, t5, endPosition);
  110240. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_ynv, string$.x21globas, t6, null);
  110241. }
  110242. global = true;
  110243. break $label0$0;
  110244. }
  110245. endPosition = t2._string_scanner$_position;
  110246. t4 = t2._sourceFile;
  110247. t5 = flagStart.position;
  110248. t6 = new A._FileSpan(t4, t5, endPosition);
  110249. t6._FileSpan$3(t4, t5, endPosition);
  110250. _this.error$2(0, "Invalid flag name.", t6);
  110251. }
  110252. _this.whitespace$0();
  110253. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110254. }
  110255. _this.expectStatementSeparator$1("variable declaration");
  110256. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  110257. if (global)
  110258. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  110259. return declaration;
  110260. },
  110261. variableDeclarationWithoutNamespace$0() {
  110262. return this.variableDeclarationWithoutNamespace$2(null, null);
  110263. },
  110264. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  110265. var t1, t2, variableOrInterpolation, t3, _this = this;
  110266. if (_this.get$plainCss())
  110267. return _this._stylesheet0$_styleRule$0();
  110268. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  110269. return _this._stylesheet0$_styleRule$0();
  110270. if (!_this.lookingAtIdentifier$0())
  110271. return _this._stylesheet0$_styleRule$0();
  110272. t1 = _this.scanner;
  110273. t2 = t1._string_scanner$_position;
  110274. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110275. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110276. t1 = variableOrInterpolation;
  110277. else {
  110278. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  110279. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  110280. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  110281. t1 = t2;
  110282. }
  110283. return t1;
  110284. },
  110285. _stylesheet0$_declarationOrStyleRule$0() {
  110286. var t1, t2, declarationOrBuffer, _this = this;
  110287. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  110288. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  110289. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  110290. return _this._stylesheet0$_styleRule$0();
  110291. t1 = _this.scanner;
  110292. t2 = t1._string_scanner$_position;
  110293. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  110294. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  110295. },
  110296. _stylesheet0$_declarationOrBuffer$0() {
  110297. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  110298. t2 = _this.scanner,
  110299. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  110300. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  110301. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  110302. t3 = t2.readChar$0();
  110303. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  110304. t3 = _this.rawText$1(_this.get$whitespace());
  110305. nameBuffer._interpolation_buffer0$_text._contents += t3;
  110306. startsWithPunctuation = true;
  110307. } else
  110308. startsWithPunctuation = false;
  110309. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  110310. return nameBuffer;
  110311. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110312. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110313. return variableOrInterpolation;
  110314. else
  110315. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  110316. _this._stylesheet0$_isUseAllowed = false;
  110317. if (t2.matches$1("/*")) {
  110318. t3 = _this.rawText$1(_this.get$loudComment());
  110319. nameBuffer._interpolation_buffer0$_text._contents += t3;
  110320. }
  110321. midBuffer = new A.StringBuffer("");
  110322. t3 = _this.get$whitespace();
  110323. midBuffer._contents += _this.rawText$1(t3);
  110324. t4 = t2._string_scanner$_position;
  110325. if (!t2.scanChar$1(58)) {
  110326. if (midBuffer._contents.length !== 0)
  110327. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  110328. return nameBuffer;
  110329. }
  110330. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  110331. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  110332. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  110333. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  110334. _this.expectStatementSeparator$1("custom property");
  110335. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  110336. }
  110337. if (t2.scanChar$1(58)) {
  110338. t1 = nameBuffer;
  110339. t2 = t1._interpolation_buffer0$_text;
  110340. t2._contents += A.S(midBuffer);
  110341. t2._contents += A.Primitives_stringFromCharCode(58);
  110342. return t1;
  110343. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  110344. t1 = nameBuffer;
  110345. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  110346. return t1;
  110347. }
  110348. postColonWhitespace = _this.rawText$1(t3);
  110349. if (_this.lookingAtChildren$0())
  110350. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  110351. midBuffer._contents += postColonWhitespace;
  110352. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  110353. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110354. t3 = t1.value = null;
  110355. try {
  110356. t3 = t1.value = _this._stylesheet0$_expression$0();
  110357. if (_this.lookingAtChildren$0()) {
  110358. if (couldBeSelector)
  110359. _this.expectStatementSeparator$0();
  110360. } else if (!_this.atEndOfStatement$0())
  110361. _this.expectStatementSeparator$0();
  110362. } catch (exception) {
  110363. if (type$.FormatException._is(A.unwrapException(exception))) {
  110364. if (!couldBeSelector)
  110365. throw exception;
  110366. t2.set$state(beforeDeclaration);
  110367. additional = _this.almostAnyValue$0();
  110368. if (!_this.get$indented() && t2.peekChar$0() === 59)
  110369. throw exception;
  110370. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  110371. nameBuffer.addInterpolation$1(additional);
  110372. return nameBuffer;
  110373. } else
  110374. throw exception;
  110375. }
  110376. if (_this.lookingAtChildren$0())
  110377. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  110378. else {
  110379. _this.expectStatementSeparator$0();
  110380. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  110381. }
  110382. },
  110383. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  110384. var t1, start, identifier, t2, buffer, _this = this;
  110385. if (!_this.lookingAtIdentifier$0())
  110386. return _this.interpolatedIdentifier$0();
  110387. t1 = _this.scanner;
  110388. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110389. identifier = _this.identifier$0();
  110390. if (t1.matches$1(".$")) {
  110391. t1.readChar$0();
  110392. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  110393. } else {
  110394. t2 = new A.StringBuffer("");
  110395. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  110396. t2._contents = "" + identifier;
  110397. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  110398. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  110399. return buffer.interpolation$1(t1.spanFrom$1(start));
  110400. }
  110401. },
  110402. _stylesheet0$_styleRule$2(buffer, start_) {
  110403. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  110404. _this._stylesheet0$_isUseAllowed = false;
  110405. if (start_ == null) {
  110406. t2 = _this.scanner;
  110407. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110408. } else
  110409. start = start_;
  110410. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  110411. if (buffer != null) {
  110412. buffer.addInterpolation$1(interpolation);
  110413. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  110414. } else
  110415. t2 = interpolation;
  110416. if (t2.contents.length === 0)
  110417. _this.scanner.error$1(0, 'expected "}".');
  110418. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  110419. _this._stylesheet0$_inStyleRule = true;
  110420. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  110421. },
  110422. _stylesheet0$_styleRule$0() {
  110423. return this._stylesheet0$_styleRule$2(null, null);
  110424. },
  110425. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  110426. var t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  110427. _s48_ = string$.Nested,
  110428. t1 = {},
  110429. t2 = _this.scanner,
  110430. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110431. t1.name = null;
  110432. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  110433. t3 = new A.StringBuffer("");
  110434. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  110435. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  110436. t3._contents += _this.rawText$1(_this.get$whitespace());
  110437. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  110438. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  110439. } else if (!_this.get$plainCss()) {
  110440. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110441. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110442. return variableOrInterpolation;
  110443. else {
  110444. type$.Interpolation_2._as(variableOrInterpolation);
  110445. t1.name = variableOrInterpolation;
  110446. }
  110447. t3 = variableOrInterpolation;
  110448. } else {
  110449. $name = _this.interpolatedIdentifier$0();
  110450. t1.name = $name;
  110451. t3 = $name;
  110452. }
  110453. _this.whitespace$0();
  110454. t2.expectChar$1(58);
  110455. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  110456. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  110457. _this.expectStatementSeparator$1("custom property");
  110458. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  110459. }
  110460. _this.whitespace$0();
  110461. if (_this.lookingAtChildren$0()) {
  110462. if (_this.get$plainCss())
  110463. t2.error$1(0, _s48_);
  110464. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  110465. }
  110466. value = _this._stylesheet0$_expression$0();
  110467. if (_this.lookingAtChildren$0()) {
  110468. if (_this.get$plainCss())
  110469. t2.error$1(0, _s48_);
  110470. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  110471. } else {
  110472. _this.expectStatementSeparator$0();
  110473. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  110474. }
  110475. },
  110476. _stylesheet0$_propertyOrVariableDeclaration$0() {
  110477. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  110478. },
  110479. _stylesheet0$_declarationChild$0() {
  110480. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  110481. },
  110482. atRule$2$root(child, root) {
  110483. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  110484. _s9_ = "@use rule",
  110485. t1 = _this.scanner,
  110486. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110487. t1.expectChar$2$name(64, "@-rule");
  110488. $name = _this.interpolatedIdentifier$0();
  110489. _this.whitespace$0();
  110490. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  110491. _this._stylesheet0$_isUseAllowed = false;
  110492. switch ($name.get$asPlain()) {
  110493. case "at-root":
  110494. return _this._stylesheet0$_atRootRule$1(start);
  110495. case "content":
  110496. return _this._stylesheet0$_contentRule$1(start);
  110497. case "debug":
  110498. return _this._stylesheet0$_debugRule$1(start);
  110499. case "each":
  110500. return _this._stylesheet0$_eachRule$2(start, child);
  110501. case "else":
  110502. return _this._stylesheet0$_disallowedAtRule$1(start);
  110503. case "error":
  110504. return _this._stylesheet0$_errorRule$1(start);
  110505. case "extend":
  110506. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  110507. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  110508. value = _this.almostAnyValue$0();
  110509. optional = t1.scanChar$1(33);
  110510. if (optional)
  110511. _this.expectIdentifier$1("optional");
  110512. _this.expectStatementSeparator$1("@extend rule");
  110513. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  110514. case "for":
  110515. return _this._stylesheet0$_forRule$2(start, child);
  110516. case "forward":
  110517. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  110518. if (!root)
  110519. _this._stylesheet0$_disallowedAtRule$1(start);
  110520. return _this._stylesheet0$_forwardRule$1(start);
  110521. case "function":
  110522. return _this._stylesheet0$_functionRule$1(start);
  110523. case "if":
  110524. return _this._stylesheet0$_ifRule$2(start, child);
  110525. case "import":
  110526. return _this._stylesheet0$_importRule$1(start);
  110527. case "include":
  110528. return _this._stylesheet0$_includeRule$1(start);
  110529. case "media":
  110530. return _this.mediaRule$1(start);
  110531. case "mixin":
  110532. return _this._stylesheet0$_mixinRule$1(start);
  110533. case "-moz-document":
  110534. return _this.mozDocumentRule$2(start, $name);
  110535. case "return":
  110536. return _this._stylesheet0$_disallowedAtRule$1(start);
  110537. case "supports":
  110538. return _this.supportsRule$1(start);
  110539. case "use":
  110540. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  110541. if (!root)
  110542. _this._stylesheet0$_disallowedAtRule$1(start);
  110543. url = _this._stylesheet0$_urlString$0();
  110544. _this.whitespace$0();
  110545. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  110546. _this.whitespace$0();
  110547. configuration = _this._stylesheet0$_configuration$0();
  110548. _this.expectStatementSeparator$1(_s9_);
  110549. span = t1.spanFrom$1(start);
  110550. if (!_this._stylesheet0$_isUseAllowed)
  110551. _this.error$2(0, string$.x40use_r, span);
  110552. _this.expectStatementSeparator$1(_s9_);
  110553. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  110554. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  110555. return t1;
  110556. case "warn":
  110557. return _this._stylesheet0$_warnRule$1(start);
  110558. case "while":
  110559. return _this._stylesheet0$_whileRule$2(start, child);
  110560. default:
  110561. return _this.unknownAtRule$2(start, $name);
  110562. }
  110563. },
  110564. _stylesheet0$_declarationAtRule$0() {
  110565. var _this = this,
  110566. t1 = _this.scanner,
  110567. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  110568. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  110569. $label0$0: {
  110570. if ("content" === _0_0) {
  110571. t1 = _this._stylesheet0$_contentRule$1(start);
  110572. break $label0$0;
  110573. }
  110574. if ("debug" === _0_0) {
  110575. t1 = _this._stylesheet0$_debugRule$1(start);
  110576. break $label0$0;
  110577. }
  110578. if ("each" === _0_0) {
  110579. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  110580. break $label0$0;
  110581. }
  110582. if ("else" === _0_0)
  110583. _this._stylesheet0$_disallowedAtRule$1(start);
  110584. if ("error" === _0_0) {
  110585. t1 = _this._stylesheet0$_errorRule$1(start);
  110586. break $label0$0;
  110587. }
  110588. if ("for" === _0_0) {
  110589. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  110590. break $label0$0;
  110591. }
  110592. if ("if" === _0_0) {
  110593. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  110594. break $label0$0;
  110595. }
  110596. if ("include" === _0_0) {
  110597. t1 = _this._stylesheet0$_includeRule$1(start);
  110598. break $label0$0;
  110599. }
  110600. if ("warn" === _0_0) {
  110601. t1 = _this._stylesheet0$_warnRule$1(start);
  110602. break $label0$0;
  110603. }
  110604. if ("while" === _0_0) {
  110605. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  110606. break $label0$0;
  110607. }
  110608. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  110609. }
  110610. return t1;
  110611. },
  110612. _stylesheet0$_functionChild$0() {
  110613. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  110614. t1 = _this.scanner;
  110615. if (t1.peekChar$0() !== 64) {
  110616. t2 = t1._string_scanner$_position;
  110617. state = new A._SpanScannerState(t1, t2);
  110618. try {
  110619. namespace = _this.identifier$0();
  110620. t1.expectChar$1(46);
  110621. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  110622. return t2;
  110623. } catch (exception) {
  110624. t2 = A.unwrapException(exception);
  110625. t3 = type$.SourceSpanFormatException;
  110626. if (t3._is(t2)) {
  110627. variableDeclarationError = t2;
  110628. stackTrace = A.getTraceFromException(exception);
  110629. t1.set$state(state);
  110630. statement = null;
  110631. try {
  110632. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  110633. } catch (exception) {
  110634. if (t3._is(A.unwrapException(exception)))
  110635. throw A.wrapException(variableDeclarationError);
  110636. else
  110637. throw exception;
  110638. }
  110639. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  110640. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  110641. } else
  110642. throw exception;
  110643. }
  110644. }
  110645. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110646. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  110647. $label0$0: {
  110648. if ("debug" === _0_0) {
  110649. t1 = _this._stylesheet0$_debugRule$1(start);
  110650. break $label0$0;
  110651. }
  110652. if ("each" === _0_0) {
  110653. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  110654. break $label0$0;
  110655. }
  110656. if ("else" === _0_0)
  110657. _this._stylesheet0$_disallowedAtRule$1(start);
  110658. if ("error" === _0_0) {
  110659. t1 = _this._stylesheet0$_errorRule$1(start);
  110660. break $label0$0;
  110661. }
  110662. if ("for" === _0_0) {
  110663. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  110664. break $label0$0;
  110665. }
  110666. if ("if" === _0_0) {
  110667. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  110668. break $label0$0;
  110669. }
  110670. if ("return" === _0_0) {
  110671. value = _this._stylesheet0$_expression$0();
  110672. _this.expectStatementSeparator$1("@return rule");
  110673. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  110674. break $label0$0;
  110675. }
  110676. if ("warn" === _0_0) {
  110677. t1 = _this._stylesheet0$_warnRule$1(start);
  110678. break $label0$0;
  110679. }
  110680. if ("while" === _0_0) {
  110681. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  110682. break $label0$0;
  110683. }
  110684. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  110685. }
  110686. return t1;
  110687. },
  110688. _stylesheet0$_plainAtRuleName$0() {
  110689. this.scanner.expectChar$2$name(64, "@-rule");
  110690. var $name = this.identifier$0();
  110691. this.whitespace$0();
  110692. return $name;
  110693. },
  110694. _stylesheet0$_atRootRule$1(start) {
  110695. var t2, t3, t4, buffer, t5, query, _this = this,
  110696. t1 = _this.scanner;
  110697. if (t1.peekChar$0() === 40) {
  110698. t2 = t1._string_scanner$_position;
  110699. t3 = new A.StringBuffer("");
  110700. t4 = A._setArrayType([], type$.JSArray_Object);
  110701. buffer = new A.InterpolationBuffer0(t3, t4);
  110702. t1.expectChar$1(40);
  110703. t3._contents += A.Primitives_stringFromCharCode(40);
  110704. _this.whitespace$0();
  110705. t5 = _this._stylesheet0$_expression$0();
  110706. buffer._interpolation_buffer0$_flushText$0();
  110707. t4.push(t5);
  110708. if (t1.scanChar$1(58)) {
  110709. _this.whitespace$0();
  110710. t3._contents += A.Primitives_stringFromCharCode(58);
  110711. t3._contents += A.Primitives_stringFromCharCode(32);
  110712. t5 = _this._stylesheet0$_expression$0();
  110713. buffer._interpolation_buffer0$_flushText$0();
  110714. t4.push(t5);
  110715. }
  110716. t1.expectChar$1(41);
  110717. _this.whitespace$0();
  110718. t3._contents += A.Primitives_stringFromCharCode(41);
  110719. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  110720. _this.whitespace$0();
  110721. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  110722. } else if (_this.lookingAtChildren$0())
  110723. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  110724. else
  110725. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  110726. },
  110727. _stylesheet0$_contentRule$1(start) {
  110728. var t1, $arguments, t2, t3, _this = this;
  110729. if (!_this._stylesheet0$_inMixin)
  110730. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  110731. _this.whitespace$0();
  110732. t1 = _this.scanner;
  110733. if (t1.peekChar$0() === 40)
  110734. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  110735. else {
  110736. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  110737. t3 = t2.offset;
  110738. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  110739. }
  110740. _this.expectStatementSeparator$1("@content rule");
  110741. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  110742. },
  110743. _stylesheet0$_debugRule$1(start) {
  110744. var value = this._stylesheet0$_expression$0();
  110745. this.expectStatementSeparator$1("@debug rule");
  110746. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  110747. },
  110748. _stylesheet0$_eachRule$2(start, child) {
  110749. var variables, t1, _this = this,
  110750. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  110751. _this._stylesheet0$_inControlDirective = true;
  110752. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  110753. _this.whitespace$0();
  110754. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  110755. _this.whitespace$0();
  110756. t1.expectChar$1(36);
  110757. variables.push(_this.identifier$1$normalize(true));
  110758. _this.whitespace$0();
  110759. }
  110760. _this.expectIdentifier$1("in");
  110761. _this.whitespace$0();
  110762. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  110763. },
  110764. _stylesheet0$_errorRule$1(start) {
  110765. var value = this._stylesheet0$_expression$0();
  110766. this.expectStatementSeparator$1("@error rule");
  110767. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  110768. },
  110769. _stylesheet0$_functionRule$1(start) {
  110770. var $name, $arguments, _0_0, _this = this,
  110771. precedingComment = _this.lastSilentComment;
  110772. _this.lastSilentComment = null;
  110773. $name = _this.identifier$1$normalize(true);
  110774. _this.whitespace$0();
  110775. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  110776. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  110777. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  110778. else if (_this._stylesheet0$_inControlDirective)
  110779. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  110780. _0_0 = A.unvendor0($name);
  110781. 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)
  110782. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  110783. _this.whitespace$0();
  110784. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  110785. },
  110786. _stylesheet0$_forRule$2(start, child) {
  110787. var variable, from, _this = this, t1 = {},
  110788. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  110789. _this._stylesheet0$_inControlDirective = true;
  110790. variable = _this.variableName$0();
  110791. _this.whitespace$0();
  110792. _this.expectIdentifier$1("from");
  110793. _this.whitespace$0();
  110794. t1.exclusive = null;
  110795. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  110796. if (t1.exclusive == null)
  110797. _this.scanner.error$1(0, 'Expected "to" or "through".');
  110798. _this.whitespace$0();
  110799. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  110800. },
  110801. _stylesheet0$_forwardRule$1(start) {
  110802. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  110803. url = _this._stylesheet0$_urlString$0();
  110804. _this.whitespace$0();
  110805. if (_this.scanIdentifier$1("as")) {
  110806. _this.whitespace$0();
  110807. prefix = _this.identifier$1$normalize(true);
  110808. _this.scanner.expectChar$1(42);
  110809. _this.whitespace$0();
  110810. } else
  110811. prefix = _null;
  110812. if (_this.scanIdentifier$1("show")) {
  110813. _0_0 = _this._stylesheet0$_memberList$0();
  110814. shownMixinsAndFunctions = _0_0._0;
  110815. shownVariables = _0_0._1;
  110816. hiddenVariables = _null;
  110817. hiddenMixinsAndFunctions = hiddenVariables;
  110818. } else {
  110819. if (_this.scanIdentifier$1("hide")) {
  110820. _1_0 = _this._stylesheet0$_memberList$0();
  110821. hiddenMixinsAndFunctions = _1_0._0;
  110822. hiddenVariables = _1_0._1;
  110823. } else {
  110824. hiddenVariables = _null;
  110825. hiddenMixinsAndFunctions = hiddenVariables;
  110826. }
  110827. shownVariables = _null;
  110828. shownMixinsAndFunctions = shownVariables;
  110829. }
  110830. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  110831. _this.expectStatementSeparator$1("@forward rule");
  110832. span = _this.scanner.spanFrom$1(start);
  110833. if (!_this._stylesheet0$_isUseAllowed)
  110834. _this.error$2(0, string$.x40forwa, span);
  110835. if (shownMixinsAndFunctions != null) {
  110836. shownVariables.toString;
  110837. t1 = type$.String;
  110838. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  110839. t3 = type$.UnmodifiableSetView_String;
  110840. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  110841. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  110842. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  110843. } else if (hiddenMixinsAndFunctions != null) {
  110844. hiddenVariables.toString;
  110845. t1 = type$.String;
  110846. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  110847. t3 = type$.UnmodifiableSetView_String;
  110848. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  110849. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  110850. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  110851. } else
  110852. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  110853. },
  110854. _stylesheet0$_memberList$0() {
  110855. var _this = this,
  110856. t1 = type$.String,
  110857. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  110858. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  110859. t1 = _this.scanner;
  110860. do {
  110861. _this.whitespace$0();
  110862. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  110863. _this.whitespace$0();
  110864. } while (t1.scanChar$1(44));
  110865. return new A._Record_2(identifiers, variables);
  110866. },
  110867. _stylesheet0$_ifRule$2(start, child) {
  110868. var condition, children, clauses, lastClause, span, _this = this,
  110869. ifIndentation = _this.get$currentIndentation(),
  110870. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  110871. _this._stylesheet0$_inControlDirective = true;
  110872. condition = _this._stylesheet0$_expression$0();
  110873. children = _this.children$1(0, child);
  110874. _this.whitespaceWithoutComments$0();
  110875. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  110876. while (true) {
  110877. if (!_this.scanElse$1(ifIndentation)) {
  110878. lastClause = null;
  110879. break;
  110880. }
  110881. _this.whitespace$0();
  110882. if (_this.scanIdentifier$1("if")) {
  110883. _this.whitespace$0();
  110884. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  110885. } else {
  110886. lastClause = A.ElseClause$0(_this.children$1(0, child));
  110887. break;
  110888. }
  110889. }
  110890. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  110891. span = _this.scanner.spanFrom$1(start);
  110892. _this.whitespaceWithoutComments$0();
  110893. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  110894. },
  110895. _stylesheet0$_importRule$1(start) {
  110896. var argument, t3, _this = this,
  110897. imports = A._setArrayType([], type$.JSArray_Import_2),
  110898. t1 = _this.scanner,
  110899. t2 = _this.logger;
  110900. do {
  110901. _this.whitespace$0();
  110902. argument = _this.importArgument$0();
  110903. t3 = argument instanceof A.DynamicImport0;
  110904. if (t3)
  110905. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_import_true_import, string$.Sass__, argument.span, null);
  110906. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  110907. _this._stylesheet0$_disallowedAtRule$1(start);
  110908. imports.push(argument);
  110909. _this.whitespace$0();
  110910. } while (t1.scanChar$1(44));
  110911. _this.expectStatementSeparator$1("@import rule");
  110912. t1 = t1.spanFrom$1(start);
  110913. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  110914. },
  110915. importArgument$0() {
  110916. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  110917. t1 = _this.scanner,
  110918. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  110919. _0_0 = t1.peekChar$0();
  110920. if (117 === _0_0 || 85 === _0_0) {
  110921. url = _this.dynamicUrl$0();
  110922. _this.whitespace$0();
  110923. modifiers = _this.tryImportModifiers$0();
  110924. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  110925. }
  110926. url = _this.string$0();
  110927. urlSpan = t1.spanFrom$1(start);
  110928. _this.whitespace$0();
  110929. modifiers = _this.tryImportModifiers$0();
  110930. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  110931. t2 = urlSpan;
  110932. 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));
  110933. } else
  110934. try {
  110935. t1 = _this.parseImportUrl$1(url);
  110936. return new A.DynamicImport0(t1, urlSpan);
  110937. } catch (exception) {
  110938. t1 = A.unwrapException(exception);
  110939. if (type$.FormatException._is(t1)) {
  110940. innerError = t1;
  110941. stackTrace = A.getTraceFromException(exception);
  110942. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  110943. } else
  110944. throw exception;
  110945. }
  110946. },
  110947. parseImportUrl$1(url) {
  110948. var t1 = $.$get$windows();
  110949. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  110950. return t1.toUri$1(url).toString$0(0);
  110951. A.Uri_parse(url);
  110952. return url;
  110953. },
  110954. isPlainImportUrl$1(url) {
  110955. var _0_0, t1;
  110956. if (url.length < 5)
  110957. return false;
  110958. if (B.JSString_methods.endsWith$1(url, ".css"))
  110959. return true;
  110960. _0_0 = url.charCodeAt(0);
  110961. $label0$0: {
  110962. if (47 === _0_0) {
  110963. t1 = url.charCodeAt(1) === 47;
  110964. break $label0$0;
  110965. }
  110966. if (104 === _0_0) {
  110967. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  110968. break $label0$0;
  110969. }
  110970. t1 = false;
  110971. break $label0$0;
  110972. }
  110973. return t1;
  110974. },
  110975. tryImportModifiers$0() {
  110976. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  110977. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  110978. return null;
  110979. t1 = _this.scanner;
  110980. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110981. t2 = new A.StringBuffer("");
  110982. t3 = A._setArrayType([], type$.JSArray_Object);
  110983. buffer = new A.InterpolationBuffer0(t2, t3);
  110984. for (; true;)
  110985. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  110986. if (!(t3.length === 0 && t2._contents.length === 0))
  110987. t2._contents += A.Primitives_stringFromCharCode(32);
  110988. identifier = _this.interpolatedIdentifier$0();
  110989. buffer.addInterpolation$1(identifier);
  110990. t4 = identifier.get$asPlain();
  110991. $name = t4 == null ? null : t4.toLowerCase();
  110992. if ($name !== "and" && t1.scanChar$1(40)) {
  110993. if ($name === "supports") {
  110994. query = _this._stylesheet0$_importSupportsQuery$0();
  110995. t4 = !(query instanceof A.SupportsDeclaration0);
  110996. if (t4)
  110997. t2._contents += A.Primitives_stringFromCharCode(40);
  110998. buffer._interpolation_buffer0$_flushText$0();
  110999. t3.push(new A.SupportsExpression0(query));
  111000. if (t4)
  111001. t2._contents += A.Primitives_stringFromCharCode(41);
  111002. } else {
  111003. t2._contents += A.Primitives_stringFromCharCode(40);
  111004. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  111005. t2._contents += A.Primitives_stringFromCharCode(41);
  111006. }
  111007. t1.expectChar$1(41);
  111008. _this.whitespace$0();
  111009. } else {
  111010. _this.whitespace$0();
  111011. if (t1.scanChar$1(44)) {
  111012. t2._contents += ", ";
  111013. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111014. endPosition = t1._string_scanner$_position;
  111015. t4 = t1._sourceFile;
  111016. t5 = start.position;
  111017. t1 = new A._FileSpan(t4, t5, endPosition);
  111018. t1._FileSpan$3(t4, t5, endPosition);
  111019. t5 = type$.Object;
  111020. t4 = A.List_List$of(t3, true, t5);
  111021. t3 = t2._contents;
  111022. if (t3.length !== 0)
  111023. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  111024. result = A.List_List$from(t4, false, t5);
  111025. result.fixed$length = Array;
  111026. result.immutable$list = Array;
  111027. t2 = new A.Interpolation0(result, t1);
  111028. t2.Interpolation$20(t4, t1);
  111029. return t2;
  111030. }
  111031. }
  111032. } else if (t1.peekChar$0() === 40) {
  111033. if (!(t3.length === 0 && t2._contents.length === 0))
  111034. t2._contents += A.Primitives_stringFromCharCode(32);
  111035. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111036. endPosition = t1._string_scanner$_position;
  111037. t1 = t1._sourceFile;
  111038. t4 = start.position;
  111039. t5 = new A._FileSpan(t1, t4, endPosition);
  111040. t5._FileSpan$3(t1, t4, endPosition);
  111041. t4 = type$.Object;
  111042. t3 = A.List_List$of(t3, true, t4);
  111043. t1 = t2._contents;
  111044. if (t1.length !== 0)
  111045. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111046. result = A.List_List$from(t3, false, t4);
  111047. result.fixed$length = Array;
  111048. result.immutable$list = Array;
  111049. t1 = new A.Interpolation0(result, t5);
  111050. t1.Interpolation$20(t3, t5);
  111051. return t1;
  111052. } else {
  111053. endPosition = t1._string_scanner$_position;
  111054. t1 = t1._sourceFile;
  111055. t4 = start.position;
  111056. t5 = new A._FileSpan(t1, t4, endPosition);
  111057. t5._FileSpan$3(t1, t4, endPosition);
  111058. t4 = type$.Object;
  111059. t3 = A.List_List$of(t3, true, t4);
  111060. t1 = t2._contents;
  111061. if (t1.length !== 0)
  111062. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111063. result = A.List_List$from(t3, false, t4);
  111064. result.fixed$length = Array;
  111065. result.immutable$list = Array;
  111066. t1 = new A.Interpolation0(result, t5);
  111067. t1.Interpolation$20(t3, t5);
  111068. return t1;
  111069. }
  111070. },
  111071. _stylesheet0$_importSupportsQuery$0() {
  111072. var t1, t2, _0_0, $name, _this = this;
  111073. if (_this.scanIdentifier$1("not")) {
  111074. _this.whitespace$0();
  111075. t1 = _this.scanner;
  111076. t2 = t1._string_scanner$_position;
  111077. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111078. } else {
  111079. t1 = _this.scanner;
  111080. if (t1.peekChar$0() === 40)
  111081. return _this._stylesheet0$_supportsCondition$0();
  111082. else {
  111083. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  111084. if (_0_0 != null)
  111085. return _0_0;
  111086. t2 = t1._string_scanner$_position;
  111087. $name = _this._stylesheet0$_expression$0();
  111088. t1.expectChar$1(58);
  111089. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  111090. }
  111091. }
  111092. },
  111093. _stylesheet0$_tryImportSupportsFunction$0() {
  111094. var t1, start, $name, value, _this = this;
  111095. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111096. return null;
  111097. t1 = _this.scanner;
  111098. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111099. $name = _this.interpolatedIdentifier$0();
  111100. if (!t1.scanChar$1(40)) {
  111101. t1.set$state(start);
  111102. return null;
  111103. }
  111104. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  111105. t1.expectChar$1(41);
  111106. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  111107. },
  111108. _stylesheet0$_includeRule$1(start) {
  111109. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  111110. $name = _this.identifier$0(),
  111111. t1 = _this.scanner;
  111112. if (t1.scanChar$1(46)) {
  111113. name0 = _this._stylesheet0$_publicIdentifier$0();
  111114. namespace = $name;
  111115. $name = name0;
  111116. } else {
  111117. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  111118. namespace = _null;
  111119. }
  111120. _this.whitespace$0();
  111121. if (t1.peekChar$0() === 40)
  111122. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111123. else {
  111124. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111125. t3 = t2.offset;
  111126. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  111127. }
  111128. _this.whitespace$0();
  111129. if (_this.scanIdentifier$1("using")) {
  111130. _this.whitespace$0();
  111131. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  111132. _this.whitespace$0();
  111133. } else
  111134. contentArguments = _null;
  111135. t2 = contentArguments == null;
  111136. if (!t2 || _this.lookingAtChildren$0()) {
  111137. if (t2) {
  111138. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111139. t3 = t2.offset;
  111140. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  111141. } else
  111142. contentArguments_ = contentArguments;
  111143. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  111144. _this._stylesheet0$_inContentBlock = true;
  111145. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  111146. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  111147. } else {
  111148. _this.expectStatementSeparator$0();
  111149. $content = _null;
  111150. }
  111151. t1 = t1.spanFrom$2(start, start);
  111152. t2 = $content == null ? $arguments : $content;
  111153. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  111154. },
  111155. mediaRule$1(start) {
  111156. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  111157. },
  111158. _stylesheet0$_mixinRule$1(start) {
  111159. var $name, t1, $arguments, t2, t3, _this = this,
  111160. precedingComment = _this.lastSilentComment;
  111161. _this.lastSilentComment = null;
  111162. $name = _this.identifier$1$normalize(true);
  111163. _this.whitespace$0();
  111164. t1 = _this.scanner;
  111165. if (t1.peekChar$0() === 40)
  111166. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111167. else {
  111168. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111169. t3 = t2.offset;
  111170. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  111171. }
  111172. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111173. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  111174. else if (_this._stylesheet0$_inControlDirective)
  111175. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  111176. _this.whitespace$0();
  111177. _this._stylesheet0$_inMixin = true;
  111178. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  111179. },
  111180. mozDocumentRule$2(start, $name) {
  111181. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  111182. t1 = _this.scanner,
  111183. t2 = t1._string_scanner$_position,
  111184. t3 = new A.StringBuffer(""),
  111185. t4 = A._setArrayType([], type$.JSArray_Object),
  111186. buffer = new A.InterpolationBuffer0(t3, t4);
  111187. _box_0.needsDeprecationWarning = false;
  111188. for (t5 = _this.get$whitespace(); true;) {
  111189. if (t1.peekChar$0() === 35) {
  111190. t6 = _this.singleInterpolation$0();
  111191. buffer._interpolation_buffer0$_flushText$0();
  111192. t4.push(t6);
  111193. _box_0.needsDeprecationWarning = true;
  111194. } else {
  111195. t6 = t1._string_scanner$_position;
  111196. identifier = _this.identifier$0();
  111197. $label0$0: {
  111198. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  111199. _0_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  111200. if (_0_0 != null)
  111201. buffer.addInterpolation$1(_0_0);
  111202. else {
  111203. t1.expectChar$1(40);
  111204. _this.whitespace$0();
  111205. argument = _this.interpolatedString$0();
  111206. t1.expectChar$1(41);
  111207. t3._contents += identifier;
  111208. t3._contents += A.Primitives_stringFromCharCode(40);
  111209. buffer.addInterpolation$1(argument.asInterpolation$0());
  111210. t3._contents += A.Primitives_stringFromCharCode(41);
  111211. }
  111212. t6 = t3._contents;
  111213. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  111214. 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("")'))
  111215. _box_0.needsDeprecationWarning = true;
  111216. break $label0$0;
  111217. }
  111218. if ("regexp" === identifier) {
  111219. t3._contents += "regexp(";
  111220. t1.expectChar$1(40);
  111221. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  111222. t1.expectChar$1(41);
  111223. t3._contents += A.Primitives_stringFromCharCode(41);
  111224. _box_0.needsDeprecationWarning = true;
  111225. break $label0$0;
  111226. }
  111227. endPosition = t1._string_scanner$_position;
  111228. t7 = t1._sourceFile;
  111229. t8 = new A._FileSpan(t7, t6, endPosition);
  111230. t8._FileSpan$3(t7, t6, endPosition);
  111231. _this.error$2(0, "Invalid function name.", t8);
  111232. }
  111233. }
  111234. _this.whitespace$0();
  111235. if (!t1.scanChar$1(44))
  111236. break;
  111237. t3._contents += A.Primitives_stringFromCharCode(44);
  111238. start0 = t1._string_scanner$_position;
  111239. t5.call$0();
  111240. end = t1._string_scanner$_position;
  111241. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  111242. }
  111243. 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)))));
  111244. },
  111245. supportsRule$1(start) {
  111246. var _this = this,
  111247. condition = _this._stylesheet0$_supportsCondition$0();
  111248. _this.whitespace$0();
  111249. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  111250. },
  111251. _stylesheet0$_useNamespace$2(url, start) {
  111252. var namespace, basename, dot, t1, exception, _this = this;
  111253. if (_this.scanIdentifier$1("as")) {
  111254. _this.whitespace$0();
  111255. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  111256. }
  111257. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  111258. dot = B.JSString_methods.indexOf$1(basename, ".");
  111259. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  111260. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  111261. try {
  111262. t1 = A.SpanScanner$(namespace, null);
  111263. t1 = new A.Parser1(t1, _this.logger, null)._parser0$_parseIdentifier$0();
  111264. return t1;
  111265. } catch (exception) {
  111266. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  111267. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  111268. else
  111269. throw exception;
  111270. }
  111271. },
  111272. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  111273. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  111274. if (!_this.scanIdentifier$1("with"))
  111275. return null;
  111276. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  111277. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  111278. _this.whitespace$0();
  111279. t1 = _this.scanner;
  111280. t1.expectChar$1(40);
  111281. for (; true;) {
  111282. _this.whitespace$0();
  111283. t2 = t1._string_scanner$_position;
  111284. t1.expectChar$1(36);
  111285. $name = _this.identifier$1$normalize(true);
  111286. _this.whitespace$0();
  111287. t1.expectChar$1(58);
  111288. _this.whitespace$0();
  111289. expression = _this.expressionUntilComma$0();
  111290. t3 = t1._string_scanner$_position;
  111291. if (allowGuarded && t1.scanChar$1(33))
  111292. if (_this.identifier$0() === "default") {
  111293. _this.whitespace$0();
  111294. guarded = true;
  111295. } else {
  111296. endPosition = t1._string_scanner$_position;
  111297. t4 = t1._sourceFile;
  111298. t5 = new A._FileSpan(t4, t3, endPosition);
  111299. t5._FileSpan$3(t4, t3, endPosition);
  111300. _this.error$2(0, "Invalid flag name.", t5);
  111301. guarded = false;
  111302. }
  111303. else
  111304. guarded = false;
  111305. endPosition = t1._string_scanner$_position;
  111306. t3 = t1._sourceFile;
  111307. span = new A._FileSpan(t3, t2, endPosition);
  111308. span._FileSpan$3(t3, t2, endPosition);
  111309. if (variableNames.contains$1(0, $name))
  111310. _this.error$2(0, string$.The_sa, span);
  111311. variableNames.add$1(0, $name);
  111312. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  111313. if (!t1.scanChar$1(44))
  111314. break;
  111315. _this.whitespace$0();
  111316. if (!_this._stylesheet0$_lookingAtExpression$0())
  111317. break;
  111318. }
  111319. t1.expectChar$1(41);
  111320. return configuration;
  111321. },
  111322. _stylesheet0$_configuration$0() {
  111323. return this._stylesheet0$_configuration$1$allowGuarded(false);
  111324. },
  111325. _stylesheet0$_warnRule$1(start) {
  111326. var value = this._stylesheet0$_expression$0();
  111327. this.expectStatementSeparator$1("@warn rule");
  111328. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  111329. },
  111330. _stylesheet0$_whileRule$2(start, child) {
  111331. var _this = this,
  111332. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111333. _this._stylesheet0$_inControlDirective = true;
  111334. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  111335. },
  111336. unknownAtRule$2(start, $name) {
  111337. var t2, t3, rule, _this = this, t1 = {},
  111338. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  111339. _this._stylesheet0$_inUnknownAtRule = true;
  111340. t1.value = null;
  111341. t2 = _this.scanner;
  111342. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  111343. if (_this.lookingAtChildren$0())
  111344. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  111345. else {
  111346. _this.expectStatementSeparator$0();
  111347. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  111348. }
  111349. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  111350. return rule;
  111351. },
  111352. _stylesheet0$_disallowedAtRule$1(start) {
  111353. this.almostAnyValue$0();
  111354. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  111355. },
  111356. _stylesheet0$_argumentDeclaration$0() {
  111357. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  111358. t1 = _this.scanner,
  111359. t2 = t1._string_scanner$_position;
  111360. t1.expectChar$1(40);
  111361. _this.whitespace$0();
  111362. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  111363. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  111364. while (true) {
  111365. if (!(t1.peekChar$0() === 36)) {
  111366. restArgument = null;
  111367. break;
  111368. }
  111369. t3 = t1._string_scanner$_position;
  111370. t1.expectChar$1(36);
  111371. $name = _this.identifier$1$normalize(true);
  111372. _this.whitespace$0();
  111373. if (t1.scanChar$1(58)) {
  111374. _this.whitespace$0();
  111375. defaultValue = _this.expressionUntilComma$0();
  111376. } else {
  111377. if (t1.scanChar$1(46)) {
  111378. t1.expectChar$1(46);
  111379. t1.expectChar$1(46);
  111380. _this.whitespace$0();
  111381. restArgument = $name;
  111382. break;
  111383. }
  111384. defaultValue = null;
  111385. }
  111386. endPosition = t1._string_scanner$_position;
  111387. t4 = t1._sourceFile;
  111388. t5 = new A._FileSpan(t4, t3, endPosition);
  111389. t5._FileSpan$3(t4, t3, endPosition);
  111390. $arguments.push(new A.Argument0($name, defaultValue, t5));
  111391. if (!named.add$1(0, $name))
  111392. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  111393. if (!t1.scanChar$1(44)) {
  111394. restArgument = null;
  111395. break;
  111396. }
  111397. _this.whitespace$0();
  111398. }
  111399. t1.expectChar$1(41);
  111400. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  111401. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  111402. },
  111403. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  111404. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  111405. t1 = _this.scanner,
  111406. t2 = t1._string_scanner$_position;
  111407. t1.expectChar$1(40);
  111408. _this.whitespace$0();
  111409. positional = A._setArrayType([], type$.JSArray_Expression_2);
  111410. t3 = type$.String;
  111411. t4 = type$.Expression_2;
  111412. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  111413. t5 = !mixin;
  111414. rest = _null;
  111415. while (true) {
  111416. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  111417. keywordRest = _null;
  111418. break;
  111419. }
  111420. expression = _this.expressionUntilComma$1$singleEquals(t5);
  111421. _this.whitespace$0();
  111422. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  111423. _this.whitespace$0();
  111424. t6 = expression.name;
  111425. if (named.containsKey$1(t6))
  111426. _this.error$2(0, "Duplicate argument.", expression.span);
  111427. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  111428. } else if (t1.scanChar$1(46)) {
  111429. t1.expectChar$1(46);
  111430. t1.expectChar$1(46);
  111431. if (rest != null) {
  111432. _this.whitespace$0();
  111433. keywordRest = expression;
  111434. break;
  111435. }
  111436. rest = expression;
  111437. } else if (named.__js_helper$_length !== 0)
  111438. _this.error$2(0, string$.Positi, expression.get$span(expression));
  111439. else
  111440. positional.push(expression);
  111441. _this.whitespace$0();
  111442. if (!t1.scanChar$1(44)) {
  111443. keywordRest = _null;
  111444. break;
  111445. }
  111446. _this.whitespace$0();
  111447. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  111448. t5 = t1._sourceFile;
  111449. t6 = t1._string_scanner$_position;
  111450. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  111451. t7 = new A._FileSpan(t5, t6, t6);
  111452. t7._FileSpan$3(t5, t6, t6);
  111453. t6 = A._setArrayType([""], type$.JSArray_Object);
  111454. result = A.List_List$from(t6, false, type$.Object);
  111455. result.fixed$length = Array;
  111456. result.immutable$list = Array;
  111457. t5 = new A.Interpolation0(result, t7);
  111458. t5.Interpolation$20(t6, t7);
  111459. positional.push(new A.StringExpression0(t5, false));
  111460. keywordRest = _null;
  111461. break;
  111462. }
  111463. }
  111464. t1.expectChar$1(41);
  111465. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  111466. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  111467. },
  111468. _stylesheet0$_argumentInvocation$0() {
  111469. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  111470. },
  111471. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  111472. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  111473. },
  111474. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  111475. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  111476. },
  111477. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  111478. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _1_0, t4, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  111479. _s20_ = "Expected expression.",
  111480. _box_0 = {},
  111481. t1 = until != null;
  111482. if (t1 && until.call$0())
  111483. _this.scanner.error$1(0, _s20_);
  111484. if (bracketList) {
  111485. t2 = _this.scanner;
  111486. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111487. t2.expectChar$1(91);
  111488. _this.whitespace$0();
  111489. if (t2.scanChar$1(93)) {
  111490. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  111491. t2 = t2.spanFrom$1(beforeBracket);
  111492. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  111493. }
  111494. } else
  111495. beforeBracket = null;
  111496. t2 = _this.scanner;
  111497. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111498. wasInParentheses = _this._stylesheet0$_inParentheses;
  111499. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  111500. _box_0.allowSlash = true;
  111501. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  111502. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  111503. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  111504. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  111505. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  111506. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  111507. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  111508. for (t3 = type$.JSArray_Expression_2; true;) {
  111509. _this.whitespace$0();
  111510. if (t1 && until.call$0())
  111511. break;
  111512. _3_0 = t2.peekChar$0();
  111513. if (_3_0 == null)
  111514. break;
  111515. if (40 === _3_0) {
  111516. addSingleExpression.call$1(_this.parentheses$0());
  111517. continue;
  111518. }
  111519. if (91 === _3_0) {
  111520. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  111521. continue;
  111522. }
  111523. if (36 === _3_0) {
  111524. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  111525. continue;
  111526. }
  111527. if (38 === _3_0) {
  111528. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  111529. continue;
  111530. }
  111531. if (39 === _3_0 || 34 === _3_0) {
  111532. addSingleExpression.call$1(_this.interpolatedString$0());
  111533. continue;
  111534. }
  111535. if (35 === _3_0) {
  111536. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  111537. continue;
  111538. }
  111539. if (61 === _3_0) {
  111540. t2.readChar$0();
  111541. if (singleEquals && t2.peekChar$0() !== 61)
  111542. addOperator.call$1(B.BinaryOperator_2jN0);
  111543. else {
  111544. t2.expectChar$1(61);
  111545. addOperator.call$1(B.BinaryOperator_ql50);
  111546. }
  111547. continue;
  111548. }
  111549. if (33 === _3_0) {
  111550. $label0$1: {
  111551. _1_0 = t2.peekChar$1(1);
  111552. if (61 === _1_0) {
  111553. t2.readChar$0();
  111554. t2.readChar$0();
  111555. addOperator.call$1(B.BinaryOperator_ViB0);
  111556. break $label0$1;
  111557. }
  111558. if (_1_0 != null)
  111559. if (105 !== _1_0)
  111560. if (73 !== _1_0)
  111561. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  111562. else
  111563. t4 = true;
  111564. else
  111565. t4 = true;
  111566. else
  111567. t4 = true;
  111568. if (t4) {
  111569. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  111570. break $label0$1;
  111571. }
  111572. break;
  111573. }
  111574. continue;
  111575. }
  111576. if (60 === _3_0) {
  111577. t2.readChar$0();
  111578. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg0 : B.BinaryOperator_U8c0);
  111579. continue;
  111580. }
  111581. if (62 === _3_0) {
  111582. t2.readChar$0();
  111583. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg0 : B.BinaryOperator_cIH0);
  111584. continue;
  111585. }
  111586. if (42 === _3_0) {
  111587. t2.readChar$0();
  111588. addOperator.call$1(B.BinaryOperator_qN20);
  111589. continue;
  111590. }
  111591. _3_28 = 43 === _3_0;
  111592. if (_3_28 && _box_0.singleExpression_ == null) {
  111593. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  111594. continue;
  111595. }
  111596. if (_3_28) {
  111597. t2.readChar$0();
  111598. addOperator.call$1(B.BinaryOperator_anB0);
  111599. continue;
  111600. }
  111601. if (45 === _3_0) {
  111602. _2_0 = t2.peekChar$1(1);
  111603. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  111604. if (_box_0.singleExpression_ != null) {
  111605. t4 = t2.peekChar$1(-1);
  111606. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  111607. } else
  111608. t4 = true;
  111609. else
  111610. t4 = false;
  111611. if (t4)
  111612. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  111613. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111614. addSingleExpression.call$1(_this.identifierLike$0());
  111615. else if (_box_0.singleExpression_ == null)
  111616. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  111617. else {
  111618. t2.readChar$0();
  111619. addOperator.call$1(B.BinaryOperator_olz0);
  111620. }
  111621. continue;
  111622. }
  111623. _3_32 = 47 === _3_0;
  111624. if (_3_32 && _box_0.singleExpression_ == null) {
  111625. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  111626. continue;
  111627. }
  111628. if (_3_32) {
  111629. t2.readChar$0();
  111630. addOperator.call$1(B.BinaryOperator_t8B0);
  111631. continue;
  111632. }
  111633. if (37 === _3_0) {
  111634. t2.readChar$0();
  111635. addOperator.call$1(B.BinaryOperator_OTG0);
  111636. continue;
  111637. }
  111638. if (_3_0 >= 48 && _3_0 <= 57) {
  111639. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  111640. continue;
  111641. }
  111642. _3_40 = 46 === _3_0;
  111643. if (_3_40 && t2.peekChar$1(1) === 46)
  111644. break;
  111645. if (_3_40) {
  111646. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  111647. continue;
  111648. }
  111649. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  111650. addOperator.call$1(B.BinaryOperator_SNp0);
  111651. continue;
  111652. }
  111653. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  111654. addOperator.call$1(B.BinaryOperator_M6L0);
  111655. continue;
  111656. }
  111657. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  111658. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  111659. continue;
  111660. }
  111661. if (!(_3_0 >= 97 && _3_0 <= 122))
  111662. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  111663. else
  111664. t4 = true;
  111665. if (t4) {
  111666. addSingleExpression.call$1(_this.identifierLike$0());
  111667. continue;
  111668. }
  111669. if (44 === _3_0) {
  111670. if (_this._stylesheet0$_inParentheses) {
  111671. _this._stylesheet0$_inParentheses = false;
  111672. if (_box_0.allowSlash) {
  111673. resetState.call$0();
  111674. continue;
  111675. }
  111676. }
  111677. commaExpressions = _box_0.commaExpressions_;
  111678. if (commaExpressions == null)
  111679. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  111680. if (_box_0.singleExpression_ == null)
  111681. t2.error$1(0, _s20_);
  111682. resolveSpaceExpressions.call$0();
  111683. t4 = _box_0.singleExpression_;
  111684. t4.toString;
  111685. commaExpressions.push(t4);
  111686. t2.readChar$0();
  111687. _box_0.allowSlash = true;
  111688. _box_0.singleExpression_ = null;
  111689. continue;
  111690. }
  111691. break;
  111692. }
  111693. if (bracketList)
  111694. t2.expectChar$1(93);
  111695. commaExpressions = _box_0.commaExpressions_;
  111696. spaceExpressions = _box_0.spaceExpressions_;
  111697. if (commaExpressions != null) {
  111698. resolveSpaceExpressions.call$0();
  111699. _this._stylesheet0$_inParentheses = wasInParentheses;
  111700. singleExpression = _box_0.singleExpression_;
  111701. if (singleExpression != null)
  111702. commaExpressions.push(singleExpression);
  111703. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  111704. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  111705. } else if (bracketList && spaceExpressions != null) {
  111706. resolveOperations.call$0();
  111707. t1 = _box_0.singleExpression_;
  111708. t1.toString;
  111709. spaceExpressions.push(t1);
  111710. beforeBracket.toString;
  111711. t2 = t2.spanFrom$1(beforeBracket);
  111712. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  111713. } else {
  111714. resolveSpaceExpressions.call$0();
  111715. if (bracketList) {
  111716. t1 = _box_0.singleExpression_;
  111717. t1.toString;
  111718. t3 = A._setArrayType([t1], t3);
  111719. beforeBracket.toString;
  111720. t2 = t2.spanFrom$1(beforeBracket);
  111721. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  111722. }
  111723. t1 = _box_0.singleExpression_;
  111724. t1.toString;
  111725. return t1;
  111726. }
  111727. },
  111728. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  111729. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  111730. },
  111731. _stylesheet0$_expression$1$bracketList(bracketList) {
  111732. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  111733. },
  111734. _stylesheet0$_expression$0() {
  111735. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  111736. },
  111737. _stylesheet0$_expression$1$until(until) {
  111738. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  111739. },
  111740. expressionUntilComma$1$singleEquals(singleEquals) {
  111741. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  111742. },
  111743. expressionUntilComma$0() {
  111744. return this.expressionUntilComma$1$singleEquals(false);
  111745. },
  111746. _stylesheet0$_isSlashOperand$1(expression) {
  111747. var t1;
  111748. if (!(expression instanceof A.NumberExpression0))
  111749. if (!(expression instanceof A.FunctionExpression0))
  111750. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  111751. else
  111752. t1 = true;
  111753. else
  111754. t1 = true;
  111755. return t1;
  111756. },
  111757. _stylesheet0$_singleExpression$0() {
  111758. var next, t2, _this = this,
  111759. _s20_ = "Expected expression.",
  111760. t1 = _this.scanner,
  111761. _0_0 = t1.peekChar$0();
  111762. $label0$0: {
  111763. if (_0_0 == null)
  111764. t1.error$1(0, _s20_);
  111765. if (40 === _0_0) {
  111766. t1 = _this.parentheses$0();
  111767. break $label0$0;
  111768. }
  111769. if (47 === _0_0) {
  111770. t1 = _this._stylesheet0$_unaryOperation$0();
  111771. break $label0$0;
  111772. }
  111773. if (46 === _0_0) {
  111774. t1 = _this._stylesheet0$_number$0();
  111775. break $label0$0;
  111776. }
  111777. if (91 === _0_0) {
  111778. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  111779. break $label0$0;
  111780. }
  111781. if (36 === _0_0) {
  111782. t1 = _this._stylesheet0$_variable$0();
  111783. break $label0$0;
  111784. }
  111785. if (38 === _0_0) {
  111786. t1 = _this._stylesheet0$_selector$0();
  111787. break $label0$0;
  111788. }
  111789. if (39 === _0_0 || 34 === _0_0) {
  111790. t1 = _this.interpolatedString$0();
  111791. break $label0$0;
  111792. }
  111793. if (35 === _0_0) {
  111794. t1 = _this._stylesheet0$_hashExpression$0();
  111795. break $label0$0;
  111796. }
  111797. if (43 === _0_0) {
  111798. next = t1.peekChar$1(1);
  111799. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  111800. break $label0$0;
  111801. }
  111802. if (45 === _0_0) {
  111803. t1 = _this._stylesheet0$_minusExpression$0();
  111804. break $label0$0;
  111805. }
  111806. if (33 === _0_0) {
  111807. t1 = _this._stylesheet0$_importantExpression$0();
  111808. break $label0$0;
  111809. }
  111810. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  111811. t1 = _this._stylesheet0$_unicodeRange$0();
  111812. break $label0$0;
  111813. }
  111814. if (_0_0 >= 48 && _0_0 <= 57) {
  111815. t1 = _this._stylesheet0$_number$0();
  111816. break $label0$0;
  111817. }
  111818. if (!(_0_0 >= 97 && _0_0 <= 122))
  111819. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  111820. else
  111821. t2 = true;
  111822. if (t2) {
  111823. t1 = _this.identifierLike$0();
  111824. break $label0$0;
  111825. }
  111826. t1 = t1.error$1(0, _s20_);
  111827. }
  111828. return t1;
  111829. },
  111830. parentheses$0() {
  111831. var start, first, expressions, t1, t2, _this = this,
  111832. wasInParentheses = _this._stylesheet0$_inParentheses;
  111833. _this._stylesheet0$_inParentheses = true;
  111834. try {
  111835. t1 = _this.scanner;
  111836. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111837. t1.expectChar$1(40);
  111838. _this.whitespace$0();
  111839. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  111840. t1.expectChar$1(41);
  111841. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  111842. t1 = t1.spanFrom$1(start);
  111843. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  111844. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  111845. }
  111846. first = _this.expressionUntilComma$0();
  111847. if (t1.scanChar$1(58)) {
  111848. _this.whitespace$0();
  111849. t1 = _this._stylesheet0$_map$2(first, start);
  111850. return t1;
  111851. }
  111852. if (!t1.scanChar$1(44)) {
  111853. t1.expectChar$1(41);
  111854. t1 = t1.spanFrom$1(start);
  111855. return new A.ParenthesizedExpression0(first, t1);
  111856. }
  111857. _this.whitespace$0();
  111858. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  111859. for (; true;) {
  111860. if (!_this._stylesheet0$_lookingAtExpression$0())
  111861. break;
  111862. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  111863. if (!t1.scanChar$1(44))
  111864. break;
  111865. _this.whitespace$0();
  111866. }
  111867. t1.expectChar$1(41);
  111868. t1 = t1.spanFrom$1(start);
  111869. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  111870. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  111871. } finally {
  111872. _this._stylesheet0$_inParentheses = wasInParentheses;
  111873. }
  111874. },
  111875. _stylesheet0$_map$2(first, start) {
  111876. var t1, key, _this = this,
  111877. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  111878. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  111879. _this.whitespace$0();
  111880. if (!_this._stylesheet0$_lookingAtExpression$0())
  111881. break;
  111882. key = _this.expressionUntilComma$0();
  111883. t1.expectChar$1(58);
  111884. _this.whitespace$0();
  111885. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  111886. }
  111887. t1.expectChar$1(41);
  111888. t1 = t1.spanFrom$1(start);
  111889. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  111890. },
  111891. _stylesheet0$_hashExpression$0() {
  111892. var start, t2, identifier, buffer, _this = this,
  111893. t1 = _this.scanner;
  111894. if (t1.peekChar$1(1) === 123)
  111895. return _this.identifierLike$0();
  111896. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111897. t1.expectChar$1(35);
  111898. t2 = t1.peekChar$0();
  111899. if (t2 == null)
  111900. t2 = null;
  111901. else
  111902. t2 = t2 >= 48 && t2 <= 57;
  111903. if (t2 === true)
  111904. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  111905. t2 = t1._string_scanner$_position;
  111906. identifier = _this.interpolatedIdentifier$0();
  111907. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  111908. t1.set$state(new A._SpanScannerState(t1, t2));
  111909. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  111910. }
  111911. t2 = new A.StringBuffer("");
  111912. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  111913. t2._contents += A.Primitives_stringFromCharCode(35);
  111914. buffer.addInterpolation$1(identifier);
  111915. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  111916. },
  111917. _stylesheet0$_hexColorContents$1(start) {
  111918. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  111919. digit1 = _this._stylesheet0$_hexDigit$0(),
  111920. digit2 = _this._stylesheet0$_hexDigit$0(),
  111921. digit3 = _this._stylesheet0$_hexDigit$0(),
  111922. t1 = _this.scanner,
  111923. $self = t1.peekChar$0();
  111924. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  111925. red = (digit1 << 4 >>> 0) + digit1;
  111926. green = (digit2 << 4 >>> 0) + digit2;
  111927. blue = (digit3 << 4 >>> 0) + digit3;
  111928. alpha = null;
  111929. } else {
  111930. digit4 = _this._stylesheet0$_hexDigit$0();
  111931. $self = t1.peekChar$0();
  111932. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  111933. t3 = digit1 << 4 >>> 0;
  111934. t4 = digit3 << 4 >>> 0;
  111935. if (!t2) {
  111936. red = t3 + digit1;
  111937. green = (digit2 << 4 >>> 0) + digit2;
  111938. blue = t4 + digit3;
  111939. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  111940. } else {
  111941. red = t3 + digit2;
  111942. green = t4 + digit4;
  111943. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  111944. $self = t1.peekChar$0();
  111945. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  111946. }
  111947. }
  111948. t2 = alpha == null;
  111949. t3 = t2 ? 1 : alpha;
  111950. return A.SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  111951. },
  111952. _stylesheet0$_isHexColor$1(interpolation) {
  111953. var _0_2, t1,
  111954. plain = interpolation.get$asPlain();
  111955. if (typeof plain == "string") {
  111956. _0_2 = plain.length;
  111957. if (3 !== _0_2)
  111958. if (4 !== _0_2)
  111959. if (6 !== _0_2)
  111960. t1 = 8 === _0_2;
  111961. else
  111962. t1 = true;
  111963. else
  111964. t1 = true;
  111965. else
  111966. t1 = true;
  111967. } else
  111968. t1 = false;
  111969. if (t1) {
  111970. t1 = new A.CodeUnits(plain);
  111971. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  111972. } else
  111973. return false;
  111974. },
  111975. _stylesheet0$_hexDigit$0() {
  111976. var t1 = this.scanner,
  111977. t2 = t1.peekChar$0();
  111978. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  111979. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  111980. },
  111981. _stylesheet0$_minusExpression$0() {
  111982. var _this = this,
  111983. _0_0 = _this.scanner.peekChar$1(1);
  111984. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  111985. return _this._stylesheet0$_number$0();
  111986. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111987. return _this.identifierLike$0();
  111988. return _this._stylesheet0$_unaryOperation$0();
  111989. },
  111990. _stylesheet0$_importantExpression$0() {
  111991. var t1 = this.scanner,
  111992. t2 = t1._string_scanner$_position;
  111993. t1.readChar$0();
  111994. this.whitespace$0();
  111995. this.expectIdentifier$1("important");
  111996. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  111997. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  111998. },
  111999. _stylesheet0$_unaryOperation$0() {
  112000. var _this = this,
  112001. t1 = _this.scanner,
  112002. t2 = t1._string_scanner$_position,
  112003. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  112004. if (operator == null)
  112005. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  112006. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  112007. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  112008. _this.whitespace$0();
  112009. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112010. },
  112011. _stylesheet0$_unaryOperatorFor$1(character) {
  112012. var t1;
  112013. $label0$0: {
  112014. if (43 === character) {
  112015. t1 = B.UnaryOperator_gg40;
  112016. break $label0$0;
  112017. }
  112018. if (45 === character) {
  112019. t1 = B.UnaryOperator_TLI0;
  112020. break $label0$0;
  112021. }
  112022. if (47 === character) {
  112023. t1 = B.UnaryOperator_Ix10;
  112024. break $label0$0;
  112025. }
  112026. t1 = null;
  112027. break $label0$0;
  112028. }
  112029. return t1;
  112030. },
  112031. _stylesheet0$_number$0() {
  112032. var number, unit, _this = this,
  112033. t1 = _this.scanner,
  112034. t2 = t1._string_scanner$_position,
  112035. first = t1.peekChar$0(),
  112036. t3 = first !== 43;
  112037. if (!t3 || first === 45)
  112038. t1.readChar$0();
  112039. if (t1.peekChar$0() !== 46)
  112040. _this._stylesheet0$_consumeNaturalNumber$0();
  112041. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  112042. _this._stylesheet0$_tryExponent$0();
  112043. number = A.double_parse(t1.substring$1(0, t2));
  112044. if (t1.scanChar$1(37))
  112045. unit = "%";
  112046. else {
  112047. if (_this.lookingAtIdentifier$0())
  112048. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  112049. else
  112050. t3 = false;
  112051. unit = t3 ? _this.identifier$1$unit(true) : null;
  112052. }
  112053. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112054. },
  112055. _stylesheet0$_consumeNaturalNumber$0() {
  112056. var $self,
  112057. t1 = this.scanner,
  112058. t2 = t1.readChar$0();
  112059. if (!(t2 >= 48 && t2 <= 57))
  112060. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  112061. while (true) {
  112062. $self = t1.peekChar$0();
  112063. if (!($self != null && $self >= 48 && $self <= 57))
  112064. break;
  112065. t1.readChar$0();
  112066. }
  112067. },
  112068. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  112069. var $self,
  112070. t1 = this.scanner;
  112071. if (t1.peekChar$0() !== 46)
  112072. return;
  112073. $self = t1.peekChar$1(1);
  112074. if (!($self != null && $self >= 48 && $self <= 57)) {
  112075. if (allowTrailingDot)
  112076. return;
  112077. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  112078. }
  112079. t1.readChar$0();
  112080. while (true) {
  112081. $self = t1.peekChar$0();
  112082. if (!($self != null && $self >= 48 && $self <= 57))
  112083. break;
  112084. t1.readChar$0();
  112085. }
  112086. },
  112087. _stylesheet0$_tryExponent$0() {
  112088. var next, $self,
  112089. t1 = this.scanner,
  112090. first = t1.peekChar$0();
  112091. if (first !== 101 && first !== 69)
  112092. return;
  112093. next = t1.peekChar$1(1);
  112094. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  112095. return;
  112096. t1.readChar$0();
  112097. if (43 === next || 45 === next)
  112098. t1.readChar$0();
  112099. $self = t1.peekChar$0();
  112100. if (!($self != null && $self >= 48 && $self <= 57))
  112101. t1.error$1(0, "Expected digit.");
  112102. while (true) {
  112103. $self = t1.peekChar$0();
  112104. if (!($self != null && $self >= 48 && $self <= 57))
  112105. break;
  112106. t1.readChar$0();
  112107. }
  112108. },
  112109. _stylesheet0$_unicodeRange$0() {
  112110. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  112111. _s26_ = "Expected at most 6 digits.",
  112112. t1 = _this.scanner,
  112113. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112114. _this.expectIdentChar$1(117);
  112115. t1.expectChar$1(43);
  112116. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  112117. ++firstRangeLength;
  112118. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  112119. ++firstRangeLength;
  112120. if (firstRangeLength === 0)
  112121. t1.error$1(0, 'Expected hex digit or "?".');
  112122. else if (firstRangeLength > 6)
  112123. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  112124. else if (hasQuestionMark) {
  112125. t2 = t1.substring$1(0, start.position);
  112126. t1 = t1.spanFrom$1(start);
  112127. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112128. }
  112129. if (t1.scanChar$1(45)) {
  112130. t2 = t1._string_scanner$_position;
  112131. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  112132. ++secondRangeLength;
  112133. if (secondRangeLength === 0)
  112134. t1.error$1(0, "Expected hex digit.");
  112135. else if (secondRangeLength > 6)
  112136. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112137. }
  112138. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  112139. t1.error$1(0, "Expected end of identifier.");
  112140. t2 = t1.substring$1(0, start.position);
  112141. t1 = t1.spanFrom$1(start);
  112142. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112143. },
  112144. _stylesheet0$_variable$0() {
  112145. var _this = this,
  112146. t1 = _this.scanner,
  112147. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112148. $name = _this.variableName$0();
  112149. if (_this.get$plainCss())
  112150. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  112151. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  112152. },
  112153. _stylesheet0$_selector$0() {
  112154. var t1, start, _this = this;
  112155. if (_this.get$plainCss())
  112156. _this.scanner.error$2$length(0, string$.The_pa, 1);
  112157. t1 = _this.scanner;
  112158. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112159. t1.expectChar$1(38);
  112160. if (t1.scanChar$1(38)) {
  112161. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  112162. t1.set$position(t1._string_scanner$_position - 1);
  112163. }
  112164. return new A.SelectorExpression0(t1.spanFrom$1(start));
  112165. },
  112166. interpolatedString$0() {
  112167. var t3, t4, buffer, _0_0, second, t5,
  112168. t1 = this.scanner,
  112169. t2 = t1._string_scanner$_position,
  112170. quote = t1.readChar$0();
  112171. if (quote !== 39 && quote !== 34)
  112172. t1.error$2$position(0, "Expected string.", t2);
  112173. t3 = new A.StringBuffer("");
  112174. t4 = A._setArrayType([], type$.JSArray_Object);
  112175. buffer = new A.InterpolationBuffer0(t3, t4);
  112176. for (; true;) {
  112177. _0_0 = t1.peekChar$0();
  112178. if (_0_0 === quote) {
  112179. t1.readChar$0();
  112180. break;
  112181. }
  112182. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  112183. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  112184. if (92 === _0_0) {
  112185. second = t1.peekChar$1(1);
  112186. if (second === 10 || second === 13 || second === 12) {
  112187. t1.readChar$0();
  112188. t1.readChar$0();
  112189. if (second === 13)
  112190. t1.scanChar$1(10);
  112191. } else
  112192. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  112193. continue;
  112194. }
  112195. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  112196. t5 = this.singleInterpolation$0();
  112197. buffer._interpolation_buffer0$_flushText$0();
  112198. t4.push(t5);
  112199. continue;
  112200. }
  112201. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112202. }
  112203. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  112204. },
  112205. identifierLike$0() {
  112206. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  112207. t1 = _this.scanner,
  112208. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112209. identifier = _this.interpolatedIdentifier$0(),
  112210. plain = identifier.get$asPlain(),
  112211. lower = A._Cell$(),
  112212. t2 = plain != null;
  112213. if (t2) {
  112214. if (plain === "if" && t1.peekChar$0() === 40) {
  112215. invocation = _this._stylesheet0$_argumentInvocation$0();
  112216. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  112217. } else if (plain === "not") {
  112218. _this.whitespace$0();
  112219. expression = _this._stylesheet0$_singleExpression$0();
  112220. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  112221. }
  112222. lower._value = plain.toLowerCase();
  112223. if (t1.peekChar$0() !== 40) {
  112224. switch (plain) {
  112225. case "false":
  112226. return new A.BooleanExpression0(false, identifier.span);
  112227. case "null":
  112228. return new A.NullExpression0(identifier.span);
  112229. case "true":
  112230. return new A.BooleanExpression0(true, identifier.span);
  112231. }
  112232. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  112233. if (_0_0 != null) {
  112234. t1 = identifier.span;
  112235. return new A.ColorExpression0(A.SassColor$rgbInternal0(_0_0.get$red(0), _0_0.get$green(0), _0_0.get$blue(0), _0_0._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
  112236. }
  112237. }
  112238. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  112239. if (_1_0 != null)
  112240. return _1_0;
  112241. }
  112242. _2_0 = t1.peekChar$0();
  112243. _2_2 = 46 === _2_0;
  112244. if (_2_2 && t1.peekChar$1(1) === 46)
  112245. return new A.StringExpression0(identifier, false);
  112246. if (_2_2) {
  112247. t1.readChar$0();
  112248. if (t2)
  112249. return _this.namespacedExpression$2(plain, start);
  112250. _this.error$2(0, string$.Interpn, identifier.span);
  112251. }
  112252. _2_4 = 40 === _2_0;
  112253. if (_2_4 && t2)
  112254. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  112255. if (_2_4)
  112256. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  112257. return new A.StringExpression0(identifier, false);
  112258. },
  112259. namespacedExpression$2(namespace, start) {
  112260. var $name, _this = this,
  112261. t1 = _this.scanner;
  112262. if (t1.peekChar$0() === 36) {
  112263. $name = _this.variableName$0();
  112264. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  112265. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  112266. }
  112267. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  112268. },
  112269. trySpecialFunction$2($name, start) {
  112270. var t1, buffer, t2, next, t3, _this = this,
  112271. normalized = A.unvendor0($name);
  112272. $label0$0: {
  112273. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  112274. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  112275. else
  112276. t1 = true;
  112277. if (t1) {
  112278. t1 = new A.StringBuffer("");
  112279. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  112280. t1._contents = "" + $name;
  112281. t1._contents += A.Primitives_stringFromCharCode(40);
  112282. break $label0$0;
  112283. }
  112284. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  112285. t1 = new A.StringBuffer("");
  112286. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  112287. t1._contents = "" + $name;
  112288. t1._contents += A.Primitives_stringFromCharCode(58);
  112289. t2 = _this.scanner;
  112290. next = t2.peekChar$0();
  112291. while (true) {
  112292. if (next != null) {
  112293. if (!(next >= 97 && next <= 122))
  112294. t3 = next >= 65 && next <= 90;
  112295. else
  112296. t3 = true;
  112297. t3 = t3 || next === 46;
  112298. } else
  112299. t3 = false;
  112300. if (!t3)
  112301. break;
  112302. t1._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  112303. next = t2.peekChar$0();
  112304. }
  112305. t2.expectChar$1(40);
  112306. t1._contents += A.Primitives_stringFromCharCode(40);
  112307. break $label0$0;
  112308. }
  112309. if ("url" === normalized)
  112310. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  112311. return null;
  112312. }
  112313. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  112314. t1 = _this.scanner;
  112315. t1.expectChar$1(41);
  112316. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  112317. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  112318. },
  112319. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  112320. var t3, t4, buffer, _0_0, _0_6, t5, endPosition, result, _this = this,
  112321. t1 = _this.scanner,
  112322. t2 = t1._string_scanner$_position;
  112323. if (!t1.scanChar$1(40))
  112324. return null;
  112325. _this.whitespaceWithoutComments$0();
  112326. t3 = new A.StringBuffer("");
  112327. t4 = A._setArrayType([], type$.JSArray_Object);
  112328. buffer = new A.InterpolationBuffer0(t3, t4);
  112329. t3._contents = "" + ($name == null ? "url" : $name);
  112330. t3._contents += A.Primitives_stringFromCharCode(40);
  112331. for (; true;) {
  112332. _0_0 = t1.peekChar$0();
  112333. if (_0_0 == null)
  112334. break;
  112335. if (92 === _0_0) {
  112336. t3._contents += _this.escape$0();
  112337. continue;
  112338. }
  112339. _0_6 = 35 === _0_0;
  112340. if (_0_6 && t1.peekChar$1(1) === 123) {
  112341. t5 = _this.singleInterpolation$0();
  112342. buffer._interpolation_buffer0$_flushText$0();
  112343. t4.push(t5);
  112344. continue;
  112345. }
  112346. if (33 !== _0_0)
  112347. if (37 !== _0_0)
  112348. if (38 !== _0_0)
  112349. if (!_0_6)
  112350. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  112351. else
  112352. t5 = true;
  112353. else
  112354. t5 = true;
  112355. else
  112356. t5 = true;
  112357. else
  112358. t5 = true;
  112359. if (t5) {
  112360. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112361. continue;
  112362. }
  112363. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  112364. _this.whitespaceWithoutComments$0();
  112365. if (t1.peekChar$0() !== 41)
  112366. break;
  112367. continue;
  112368. }
  112369. if (41 === _0_0) {
  112370. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112371. endPosition = t1._string_scanner$_position;
  112372. t2 = t1._sourceFile;
  112373. t5 = start.position;
  112374. t1 = new A._FileSpan(t2, t5, endPosition);
  112375. t1._FileSpan$3(t2, t5, endPosition);
  112376. t5 = type$.Object;
  112377. t2 = A.List_List$of(t4, true, t5);
  112378. t4 = t3._contents;
  112379. if (t4.length !== 0)
  112380. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  112381. result = A.List_List$from(t2, false, t5);
  112382. result.fixed$length = Array;
  112383. result.immutable$list = Array;
  112384. t3 = new A.Interpolation0(result, t1);
  112385. t3.Interpolation$20(t2, t1);
  112386. return t3;
  112387. }
  112388. break;
  112389. }
  112390. t1.set$state(new A._SpanScannerState(t1, t2));
  112391. return null;
  112392. },
  112393. _stylesheet0$_tryUrlContents$1(start) {
  112394. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  112395. },
  112396. dynamicUrl$0() {
  112397. var _0_0, _this = this,
  112398. t1 = _this.scanner,
  112399. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112400. _this.expectIdentifier$1("url");
  112401. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  112402. if (_0_0 != null)
  112403. return new A.StringExpression0(_0_0, false);
  112404. 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));
  112405. },
  112406. almostAnyValue$1$omitComments(omitComments) {
  112407. var t4, t5, t6, _1_0, commentStart, end, t7, _0_0, _this = this,
  112408. t1 = _this.scanner,
  112409. t2 = t1._string_scanner$_position,
  112410. t3 = new A.StringBuffer(""),
  112411. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  112412. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  112413. $label0$0: {
  112414. _1_0 = t1.peekChar$0();
  112415. if (92 === _1_0) {
  112416. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112417. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112418. break $label0$0;
  112419. }
  112420. if (34 === _1_0 || 39 === _1_0) {
  112421. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  112422. break $label0$0;
  112423. }
  112424. if (47 === _1_0) {
  112425. commentStart = t1._string_scanner$_position;
  112426. if (_this.scanComment$0()) {
  112427. if (t6) {
  112428. end = t1._string_scanner$_position;
  112429. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  112430. }
  112431. } else
  112432. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112433. break $label0$0;
  112434. }
  112435. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  112436. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  112437. break $label0$0;
  112438. }
  112439. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  112440. if (_this.get$indented())
  112441. break;
  112442. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112443. break $label0$0;
  112444. }
  112445. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  112446. break;
  112447. if (117 === _1_0 || 85 === _1_0) {
  112448. t7 = t1._string_scanner$_position;
  112449. if (!_this.scanIdentifier$1("url")) {
  112450. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112451. continue;
  112452. }
  112453. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  112454. if (_0_0 != null)
  112455. buffer.addInterpolation$1(_0_0);
  112456. else {
  112457. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  112458. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  112459. t1._string_scanner$_position = t7;
  112460. t1._lastMatch = null;
  112461. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112462. }
  112463. break $label0$0;
  112464. }
  112465. if (_1_0 == null)
  112466. break;
  112467. t7 = _this.lookingAtIdentifier$0();
  112468. if (t7) {
  112469. t3._contents += _this.identifier$0();
  112470. break $label0$0;
  112471. }
  112472. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112473. }
  112474. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112475. },
  112476. almostAnyValue$0() {
  112477. return this.almostAnyValue$1$omitComments(false);
  112478. },
  112479. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  112480. var t4, t5, t6, t7, wroteNewline, _1_0, t8, start, end, _1_14, t9, _1_14_isSet, _1_18, _1_20, _1_20_isSet, _1_18_isSet, bracket, _0_0, _this = this, _null = null,
  112481. t1 = _this.scanner,
  112482. t2 = t1._string_scanner$_position,
  112483. t3 = new A.StringBuffer(""),
  112484. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  112485. brackets = A._setArrayType([], type$.JSArray_int);
  112486. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  112487. $label0$0: {
  112488. _1_0 = t1.peekChar$0();
  112489. if (92 === _1_0) {
  112490. t3._contents += _this.escape$1$identifierStart(true);
  112491. wroteNewline = false;
  112492. break $label0$0;
  112493. }
  112494. if (34 === _1_0 || 39 === _1_0) {
  112495. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  112496. wroteNewline = false;
  112497. break $label0$0;
  112498. }
  112499. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  112500. t8 = _this.get$loudComment();
  112501. start = t1._string_scanner$_position;
  112502. t8.call$0();
  112503. end = t1._string_scanner$_position;
  112504. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  112505. wroteNewline = false;
  112506. break $label0$0;
  112507. }
  112508. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  112509. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  112510. wroteNewline = false;
  112511. break $label0$0;
  112512. }
  112513. t8 = 32 !== _1_0;
  112514. if (t8) {
  112515. _1_14 = 9 === _1_0;
  112516. t9 = _1_14;
  112517. _1_14_isSet = true;
  112518. } else {
  112519. _1_14 = _null;
  112520. _1_14_isSet = false;
  112521. t9 = true;
  112522. }
  112523. if (t9)
  112524. if (!wroteNewline) {
  112525. t9 = t1.peekChar$1(1);
  112526. t9 = t9 === 32 || t9 === 9 || t9 === 10 || t9 === 13 || t9 === 12;
  112527. } else
  112528. t9 = false;
  112529. else
  112530. t9 = false;
  112531. if (t9) {
  112532. t1.readChar$0();
  112533. break $label0$0;
  112534. }
  112535. if (t8)
  112536. t8 = _1_14_isSet ? _1_14 : 9 === _1_0;
  112537. else
  112538. t8 = true;
  112539. if (t8) {
  112540. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112541. break $label0$0;
  112542. }
  112543. t8 = 10 !== _1_0;
  112544. if (t8) {
  112545. _1_18 = 13 === _1_0;
  112546. if (!_1_18) {
  112547. _1_20 = 12 === _1_0;
  112548. t9 = _1_20;
  112549. _1_20_isSet = true;
  112550. } else {
  112551. _1_20 = _null;
  112552. _1_20_isSet = false;
  112553. t9 = true;
  112554. }
  112555. _1_18_isSet = true;
  112556. } else {
  112557. _1_20 = _null;
  112558. _1_18 = _1_20;
  112559. _1_18_isSet = false;
  112560. _1_20_isSet = false;
  112561. t9 = true;
  112562. }
  112563. if (t9 && _this.get$indented())
  112564. break;
  112565. if (t8)
  112566. if (!(_1_18_isSet ? _1_18 : 13 === _1_0))
  112567. t8 = _1_20_isSet ? _1_20 : 12 === _1_0;
  112568. else
  112569. t8 = true;
  112570. else
  112571. t8 = true;
  112572. if (t8) {
  112573. t8 = t1.peekChar$1(-1);
  112574. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  112575. t3._contents += "\n";
  112576. t1.readChar$0();
  112577. wroteNewline = true;
  112578. break $label0$0;
  112579. }
  112580. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  112581. bracket = t1.readChar$0();
  112582. t3._contents += A.Primitives_stringFromCharCode(bracket);
  112583. brackets.push(A.opposite0(bracket));
  112584. wroteNewline = false;
  112585. break $label0$0;
  112586. }
  112587. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  112588. if (brackets.length === 0)
  112589. break;
  112590. bracket = brackets.pop();
  112591. t1.expectChar$1(bracket);
  112592. t3._contents += A.Primitives_stringFromCharCode(bracket);
  112593. wroteNewline = false;
  112594. break $label0$0;
  112595. }
  112596. if (59 === _1_0) {
  112597. if (t7 && brackets.length === 0)
  112598. break;
  112599. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112600. wroteNewline = false;
  112601. break $label0$0;
  112602. }
  112603. if (58 === _1_0) {
  112604. if (t6 && brackets.length === 0)
  112605. break;
  112606. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112607. wroteNewline = false;
  112608. break $label0$0;
  112609. }
  112610. if (117 === _1_0 || 85 === _1_0) {
  112611. t8 = t1._string_scanner$_position;
  112612. if (!_this.scanIdentifier$1("url")) {
  112613. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112614. wroteNewline = false;
  112615. continue;
  112616. }
  112617. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  112618. if (_0_0 != null)
  112619. buffer.addInterpolation$1(_0_0);
  112620. else {
  112621. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  112622. A.throwExpression(A.ArgumentError$("Invalid position " + t8, _null));
  112623. t1._string_scanner$_position = t8;
  112624. t1._lastMatch = null;
  112625. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112626. }
  112627. wroteNewline = false;
  112628. break $label0$0;
  112629. }
  112630. if (_1_0 == null)
  112631. break;
  112632. t8 = _this.lookingAtIdentifier$0();
  112633. if (t8) {
  112634. t3._contents += _this.identifier$0();
  112635. wroteNewline = false;
  112636. break $label0$0;
  112637. }
  112638. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112639. wroteNewline = false;
  112640. }
  112641. if (brackets.length !== 0)
  112642. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  112643. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  112644. t1.error$1(0, "Expected token.");
  112645. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112646. },
  112647. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  112648. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  112649. },
  112650. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  112651. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  112652. },
  112653. _stylesheet0$_interpolatedDeclarationValue$0() {
  112654. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  112655. },
  112656. interpolatedIdentifier$0() {
  112657. var _0_0, _this = this,
  112658. _s20_ = "Expected identifier.",
  112659. t1 = _this.scanner,
  112660. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112661. t2 = new A.StringBuffer(""),
  112662. t3 = A._setArrayType([], type$.JSArray_Object),
  112663. buffer = new A.InterpolationBuffer0(t2, t3);
  112664. if (t1.scanChar$1(45)) {
  112665. t2._contents += A.Primitives_stringFromCharCode(45);
  112666. if (t1.scanChar$1(45)) {
  112667. t2._contents += A.Primitives_stringFromCharCode(45);
  112668. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  112669. return buffer.interpolation$1(t1.spanFrom$1(start));
  112670. }
  112671. }
  112672. $label0$0: {
  112673. _0_0 = t1.peekChar$0();
  112674. if (_0_0 == null)
  112675. t1.error$1(0, _s20_);
  112676. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  112677. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112678. break $label0$0;
  112679. }
  112680. if (92 === _0_0) {
  112681. t2._contents += _this.escape$1$identifierStart(true);
  112682. break $label0$0;
  112683. }
  112684. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  112685. t2 = _this.singleInterpolation$0();
  112686. buffer._interpolation_buffer0$_flushText$0();
  112687. t3.push(t2);
  112688. break $label0$0;
  112689. }
  112690. t1.error$1(0, _s20_);
  112691. }
  112692. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  112693. return buffer.interpolation$1(t1.spanFrom$1(start));
  112694. },
  112695. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  112696. var t1, t2, t3, _0_0, t4;
  112697. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  112698. _0_0 = t2.peekChar$0();
  112699. if (_0_0 == null)
  112700. break;
  112701. if (95 !== _0_0)
  112702. if (45 !== _0_0) {
  112703. if (!(_0_0 >= 97 && _0_0 <= 122))
  112704. t4 = _0_0 >= 65 && _0_0 <= 90;
  112705. else
  112706. t4 = true;
  112707. if (!t4)
  112708. t4 = _0_0 >= 48 && _0_0 <= 57;
  112709. else
  112710. t4 = true;
  112711. t4 = t4 || _0_0 >= 128;
  112712. } else
  112713. t4 = true;
  112714. else
  112715. t4 = true;
  112716. if (t4) {
  112717. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  112718. continue;
  112719. }
  112720. if (92 === _0_0) {
  112721. t3._contents += this.escape$0();
  112722. continue;
  112723. }
  112724. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  112725. t4 = this.singleInterpolation$0();
  112726. buffer._interpolation_buffer0$_flushText$0();
  112727. t1.push(t4);
  112728. continue;
  112729. }
  112730. break;
  112731. }
  112732. },
  112733. singleInterpolation$0() {
  112734. var contents, _this = this,
  112735. t1 = _this.scanner,
  112736. t2 = t1._string_scanner$_position;
  112737. t1.expect$1("#{");
  112738. _this.whitespace$0();
  112739. contents = _this._stylesheet0$_expression$0();
  112740. t1.expectChar$1(125);
  112741. if (_this.get$plainCss())
  112742. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112743. return contents;
  112744. },
  112745. _stylesheet0$_mediaQueryList$0() {
  112746. var _this = this,
  112747. t1 = _this.scanner,
  112748. t2 = t1._string_scanner$_position,
  112749. t3 = new A.StringBuffer(""),
  112750. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  112751. for (; true;) {
  112752. _this.whitespace$0();
  112753. _this._stylesheet0$_mediaQuery$1(buffer);
  112754. _this.whitespace$0();
  112755. if (!t1.scanChar$1(44))
  112756. break;
  112757. t3._contents += A.Primitives_stringFromCharCode(44);
  112758. t3._contents += A.Primitives_stringFromCharCode(32);
  112759. }
  112760. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112761. },
  112762. _stylesheet0$_mediaQuery$1(buffer) {
  112763. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  112764. if (_this.scanner.peekChar$0() === 40) {
  112765. _this._stylesheet0$_mediaInParens$1(buffer);
  112766. _this.whitespace$0();
  112767. if (_this.scanIdentifier$1(_s3_)) {
  112768. buffer._interpolation_buffer0$_text._contents += " and ";
  112769. _this.expectWhitespace$0();
  112770. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  112771. } else if (_this.scanIdentifier$1("or")) {
  112772. buffer._interpolation_buffer0$_text._contents += " or ";
  112773. _this.expectWhitespace$0();
  112774. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  112775. }
  112776. return;
  112777. }
  112778. identifier1 = _this.interpolatedIdentifier$0();
  112779. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  112780. _this.expectWhitespace$0();
  112781. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  112782. buffer._interpolation_buffer0$_text._contents += "not ";
  112783. _this._stylesheet0$_mediaOrInterp$1(buffer);
  112784. return;
  112785. }
  112786. }
  112787. _this.whitespace$0();
  112788. buffer.addInterpolation$1(identifier1);
  112789. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112790. return;
  112791. t1 = buffer._interpolation_buffer0$_text;
  112792. t1._contents += A.Primitives_stringFromCharCode(32);
  112793. identifier2 = _this.interpolatedIdentifier$0();
  112794. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  112795. _this.expectWhitespace$0();
  112796. t1._contents += " and ";
  112797. } else {
  112798. _this.whitespace$0();
  112799. buffer.addInterpolation$1(identifier2);
  112800. if (_this.scanIdentifier$1(_s3_)) {
  112801. _this.expectWhitespace$0();
  112802. t1._contents += " and ";
  112803. } else
  112804. return;
  112805. }
  112806. if (_this.scanIdentifier$1("not")) {
  112807. _this.expectWhitespace$0();
  112808. t1._contents += "not ";
  112809. _this._stylesheet0$_mediaOrInterp$1(buffer);
  112810. return;
  112811. }
  112812. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  112813. return;
  112814. },
  112815. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  112816. var t1, t2, _this = this;
  112817. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  112818. _this._stylesheet0$_mediaOrInterp$1(buffer);
  112819. _this.whitespace$0();
  112820. if (!_this.scanIdentifier$1(operator))
  112821. return;
  112822. _this.expectWhitespace$0();
  112823. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  112824. t1._contents = t2 + operator;
  112825. t1._contents += A.Primitives_stringFromCharCode(32);
  112826. }
  112827. },
  112828. _stylesheet0$_mediaOrInterp$1(buffer) {
  112829. var interpolation;
  112830. if (this.scanner.peekChar$0() === 35) {
  112831. interpolation = this.singleInterpolation$0();
  112832. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  112833. } else
  112834. this._stylesheet0$_mediaInParens$1(buffer);
  112835. },
  112836. _stylesheet0$_mediaInParens$1(buffer) {
  112837. var t2, t3, t4, next, t5, _this = this,
  112838. t1 = _this.scanner;
  112839. t1.expectChar$2$name(40, "media condition in parentheses");
  112840. t2 = buffer._interpolation_buffer0$_text;
  112841. t2._contents += A.Primitives_stringFromCharCode(40);
  112842. _this.whitespace$0();
  112843. if (t1.peekChar$0() === 40) {
  112844. _this._stylesheet0$_mediaInParens$1(buffer);
  112845. _this.whitespace$0();
  112846. if (_this.scanIdentifier$1("and")) {
  112847. t2._contents += " and ";
  112848. _this.expectWhitespace$0();
  112849. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  112850. } else if (_this.scanIdentifier$1("or")) {
  112851. t2._contents += " or ";
  112852. _this.expectWhitespace$0();
  112853. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  112854. }
  112855. } else if (_this.scanIdentifier$1("not")) {
  112856. t2._contents += "not ";
  112857. _this.expectWhitespace$0();
  112858. _this._stylesheet0$_mediaOrInterp$1(buffer);
  112859. } else {
  112860. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  112861. buffer._interpolation_buffer0$_flushText$0();
  112862. t4 = buffer._interpolation_buffer0$_contents;
  112863. t4.push(t3);
  112864. if (t1.scanChar$1(58)) {
  112865. _this.whitespace$0();
  112866. t2._contents += A.Primitives_stringFromCharCode(58);
  112867. t2._contents += A.Primitives_stringFromCharCode(32);
  112868. t3 = _this._stylesheet0$_expression$0();
  112869. buffer._interpolation_buffer0$_flushText$0();
  112870. t4.push(t3);
  112871. } else {
  112872. next = t1.peekChar$0();
  112873. t3 = 60 !== next;
  112874. if (!t3 || 62 === next || 61 === next) {
  112875. t2._contents += A.Primitives_stringFromCharCode(32);
  112876. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112877. if ((!t3 || 62 === next) && t1.scanChar$1(61))
  112878. t2._contents += A.Primitives_stringFromCharCode(61);
  112879. t2._contents += A.Primitives_stringFromCharCode(32);
  112880. _this.whitespace$0();
  112881. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  112882. buffer._interpolation_buffer0$_flushText$0();
  112883. t4.push(t5);
  112884. if (!t3 || 62 === next) {
  112885. next.toString;
  112886. t3 = t1.scanChar$1(next);
  112887. } else
  112888. t3 = false;
  112889. if (t3) {
  112890. t2._contents += A.Primitives_stringFromCharCode(32);
  112891. t2._contents += A.Primitives_stringFromCharCode(next);
  112892. if (t1.scanChar$1(61))
  112893. t2._contents += A.Primitives_stringFromCharCode(61);
  112894. t2._contents += A.Primitives_stringFromCharCode(32);
  112895. _this.whitespace$0();
  112896. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  112897. buffer._interpolation_buffer0$_flushText$0();
  112898. t4.push(t3);
  112899. }
  112900. }
  112901. }
  112902. }
  112903. t1.expectChar$1(41);
  112904. _this.whitespace$0();
  112905. t2._contents += A.Primitives_stringFromCharCode(41);
  112906. },
  112907. _stylesheet0$_expressionUntilComparison$0() {
  112908. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  112909. },
  112910. _stylesheet0$_supportsCondition$0() {
  112911. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  112912. t1 = _this.scanner,
  112913. t2 = t1._string_scanner$_position;
  112914. if (_this.scanIdentifier$1("not")) {
  112915. _this.whitespace$0();
  112916. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112917. }
  112918. condition = _this._stylesheet0$_supportsConditionInParens$0();
  112919. _this.whitespace$0();
  112920. for (operator = null; _this.lookingAtIdentifier$0();) {
  112921. if (operator != null)
  112922. _this.expectIdentifier$1(operator);
  112923. else if (_this.scanIdentifier$1("or"))
  112924. operator = "or";
  112925. else {
  112926. _this.expectIdentifier$1("and");
  112927. operator = "and";
  112928. }
  112929. _this.whitespace$0();
  112930. right = _this._stylesheet0$_supportsConditionInParens$0();
  112931. endPosition = t1._string_scanner$_position;
  112932. t3 = t1._sourceFile;
  112933. t4 = new A._FileSpan(t3, t2, endPosition);
  112934. t4._FileSpan$3(t3, t2, endPosition);
  112935. condition = new A.SupportsOperation0(condition, right, operator, t4);
  112936. lowerOperator = operator.toLowerCase();
  112937. if (lowerOperator !== "and" && lowerOperator !== "or")
  112938. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  112939. _this.whitespace$0();
  112940. }
  112941. return condition;
  112942. },
  112943. _stylesheet0$_supportsConditionInParens$0() {
  112944. var $name, nameStart, wasInParentheses, identifier, operation, _1_0, contents, identifier0, t2, $arguments, _0_0, _0_4, _0_4_isSet, condition, exception, declaration, _this = this, _null = null,
  112945. t1 = _this.scanner,
  112946. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112947. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  112948. identifier0 = _this.interpolatedIdentifier$0();
  112949. t2 = identifier0.get$asPlain();
  112950. if ((t2 == null ? _null : t2.toLowerCase()) === "not")
  112951. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  112952. if (t1.scanChar$1(40)) {
  112953. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  112954. t1.expectChar$1(41);
  112955. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  112956. } else {
  112957. _0_0 = identifier0.contents;
  112958. if (_0_0.length === 1) {
  112959. _0_4 = _0_0[0];
  112960. t2 = _0_4;
  112961. t2 = type$.Expression_2._is(t2);
  112962. _0_4_isSet = true;
  112963. } else {
  112964. _0_4 = _null;
  112965. _0_4_isSet = false;
  112966. t2 = false;
  112967. }
  112968. if (t2) {
  112969. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  112970. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  112971. } else
  112972. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  112973. }
  112974. }
  112975. t1.expectChar$1(40);
  112976. _this.whitespace$0();
  112977. if (_this.scanIdentifier$1("not")) {
  112978. _this.whitespace$0();
  112979. condition = _this._stylesheet0$_supportsConditionInParens$0();
  112980. t1.expectChar$1(41);
  112981. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  112982. } else if (t1.peekChar$0() === 40) {
  112983. condition = _this._stylesheet0$_supportsCondition$0();
  112984. t1.expectChar$1(41);
  112985. return condition;
  112986. }
  112987. $name = null;
  112988. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112989. wasInParentheses = _this._stylesheet0$_inParentheses;
  112990. try {
  112991. $name = _this._stylesheet0$_expression$0();
  112992. t1.expectChar$1(58);
  112993. } catch (exception) {
  112994. if (type$.FormatException._is(A.unwrapException(exception))) {
  112995. t1.set$state(nameStart);
  112996. _this._stylesheet0$_inParentheses = wasInParentheses;
  112997. identifier = _this.interpolatedIdentifier$0();
  112998. operation = null;
  112999. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  113000. if (_1_0 != null) {
  113001. operation = _1_0;
  113002. t1.expectChar$1(41);
  113003. return operation;
  113004. }
  113005. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  113006. t2.addInterpolation$1(identifier);
  113007. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  113008. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  113009. if (t1.peekChar$0() === 58)
  113010. throw exception;
  113011. t1.expectChar$1(41);
  113012. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  113013. } else
  113014. throw exception;
  113015. }
  113016. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  113017. t1.expectChar$1(41);
  113018. return declaration;
  113019. },
  113020. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  113021. var t1, value, _this = this;
  113022. if ($name instanceof A.StringExpression0)
  113023. if (!$name.hasQuotes)
  113024. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  113025. else
  113026. t1 = false;
  113027. else
  113028. t1 = false;
  113029. if (t1)
  113030. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  113031. else {
  113032. _this.whitespace$0();
  113033. value = _this._stylesheet0$_expression$0();
  113034. }
  113035. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  113036. },
  113037. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  113038. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  113039. t1 = interpolation.contents;
  113040. if (t1.length !== 1)
  113041. return _null;
  113042. expression = B.JSArray_methods.get$first(t1);
  113043. if (!type$.Expression_2._is(expression))
  113044. return _null;
  113045. t1 = _this.scanner;
  113046. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113047. _this.whitespace$0();
  113048. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  113049. if (operator != null)
  113050. _this.expectIdentifier$1(operator);
  113051. else if (_this.scanIdentifier$1("and"))
  113052. operator = "and";
  113053. else {
  113054. if (!_this.scanIdentifier$1("or")) {
  113055. if (beforeWhitespace._scanner !== t1)
  113056. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  113057. t2 = beforeWhitespace.position;
  113058. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  113059. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  113060. t1._string_scanner$_position = t2;
  113061. return t1._lastMatch = null;
  113062. }
  113063. operator = "or";
  113064. }
  113065. _this.whitespace$0();
  113066. right = _this._stylesheet0$_supportsConditionInParens$0();
  113067. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  113068. endPosition = t1._string_scanner$_position;
  113069. t5 = t1._sourceFile;
  113070. t6 = new A._FileSpan(t5, t2, endPosition);
  113071. t6._FileSpan$3(t5, t2, endPosition);
  113072. operation = new A.SupportsOperation0(t4, right, operator, t6);
  113073. lowerOperator = operator.toLowerCase();
  113074. if (lowerOperator !== "and" && lowerOperator !== "or")
  113075. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113076. _this.whitespace$0();
  113077. }
  113078. return operation;
  113079. },
  113080. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  113081. var _0_0,
  113082. t1 = this.scanner,
  113083. _1_0 = t1.peekChar$0();
  113084. $label0$0: {
  113085. if (_1_0 == null) {
  113086. t1 = false;
  113087. break $label0$0;
  113088. }
  113089. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  113090. t1 = true;
  113091. break $label0$0;
  113092. }
  113093. if (35 === _1_0) {
  113094. t1 = t1.peekChar$1(1) === 123;
  113095. break $label0$0;
  113096. }
  113097. if (45 === _1_0) {
  113098. _0_0 = t1.peekChar$1(1);
  113099. $label1$1: {
  113100. if (_0_0 == null) {
  113101. t1 = false;
  113102. break $label1$1;
  113103. }
  113104. if (35 === _0_0) {
  113105. t1 = t1.peekChar$1(2) === 123;
  113106. break $label1$1;
  113107. }
  113108. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  113109. t1 = true;
  113110. break $label1$1;
  113111. }
  113112. t1 = false;
  113113. break $label1$1;
  113114. }
  113115. break $label0$0;
  113116. }
  113117. t1 = false;
  113118. break $label0$0;
  113119. }
  113120. return t1;
  113121. },
  113122. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  113123. var t1 = this.scanner,
  113124. _0_0 = t1.peekChar$0();
  113125. $label0$0: {
  113126. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  113127. t1 = true;
  113128. break $label0$0;
  113129. }
  113130. if (35 === _0_0) {
  113131. t1 = t1.peekChar$1(1) !== 123;
  113132. break $label0$0;
  113133. }
  113134. t1 = false;
  113135. break $label0$0;
  113136. }
  113137. return t1;
  113138. },
  113139. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  113140. var t2,
  113141. t1 = this.scanner,
  113142. _0_0 = t1.peekChar$0();
  113143. $label0$0: {
  113144. if (_0_0 == null) {
  113145. t1 = false;
  113146. break $label0$0;
  113147. }
  113148. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  113149. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  113150. else
  113151. t2 = true;
  113152. if (t2 || 92 === _0_0) {
  113153. t1 = true;
  113154. break $label0$0;
  113155. }
  113156. if (35 === _0_0) {
  113157. t1 = t1.peekChar$1(1) === 123;
  113158. break $label0$0;
  113159. }
  113160. t1 = false;
  113161. break $label0$0;
  113162. }
  113163. return t1;
  113164. },
  113165. _stylesheet0$_lookingAtExpression$0() {
  113166. var _0_0,
  113167. t1 = this.scanner,
  113168. _1_0 = t1.peekChar$0();
  113169. $label0$0: {
  113170. if (_1_0 == null) {
  113171. t1 = false;
  113172. break $label0$0;
  113173. }
  113174. if (46 === _1_0) {
  113175. t1 = t1.peekChar$1(1) !== 46;
  113176. break $label0$0;
  113177. }
  113178. if (33 === _1_0) {
  113179. _0_0 = t1.peekChar$1(1);
  113180. $label1$1: {
  113181. if (_0_0 != null)
  113182. if (105 !== _0_0)
  113183. if (73 !== _0_0)
  113184. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  113185. else
  113186. t1 = true;
  113187. else
  113188. t1 = true;
  113189. else
  113190. t1 = true;
  113191. if (t1) {
  113192. t1 = true;
  113193. break $label1$1;
  113194. }
  113195. t1 = false;
  113196. break $label1$1;
  113197. }
  113198. break $label0$0;
  113199. }
  113200. if (40 !== _1_0)
  113201. if (47 !== _1_0)
  113202. if (91 !== _1_0)
  113203. if (39 !== _1_0)
  113204. if (34 !== _1_0)
  113205. if (35 !== _1_0)
  113206. if (43 !== _1_0)
  113207. if (45 !== _1_0)
  113208. if (92 !== _1_0)
  113209. if (36 !== _1_0)
  113210. if (38 !== _1_0)
  113211. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  113212. t1 = _1_0 >= 48 && _1_0 <= 57;
  113213. else
  113214. t1 = true;
  113215. else
  113216. t1 = true;
  113217. else
  113218. t1 = true;
  113219. else
  113220. t1 = true;
  113221. else
  113222. t1 = true;
  113223. else
  113224. t1 = true;
  113225. else
  113226. t1 = true;
  113227. else
  113228. t1 = true;
  113229. else
  113230. t1 = true;
  113231. else
  113232. t1 = true;
  113233. else
  113234. t1 = true;
  113235. else
  113236. t1 = true;
  113237. if (t1) {
  113238. t1 = true;
  113239. break $label0$0;
  113240. }
  113241. t1 = false;
  113242. break $label0$0;
  113243. }
  113244. return t1;
  113245. },
  113246. _stylesheet0$_withChildren$1$3(child, start, create) {
  113247. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  113248. this.whitespaceWithoutComments$0();
  113249. return result;
  113250. },
  113251. _stylesheet0$_withChildren$3(child, start, create) {
  113252. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  113253. },
  113254. _stylesheet0$_urlString$0() {
  113255. var innerError, stackTrace, t2, exception,
  113256. t1 = this.scanner,
  113257. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113258. url = this.string$0();
  113259. try {
  113260. t2 = A.Uri_parse(url);
  113261. return t2;
  113262. } catch (exception) {
  113263. t2 = A.unwrapException(exception);
  113264. if (type$.FormatException._is(t2)) {
  113265. innerError = t2;
  113266. stackTrace = A.getTraceFromException(exception);
  113267. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  113268. } else
  113269. throw exception;
  113270. }
  113271. },
  113272. _stylesheet0$_publicIdentifier$0() {
  113273. var _this = this,
  113274. t1 = _this.scanner,
  113275. t2 = t1._string_scanner$_position,
  113276. result = _this.identifier$1$normalize(true);
  113277. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  113278. return result;
  113279. },
  113280. _stylesheet0$_assertPublic$2(identifier, span) {
  113281. var first = identifier.charCodeAt(0);
  113282. if (!(first === 45 || first === 95))
  113283. return;
  113284. this.error$2(0, string$.Privat, span.call$0());
  113285. },
  113286. get$plainCss() {
  113287. return false;
  113288. }
  113289. };
  113290. A.StylesheetParser_parse_closure0.prototype = {
  113291. call$0() {
  113292. var statements, t4,
  113293. t1 = this.$this,
  113294. t2 = t1.scanner,
  113295. t3 = t2._string_scanner$_position;
  113296. t2.scanChar$1(65279);
  113297. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  113298. t2.expectDone$0();
  113299. t4 = t1._stylesheet0$_globalVariables.get$values(0);
  113300. 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));
  113301. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  113302. },
  113303. $signature: 548
  113304. };
  113305. A.StylesheetParser_parse__closure1.prototype = {
  113306. call$0() {
  113307. var t1 = this.$this;
  113308. if (t1.scanner.scan$1("@charset")) {
  113309. t1.whitespace$0();
  113310. t1.string$0();
  113311. return null;
  113312. }
  113313. return t1._stylesheet0$_statement$1$root(true);
  113314. },
  113315. $signature: 549
  113316. };
  113317. A.StylesheetParser_parse__closure2.prototype = {
  113318. call$1(declaration) {
  113319. var t1 = declaration.expression;
  113320. return A.VariableDeclaration$0(declaration.name, new A.NullExpression0(t1.get$span(t1)), declaration.span, null, false, true, null);
  113321. },
  113322. $signature: 550
  113323. };
  113324. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  113325. call$0() {
  113326. var $arguments,
  113327. t1 = this.$this,
  113328. t2 = t1.scanner;
  113329. t2.expectChar$2$name(64, "@-rule");
  113330. t1.identifier$0();
  113331. t1.whitespace$0();
  113332. t1.identifier$0();
  113333. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  113334. t1.whitespace$0();
  113335. t2.expectChar$1(123);
  113336. return $arguments;
  113337. },
  113338. $signature: 551
  113339. };
  113340. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  113341. call$0() {
  113342. var result = this.production.call$0();
  113343. this.$this.scanner.expectDone$0();
  113344. return result;
  113345. },
  113346. $signature() {
  113347. return this.T._eval$1("0()");
  113348. }
  113349. };
  113350. A.StylesheetParser_parseSignature_closure.prototype = {
  113351. call$0() {
  113352. var $arguments, t2, t3,
  113353. t1 = this.$this,
  113354. $name = t1.identifier$0();
  113355. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  113356. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  113357. else {
  113358. t2 = t1.scanner;
  113359. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  113360. t3 = t2.offset;
  113361. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  113362. }
  113363. t1.scanner.expectDone$0();
  113364. return new A._Record_2($name, $arguments);
  113365. },
  113366. $signature: 552
  113367. };
  113368. A.StylesheetParser__statement_closure0.prototype = {
  113369. call$0() {
  113370. return this.$this._stylesheet0$_statement$0();
  113371. },
  113372. $signature: 125
  113373. };
  113374. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  113375. call$0() {
  113376. return this.$this.scanner.spanFrom$1(this.start);
  113377. },
  113378. $signature: 25
  113379. };
  113380. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  113381. call$0() {
  113382. return this.declaration;
  113383. },
  113384. $signature: 553
  113385. };
  113386. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  113387. call$2(children, span) {
  113388. return A.Declaration$nested0(this.name, children, span, null);
  113389. },
  113390. $signature: 108
  113391. };
  113392. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  113393. call$2(children, span) {
  113394. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  113395. },
  113396. $signature: 108
  113397. };
  113398. A.StylesheetParser__styleRule_closure0.prototype = {
  113399. call$2(children, span) {
  113400. var _this = this,
  113401. t1 = _this.$this;
  113402. if (t1.get$indented() && children.length === 0)
  113403. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  113404. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  113405. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  113406. },
  113407. $signature: 555
  113408. };
  113409. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  113410. call$2(children, span) {
  113411. return A.Declaration$nested0(this._box_0.name, children, span, null);
  113412. },
  113413. $signature: 108
  113414. };
  113415. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  113416. call$2(children, span) {
  113417. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  113418. },
  113419. $signature: 108
  113420. };
  113421. A.StylesheetParser__atRootRule_closure1.prototype = {
  113422. call$2(children, span) {
  113423. return A.AtRootRule$0(children, span, this.query);
  113424. },
  113425. $signature: 213
  113426. };
  113427. A.StylesheetParser__atRootRule_closure2.prototype = {
  113428. call$2(children, span) {
  113429. return A.AtRootRule$0(children, span, null);
  113430. },
  113431. $signature: 213
  113432. };
  113433. A.StylesheetParser__eachRule_closure0.prototype = {
  113434. call$2(children, span) {
  113435. var _this = this;
  113436. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  113437. return A.EachRule$0(_this.variables, _this.list, children, span);
  113438. },
  113439. $signature: 557
  113440. };
  113441. A.StylesheetParser__functionRule_closure0.prototype = {
  113442. call$2(children, span) {
  113443. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  113444. },
  113445. $signature: 558
  113446. };
  113447. A.StylesheetParser__forRule_closure1.prototype = {
  113448. call$0() {
  113449. var t1 = this.$this;
  113450. if (!t1.lookingAtIdentifier$0())
  113451. return false;
  113452. if (t1.scanIdentifier$1("to"))
  113453. return this._box_0.exclusive = true;
  113454. else if (t1.scanIdentifier$1("through")) {
  113455. this._box_0.exclusive = false;
  113456. return true;
  113457. } else
  113458. return false;
  113459. },
  113460. $signature: 26
  113461. };
  113462. A.StylesheetParser__forRule_closure2.prototype = {
  113463. call$2(children, span) {
  113464. var t1, _this = this;
  113465. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  113466. t1 = _this._box_0.exclusive;
  113467. t1.toString;
  113468. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  113469. },
  113470. $signature: 559
  113471. };
  113472. A.StylesheetParser__memberList_closure0.prototype = {
  113473. call$0() {
  113474. var t1 = this.$this;
  113475. if (t1.scanner.peekChar$0() === 36)
  113476. this.variables.add$1(0, t1.variableName$0());
  113477. else
  113478. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  113479. },
  113480. $signature: 1
  113481. };
  113482. A.StylesheetParser__includeRule_closure0.prototype = {
  113483. call$2(children, span) {
  113484. return A.ContentBlock$0(this.contentArguments_, children, span);
  113485. },
  113486. $signature: 560
  113487. };
  113488. A.StylesheetParser_mediaRule_closure0.prototype = {
  113489. call$2(children, span) {
  113490. return A.MediaRule$0(this.query, children, span);
  113491. },
  113492. $signature: 561
  113493. };
  113494. A.StylesheetParser__mixinRule_closure0.prototype = {
  113495. call$2(children, span) {
  113496. var _this = this;
  113497. _this.$this._stylesheet0$_inMixin = false;
  113498. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  113499. },
  113500. $signature: 562
  113501. };
  113502. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  113503. call$2(children, span) {
  113504. var _this = this;
  113505. if (_this._box_0.needsDeprecationWarning)
  113506. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_GbU, string$.x40_moz_, span, null);
  113507. return A.AtRule$0(_this.name, span, children, _this.value);
  113508. },
  113509. $signature: 210
  113510. };
  113511. A.StylesheetParser_supportsRule_closure0.prototype = {
  113512. call$2(children, span) {
  113513. return A.SupportsRule$0(this.condition, children, span);
  113514. },
  113515. $signature: 564
  113516. };
  113517. A.StylesheetParser__whileRule_closure0.prototype = {
  113518. call$2(children, span) {
  113519. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  113520. return A.WhileRule$0(this.condition, children, span);
  113521. },
  113522. $signature: 565
  113523. };
  113524. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  113525. call$2(children, span) {
  113526. return A.AtRule$0(this.name, span, children, this._box_0.value);
  113527. },
  113528. $signature: 210
  113529. };
  113530. A.StylesheetParser__expression_resetState0.prototype = {
  113531. call$0() {
  113532. var t2,
  113533. t1 = this._box_0;
  113534. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  113535. t2 = this.$this;
  113536. t2.scanner.set$state(this.start);
  113537. t1.allowSlash = true;
  113538. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  113539. },
  113540. $signature: 0
  113541. };
  113542. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  113543. call$0() {
  113544. var t2, t3, t4, t5, t6, t7, _this = this,
  113545. t1 = _this._box_0,
  113546. operator = t1.operators_.pop(),
  113547. left = t1.operands_.pop(),
  113548. right = t1.singleExpression_;
  113549. if (right == null) {
  113550. t2 = _this.$this.scanner;
  113551. t3 = operator.operator.length;
  113552. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  113553. }
  113554. if (t1.allowSlash) {
  113555. t2 = _this.$this;
  113556. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_t8B0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  113557. } else
  113558. t2 = false;
  113559. if (t2)
  113560. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_t8B0, left, right, true);
  113561. else {
  113562. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  113563. t2 = t1.allowSlash = false;
  113564. if (B.BinaryOperator_anB0 === operator || B.BinaryOperator_olz0 === operator) {
  113565. t3 = _this.$this;
  113566. t4 = t3.scanner.string;
  113567. t5 = right.get$span(right);
  113568. t5 = t5.get$start(t5);
  113569. t6 = right.get$span(right);
  113570. t7 = operator.operator;
  113571. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  113572. t2 = left.get$span(left);
  113573. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  113574. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  113575. }
  113576. if (t2) {
  113577. t2 = left.toString$0(0);
  113578. t4 = right.toString$0(0);
  113579. t5 = left.toString$0(0);
  113580. t6 = right.toString$0(0);
  113581. t1 = t1.singleExpression_;
  113582. 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);
  113583. }
  113584. }
  113585. }
  113586. },
  113587. $signature: 0
  113588. };
  113589. A.StylesheetParser__expression_resolveOperations0.prototype = {
  113590. call$0() {
  113591. var t1,
  113592. operators = this._box_0.operators_;
  113593. if (operators == null)
  113594. return;
  113595. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  113596. t1.call$0();
  113597. },
  113598. $signature: 0
  113599. };
  113600. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  113601. call$1(expression) {
  113602. var t2, spaceExpressions, _this = this,
  113603. t1 = _this._box_0;
  113604. if (t1.singleExpression_ != null) {
  113605. t2 = _this.$this;
  113606. if (t2._stylesheet0$_inParentheses) {
  113607. t2._stylesheet0$_inParentheses = false;
  113608. if (t1.allowSlash) {
  113609. _this.resetState.call$0();
  113610. return;
  113611. }
  113612. }
  113613. spaceExpressions = t1.spaceExpressions_;
  113614. if (spaceExpressions == null)
  113615. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  113616. _this.resolveOperations.call$0();
  113617. t2 = t1.singleExpression_;
  113618. t2.toString;
  113619. spaceExpressions.push(t2);
  113620. t1.allowSlash = true;
  113621. }
  113622. t1.singleExpression_ = expression;
  113623. },
  113624. $signature: 566
  113625. };
  113626. A.StylesheetParser__expression_addOperator0.prototype = {
  113627. call$1(operator) {
  113628. var t2, t3, operators, operands, t4, singleExpression,
  113629. t1 = this.$this;
  113630. if (t1.get$plainCss() && operator !== B.BinaryOperator_2jN0 && operator !== B.BinaryOperator_anB0 && operator !== B.BinaryOperator_olz0 && operator !== B.BinaryOperator_qN20 && operator !== B.BinaryOperator_t8B0) {
  113631. t2 = t1.scanner;
  113632. t3 = operator.operator.length;
  113633. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  113634. }
  113635. t2 = this._box_0;
  113636. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B0;
  113637. operators = t2.operators_;
  113638. if (operators == null)
  113639. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  113640. operands = t2.operands_;
  113641. if (operands == null)
  113642. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  113643. t3 = this.resolveOneOperation;
  113644. t4 = operator.precedence;
  113645. while (true) {
  113646. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  113647. break;
  113648. t3.call$0();
  113649. }
  113650. operators.push(operator);
  113651. singleExpression = t2.singleExpression_;
  113652. if (singleExpression == null) {
  113653. t3 = t1.scanner;
  113654. t4 = operator.operator.length;
  113655. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  113656. }
  113657. operands.push(singleExpression);
  113658. t1.whitespace$0();
  113659. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  113660. },
  113661. $signature: 567
  113662. };
  113663. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  113664. call$0() {
  113665. var t1, spaceExpressions, singleExpression, t2;
  113666. this.resolveOperations.call$0();
  113667. t1 = this._box_0;
  113668. spaceExpressions = t1.spaceExpressions_;
  113669. if (spaceExpressions == null)
  113670. return;
  113671. singleExpression = t1.singleExpression_;
  113672. if (singleExpression == null)
  113673. this.$this.scanner.error$1(0, "Expected expression.");
  113674. spaceExpressions.push(singleExpression);
  113675. t2 = B.JSArray_methods.get$first(spaceExpressions);
  113676. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  113677. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  113678. t1.spaceExpressions_ = null;
  113679. },
  113680. $signature: 0
  113681. };
  113682. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  113683. call$0() {
  113684. return this.$this.scanner.peekChar$0() === 44;
  113685. },
  113686. $signature: 26
  113687. };
  113688. A.StylesheetParser__isHexColor_closure0.prototype = {
  113689. call$1(char) {
  113690. return A.CharacterExtension_get_isHex0(char);
  113691. },
  113692. $signature: 46
  113693. };
  113694. A.StylesheetParser__unicodeRange_closure1.prototype = {
  113695. call$1(char) {
  113696. return char != null && A.CharacterExtension_get_isHex0(char);
  113697. },
  113698. $signature: 28
  113699. };
  113700. A.StylesheetParser__unicodeRange_closure2.prototype = {
  113701. call$1(char) {
  113702. return char != null && A.CharacterExtension_get_isHex0(char);
  113703. },
  113704. $signature: 28
  113705. };
  113706. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  113707. call$0() {
  113708. return this.$this.scanner.spanFrom$1(this.start);
  113709. },
  113710. $signature: 25
  113711. };
  113712. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  113713. call$1(contents) {
  113714. return new A.StringExpression0(contents, false);
  113715. },
  113716. $signature: 568
  113717. };
  113718. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  113719. call$0() {
  113720. var t1 = this.$this.scanner,
  113721. _0_0 = t1.peekChar$0();
  113722. $label0$0: {
  113723. if (61 === _0_0) {
  113724. t1 = t1.peekChar$1(1) !== 61;
  113725. break $label0$0;
  113726. }
  113727. if (60 === _0_0 || 62 === _0_0) {
  113728. t1 = true;
  113729. break $label0$0;
  113730. }
  113731. t1 = false;
  113732. break $label0$0;
  113733. }
  113734. return t1;
  113735. },
  113736. $signature: 26
  113737. };
  113738. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  113739. call$0() {
  113740. return this.$this.scanner.spanFrom$1(this.start);
  113741. },
  113742. $signature: 25
  113743. };
  113744. A.Stylesheet0.prototype = {
  113745. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  113746. var t1, t2, t3, t4, _i, child;
  113747. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  113748. child = t1[_i];
  113749. if (child instanceof A.UseRule0) {
  113750. t4.push(child);
  113751. continue;
  113752. }
  113753. if (child instanceof A.ForwardRule0) {
  113754. t3.push(child);
  113755. continue;
  113756. }
  113757. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  113758. continue;
  113759. break;
  113760. }
  113761. },
  113762. accept$1$1(visitor) {
  113763. return visitor.visitStylesheet$1(this);
  113764. },
  113765. accept$1(visitor) {
  113766. return this.accept$1$1(visitor, type$.dynamic);
  113767. },
  113768. toString$0(_) {
  113769. var t1 = this.children;
  113770. return (t1 && B.JSArray_methods).join$1(t1, " ");
  113771. },
  113772. get$span(receiver) {
  113773. return this.span;
  113774. }
  113775. };
  113776. A.SupportsExpression0.prototype = {
  113777. get$span(_) {
  113778. var t1 = this.condition;
  113779. return t1.get$span(t1);
  113780. },
  113781. accept$1$1(visitor) {
  113782. return visitor.visitSupportsExpression$1(this);
  113783. },
  113784. accept$1(visitor) {
  113785. return this.accept$1$1(visitor, type$.dynamic);
  113786. },
  113787. toString$0(_) {
  113788. return this.condition.toString$0(0);
  113789. },
  113790. $isExpression0: 1,
  113791. $isAstNode0: 1
  113792. };
  113793. A.ModifiableCssSupportsRule0.prototype = {
  113794. accept$1$1(visitor) {
  113795. return visitor.visitCssSupportsRule$1(this);
  113796. },
  113797. accept$1(visitor) {
  113798. return this.accept$1$1(visitor, type$.dynamic);
  113799. },
  113800. equalsIgnoringChildren$1(other) {
  113801. var t1, t2;
  113802. if (other instanceof A.ModifiableCssSupportsRule0) {
  113803. t1 = this.condition;
  113804. t2 = other.condition;
  113805. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  113806. } else
  113807. t1 = false;
  113808. return t1;
  113809. },
  113810. copyWithoutChildren$0() {
  113811. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  113812. },
  113813. get$span(receiver) {
  113814. return this.span;
  113815. }
  113816. };
  113817. A.SupportsRule0.prototype = {
  113818. accept$1$1(visitor) {
  113819. return visitor.visitSupportsRule$1(this);
  113820. },
  113821. accept$1(visitor) {
  113822. return this.accept$1$1(visitor, type$.dynamic);
  113823. },
  113824. toString$0(_) {
  113825. var t1 = this.children;
  113826. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  113827. },
  113828. get$span(receiver) {
  113829. return this.span;
  113830. }
  113831. };
  113832. A.JSToDartImporter.prototype = {
  113833. canonicalize$1(_, url) {
  113834. var t1,
  113835. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  113836. if (result == null)
  113837. return null;
  113838. t1 = self.URL;
  113839. if (result instanceof t1)
  113840. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  113841. t1 = self.Promise;
  113842. if (result instanceof t1)
  113843. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  113844. else
  113845. A.jsThrow(new self.Error(string$.The_ca));
  113846. },
  113847. load$1(_, url) {
  113848. var t1, contents, syntax, t2,
  113849. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  113850. if (result == null)
  113851. return null;
  113852. t1 = self.Promise;
  113853. if (result instanceof t1)
  113854. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  113855. type$.JSImporterResult._as(result);
  113856. t1 = J.getInterceptor$x(result);
  113857. contents = t1.get$contents(result);
  113858. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  113859. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  113860. syntax = t1.get$syntax(result);
  113861. if (contents == null || syntax == null)
  113862. A.jsThrow(new self.Error(string$.The_lo));
  113863. t2 = A.parseSyntax(syntax);
  113864. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  113865. },
  113866. isNonCanonicalScheme$1(scheme) {
  113867. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  113868. }
  113869. };
  113870. A.JSToDartImporter_canonicalize_closure.prototype = {
  113871. call$0() {
  113872. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl0(), A.utils1__dartToJSUrl$closure())});
  113873. },
  113874. $signature: 35
  113875. };
  113876. A.JSToDartImporter_load_closure.prototype = {
  113877. call$0() {
  113878. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  113879. },
  113880. $signature: 35
  113881. };
  113882. A.Syntax0.prototype = {
  113883. _enumToString$0() {
  113884. return "Syntax." + this._name;
  113885. },
  113886. toString$0(_) {
  113887. return this._syntax0$_name;
  113888. }
  113889. };
  113890. A.TypeSelector0.prototype = {
  113891. get$specificity() {
  113892. return 1;
  113893. },
  113894. accept$1$1(visitor) {
  113895. return visitor.visitTypeSelector$1(this);
  113896. },
  113897. accept$1(visitor) {
  113898. return this.accept$1$1(visitor, type$.dynamic);
  113899. },
  113900. addSuffix$1(suffix) {
  113901. var t1 = this.name;
  113902. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  113903. },
  113904. unify$1(compound) {
  113905. var unified, t1,
  113906. _0_0 = B.JSArray_methods.get$first(compound);
  113907. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  113908. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  113909. if (unified == null)
  113910. return null;
  113911. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  113912. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  113913. return t1;
  113914. } else {
  113915. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  113916. B.JSArray_methods.addAll$1(t1, compound);
  113917. return t1;
  113918. }
  113919. },
  113920. isSuperselector$1(other) {
  113921. var t1, t2;
  113922. if (!this.super$SimpleSelector$isSuperselector0(other))
  113923. if (other instanceof A.TypeSelector0) {
  113924. t1 = this.name;
  113925. t2 = other.name;
  113926. if (t1.name === t2.name) {
  113927. t1 = t1.namespace;
  113928. t1 = t1 === "*" || t1 == t2.namespace;
  113929. } else
  113930. t1 = false;
  113931. } else
  113932. t1 = false;
  113933. else
  113934. t1 = true;
  113935. return t1;
  113936. },
  113937. $eq(_, other) {
  113938. if (other == null)
  113939. return false;
  113940. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  113941. },
  113942. get$hashCode(_) {
  113943. var t1 = this.name;
  113944. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  113945. }
  113946. };
  113947. A.Types.prototype = {};
  113948. A.UnaryOperationExpression0.prototype = {
  113949. accept$1$1(visitor) {
  113950. return visitor.visitUnaryOperationExpression$1(this);
  113951. },
  113952. accept$1(visitor) {
  113953. return this.accept$1$1(visitor, type$.dynamic);
  113954. },
  113955. toString$0(_) {
  113956. var operand,
  113957. t1 = this.operator,
  113958. t2 = t1.operator;
  113959. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  113960. operand = this.operand;
  113961. $label0$0: {
  113962. if (!(operand instanceof A.BinaryOperationExpression0))
  113963. if (!(operand instanceof A.UnaryOperationExpression0))
  113964. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  113965. else
  113966. t2 = true;
  113967. else
  113968. t2 = true;
  113969. if (t2) {
  113970. t2 = true;
  113971. break $label0$0;
  113972. }
  113973. t2 = false;
  113974. break $label0$0;
  113975. }
  113976. if (t2)
  113977. t1 += "40";
  113978. t1 += operand.toString$0(0);
  113979. if (t2)
  113980. t1 += "41";
  113981. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113982. },
  113983. $isExpression0: 1,
  113984. $isAstNode0: 1,
  113985. get$span(receiver) {
  113986. return this.span;
  113987. }
  113988. };
  113989. A.UnaryOperator0.prototype = {
  113990. _enumToString$0() {
  113991. return "UnaryOperator." + this._name;
  113992. },
  113993. toString$0(_) {
  113994. return this.name;
  113995. }
  113996. };
  113997. A.UnitlessSassNumber0.prototype = {
  113998. get$numeratorUnits(_) {
  113999. return B.List_empty;
  114000. },
  114001. get$denominatorUnits(_) {
  114002. return B.List_empty;
  114003. },
  114004. get$hasUnits() {
  114005. return false;
  114006. },
  114007. get$hasComplexUnits() {
  114008. return false;
  114009. },
  114010. withValue$1(value) {
  114011. return new A.UnitlessSassNumber0(value, null);
  114012. },
  114013. withSlash$2(numerator, denominator) {
  114014. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  114015. },
  114016. hasUnit$1(unit) {
  114017. return false;
  114018. },
  114019. hasCompatibleUnits$1(other) {
  114020. return other instanceof A.UnitlessSassNumber0;
  114021. },
  114022. hasPossiblyCompatibleUnits$1(other) {
  114023. return other instanceof A.UnitlessSassNumber0;
  114024. },
  114025. compatibleWithUnit$1(unit) {
  114026. return true;
  114027. },
  114028. coerceToMatch$3(other, $name, otherName) {
  114029. return other.withValue$1(this._number1$_value);
  114030. },
  114031. coerceToMatch$1(other) {
  114032. return this.coerceToMatch$3(other, null, null);
  114033. },
  114034. coerceValueToMatch$3(other, $name, otherName) {
  114035. return this._number1$_value;
  114036. },
  114037. coerceValueToMatch$1(other) {
  114038. return this.coerceValueToMatch$3(other, null, null);
  114039. },
  114040. convertToMatch$3(other, $name, otherName) {
  114041. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  114042. },
  114043. convertValueToMatch$3(other, $name, otherName) {
  114044. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  114045. },
  114046. convertValueToMatch$1(other) {
  114047. return this.convertValueToMatch$3(other, null, null);
  114048. },
  114049. coerce$3(newNumerators, newDenominators, $name) {
  114050. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  114051. },
  114052. coerce$2(newNumerators, newDenominators) {
  114053. return this.coerce$3(newNumerators, newDenominators, null);
  114054. },
  114055. coerceValue$3(newNumerators, newDenominators, $name) {
  114056. return this._number1$_value;
  114057. },
  114058. coerceValueToUnit$2(unit, $name) {
  114059. return this._number1$_value;
  114060. },
  114061. coerceValueToUnit$1(unit) {
  114062. return this.coerceValueToUnit$2(unit, null);
  114063. },
  114064. greaterThan$1(other) {
  114065. var t1, t2;
  114066. if (other instanceof A.SassNumber0) {
  114067. t1 = this._number1$_value;
  114068. t2 = other._number1$_value;
  114069. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114070. }
  114071. return this.super$SassNumber$greaterThan0(other);
  114072. },
  114073. greaterThanOrEquals$1(other) {
  114074. var t1, t2;
  114075. if (other instanceof A.SassNumber0) {
  114076. t1 = this._number1$_value;
  114077. t2 = other._number1$_value;
  114078. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114079. }
  114080. return this.super$SassNumber$greaterThanOrEquals0(other);
  114081. },
  114082. lessThan$1(other) {
  114083. var t1, t2;
  114084. if (other instanceof A.SassNumber0) {
  114085. t1 = this._number1$_value;
  114086. t2 = other._number1$_value;
  114087. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114088. }
  114089. return this.super$SassNumber$lessThan0(other);
  114090. },
  114091. lessThanOrEquals$1(other) {
  114092. var t1, t2;
  114093. if (other instanceof A.SassNumber0) {
  114094. t1 = this._number1$_value;
  114095. t2 = other._number1$_value;
  114096. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114097. }
  114098. return this.super$SassNumber$lessThanOrEquals0(other);
  114099. },
  114100. modulo$1(other) {
  114101. if (other instanceof A.SassNumber0)
  114102. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  114103. return this.super$SassNumber$modulo0(other);
  114104. },
  114105. plus$1(other) {
  114106. if (other instanceof A.SassNumber0)
  114107. return other.withValue$1(this._number1$_value + other._number1$_value);
  114108. return this.super$SassNumber$plus0(other);
  114109. },
  114110. minus$1(other) {
  114111. if (other instanceof A.SassNumber0)
  114112. return other.withValue$1(this._number1$_value - other._number1$_value);
  114113. return this.super$SassNumber$minus0(other);
  114114. },
  114115. times$1(other) {
  114116. if (other instanceof A.SassNumber0)
  114117. return other.withValue$1(this._number1$_value * other._number1$_value);
  114118. return this.super$SassNumber$times0(other);
  114119. },
  114120. dividedBy$1(other) {
  114121. var t1, t2;
  114122. if (other instanceof A.SassNumber0) {
  114123. t1 = this._number1$_value / other._number1$_value;
  114124. if (other.get$hasUnits()) {
  114125. t2 = other.get$denominatorUnits(other);
  114126. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  114127. t1 = t2;
  114128. } else
  114129. t1 = new A.UnitlessSassNumber0(t1, null);
  114130. return t1;
  114131. }
  114132. return this.super$SassNumber$dividedBy0(other);
  114133. },
  114134. unaryMinus$0() {
  114135. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  114136. },
  114137. $eq(_, other) {
  114138. if (other == null)
  114139. return false;
  114140. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  114141. },
  114142. get$hashCode(_) {
  114143. var t1 = this.hashCache;
  114144. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  114145. }
  114146. };
  114147. A.UniversalSelector0.prototype = {
  114148. get$specificity() {
  114149. return 0;
  114150. },
  114151. accept$1$1(visitor) {
  114152. return visitor.visitUniversalSelector$1(this);
  114153. },
  114154. accept$1(visitor) {
  114155. return this.accept$1$1(visitor, type$.dynamic);
  114156. },
  114157. unify$1(compound) {
  114158. var _0_4, t1, rest, _0_4_isSet, unified, _this = this, _null = null,
  114159. _0_1 = compound.length;
  114160. if (_0_1 >= 1) {
  114161. _0_4 = compound[0];
  114162. t1 = _0_4;
  114163. if (!(t1 instanceof A.UniversalSelector0))
  114164. t1 = _0_4 instanceof A.TypeSelector0;
  114165. else
  114166. t1 = true;
  114167. if (t1) {
  114168. rest = B.JSArray_methods.sublist$1(compound, 1);
  114169. t1 = true;
  114170. } else {
  114171. rest = _null;
  114172. t1 = false;
  114173. }
  114174. _0_4_isSet = true;
  114175. } else {
  114176. rest = _null;
  114177. _0_4 = rest;
  114178. _0_4_isSet = false;
  114179. t1 = false;
  114180. }
  114181. if (t1) {
  114182. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  114183. if (unified == null)
  114184. return _null;
  114185. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114186. B.JSArray_methods.addAll$1(t1, rest);
  114187. return t1;
  114188. }
  114189. if (_0_1 === 1) {
  114190. if (_0_4_isSet)
  114191. t1 = _0_4;
  114192. else {
  114193. _0_4 = compound[0];
  114194. t1 = _0_4;
  114195. _0_4_isSet = true;
  114196. }
  114197. if (t1 instanceof A.PseudoSelector0) {
  114198. t1 = _0_4_isSet ? _0_4 : compound[0];
  114199. type$.PseudoSelector_2._as(t1);
  114200. t1 = t1.isClass && t1.name === "host" || t1.get$isHostContext();
  114201. } else
  114202. t1 = false;
  114203. } else
  114204. t1 = false;
  114205. if (t1)
  114206. return _null;
  114207. if (_0_1 <= 0)
  114208. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  114209. t1 = _this.namespace;
  114210. if (t1 == null || t1 === "*")
  114211. t1 = compound;
  114212. else {
  114213. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  114214. B.JSArray_methods.addAll$1(t1, compound);
  114215. }
  114216. return t1;
  114217. },
  114218. isSuperselector$1(other) {
  114219. var t1 = this.namespace;
  114220. if (t1 === "*")
  114221. return true;
  114222. if (other instanceof A.TypeSelector0)
  114223. return t1 == other.name.namespace;
  114224. if (other instanceof A.UniversalSelector0)
  114225. return t1 == other.namespace;
  114226. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  114227. },
  114228. $eq(_, other) {
  114229. if (other == null)
  114230. return false;
  114231. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  114232. },
  114233. get$hashCode(_) {
  114234. return J.get$hashCode$(this.namespace);
  114235. }
  114236. };
  114237. A.UnprefixedMapView0.prototype = {
  114238. get$keys(_) {
  114239. return new A._UnprefixedKeys0(this);
  114240. },
  114241. $index(_, key) {
  114242. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  114243. },
  114244. containsKey$1(key) {
  114245. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  114246. },
  114247. remove$1(_, key) {
  114248. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  114249. }
  114250. };
  114251. A._UnprefixedKeys0.prototype = {
  114252. get$iterator(_) {
  114253. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  114254. 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);
  114255. return t1.get$iterator(t1);
  114256. },
  114257. contains$1(_, key) {
  114258. return this._unprefixed_map_view0$_view.containsKey$1(key);
  114259. }
  114260. };
  114261. A._UnprefixedKeys_iterator_closure1.prototype = {
  114262. call$1(key) {
  114263. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  114264. },
  114265. $signature: 4
  114266. };
  114267. A._UnprefixedKeys_iterator_closure2.prototype = {
  114268. call$1(key) {
  114269. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  114270. },
  114271. $signature: 5
  114272. };
  114273. A.JSUrl0.prototype = {};
  114274. A.UseRule0.prototype = {
  114275. UseRule$4$configuration0(url, namespace, span, configuration) {
  114276. var t1, t2, _i, variable;
  114277. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  114278. variable = t1[_i];
  114279. if (variable.isGuarded)
  114280. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  114281. }
  114282. },
  114283. accept$1$1(visitor) {
  114284. return visitor.visitUseRule$1(this);
  114285. },
  114286. accept$1(visitor) {
  114287. return this.accept$1$1(visitor, type$.dynamic);
  114288. },
  114289. toString$0(_) {
  114290. var t1 = this.url,
  114291. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  114292. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  114293. dot = B.JSString_methods.indexOf$1(basename, ".");
  114294. t1 = this.namespace;
  114295. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  114296. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  114297. else
  114298. t1 = t2;
  114299. t2 = this.configuration;
  114300. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  114301. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114302. },
  114303. $isAstNode0: 1,
  114304. $isStatement0: 1,
  114305. get$span(receiver) {
  114306. return this.span;
  114307. }
  114308. };
  114309. A.UserDefinedCallable0.prototype = {
  114310. get$name(_) {
  114311. return this.declaration.name;
  114312. },
  114313. $isAsyncCallable0: 1,
  114314. $isCallable: 1
  114315. };
  114316. A.resolveImportPath_closure1.prototype = {
  114317. call$0() {
  114318. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  114319. },
  114320. $signature: 45
  114321. };
  114322. A.resolveImportPath_closure2.prototype = {
  114323. call$0() {
  114324. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  114325. },
  114326. $signature: 45
  114327. };
  114328. A._tryPathAsDirectory_closure0.prototype = {
  114329. call$0() {
  114330. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  114331. },
  114332. $signature: 45
  114333. };
  114334. A._exactlyOne_closure0.prototype = {
  114335. call$1(path) {
  114336. var t1 = $.$get$context();
  114337. return " " + t1.prettyUri$1(t1.toUri$1(path));
  114338. },
  114339. $signature: 5
  114340. };
  114341. A._PropertyDescriptor0.prototype = {};
  114342. A.futureToPromise_closure0.prototype = {
  114343. call$2(resolve, reject) {
  114344. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  114345. },
  114346. $signature: 569
  114347. };
  114348. A.futureToPromise__closure0.prototype = {
  114349. call$1(result) {
  114350. return this.resolve.call$1(result);
  114351. },
  114352. $signature: 33
  114353. };
  114354. A.futureToPromise__closure1.prototype = {
  114355. call$2(error, stackTrace) {
  114356. A.attachTrace0(error, stackTrace);
  114357. this.reject.call$1(error);
  114358. },
  114359. $signature: 53
  114360. };
  114361. A.objectToMap_closure.prototype = {
  114362. call$2(key, value) {
  114363. this.map.$indexSet(0, key, value);
  114364. return value;
  114365. },
  114366. $signature: 128
  114367. };
  114368. A._RequireMain0.prototype = {};
  114369. A.indent_closure0.prototype = {
  114370. call$1(line) {
  114371. return B.JSString_methods.$mul(" ", this.indentation) + line;
  114372. },
  114373. $signature: 5
  114374. };
  114375. A.flattenVertically_closure1.prototype = {
  114376. call$1(inner) {
  114377. return A.QueueList_QueueList$from(inner, this.T);
  114378. },
  114379. $signature() {
  114380. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  114381. }
  114382. };
  114383. A.flattenVertically_closure2.prototype = {
  114384. call$1(queue) {
  114385. this.result.push(queue.removeFirst$0());
  114386. return queue.get$length(0) === 0;
  114387. },
  114388. $signature() {
  114389. return this.T._eval$1("bool(QueueList<0>)");
  114390. }
  114391. };
  114392. A.longestCommonSubsequence_backtrack0.prototype = {
  114393. call$2(i, j) {
  114394. var selection, t1, _this = this;
  114395. if (i === -1 || j === -1)
  114396. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  114397. selection = _this.selections[i][j];
  114398. if (selection != null) {
  114399. t1 = _this.call$2(i - 1, j - 1);
  114400. J.add$1$ax(t1, selection);
  114401. return t1;
  114402. }
  114403. t1 = _this.lengths;
  114404. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  114405. },
  114406. $signature() {
  114407. return this.T._eval$1("List<0>(int,int)");
  114408. }
  114409. };
  114410. A.mapAddAll2_closure0.prototype = {
  114411. call$2(key, inner) {
  114412. var t1 = this.destination,
  114413. _0_0 = t1.$index(0, key);
  114414. if (_0_0 != null)
  114415. _0_0.addAll$1(0, inner);
  114416. else
  114417. t1.$indexSet(0, key, inner);
  114418. },
  114419. $signature() {
  114420. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  114421. }
  114422. };
  114423. A.CssValue0.prototype = {
  114424. $eq(_, other) {
  114425. if (other == null)
  114426. return false;
  114427. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  114428. },
  114429. get$hashCode(_) {
  114430. return J.get$hashCode$(this.value);
  114431. },
  114432. toString$0(_) {
  114433. return J.toString$0$(this.value);
  114434. },
  114435. $isAstNode0: 1,
  114436. get$span(receiver) {
  114437. return this.span;
  114438. }
  114439. };
  114440. A.ValueExpression0.prototype = {
  114441. accept$1$1(visitor) {
  114442. return visitor.visitValueExpression$1(this);
  114443. },
  114444. accept$1(visitor) {
  114445. return this.accept$1$1(visitor, type$.dynamic);
  114446. },
  114447. toString$0(_) {
  114448. return A.serializeValue0(this.value, true, true);
  114449. },
  114450. $isExpression0: 1,
  114451. $isAstNode0: 1,
  114452. get$span(receiver) {
  114453. return this.span;
  114454. }
  114455. };
  114456. A.valueClass_closure.prototype = {
  114457. call$0() {
  114458. var t2,
  114459. t1 = type$.JSClass,
  114460. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  114461. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  114462. t1 = type$.String;
  114463. t2 = type$.Function;
  114464. 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));
  114465. 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));
  114466. return jsClass;
  114467. },
  114468. $signature: 13
  114469. };
  114470. A.valueClass__closure.prototype = {
  114471. call$1($self) {
  114472. return J.toString$0$($self);
  114473. },
  114474. $signature: 137
  114475. };
  114476. A.valueClass__closure0.prototype = {
  114477. call$1($self) {
  114478. return new self.immutable.List($self.get$asList());
  114479. },
  114480. $signature: 570
  114481. };
  114482. A.valueClass__closure1.prototype = {
  114483. call$1($self) {
  114484. return $self.get$hasBrackets();
  114485. },
  114486. $signature: 49
  114487. };
  114488. A.valueClass__closure2.prototype = {
  114489. call$1($self) {
  114490. return $self.get$isTruthy();
  114491. },
  114492. $signature: 49
  114493. };
  114494. A.valueClass__closure3.prototype = {
  114495. call$1($self) {
  114496. return $self.get$realNull();
  114497. },
  114498. $signature: 244
  114499. };
  114500. A.valueClass__closure4.prototype = {
  114501. call$1($self) {
  114502. return $self.get$separator($self).separator;
  114503. },
  114504. $signature: 571
  114505. };
  114506. A.valueClass__closure5.prototype = {
  114507. call$3($self, sassIndex, $name) {
  114508. return $self.sassIndexToListIndex$2(sassIndex, $name);
  114509. },
  114510. call$2($self, sassIndex) {
  114511. return this.call$3($self, sassIndex, null);
  114512. },
  114513. "call*": "call$3",
  114514. $requiredArgCount: 2,
  114515. $defaultValues() {
  114516. return [null];
  114517. },
  114518. $signature: 572
  114519. };
  114520. A.valueClass__closure6.prototype = {
  114521. call$2($self, index) {
  114522. return index < 1 && index >= -1 ? $self : self.undefined;
  114523. },
  114524. $signature: 182
  114525. };
  114526. A.valueClass__closure7.prototype = {
  114527. call$2($self, $name) {
  114528. return $self.assertBoolean$1($name);
  114529. },
  114530. call$1($self) {
  114531. return this.call$2($self, null);
  114532. },
  114533. "call*": "call$2",
  114534. $requiredArgCount: 1,
  114535. $defaultValues() {
  114536. return [null];
  114537. },
  114538. $signature: 573
  114539. };
  114540. A.valueClass__closure8.prototype = {
  114541. call$2($self, $name) {
  114542. return $self.assertCalculation$1($name);
  114543. },
  114544. call$1($self) {
  114545. return this.call$2($self, null);
  114546. },
  114547. "call*": "call$2",
  114548. $requiredArgCount: 1,
  114549. $defaultValues() {
  114550. return [null];
  114551. },
  114552. $signature: 574
  114553. };
  114554. A.valueClass__closure9.prototype = {
  114555. call$2($self, $name) {
  114556. return $self.assertColor$1($name);
  114557. },
  114558. call$1($self) {
  114559. return this.call$2($self, null);
  114560. },
  114561. "call*": "call$2",
  114562. $requiredArgCount: 1,
  114563. $defaultValues() {
  114564. return [null];
  114565. },
  114566. $signature: 575
  114567. };
  114568. A.valueClass__closure10.prototype = {
  114569. call$2($self, $name) {
  114570. return $self.assertFunction$1($name);
  114571. },
  114572. call$1($self) {
  114573. return this.call$2($self, null);
  114574. },
  114575. "call*": "call$2",
  114576. $requiredArgCount: 1,
  114577. $defaultValues() {
  114578. return [null];
  114579. },
  114580. $signature: 576
  114581. };
  114582. A.valueClass__closure11.prototype = {
  114583. call$2($self, $name) {
  114584. return $self.assertMap$1($name);
  114585. },
  114586. call$1($self) {
  114587. return this.call$2($self, null);
  114588. },
  114589. "call*": "call$2",
  114590. $requiredArgCount: 1,
  114591. $defaultValues() {
  114592. return [null];
  114593. },
  114594. $signature: 577
  114595. };
  114596. A.valueClass__closure12.prototype = {
  114597. call$2($self, $name) {
  114598. return $self.assertMixin$1($name);
  114599. },
  114600. call$1($self) {
  114601. return this.call$2($self, null);
  114602. },
  114603. "call*": "call$2",
  114604. $requiredArgCount: 1,
  114605. $defaultValues() {
  114606. return [null];
  114607. },
  114608. $signature: 578
  114609. };
  114610. A.valueClass__closure13.prototype = {
  114611. call$2($self, $name) {
  114612. return $self.assertNumber$1($name);
  114613. },
  114614. call$1($self) {
  114615. return this.call$2($self, null);
  114616. },
  114617. "call*": "call$2",
  114618. $requiredArgCount: 1,
  114619. $defaultValues() {
  114620. return [null];
  114621. },
  114622. $signature: 579
  114623. };
  114624. A.valueClass__closure14.prototype = {
  114625. call$2($self, $name) {
  114626. return $self.assertString$1($name);
  114627. },
  114628. call$1($self) {
  114629. return this.call$2($self, null);
  114630. },
  114631. "call*": "call$2",
  114632. $requiredArgCount: 1,
  114633. $defaultValues() {
  114634. return [null];
  114635. },
  114636. $signature: 580
  114637. };
  114638. A.valueClass__closure15.prototype = {
  114639. call$1($self) {
  114640. return $self.tryMap$0();
  114641. },
  114642. $signature: 581
  114643. };
  114644. A.valueClass__closure16.prototype = {
  114645. call$2($self, other) {
  114646. return $self.$eq(0, other);
  114647. },
  114648. $signature: 582
  114649. };
  114650. A.valueClass__closure17.prototype = {
  114651. call$2($self, _) {
  114652. return $self.get$hashCode($self);
  114653. },
  114654. call$1($self) {
  114655. return this.call$2($self, null);
  114656. },
  114657. "call*": "call$2",
  114658. $requiredArgCount: 1,
  114659. $defaultValues() {
  114660. return [null];
  114661. },
  114662. $signature: 583
  114663. };
  114664. A.valueClass__closure18.prototype = {
  114665. call$1($self) {
  114666. return A.serializeValue0($self, true, true);
  114667. },
  114668. $signature: 193
  114669. };
  114670. A.Value0.prototype = {
  114671. get$isTruthy() {
  114672. return true;
  114673. },
  114674. get$separator(_) {
  114675. return B.ListSeparator_undecided_null_undecided0;
  114676. },
  114677. get$hasBrackets() {
  114678. return false;
  114679. },
  114680. get$asList() {
  114681. return A._setArrayType([this], type$.JSArray_Value_2);
  114682. },
  114683. get$lengthAsList() {
  114684. return 1;
  114685. },
  114686. get$isBlank() {
  114687. return false;
  114688. },
  114689. get$isSpecialNumber() {
  114690. return false;
  114691. },
  114692. get$isVar() {
  114693. return false;
  114694. },
  114695. get$realNull() {
  114696. return this;
  114697. },
  114698. sassIndexToListIndex$2(sassIndex, $name) {
  114699. var t1, t2, index,
  114700. indexValue = sassIndex.assertNumber$1($name);
  114701. if (indexValue.get$hasUnits()) {
  114702. t1 = indexValue.get$unitString();
  114703. t2 = indexValue.unitSuggestion$1($name == null ? "index" : $name);
  114704. 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);
  114705. }
  114706. index = indexValue.assertInt$1($name);
  114707. if (index === 0)
  114708. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  114709. if (Math.abs(index) > this.get$lengthAsList())
  114710. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  114711. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  114712. },
  114713. assertBoolean$1($name) {
  114714. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  114715. },
  114716. assertCalculation$1($name) {
  114717. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  114718. },
  114719. assertColor$1($name) {
  114720. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  114721. },
  114722. assertFunction$1($name) {
  114723. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  114724. },
  114725. assertMixin$1($name) {
  114726. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  114727. },
  114728. assertMap$1($name) {
  114729. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  114730. },
  114731. tryMap$0() {
  114732. return null;
  114733. },
  114734. assertNumber$1($name) {
  114735. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  114736. },
  114737. assertNumber$0() {
  114738. return this.assertNumber$1(null);
  114739. },
  114740. assertString$1($name) {
  114741. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  114742. },
  114743. _value$_selectorString$1($name) {
  114744. var _0_0 = this._value$_selectorStringOrNull$0();
  114745. if (_0_0 != null)
  114746. return _0_0;
  114747. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  114748. },
  114749. _value$_selectorStringOrNull$0() {
  114750. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  114751. if (_this instanceof A.SassString0)
  114752. return _this._string0$_text;
  114753. if (!(_this instanceof A.SassList0))
  114754. return _null;
  114755. t1 = _this._list1$_contents;
  114756. t2 = t1.length;
  114757. if (t2 === 0)
  114758. return _null;
  114759. result = A._setArrayType([], type$.JSArray_String);
  114760. $label0$1: {
  114761. _1_0 = _this._list1$_separator;
  114762. if (B.ListSeparator_rXA0 === _1_0) {
  114763. for (_i = 0; _i < t2; ++_i) {
  114764. complex = t1[_i];
  114765. if (complex instanceof A.SassString0) {
  114766. result.push(complex._string0$_text);
  114767. continue;
  114768. }
  114769. if (complex instanceof A.SassList0 && B.ListSeparator_EVt0 === complex._list1$_separator) {
  114770. string = complex._value$_selectorStringOrNull$0();
  114771. if (string == null)
  114772. return _null;
  114773. result.push(string);
  114774. continue;
  114775. }
  114776. return _null;
  114777. }
  114778. break $label0$1;
  114779. }
  114780. if (B.ListSeparator_zg90 === _1_0)
  114781. return _null;
  114782. for (_i = 0; _i < t2; ++_i) {
  114783. compound = t1[_i];
  114784. if (!(compound instanceof A.SassString0))
  114785. return _null;
  114786. result.push(compound._string0$_text);
  114787. }
  114788. break $label0$1;
  114789. }
  114790. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_rXA0 ? ", " : " ");
  114791. },
  114792. withListContents$2$separator(contents, separator) {
  114793. var t1 = separator == null ? this.get$separator(this) : separator,
  114794. t2 = this.get$hasBrackets();
  114795. return A.SassList$0(contents, t1, t2);
  114796. },
  114797. withListContents$1(contents) {
  114798. return this.withListContents$2$separator(contents, null);
  114799. },
  114800. greaterThan$1(other) {
  114801. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  114802. },
  114803. greaterThanOrEquals$1(other) {
  114804. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  114805. },
  114806. lessThan$1(other) {
  114807. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  114808. },
  114809. lessThanOrEquals$1(other) {
  114810. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  114811. },
  114812. times$1(other) {
  114813. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  114814. },
  114815. modulo$1(other) {
  114816. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  114817. },
  114818. plus$1(other) {
  114819. var t1;
  114820. $label0$0: {
  114821. if (other instanceof A.SassString0) {
  114822. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  114823. break $label0$0;
  114824. }
  114825. if (other instanceof A.SassCalculation0)
  114826. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  114827. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  114828. break $label0$0;
  114829. }
  114830. return t1;
  114831. },
  114832. minus$1(other) {
  114833. 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);
  114834. },
  114835. dividedBy$1(other) {
  114836. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  114837. },
  114838. unaryPlus$0() {
  114839. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  114840. },
  114841. unaryMinus$0() {
  114842. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  114843. },
  114844. unaryNot$0() {
  114845. return B.SassBoolean_false0;
  114846. },
  114847. withoutSlash$0() {
  114848. return this;
  114849. },
  114850. toString$0(_) {
  114851. return A.serializeValue0(this, true, true);
  114852. }
  114853. };
  114854. A.VariableExpression0.prototype = {
  114855. accept$1$1(visitor) {
  114856. return visitor.visitVariableExpression$1(this);
  114857. },
  114858. accept$1(visitor) {
  114859. return this.accept$1$1(visitor, type$.dynamic);
  114860. },
  114861. toString$0(_) {
  114862. var t1 = this.namespace,
  114863. t2 = this.name;
  114864. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  114865. },
  114866. $isExpression0: 1,
  114867. $isAstNode0: 1,
  114868. get$span(receiver) {
  114869. return this.span;
  114870. }
  114871. };
  114872. A.VariableDeclaration0.prototype = {
  114873. accept$1$1(visitor) {
  114874. return visitor.visitVariableDeclaration$1(this);
  114875. },
  114876. accept$1(visitor) {
  114877. return this.accept$1$1(visitor, type$.dynamic);
  114878. },
  114879. toString$0(_) {
  114880. var t1 = this.namespace;
  114881. t1 = t1 != null ? "" + (t1 + ".") : "";
  114882. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  114883. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114884. },
  114885. $isAstNode0: 1,
  114886. $isStatement0: 1,
  114887. get$span(receiver) {
  114888. return this.span;
  114889. }
  114890. };
  114891. A.WarnRule0.prototype = {
  114892. accept$1$1(visitor) {
  114893. return visitor.visitWarnRule$1(this);
  114894. },
  114895. accept$1(visitor) {
  114896. return this.accept$1$1(visitor, type$.dynamic);
  114897. },
  114898. toString$0(_) {
  114899. return "@warn " + this.expression.toString$0(0) + ";";
  114900. },
  114901. $isAstNode0: 1,
  114902. $isStatement0: 1,
  114903. get$span(receiver) {
  114904. return this.span;
  114905. }
  114906. };
  114907. A.WhileRule0.prototype = {
  114908. accept$1$1(visitor) {
  114909. return visitor.visitWhileRule$1(this);
  114910. },
  114911. accept$1(visitor) {
  114912. return this.accept$1$1(visitor, type$.dynamic);
  114913. },
  114914. toString$0(_) {
  114915. var t1 = this.children;
  114916. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  114917. },
  114918. get$span(receiver) {
  114919. return this.span;
  114920. }
  114921. };
  114922. (function aliases() {
  114923. var _ = J.LegacyJavaScriptObject.prototype;
  114924. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  114925. _ = A.JsLinkedHashMap.prototype;
  114926. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  114927. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  114928. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  114929. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  114930. _ = A._BufferingStreamSubscription.prototype;
  114931. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  114932. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  114933. _ = A.ListBase.prototype;
  114934. _.super$ListBase$setRange = _.setRange$4;
  114935. _ = A.Iterable.prototype;
  114936. _.super$Iterable$where = _.where$1;
  114937. _.super$Iterable$skipWhile = _.skipWhile$1;
  114938. _ = A.ModifiableCssParentNode.prototype;
  114939. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  114940. _ = A.SimpleSelector.prototype;
  114941. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  114942. _.super$SimpleSelector$unify = _.unify$1;
  114943. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  114944. _ = A.Parser.prototype;
  114945. _.super$Parser$silentComment = _.silentComment$0;
  114946. _ = A.StylesheetParser.prototype;
  114947. _.super$StylesheetParser$importArgument = _.importArgument$0;
  114948. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  114949. _ = A.Value.prototype;
  114950. _.super$Value$assertMap = _.assertMap$1;
  114951. _.super$Value$plus = _.plus$1;
  114952. _.super$Value$minus = _.minus$1;
  114953. _.super$Value$dividedBy = _.dividedBy$1;
  114954. _ = A.SassNumber.prototype;
  114955. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  114956. _.super$SassNumber$coerce = _.coerce$3;
  114957. _.super$SassNumber$coerceValue = _.coerceValue$3;
  114958. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  114959. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  114960. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  114961. _.super$SassNumber$greaterThan = _.greaterThan$1;
  114962. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  114963. _.super$SassNumber$lessThan = _.lessThan$1;
  114964. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  114965. _.super$SassNumber$modulo = _.modulo$1;
  114966. _.super$SassNumber$plus = _.plus$1;
  114967. _.super$SassNumber$minus = _.minus$1;
  114968. _.super$SassNumber$times = _.times$1;
  114969. _.super$SassNumber$dividedBy = _.dividedBy$1;
  114970. _ = A.AnySelectorVisitor.prototype;
  114971. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  114972. _ = A.EveryCssVisitor.prototype;
  114973. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  114974. _ = A.ReplaceExpressionVisitor.prototype;
  114975. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  114976. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  114977. _ = A.SourceSpanMixin.prototype;
  114978. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  114979. _.super$SourceSpanMixin$$eq = _.$eq;
  114980. _ = A.StringScanner.prototype;
  114981. _.super$StringScanner$readChar = _.readChar$0;
  114982. _.super$StringScanner$scanChar = _.scanChar$1;
  114983. _.super$StringScanner$scan = _.scan$1;
  114984. _.super$StringScanner$matches = _.matches$1;
  114985. _ = A.AnySelectorVisitor0.prototype;
  114986. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  114987. _ = A.EveryCssVisitor0.prototype;
  114988. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  114989. _ = A.ModifiableCssParentNode0.prototype;
  114990. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  114991. _ = A.SassNumber0.prototype;
  114992. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  114993. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  114994. _.super$SassNumber$coerce0 = _.coerce$3;
  114995. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  114996. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  114997. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  114998. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  114999. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  115000. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  115001. _.super$SassNumber$lessThan0 = _.lessThan$1;
  115002. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  115003. _.super$SassNumber$modulo0 = _.modulo$1;
  115004. _.super$SassNumber$plus0 = _.plus$1;
  115005. _.super$SassNumber$minus0 = _.minus$1;
  115006. _.super$SassNumber$times0 = _.times$1;
  115007. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  115008. _ = A.Parser1.prototype;
  115009. _.super$Parser$silentComment0 = _.silentComment$0;
  115010. _ = A.ReplaceExpressionVisitor0.prototype;
  115011. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  115012. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  115013. _ = A.SimpleSelector0.prototype;
  115014. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  115015. _.super$SimpleSelector$unify0 = _.unify$1;
  115016. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  115017. _ = A.StylesheetParser0.prototype;
  115018. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  115019. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  115020. _ = A.Value0.prototype;
  115021. _.super$Value$assertMap0 = _.assertMap$1;
  115022. _.super$Value$plus0 = _.plus$1;
  115023. _.super$Value$minus0 = _.minus$1;
  115024. _.super$Value$dividedBy0 = _.dividedBy$1;
  115025. })();
  115026. (function installTearOffs() {
  115027. var _static_2 = hunkHelpers._static_2,
  115028. _instance_1_i = hunkHelpers._instance_1i,
  115029. _instance_1_u = hunkHelpers._instance_1u,
  115030. _static_1 = hunkHelpers._static_1,
  115031. _static_0 = hunkHelpers._static_0,
  115032. _static = hunkHelpers.installStaticTearOff,
  115033. _instance = hunkHelpers.installInstanceTearOff,
  115034. _instance_2_u = hunkHelpers._instance_2u,
  115035. _instance_0_i = hunkHelpers._instance_0i,
  115036. _instance_0_u = hunkHelpers._instance_0u;
  115037. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 201);
  115038. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  115039. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  115040. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  115041. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  115042. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  115043. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  115044. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115045. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 135);
  115046. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 135);
  115047. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 135);
  115048. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  115049. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 76);
  115050. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 73);
  115051. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  115052. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 586, 0);
  115053. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  115054. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  115055. }], 587, 1);
  115056. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  115057. var t1 = type$.dynamic;
  115058. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  115059. }], 588, 1);
  115060. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  115061. var t1 = type$.dynamic;
  115062. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  115063. }], 589, 1);
  115064. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  115065. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  115066. }], 590, 0);
  115067. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  115068. var t1 = type$.dynamic;
  115069. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  115070. }], 591, 0);
  115071. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  115072. var t1 = type$.dynamic;
  115073. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  115074. }], 592, 0);
  115075. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 593, 0);
  115076. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 594, 0);
  115077. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 595, 0);
  115078. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 596, 0);
  115079. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 597, 0);
  115080. _static_1(A, "async___printToZone$closure", "_printToZone", 90);
  115081. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 598, 0);
  115082. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  115083. return [null];
  115084. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 252, 0, 0);
  115085. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 73);
  115086. var _;
  115087. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 33);
  115088. _instance(_, "get$addError", 0, 1, function() {
  115089. return [null];
  115090. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 241, 0, 0);
  115091. _instance_0_i(_, "get$close", "close$0", 600);
  115092. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 33);
  115093. _instance_2_u(_, "get$_addError", "_addError$2", 73);
  115094. _instance_0_u(_, "get$_close", "_close$0", 0);
  115095. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115096. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115097. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 599, 0, 0);
  115098. _instance_0_i(_, "get$resume", "resume$0", 0);
  115099. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  115100. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115101. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 33);
  115102. _instance_2_u(_, "get$_onError", "_onError$2", 73);
  115103. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  115104. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115105. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115106. _instance_1_u(_, "get$_handleData", "_handleData$1", 33);
  115107. _instance_2_u(_, "get$_handleError", "_handleError$2", 585);
  115108. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  115109. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 156);
  115110. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 232);
  115111. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 201);
  115112. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115113. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115114. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 167, 0, 0);
  115115. _instance_1_i(_, "get$contains", "contains$1", 9);
  115116. _instance_1_i(_, "get$add", "add$1", 9);
  115117. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 167, 0, 0);
  115118. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  115119. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  115120. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  115121. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 106);
  115122. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  115123. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 232);
  115124. _static_2(A, "core__identical$closure", "identical", 156);
  115125. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  115126. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  115127. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 33);
  115128. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  115129. return A.max(a, b, type$.num);
  115130. }], 601, 1);
  115131. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 4);
  115132. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 33);
  115133. _instance(_, "get$setError", 0, 1, function() {
  115134. return [null];
  115135. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 241, 0, 0);
  115136. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  115137. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  115138. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  115139. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 253);
  115140. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  115141. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  115142. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  115143. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  115144. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  115145. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 512);
  115146. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  115147. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  115148. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  115149. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 66);
  115150. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115151. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115152. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115153. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115154. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 247);
  115155. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 247);
  115156. _static_1(A, "functions___isUnique$closure", "_isUnique", 15);
  115157. _static_1(A, "color0___opacify$closure", "_opacify", 30);
  115158. _static_1(A, "color0___transparentize$closure", "_transparentize", 30);
  115159. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 153);
  115160. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  115161. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  115162. _instance_0_u(_, "get$string", "string$0", 27);
  115163. _instance(_, "get$error", 1, 2, function() {
  115164. return [null];
  115165. }, ["call$3", "call$2"], ["error$3", "error$2"], 172, 0, 0);
  115166. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  115167. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 347, 0, 0);
  115168. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 132);
  115169. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 132);
  115170. _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"], 345, 0, 0);
  115171. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  115172. return {color: null};
  115173. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  115174. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115175. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115176. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  115177. return {color: null};
  115178. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 203, 0, 0);
  115179. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 33);
  115180. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115181. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115182. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 33);
  115183. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115184. _static_1(A, "utils__isPublic$closure", "isPublic", 4);
  115185. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 67);
  115186. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  115187. _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"], 316, 0, 0);
  115188. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 211);
  115189. _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"], 298, 0, 0);
  115190. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 211);
  115191. _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 278);
  115192. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 507);
  115193. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  115194. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  115195. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 389);
  115196. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 87);
  115197. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 272);
  115198. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 7);
  115199. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  115200. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  115201. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  115202. return {color: null};
  115203. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  115204. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 110);
  115205. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 110);
  115206. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 110);
  115207. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 110);
  115208. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 216);
  115209. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 216);
  115210. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  115211. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  115212. }], 604, 0);
  115213. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  115214. return A._collect($event, soFar, type$.dynamic);
  115215. }], 605, 0);
  115216. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115217. _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"], 311, 0, 0);
  115218. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 270);
  115219. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 87);
  115220. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  115221. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 67);
  115222. _static_1(A, "color2___opacify$closure", "_opacify0", 29);
  115223. _static_1(A, "color2___transparentize$closure", "_transparentize0", 29);
  115224. _static(A, "compile__compile$closure", 1, function() {
  115225. return [null];
  115226. }, ["call$2", "call$1"], ["compile0", function(path) {
  115227. return A.compile0(path, null);
  115228. }], 606, 0);
  115229. _static(A, "compile__compileString$closure", 1, function() {
  115230. return [null];
  115231. }, ["call$2", "call$1"], ["compileString0", function(text) {
  115232. return A.compileString0(text, null);
  115233. }], 607, 0);
  115234. _static(A, "compile__compileAsync$closure", 1, function() {
  115235. return [null];
  115236. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  115237. return A.compileAsync1(path, null);
  115238. }], 608, 0);
  115239. _static(A, "compile__compileStringAsync$closure", 1, function() {
  115240. return [null];
  115241. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  115242. return A.compileStringAsync1(text, null);
  115243. }], 609, 0);
  115244. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 610);
  115245. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 67);
  115246. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 611);
  115247. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 612);
  115248. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 263);
  115249. _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"], 419, 0, 0);
  115250. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 270);
  115251. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 263);
  115252. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  115253. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 613);
  115254. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  115255. return {color: null};
  115256. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  115257. _static_2(A, "legacy__render$closure", "render", 614);
  115258. _static_1(A, "legacy__renderSync$closure", "renderSync", 615);
  115259. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  115260. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 72);
  115261. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  115262. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  115263. return {color: null};
  115264. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 203, 0, 0);
  115265. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 33);
  115266. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 153);
  115267. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  115268. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  115269. _instance_0_u(_, "get$string", "string$0", 27);
  115270. _instance(_, "get$error", 1, 2, function() {
  115271. return [null];
  115272. }, ["call$3", "call$2"], ["error$3", "error$2"], 172, 0, 0);
  115273. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  115274. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115275. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  115276. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  115277. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115278. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115279. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115280. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  115281. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  115282. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 528);
  115283. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 87);
  115284. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 529);
  115285. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  115286. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115287. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 33);
  115288. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  115289. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  115290. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 546, 0, 0);
  115291. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 125);
  115292. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 125);
  115293. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115294. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115295. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  115296. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 616);
  115297. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 617);
  115298. _static_1(A, "utils0__isPublic$closure", "isPublic0", 4);
  115299. _static(A, "path__absolute$closure", 1, function() {
  115300. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  115301. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  115302. var _null = null;
  115303. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115304. }, function(part1, part2) {
  115305. var _null = null;
  115306. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115307. }, function(part1, part2, part3) {
  115308. var _null = null;
  115309. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115310. }, function(part1, part2, part3, part4) {
  115311. var _null = null;
  115312. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115313. }, function(part1, part2, part3, part4, part5) {
  115314. var _null = null;
  115315. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115316. }, function(part1, part2, part3, part4, part5, part6) {
  115317. var _null = null;
  115318. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  115319. }], 618, 0);
  115320. _static_1(A, "path__prettyUri$closure", "prettyUri", 619);
  115321. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 43);
  115322. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 43);
  115323. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 43);
  115324. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 43);
  115325. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 64);
  115326. _static_1(A, "number0__sqrt$closure", "sqrt", 50);
  115327. _static_1(A, "number0__sin$closure", "sin", 50);
  115328. _static_1(A, "number0__cos$closure", "cos", 50);
  115329. _static_1(A, "number0__tan$closure", "tan", 50);
  115330. _static_1(A, "number0__atan$closure", "atan", 50);
  115331. _static_1(A, "number0__asin$closure", "asin", 50);
  115332. _static_1(A, "number0__acos$closure", "acos", 50);
  115333. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 43);
  115334. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 43);
  115335. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 43);
  115336. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 43);
  115337. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 622);
  115338. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 64);
  115339. _static_1(A, "number2__sqrt$closure", "sqrt0", 52);
  115340. _static_1(A, "number2__sin$closure", "sin0", 52);
  115341. _static_1(A, "number2__cos$closure", "cos0", 52);
  115342. _static_1(A, "number2__tan$closure", "tan0", 52);
  115343. _static_1(A, "number2__atan$closure", "atan0", 52);
  115344. _static_1(A, "number2__asin$closure", "asin0", 52);
  115345. _static_1(A, "number2__acos$closure", "acos0", 52);
  115346. _static_1(A, "sass__main$closure", "main1", 624);
  115347. _static_1(A, "utils2__validateUrlScheme$closure", "validateUrlScheme", 90);
  115348. _static_1(A, "value0__wrapValue$closure", "wrapValue", 416);
  115349. })();
  115350. (function inheritance() {
  115351. var _mixin = hunkHelpers.mixin,
  115352. _inherit = hunkHelpers.inherit,
  115353. _inheritMany = hunkHelpers.inheritMany;
  115354. _inherit(A.Object, null);
  115355. _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.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.NullRejectionException, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.FutureGroup, 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.Compiler, 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]);
  115356. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  115357. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  115358. _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.JSArray0, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction, A.ImmutableList, A.ImmutableMap, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSModule, A.JSModuleRequire, A.JSClass, A.JSUrl, A._PropertyDescriptor, A._RequireMain, A.JSArray1, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._Channels, A._NodeSassColor, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction0, 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.JSModule0, A.JSModuleRequire0, 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, A._RequireMain0]);
  115359. _inherit(J.JSUnmodifiableArray, J.JSArray);
  115360. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  115361. _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]);
  115362. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  115363. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  115364. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  115365. _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._JsonMap_values_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.jsify__convert, A.promiseToFuture_closure1, A.promiseToFuture_closure2, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.FutureGroup_add_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_closure, A._weaveParents_closure0, A._weaveParents_closure1, A._weaveParents_closure2, A._mustUnify_closure, A._mustUnify__closure, A.paths__closure, A.paths___closure, A.listIsSuperselector_closure, A.listIsSuperselector__closure, A.complexIsSuperselector_closure, A.complexIsSuperselector_closure0, A._compatibleWithPreviousCombinator_closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_closure, A.global_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_closure, A._length_closure0, A._nth_closure, A._setNth_closure, A._join_closure, A._append_closure0, A._zip_closure, A._zip__closure, A._zip__closure0, A._zip__closure1, A._index_closure0, A._separator_closure, A._isBracketed_closure, A._slash_closure, A._get_closure, A._set_closure, A._set__closure0, A._set_closure0, A._set__closure, A._merge_closure, A._merge_closure0, A._merge__closure, A._deepMerge_closure, A._deepRemove_closure, A._deepRemove__closure, A._remove_closure, A._remove_closure0, A._keys_closure, A._values_closure, A._hasKey_closure, A._modify_modifyNestedMap, A.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__closure, 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.NodePackageImporter__nodePackageExportsResolve_closure, A.NodePackageImporter__nodePackageExportsResolve_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure1, A.NodePackageImporter__nodePackageExportsResolve_closure2, A.NodePackageImporter__nodePackageExportsResolve__closure, A.NodePackageImporter__nodePackageExportsResolve__closure0, A.NodePackageImporter__getMainExport_closure, A._exactlyOne_closure, 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_closure, 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_closure, A.SassNumber_multiplyUnits_closure1, 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_closure2, 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_closure6, 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_closure0, 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.nodePackageImporterClass__closure, A._compileStylesheet_closure1, A.AsyncCompiler_addCompilation_closure, A.compilerClass__closure, A.compilerClass__closure0, A.compilerClass__closure1, A.compilerClass__closure2, A.asyncCompilerClass__closure, A.asyncCompilerClass__closure0, A.asyncCompilerClass__closure1, A.asyncCompilerClass__closure2, 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_closure4, 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_closure0, A._weaveParents_closure4, A._weaveParents_closure5, A._weaveParents_closure6, A._mustUnify_closure0, A._mustUnify__closure0, A.paths__closure0, A.paths___closure0, A.listIsSuperselector_closure0, A.listIsSuperselector__closure0, A.complexIsSuperselector_closure1, A.complexIsSuperselector_closure2, A._compatibleWithPreviousCombinator_closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector___closure2, A._selectorPseudoIsSuperselector_closure11, A._selectorPseudoIsSuperselector_closure12, A._selectorPseudoArgs_closure1, A._selectorPseudoArgs_closure2, A.globalFunctions_closure0, A.IDSelector_unify_closure0, A.IfRuleClause$__closure0, A.IfRuleClause$___closure0, A.immutableMapToDartMap_closure, A.NodeImporter__tryPath_closure0, A.ImportCache_humanize_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__closure2, A._set_closure2, A._set__closure1, A._merge_closure1, A._merge_closure2, A._merge__closure0, A._deepMerge_closure0, A._deepRemove_closure0, A._deepRemove__closure0, A._remove_closure1, A._remove_closure2, A._keys_closure0, A._values_closure0, A._hasKey_closure0, A._modify_modifyNestedMap0, A.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__closure0, A.local_closure4, A.mixinClass__closure, A.mixinClass__closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.NodePackageImporter__nodePackageExportsResolve_closure3, A.NodePackageImporter__nodePackageExportsResolve_closure4, A.NodePackageImporter__nodePackageExportsResolve_closure5, A.NodePackageImporter__nodePackageExportsResolve_closure6, A.NodePackageImporter__nodePackageExportsResolve__closure1, A.NodePackageImporter__nodePackageExportsResolve__closure2, A.NodePackageImporter__getMainExport_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_closure3, A.SassNumber_multiplyUnits_closure5, 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_closure0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure14, A.valueClass__closure15, A.valueClass__closure17, A.valueClass__closure18]);
  115366. _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._JsonMap_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.FutureGroup_add_closure0, 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_closure, 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_closure3, 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]);
  115367. _inherit(A.CastList, A._CastListBase);
  115368. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  115369. _inheritMany(A.Error, [A.LateError, A.ReachabilityError, 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]);
  115370. _inherit(A.UnmodifiableListBase, A.ListBase);
  115371. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  115372. _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.PseudoSelector_specificity_closure, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache__canonicalize__closure, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.ExecutableOptions__parser_closure, A.ExecutableOptions_interactive_closure, A.ExecutableOptions_fatalDeprecations_closure, A.ExtensionStore__registerSelector_closure, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions_closure, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache__canonicalize__closure, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.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_expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__publicIdentifier_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure, A.StylesheetGraph__add_closure, A.StylesheetGraph_addCanonical_closure, A.StylesheetGraph_reload_closure, A.StylesheetGraph__nodeFor_closure, A.StylesheetGraph__nodeFor_closure0, A.SassNumber__coerceOrConvertValue_compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__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_closure1, A._EvaluateVisitor__applyMixin__closure2, A._EvaluateVisitor__applyMixin_closure2, 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_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor__visitCalculationExpression_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_closure1, A._EvaluateVisitor_visitCssStyleRule__closure0, 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_closure, A._EvaluateVisitor__applyMixin__closure0, A._EvaluateVisitor__applyMixin_closure0, 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_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor__visitCalculationExpression_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_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._SerializeVisitor_visitCssComment_closure, A._SerializeVisitor_visitCssAtRule_closure, A._SerializeVisitor_visitCssMediaRule_closure, A._SerializeVisitor_visitCssImport_closure, A._SerializeVisitor_visitCssImport__closure, A._SerializeVisitor_visitCssKeyframeBlock_closure, A._SerializeVisitor_visitCssStyleRule_closure, A._SerializeVisitor_visitCssSupportsRule_closure, A._SerializeVisitor_visitCssDeclaration_closure, A._SerializeVisitor_visitCssDeclaration_closure0, A._SerializeVisitor__write_closure, A._SerializeVisitor__visitChildren_closure, A._SerializeVisitor__visitChildren_closure0, A.SingleMapping_SingleMapping$fromEntries_closure, A.SingleMapping_SingleMapping$fromEntries_closure0, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeLabel_closure, A.Highlighter__writeLabel_closure0, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.TransformByHandlers_transformByHandlers_closure, A.TransformByHandlers_transformByHandlers__closure0, A.TransformByHandlers_transformByHandlers__closure2, A.RateLimit__debounceAggregate_closure_emit, A.RateLimit__debounceAggregate__closure, A.argumentListClass_closure, A.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_closure5, A._EvaluateVisitor__applyMixin__closure6, A._EvaluateVisitor__applyMixin_closure6, 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_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure8, A._EvaluateVisitor_visitFunctionExpression_closure10, A._EvaluateVisitor__visitCalculationExpression_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_closure5, A._EvaluateVisitor_visitCssStyleRule__closure2, 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.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A._parseFunctions___closure6, A._parseFunctions___closure5, A.nodePackageImporterClass_closure, A.compilerClass_closure, A.asyncCompilerClass_closure, A.asyncCompilerClass___closure, A.initAsyncCompiler_closure, 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_closure3, A._EvaluateVisitor__applyMixin__closure4, A._EvaluateVisitor__applyMixin_closure4, 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_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure7, A._EvaluateVisitor__visitCalculationExpression_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_closure3, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions_closure0, A.JSToDartFileImporter_canonicalize_closure, A.functionClass_closure, 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._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.listClass_closure, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A.mixinClass_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber__coerceOrConvertValue_compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure6, A.Parser__parseIdentifier_closure0, A.Parser_spanFrom_closure0, A.PseudoSelector_specificity_closure0, A.SassParser_children_closure0, A.SelectorParser_parse_closure0, A.SelectorParser_parseCompoundSelector_closure0, A._SerializeVisitor_visitCssComment_closure0, A._SerializeVisitor_visitCssAtRule_closure0, A._SerializeVisitor_visitCssMediaRule_closure0, A._SerializeVisitor_visitCssImport_closure0, A._SerializeVisitor_visitCssImport__closure0, A._SerializeVisitor_visitCssKeyframeBlock_closure0, A._SerializeVisitor_visitCssStyleRule_closure0, A._SerializeVisitor_visitCssSupportsRule_closure0, A._SerializeVisitor_visitCssDeclaration_closure1, A._SerializeVisitor_visitCssDeclaration_closure2, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure1, A._SerializeVisitor__visitChildren_closure2, A.SingleUnitSassNumber_multiplyUnits_closure2, A.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_expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__publicIdentifier_closure0, A.JSToDartImporter_canonicalize_closure, A.JSToDartImporter_load_closure, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A.valueClass_closure]);
  115373. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  115374. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  115375. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  115376. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  115377. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  115378. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  115379. _inheritMany(A._Record, [A._Record2, A._Record3, A._RecordN]);
  115380. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  115381. _inheritMany(A._Record3, [A._Record_3, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  115382. _inheritMany(A._RecordN, [A._Record_4_baseImporter_baseUrl_forImport, A._Record_5_named_namedNodes_positional_positionalNodes_separator]);
  115383. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  115384. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  115385. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  115386. _inherit(A.ConstantStringMap, A.ConstantMap);
  115387. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  115388. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  115389. _inherit(A.Instantiation1, A.Instantiation);
  115390. _inherit(A.NullError, A.TypeError);
  115391. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  115392. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  115393. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  115394. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  115395. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  115396. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  115397. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  115398. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  115399. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  115400. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  115401. _inherit(A._TypeError, A._Error);
  115402. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  115403. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  115404. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  115405. _inherit(A._ControllerStream, A._StreamImpl);
  115406. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  115407. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  115408. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  115409. _inherit(A._ExpandStream, A._ForwardingStream);
  115410. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  115411. _inherit(A._IdentityHashMap, A._HashMap);
  115412. _inherit(A._LinkedHashSet, A._SetBase);
  115413. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  115414. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  115415. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  115416. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  115417. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  115418. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  115419. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  115420. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  115421. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  115422. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  115423. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  115424. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  115425. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  115426. _inherit(A._DataUri, A._Uri);
  115427. _inherit(A.ArgParserException, A.FormatException);
  115428. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  115429. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  115430. _inherit(A._CastQueueList, A.QueueList);
  115431. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  115432. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  115433. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  115434. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  115435. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  115436. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  115437. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  115438. _inherit(A.InternalStyle, A.Style);
  115439. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  115440. _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]);
  115441. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  115442. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  115443. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  115444. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  115445. _inherit(A.CssStylesheet, A.CssParentNode);
  115446. _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]);
  115447. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  115448. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  115449. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  115450. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  115451. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  115452. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  115453. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  115454. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  115455. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  115456. _inherit(A.ExplicitConfiguration, A.Configuration);
  115457. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  115458. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  115459. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  115460. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  115461. _inherit(A.MergedExtension, A.Extension);
  115462. _inherit(A.Importer, A.AsyncImporter);
  115463. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  115464. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  115465. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  115466. _inherit(A.CssParser, A.ScssParser);
  115467. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  115468. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  115469. _inherit(A.SassArgumentList, A.SassList);
  115470. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  115471. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  115472. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  115473. _inherit(A.SingleMapping, A.Mapping);
  115474. _inherit(A.FileLocation, A.SourceLocationMixin);
  115475. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  115476. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  115477. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  115478. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  115479. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  115480. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  115481. _inherit(A.SassArgumentList0, A.SassList0);
  115482. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  115483. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  115484. _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]);
  115485. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  115486. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  115487. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  115488. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  115489. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  115490. _inherit(A.CompileStringOptions, A.CompileOptions);
  115491. _inherit(A.AsyncCompiler, A.Compiler);
  115492. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  115493. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  115494. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  115495. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  115496. _inherit(A.CssParser0, A.ScssParser0);
  115497. _inherit(A._NodeException, A.JsError);
  115498. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  115499. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  115500. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  115501. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  115502. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  115503. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  115504. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  115505. _inherit(A.MergedExtension0, A.Extension0);
  115506. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  115507. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  115508. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  115509. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  115510. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  115511. _inherit(A.CssStylesheet0, A.CssParentNode0);
  115512. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  115513. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  115514. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  115515. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  115516. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  115517. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  115518. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  115519. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  115520. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  115521. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  115522. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  115523. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  115524. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  115525. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  115526. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  115527. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  115528. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  115529. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  115530. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  115531. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  115532. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  115533. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  115534. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  115535. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  115536. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  115537. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  115538. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  115539. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  115540. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  115541. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  115542. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  115543. })();
  115544. var init = {
  115545. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  115546. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  115547. mangledNames: {},
  115548. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "bool(String)", "String(String)", "Value(List<Value>)", "bool(CssNode)", "bool(CssNode0)", "bool(Object?)", "int()", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "JSClass0()", "bool(SimpleSelector0)", "bool(SimpleSelector)", "bool(ComplexSelector0)", "SassString0(List<Value0>)", "bool(ComplexSelector)", "SassString(List<Value>)", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "Future<~>()", "FileSpan()", "bool()", "String()", "bool(int?)", "SassColor0(List<Value0>)", "SassColor(List<Value>)", "SassMap0(List<Value0>)", "Null(~())", "~(Object?)", "SassMap(List<Value>)", "Object?()", "Value()", "double(double)", "Future<Null>(Future<~>())", "Value(Value)", "Value?()", "Value0(Value0)", "Value0?()", "bool(num,num)", "Uri(Uri)", "String?()", "bool(int)", "Value0()", "bool(ComplexSelectorComponent)", "bool(Value0)", "SassNumber(SassNumber)", "bool(ComplexSelectorComponent0)", "SassNumber0(SassNumber0)", "Null(Object,StackTrace)", "Null(@)", "Uri?()", "double(SassColor0)", "@()", "~(Value)", "ValueExpression(Value)", "ValueExpression0(Value0)", "Uri?/()", "ComplexSelector(ComplexSelector)", "ComplexSelector0(ComplexSelector0)", "double(double,double)", "~(Value0)", "bool(SelectorList)", "Object(Object)", "Future<Value0?>()", "bool(Value)", "Future<Value?>()", "bool(Object)", "bool(SelectorList0)", "~(Object,StackTrace)", "Future<Value>()", "Future<Value0>()", "~(@)", "Frame()", "Future<Value0?>(Statement0)", "SassRuntimeException0(AstNode0)", "~(Value0,Value0)", "Declaration(List<Statement>,FileSpan)", "Object()", "AsyncCallable0?()", "AsyncCallable?()", "~(Value,Value)", "~(String,Value0)", "~(Object)", "SassRuntimeException(AstNode)", "Null([Object?])", "~(String)", "Stylesheet?()", "Future<Value?>(Statement)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Null(_NodeSassColor,num)", "double(Value0)", "double(Value)", "Future<Value0>(List<Value0>)", "~([int?])", "Callable?()", "~(String,Value)", "~(Module1<Callable>,bool)", "Value0?(Statement0)", "Callable0?()", "~(Module0<Callable0>,bool)", "@(@)", "int(Uri)", "Declaration0(List<Statement0>,FileSpan)", "Value?(Statement)", "Frame(String)", "+originalUrl(Importer,Uri,Uri)?()", "~(String,Function)", "Null(Module1<AsyncCallable0>,bool)", "int(_NodeSassColor)", "List<String>()", "String(@)", "int(SassColor0)", "bool(ModifiableCssNode)", "bool(Expression)", "String(Expression)", "bool(Module0<Callable0>)", "Null(Module0<AsyncCallable>,bool)", "Map<ComplexSelector0,Extension0>()", "bool(Module1<AsyncCallable0>)", "Statement0()", "String(String{color:Object?})", "bool(Module0<AsyncCallable>)", "~(String,Object?)", "~(String,@)", "bool(ModifiableCssNode0)", "String(Expression0)", "Statement()", "bool(Expression0)", "bool(@)", "~(~())", "bool(_Highlight)", "String(Object)", "bool(Module1<Callable>)", "Map<ComplexSelector,Extension>()", "SassCalculation0(Object)", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Object(CalculationOperation0)", "double(SassNumber0,Object,Object[String?])", "0&(@[@])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "bool(Statement)", "bool(Import)", "0&(Object[Object?])", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "String(SassNumber0)", "Uri(String)", "int(String,String)", "String?(String?)", "String?(Object)", "bool(Object?,Object?)", "double(SassNumber0,SassNumber0[String?,String?])", "SassNumber0(SassNumber0,Object,Object[String?])", "bool(SassNumber0,String)", "ImmutableList0(SassNumber0)", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "AsyncImporter0(Object?)", "int(ComplexSelector0)", "Set<0^>()<Object?>", "int(int)", "AstNode0?()", "InterpolationMap0(List<SourceLocation>)", "bool(SassNumber0)", "0&(String,FileSpan[StackTrace?])", "Null(_NodeSassMap,int,Object)", "~(@,@)", "Object(_NodeSassMap,int)", "~(Object?,Object?)", "Expression0(Expression0)", "SelectorList0(Value0)", "int(ComplexSelector)", "bool(String?)", "Value0(int)", "@(Value0,num)", "SelectorList0(SelectorList0,SelectorList0)", "VariableDeclaration()", "AsyncCallable?(Module0<AsyncCallable>)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "bool(ForwardRule0)", "AtRootRule(List<Statement>,FileSpan)", "bool(UseRule0)", "List<CssComment0>()", "~(String[~])", "Future<SassNumber0>()", "String(Value0)", "+originalUrl(Importer0,Uri,Uri)?()", "AtRule(List<Statement>,FileSpan)", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "int(int,double?)", "bool(ModifiableCssParentNode0)", "List<ExtensionStore0>()", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "int(@,@)", "double(double,double?,num)", "String(String{color:@})", "Entry(Entry)", "int(double)", "Future<~>(List<Value0>)", "bool(Import0)", "bool(Statement0)", "SassMixin0(List<Value0>)", "AtRule0(List<Statement0>,FileSpan)", "AstNode(AstNode)", "SassFunction(List<Value>)", "AtRootRule0(List<Statement0>,FileSpan)", "SassMixin(List<Value>)", "Future<~>(List<Value>)", "Trace(String)", "Expression(Expression)", "Future<Value>(List<Value>)", "@(String)", "bool(Queue<List<ComplexSelectorComponent0>>)", "double(double,String)", "List<ExtensionStore>()", "FileLocation(FileSpan)", "bool(ModifiableCssParentNode)", "List<Extension0>()", "Callable0?(Module0<Callable0>)", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "String(int)", "Future<SassNumber>()", "int(Object?)", "List<CssComment>()", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "bool(UseRule)", "bool(ForwardRule)", "AsyncCallable0?(Module1<AsyncCallable0>)", "String(_NodeException)", "Future<String>()", "Map<String,Callable0>(Module0<Callable0>)", "~(Object[StackTrace?])", "SassNumber0()", "~(Uint8List,String,int)", "Value0?(Value0)", "Future<Object>()", "int(SourceLocation)", "~(Iterable<ExtensionStore>)", "~(List<Value0>)", "InterpolationMap(List<SourceLocation>)", "AstNode?()", "String(SassNumber)", "~([Object?])", "Future<~>?()", "~(List<Value>)", "List<Extension>()", "String(FileSpan)", "Map<String,Callable>(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "bool(Frame)", "Callable?(Module1<Callable>)", "Trace()", "SassNumber()", "~(Iterable<ExtensionStore0>)", "String(Frame)", "int(Frame)", "Set<0&>(Object)", "bool(Queue<List<ComplexSelectorComponent>>)", "Future<NodeCompileResult>()", "SassFunction0(List<Value0>)", "AstNode0(AstNode0)", "bool(PseudoSelector)", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "~(ContentBlock)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "Value(Expression)", "String(Trace)", "UserDefinedCallable<Environment>(ContentBlock)", "Value?(IfRuleClause)", "Frame(String,String)", "CssValue<String>(Interpolation)", "Value?(Value)", "Frame(Frame)", "~(Module0<Callable0>)", "Module0<Callable0>()", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "String(Argument0)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "Value/()", "Future<Value>(Expression)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "Future<Value?>(IfRuleClause)", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "Future<CssValue<String>>(Interpolation)", "Future<Value?>(Value)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "~(Module0<AsyncCallable>)", "Future<Module0<AsyncCallable>>()", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "~(Module0<AsyncCallable>,bool)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "SingleUnitSassNumber(double)", "SassScriptException()", "DateTime(StylesheetNode)", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "StringExpression(Interpolation)", "~(Module1<AsyncCallable0>)", "~(BinaryOperator)", "~(Expression)", "WhileRule(List<Statement>,FileSpan)", "SupportsRule(List<Statement>,FileSpan)", "Future<Value0?>(Value0)", "MixinRule(List<Statement>,FileSpan)", "Future<CssValue0<String>>(Interpolation0)", "MediaRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "FunctionRule(List<Statement>,FileSpan)", "Future<Value0?>(IfRuleClause0)", "EachRule(List<Statement>,FileSpan)", "StyleRule(List<Statement>,FileSpan)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "UseRule()", "ArgumentDeclaration()", "VariableDeclaration(VariableDeclaration)", "Statement?()", "Stylesheet()", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Future<Value0>(Expression0)", "Statement({root:bool})", "Value0/()", "CompoundSelector()", "SelectorList()", "List<CssMediaQuery>()", "String(BuiltInCallable)", "AtRootQuery()", "bool(+baseImporter,baseUrl,forImport(Uri,Importer,Uri?,bool),+originalUrl(Importer,Uri,Uri)?)", "Uri(+originalUrl(Importer,Uri,Uri))", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "bool(+originalUrl(Importer,Uri,Uri))", "SassString(String)", "SassString(int)", "SassString(SimpleSelector)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "Value(Object)", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "SassNumber(Value)", "SassMap(SassMap)", "SassMap(Value)", "bool(List<Value>)", "List<Value>(Value)", "0&(List<Value>)", "0&(List<Value0>)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "String(Value)", "SelectorList?(PseudoSelector)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "~(CssMediaQuery)", "double(_NodeSassColor)", "bool(List<Iterable<ComplexSelectorComponent>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "AsyncImporter0(JSImporter)", "0&(@)", "PseudoSelector(ComplexSelector)", "NodePackageImporter0(Object[String?])", "List<ComplexSelector>(ComplexSelector)", "NodeCompileResult(Compiler,String[CompileOptions?])", "NodeCompileResult(Compiler,String[CompileStringOptions?])", "Null(Compiler)", "Promise(AsyncCompiler,String[CompileOptions?])", "Promise(AsyncCompiler,String[CompileStringOptions?])", "Promise(AsyncCompiler)", "Future<AsyncCompiler>()", "int(int,ComplexSelectorComponent0)", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(BuiltInCallable0)", "List<List<Extender>>(List<Extender>)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "List<Extender>(PseudoSelector)", "List<Extender>?(SimpleSelector)", "Map<String,Value0>(Module1<Callable>)", "Object(Value0)", "List<SimpleSelector>(Extender)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "Set<ModifiableBox<SelectorList>>()", "bool(Extension)", "List<WatchEvent>(List<WatchEvent>)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "Future<~>(String)", "Set<Deprecation>()", "CssValue0<String>(Interpolation0)", "ArgParser()", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Map<String,AstNode>(Module0<Callable0>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "Map<String,Value>(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "Value?(Module0<Callable0>)", "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>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Deprecation)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "Future<Stylesheet?>()", "~(Object?,Object,Object?)", "+(String,String)(String)", "Map<String,AstNode>(Module0<AsyncCallable>)", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "Map<String,Value>(Module0<AsyncCallable>)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "Null(_NodeSassList,int?[bool?,SassList0?])", "Value?(Module0<AsyncCallable>)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "@(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "SimpleSelector(SimpleSelector)", "int(_NodeSassMap)", "Iterable<ComplexSelector>(ComplexSelector)", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "SassList(ComplexSelector)", "int?(SassNumber0)", "int(int,SimpleSelector)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "~(List<Statement>)", "String(CssValue<Combinator>)", "int(int,ComplexSelectorComponent)", "String(int,IfClause)", "String(Argument)", "bool(Version)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "Object(String)", "String(Object,@,@[@])", "Map<String,AstNode0>(Module1<Callable>)", "int(String?)", "bool(String?,String?)", "String(String?)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "Null(Function,Function)", "JSUrl0?(FileSpan)", "~(String,Option)", "Object?(Object?)", "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})", "Uint8List(@,@)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "+(String,ArgumentDeclaration0)()", "VariableDeclaration0()", "int(int,int)", "StyleRule0(List<Statement0>,FileSpan)", "~(String,int?)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "~(String,int)", "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?])", "~(Symbol0,@)", "~(@,StackTrace)", "~(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?>?)", "~([Future<~>?])", "Future<@>()", "0^(0^,0^)<num>", "Null(@,@)", "_Future<@>(@)", "~(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?)", "Compiler()", "Promise()", "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?)", "~(int,@)", "Null(@,StackTrace)", "int(num)", "@(@,String)", "Future<~>(List<String>)", "SassNumber0(SassNumber0,String[String?])"],
  115549. interceptorsByTag: null,
  115550. leafTags: null,
  115551. arrayRti: Symbol("$ti"),
  115552. rttc: {
  115553. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  115554. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  115555. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  115556. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  115557. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  115558. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  115559. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  115560. "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),
  115561. "4;baseImporter,baseUrl,forImport": types => o => o instanceof A._Record_4_baseImporter_baseUrl_forImport && A.pairwiseIsTest(types, o._values),
  115562. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  115563. }
  115564. };
  115565. 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","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSModule":"LegacyJavaScriptObject","JSModuleRequire":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","_RequireMain":"LegacyJavaScriptObject","JSArray1":"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","JSFunction0":"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","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"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","_RequireMain0":"LegacyJavaScriptObject","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"ImmutableList":[],"_Channels":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"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"],"ListBase.E":"2","Iterable.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":[]},"ReachabilityError":{"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"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.V":"@","MapBase.K":"String"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"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"]},"JsonDecoder":{"Converter":["String","Object?"]},"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":[]},"NullRejectionException":{"Exception":[]},"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":[]},"NodePackageImporter":{"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":[]},"AsyncCompiler":{"Compiler":[]},"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":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"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":[]}}'));
  115566. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"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,"UnmodifiableMapBase":2,"_UnmodifiableMapMixin":2,"MapView":2,"_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,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
  115567. var string$ = {
  115568. x0a_BUG_: "\n\nBUG: This should include a source span!",
  115569. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  115570. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  115571. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  115572. x0a_This: "\n\nThis is only an error because you've set the ",
  115573. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  115574. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  115575. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  115576. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  115577. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  115578. x20It_wi: " It will be omitted from the generated CSS.",
  115579. 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",
  115580. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  115581. x20depre: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  115582. x20in_in: " in interpolation here.\nIt may end up represented as ",
  115583. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  115584. x20is_av: " is available from multiple global modules.",
  115585. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  115586. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  115587. 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",
  115588. x20must_b: " must be either nearest, up, down or to-zero.",
  115589. x20must_n: " must not be greater than the number of characters in the file, ",
  115590. x20repet: " repetitive deprecation warnings omitted.",
  115591. x20targe: " targetLocations if the interpolation has ",
  115592. 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",
  115593. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  115594. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  115595. x20was_n: " was not declared with !default in the @used module.",
  115596. x20was_p: " was passed both by position and by name.",
  115597. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  115598. x21globai: "!global isn't allowed for variables in other modules.",
  115599. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  115600. x22x20can_: "\" can't be used as a parent in a compound selector.",
  115601. 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',
  115602. 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',
  115603. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  115604. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  115605. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  115606. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  115607. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  115608. x22packa: '"package:" URLs aren\'t supported on this platform.',
  115609. x24css_a: "$css and $module may not both be passed at once.",
  115610. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  115611. x24selec: "$selectors: At least one selector must be passed.",
  115612. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  115613. x27x20must: "' must be a path relative to the package root at '",
  115614. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  115615. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  115616. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  115617. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  115618. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  115619. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  115620. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  115621. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  115622. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  115623. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  115624. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  115625. x3d_____: "===== asynchronous gap ===========================\n",
  115626. 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.",
  115627. x40conte: "@content is only allowed within mixin declarations.",
  115628. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  115629. x40exten: "@extend may only be used within style rules.",
  115630. x40forwa: "@forward rules must be written before any other rules.",
  115631. x40funct: "@function if($condition, $if-true, $if-false) {",
  115632. x40use_r: "@use rules must be written before any other rules.",
  115633. A_list: "A list with more than one element must have an explicit separator.",
  115634. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  115635. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  115636. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  115637. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  115638. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  115639. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  115640. 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.",
  115641. At_rul: "At-rules may not be used within nested declarations.",
  115642. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  115643. Cannotfq: "Cannot extract a file path from a URI with a query component",
  115644. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  115645. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  115646. Could_: 'Could not find an option with short name "-',
  115647. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  115648. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  115649. Declarm: "Declarations may only be used within style rules.",
  115650. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  115651. Either: "Either options.data or options.file must be set.",
  115652. Entrie: "Entries may not be removed from MergedMapView.",
  115653. 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",
  115654. Evalua: "Evaluation handles @include and its content block together.",
  115655. Expect: "Expected variable, mixin, or function name",
  115656. Functi: "Functions may not be declared in control directives.",
  115657. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  115658. If_con: "If conditions is longer than one element, conjunction may not be null.",
  115659. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  115660. If_str: "If strategy is not null, step is required.",
  115661. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  115662. Indent: "Indenting at the beginning of the document is illegal.",
  115663. Interpn: "Interpolation isn't allowed in namespaces.",
  115664. Interpp: "Interpolation isn't allowed in plain CSS.",
  115665. Invali: 'Invalid return value for custom function "',
  115666. It_s_n: "It's not clear which file to import. Found:\n",
  115667. Keywor: "Keyword arguments can't be used with calculations.",
  115668. May_on: "May only contains Strings or Expressions.",
  115669. Media_: "Media rules may not be used within nested declarations.",
  115670. Mixinsb: "Mixins may not be declared in control directives.",
  115671. Mixinscf: "Mixins may not contain function declarations.",
  115672. Mixinscm: "Mixins may not contain mixin declarations.",
  115673. Modulel: "Module loop: this module is already being loaded.",
  115674. Modulen: "Module namespaces aren't allowed in plain CSS.",
  115675. Nested: "Nested declarations aren't allowed in plain CSS.",
  115676. New_en: "New entries may not be added to MergedMapView.",
  115677. No_Sasc: "No Sass callable is currently being evaluated.",
  115678. No_Sass: "No Sass stylesheet is currently being evaluated.",
  115679. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  115680. None_o: "None of the patterns in the switch expression the matched input value. See https://github.com/dart-lang/language/issues/3488 for details.",
  115681. Number: "Number to round and step arguments are required.",
  115682. Only_2: "Only 2 slash-separated elements allowed, but ",
  115683. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  115684. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  115685. Other_: "Other modules' members can't be defined with !global.",
  115686. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  115687. 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(",
  115688. Placeh: "Placeholder selectors aren't allowed here.",
  115689. Plain_: "Plain CSS functions don't support keyword arguments.",
  115690. Positi: "Positional arguments must come before keyword arguments.",
  115691. Privat: "Private members can't be accessed from outside their modules.",
  115692. RGB_pa: "RGB parameters may not be passed along with ",
  115693. Rest_a: "Rest arguments can't be used with calculations.",
  115694. Sass__: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  115695. Sass_v: "Sass variables aren't allowed in plain CSS.",
  115696. Silent: "Silent comments aren't allowed in plain CSS.",
  115697. Style_: "Style rules may not be used within nested declarations.",
  115698. Suppor: "Supports rules may not be used within nested declarations.",
  115699. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  115700. The_No: "The Node package importer cannot be used without a filesystem.",
  115701. The_ca: "The canonicalize() method must return a URL.",
  115702. The_fie: "The findFileUrl() method must return a URL.",
  115703. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  115704. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  115705. The_lo: "The load() function must return an object with contents and syntax fields.",
  115706. The_pa: "The parent selector isn't allowed in plain CSS.",
  115707. The_sa: "The same variable may only be configured once.",
  115708. The_ta: 'The target selector was not found.\nUse "@extend ',
  115709. There_: "There's already a module with namespace \"",
  115710. This_d: 'This declaration has no argument named "$',
  115711. This_e: "This expression can't be used in a calculation.",
  115712. This_f: "This function isn't allowed in plain CSS.",
  115713. This_ma: 'This module and the new module both define a variable named "$',
  115714. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  115715. This_o: "This operation can't be used in a calculation.",
  115716. This_s: "This selector doesn't have any properties and won't be rendered.",
  115717. This_v: "This variable was not declared with !default in the @used module.",
  115718. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  115719. Unable: "Unable to determine which of multiple potential resolutions found for ",
  115720. Unexpe: "Unexpected Zone.current[#_containingUrl] value ",
  115721. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  115722. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  115723. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  115724. Variab_: "Variable keyword argument map must have string keys.\n",
  115725. Variabs: "Variable keyword arguments must be a map (was ",
  115726. You_ma: "You may not @extend selectors across media queries.",
  115727. You_pr: "You probably don't mean to use the color value ",
  115728. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  115729. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  115730. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  115731. contai: "containingUrl may only be accessed within a call to canonicalize().",
  115732. conten: "content-exists() may only be called within a mixin.",
  115733. fileEx: "fileExists() is only supported on Node.js",
  115734. leadin: "leadingCombinators and components may not both be empty.",
  115735. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  115736. math_r: "math.random() will no longer ignore $limit units (",
  115737. must_b: "must be a UniversalSelector or a TypeSelector",
  115738. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  115739. semico: "semicolons aren't allowed in the indented syntax.",
  115740. throug: "through() must return false for at least one parent of ",
  115741. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  115742. };
  115743. var type$ = (function rtii() {
  115744. var findType = A.findType;
  115745. return {
  115746. $env_1_1_String: findType("@<String>"),
  115747. ArgParser: findType("ArgParser"),
  115748. Argument: findType("Argument"),
  115749. ArgumentDeclaration: findType("ArgumentDeclaration"),
  115750. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  115751. Argument_2: findType("Argument0"),
  115752. AstNode: findType("AstNode"),
  115753. AstNode_2: findType("AstNode0"),
  115754. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  115755. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  115756. AsyncCallable: findType("AsyncCallable"),
  115757. AsyncCallable_2: findType("AsyncCallable0"),
  115758. AsyncCompiler: findType("AsyncCompiler"),
  115759. AsyncImporter: findType("AsyncImporter0"),
  115760. Box_SelectorList: findType("Box<SelectorList>"),
  115761. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  115762. BuiltInCallable: findType("BuiltInCallable"),
  115763. BuiltInCallable_2: findType("BuiltInCallable0"),
  115764. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  115765. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  115766. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  115767. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  115768. ByteBuffer: findType("ByteBuffer"),
  115769. ByteData: findType("ByteData"),
  115770. Callable: findType("Callable0"),
  115771. Callable_2: findType("Callable"),
  115772. ChangeType: findType("ChangeType"),
  115773. CodeUnits: findType("CodeUnits"),
  115774. Combinator: findType("Combinator"),
  115775. Combinator_2: findType("Combinator0"),
  115776. Comparable_dynamic: findType("Comparable<@>"),
  115777. Comparable_nullable_Object: findType("Comparable<Object?>"),
  115778. CompileResult: findType("CompileResult"),
  115779. CompileResult_2: findType("CompileResult0"),
  115780. ComplexSelector: findType("ComplexSelector"),
  115781. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  115782. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  115783. ComplexSelector_2: findType("ComplexSelector0"),
  115784. Configuration: findType("Configuration"),
  115785. Configuration_2: findType("Configuration0"),
  115786. ConfiguredValue: findType("ConfiguredValue"),
  115787. ConfiguredValue_2: findType("ConfiguredValue0"),
  115788. ConfiguredVariable: findType("ConfiguredVariable"),
  115789. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  115790. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  115791. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  115792. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  115793. CssComment: findType("CssComment"),
  115794. CssComment_2: findType("CssComment0"),
  115795. CssMediaQuery: findType("CssMediaQuery"),
  115796. CssMediaQuery_2: findType("CssMediaQuery0"),
  115797. CssParentNode: findType("CssParentNode"),
  115798. CssParentNode_2: findType("CssParentNode0"),
  115799. CssStylesheet: findType("CssStylesheet"),
  115800. CssStylesheet_2: findType("CssStylesheet0"),
  115801. CssValue_Combinator: findType("CssValue<Combinator>"),
  115802. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  115803. CssValue_List_String: findType("CssValue<List<String>>"),
  115804. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  115805. CssValue_String: findType("CssValue<String>"),
  115806. CssValue_String_2: findType("CssValue0<String>"),
  115807. CssValue_Value: findType("CssValue<Value>"),
  115808. CssValue_Value_2: findType("CssValue0<Value0>"),
  115809. DateTime: findType("DateTime"),
  115810. Deprecation: findType("Deprecation"),
  115811. Deprecation_2: findType("Deprecation0"),
  115812. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  115813. Error: findType("Error"),
  115814. EvaluationContext: findType("EvaluationContext"),
  115815. EvaluationContext_2: findType("EvaluationContext0"),
  115816. Exception: findType("Exception"),
  115817. Expression: findType("Expression"),
  115818. Expression_2: findType("Expression0"),
  115819. Extender: findType("Extender"),
  115820. Extender_2: findType("Extender0"),
  115821. Extension: findType("Extension"),
  115822. Extension_2: findType("Extension0"),
  115823. FileLocation: findType("FileLocation"),
  115824. FileSpan: findType("FileSpan"),
  115825. Float32List: findType("Float32List"),
  115826. Float64List: findType("Float64List"),
  115827. FormatException: findType("FormatException"),
  115828. Frame: findType("Frame"),
  115829. Function: findType("Function"),
  115830. FutureGroup_void: findType("FutureGroup<~>"),
  115831. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  115832. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  115833. FutureOr_nullable_Uri: findType("Uri?/"),
  115834. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  115835. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  115836. Future_Value: findType("Future<Value>"),
  115837. Future_Value_2: findType("Future<Value0>"),
  115838. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  115839. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  115840. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  115841. Future_nullable_Uri: findType("Future<Uri?>"),
  115842. Future_nullable_Value: findType("Future<Value?>"),
  115843. Future_nullable_Value_2: findType("Future<Value0?>"),
  115844. Future_void: findType("Future<~>"),
  115845. IfClause: findType("IfClause"),
  115846. IfClause_2: findType("IfClause0"),
  115847. ImmutableList: findType("ImmutableList0"),
  115848. ImmutableList_2: findType("ImmutableList"),
  115849. ImmutableMap: findType("ImmutableMap0"),
  115850. Import: findType("Import"),
  115851. Import_2: findType("Import0"),
  115852. Importer: findType("Importer0"),
  115853. ImporterResult: findType("ImporterResult"),
  115854. ImporterResult_2: findType("ImporterResult0"),
  115855. Int16List: findType("Int16List"),
  115856. Int32List: findType("Int32List"),
  115857. Int8List: findType("Int8List"),
  115858. Interpolation: findType("Interpolation"),
  115859. InterpolationBuffer: findType("InterpolationBuffer"),
  115860. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  115861. Interpolation_2: findType("Interpolation0"),
  115862. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  115863. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  115864. Iterable_dynamic: findType("Iterable<@>"),
  115865. Iterable_nullable_Object: findType("Iterable<Object?>"),
  115866. JSArray_Argument: findType("JSArray<Argument>"),
  115867. JSArray_Argument_2: findType("JSArray<Argument0>"),
  115868. JSArray_AstNode: findType("JSArray<AstNode>"),
  115869. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  115870. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  115871. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  115872. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  115873. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  115874. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  115875. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  115876. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  115877. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  115878. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  115879. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  115880. JSArray_Callable: findType("JSArray<Callable0>"),
  115881. JSArray_Callable_2: findType("JSArray<Callable>"),
  115882. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  115883. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  115884. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  115885. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  115886. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  115887. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  115888. JSArray_CssComment: findType("JSArray<CssComment>"),
  115889. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  115890. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  115891. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  115892. JSArray_CssNode: findType("JSArray<CssNode>"),
  115893. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  115894. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  115895. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  115896. JSArray_Entry: findType("JSArray<Entry>"),
  115897. JSArray_Expression: findType("JSArray<Expression>"),
  115898. JSArray_Expression_2: findType("JSArray<Expression0>"),
  115899. JSArray_Extender: findType("JSArray<Extender>"),
  115900. JSArray_Extender_2: findType("JSArray<Extender0>"),
  115901. JSArray_Extension: findType("JSArray<Extension>"),
  115902. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  115903. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  115904. JSArray_Extension_2: findType("JSArray<Extension0>"),
  115905. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  115906. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  115907. JSArray_Frame: findType("JSArray<Frame>"),
  115908. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  115909. JSArray_IfClause: findType("JSArray<IfClause>"),
  115910. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  115911. JSArray_Import: findType("JSArray<Import>"),
  115912. JSArray_Import_2: findType("JSArray<Import0>"),
  115913. JSArray_Importer: findType("JSArray<Importer>"),
  115914. JSArray_Importer_2: findType("JSArray<Importer0>"),
  115915. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  115916. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  115917. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  115918. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  115919. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  115920. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  115921. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  115922. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  115923. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  115924. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  115925. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  115926. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  115927. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  115928. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  115929. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  115930. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  115931. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  115932. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  115933. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  115934. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  115935. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  115936. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  115937. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  115938. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  115939. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  115940. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  115941. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  115942. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  115943. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  115944. JSArray_Object: findType("JSArray<Object>"),
  115945. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  115946. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  115947. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<+(ArgumentDeclaration,Value(List<Value>))>"),
  115948. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<+(ArgumentDeclaration0,Value0(List<Value0>))>"),
  115949. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  115950. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  115951. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  115952. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  115953. JSArray_SassList: findType("JSArray<SassList>"),
  115954. JSArray_SassList_2: findType("JSArray<SassList0>"),
  115955. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  115956. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  115957. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  115958. JSArray_Statement: findType("JSArray<Statement>"),
  115959. JSArray_Statement_2: findType("JSArray<Statement0>"),
  115960. JSArray_String: findType("JSArray<String>"),
  115961. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  115962. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  115963. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  115964. JSArray_Trace: findType("JSArray<Trace>"),
  115965. JSArray_UseRule: findType("JSArray<UseRule>"),
  115966. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  115967. JSArray_Value: findType("JSArray<Value>"),
  115968. JSArray_Value_2: findType("JSArray<Value0>"),
  115969. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  115970. JSArray__Highlight: findType("JSArray<_Highlight>"),
  115971. JSArray__Line: findType("JSArray<_Line>"),
  115972. JSArray_dynamic: findType("JSArray<@>"),
  115973. JSArray_int: findType("JSArray<int>"),
  115974. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  115975. JSArray_nullable_String: findType("JSArray<String?>"),
  115976. JSClass: findType("JSClass0"),
  115977. JSFunction: findType("JSFunction0"),
  115978. JSImporter: findType("JSImporter"),
  115979. JSImporterResult: findType("JSImporterResult"),
  115980. JSNull: findType("JSNull"),
  115981. JSUrl: findType("JSUrl0"),
  115982. JavaScriptFunction: findType("JavaScriptFunction"),
  115983. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  115984. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  115985. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  115986. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  115987. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  115988. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  115989. JsSystemError: findType("JsSystemError"),
  115990. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  115991. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  115992. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  115993. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  115994. List_CssComment: findType("List<CssComment>"),
  115995. List_CssComment_2: findType("List<CssComment0>"),
  115996. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  115997. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  115998. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  115999. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  116000. List_Extension: findType("List<Extension>"),
  116001. List_ExtensionStore: findType("List<ExtensionStore>"),
  116002. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  116003. List_Extension_2: findType("List<Extension0>"),
  116004. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  116005. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  116006. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  116007. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  116008. List_Module_Callable: findType("List<Module0<Callable0>>"),
  116009. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  116010. List_String: findType("List<String>"),
  116011. List_Value: findType("List<Value>"),
  116012. List_Value_2: findType("List<Value0>"),
  116013. List_WatchEvent: findType("List<WatchEvent>"),
  116014. List_dynamic: findType("List<@>"),
  116015. List_int: findType("List<int>"),
  116016. List_nullable_Object: findType("List<Object?>"),
  116017. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  116018. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  116019. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  116020. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  116021. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  116022. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  116023. MapKeySet_String: findType("MapKeySet<String>"),
  116024. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  116025. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  116026. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  116027. Map_String_AstNode: findType("Map<String,AstNode>"),
  116028. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  116029. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  116030. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  116031. Map_String_Callable: findType("Map<String,Callable0>"),
  116032. Map_String_Callable_2: findType("Map<String,Callable>"),
  116033. Map_String_Value: findType("Map<String,Value>"),
  116034. Map_String_Value_2: findType("Map<String,Value0>"),
  116035. Map_String_dynamic: findType("Map<String,@>"),
  116036. Map_dynamic_dynamic: findType("Map<@,@>"),
  116037. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  116038. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  116039. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  116040. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  116041. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  116042. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  116043. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  116044. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  116045. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  116046. MixinRule: findType("MixinRule"),
  116047. MixinRule_2: findType("MixinRule0"),
  116048. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  116049. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  116050. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  116051. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  116052. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  116053. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  116054. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  116055. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  116056. ModifiableCssNode: findType("ModifiableCssNode"),
  116057. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  116058. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  116059. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  116060. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  116061. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  116062. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  116063. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  116064. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  116065. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  116066. Module_Callable: findType("Module0<Callable0>"),
  116067. Module_Callable_2: findType("Module1<Callable>"),
  116068. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  116069. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  116070. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  116071. NativeUint8List: findType("NativeUint8List"),
  116072. Never: findType("0&"),
  116073. NodeCompileResult: findType("NodeCompileResult"),
  116074. NodeImporterResult: findType("NodeImporterResult0"),
  116075. Null: findType("Null"),
  116076. Object: findType("Object"),
  116077. Option: findType("Option"),
  116078. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  116079. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  116080. PathMap_String: findType("PathMap<String>"),
  116081. PathMap_nullable_String: findType("PathMap<String?>"),
  116082. Promise: findType("Promise"),
  116083. PseudoSelector: findType("PseudoSelector"),
  116084. PseudoSelector_2: findType("PseudoSelector0"),
  116085. RangeError: findType("RangeError"),
  116086. Record: findType("Record"),
  116087. Record_0: findType("+()"),
  116088. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  116089. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  116090. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  116091. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  116092. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  116093. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  116094. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  116095. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  116096. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  116097. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  116098. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  116099. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  116100. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  116101. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  116102. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  116103. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  116104. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  116105. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  116106. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  116107. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  116108. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  116109. Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport: findType("+baseImporter,baseUrl,forImport(Uri,AsyncImporter,Uri?,bool)"),
  116110. Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2: findType("+baseImporter,baseUrl,forImport(Uri,AsyncImporter0,Uri?,bool)"),
  116111. Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport: findType("+baseImporter,baseUrl,forImport(Uri,Importer,Uri?,bool)"),
  116112. Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2: findType("+baseImporter,baseUrl,forImport(Uri,Importer0,Uri?,bool)"),
  116113. 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)"),
  116114. 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)"),
  116115. RegExpMatch: findType("RegExpMatch"),
  116116. RenderContextOptions: findType("RenderContextOptions0"),
  116117. RenderResult: findType("RenderResult"),
  116118. Result_String: findType("Result<String>"),
  116119. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  116120. Runes: findType("Runes"),
  116121. SassArgumentList: findType("SassArgumentList"),
  116122. SassArgumentList_2: findType("SassArgumentList0"),
  116123. SassBoolean: findType("SassBoolean"),
  116124. SassBoolean_2: findType("SassBoolean0"),
  116125. SassColor: findType("SassColor"),
  116126. SassColor_2: findType("SassColor0"),
  116127. SassFormatException: findType("SassFormatException"),
  116128. SassFormatException_2: findType("SassFormatException0"),
  116129. SassList: findType("SassList"),
  116130. SassList_2: findType("SassList0"),
  116131. SassMap: findType("SassMap"),
  116132. SassMap_2: findType("SassMap0"),
  116133. SassNumber: findType("SassNumber"),
  116134. SassNumber_2: findType("SassNumber0"),
  116135. SassRuntimeException: findType("SassRuntimeException"),
  116136. SassRuntimeException_2: findType("SassRuntimeException0"),
  116137. SassString: findType("SassString"),
  116138. SassString_2: findType("SassString0"),
  116139. SelectorList: findType("SelectorList"),
  116140. SelectorList_2: findType("SelectorList0"),
  116141. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  116142. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  116143. Set_Uri: findType("Set<Uri>"),
  116144. SimpleSelector: findType("SimpleSelector"),
  116145. SimpleSelector_2: findType("SimpleSelector0"),
  116146. SourceFile: findType("SourceFile"),
  116147. SourceLocation: findType("SourceLocation"),
  116148. SourceSpan: findType("SourceSpan"),
  116149. SourceSpanFormatException: findType("SourceSpanFormatException"),
  116150. SourceSpanWithContext: findType("SourceSpanWithContext"),
  116151. StackTrace: findType("StackTrace"),
  116152. Statement: findType("Statement"),
  116153. Statement_2: findType("Statement0"),
  116154. StaticImport: findType("StaticImport"),
  116155. StaticImport_2: findType("StaticImport0"),
  116156. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  116157. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  116158. StreamQueue_String: findType("StreamQueue<String>"),
  116159. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  116160. String: findType("String"),
  116161. StringExpression: findType("StringExpression"),
  116162. StylesheetNode: findType("StylesheetNode"),
  116163. Timer: findType("Timer"),
  116164. Trace: findType("Trace"),
  116165. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  116166. TypeError: findType("TypeError"),
  116167. TypeSelector: findType("TypeSelector"),
  116168. TypeSelector_2: findType("TypeSelector0"),
  116169. Uint16List: findType("Uint16List"),
  116170. Uint32List: findType("Uint32List"),
  116171. Uint8ClampedList: findType("Uint8ClampedList"),
  116172. Uint8List: findType("Uint8List"),
  116173. UnionSet_Uri: findType("UnionSet<Uri>"),
  116174. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  116175. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  116176. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  116177. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  116178. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  116179. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  116180. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  116181. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  116182. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  116183. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  116184. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  116185. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  116186. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  116187. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  116188. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  116189. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  116190. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  116191. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  116192. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  116193. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  116194. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  116195. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  116196. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  116197. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  116198. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  116199. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  116200. Uri: findType("Uri"),
  116201. UseRule: findType("UseRule"),
  116202. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  116203. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  116204. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  116205. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  116206. Value: findType("Value"),
  116207. Value_2: findType("Value0"),
  116208. Value_Function_List_Value: findType("Value(List<Value>)"),
  116209. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  116210. VariableDeclaration: findType("VariableDeclaration"),
  116211. VariableDeclaration_2: findType("VariableDeclaration0"),
  116212. VersionRange: findType("VersionRange"),
  116213. WatchEvent: findType("WatchEvent"),
  116214. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  116215. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  116216. WhereIterable_String: findType("WhereIterable<String>"),
  116217. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  116218. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  116219. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  116220. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  116221. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  116222. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  116223. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  116224. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  116225. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  116226. _EventRequest_dynamic: findType("_EventRequest<@>"),
  116227. _Future_List_void: findType("_Future<List<~>>"),
  116228. _Future_Object: findType("_Future<Object>"),
  116229. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  116230. _Future_String: findType("_Future<String>"),
  116231. _Future_Value: findType("_Future<Value>"),
  116232. _Future_Value_2: findType("_Future<Value0>"),
  116233. _Future_bool: findType("_Future<bool>"),
  116234. _Future_dynamic: findType("_Future<@>"),
  116235. _Future_int: findType("_Future<int>"),
  116236. _Future_nullable_Object: findType("_Future<Object?>"),
  116237. _Future_void: findType("_Future<~>"),
  116238. _Highlight: findType("_Highlight"),
  116239. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  116240. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  116241. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  116242. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  116243. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  116244. _MapEntry: findType("_MapEntry"),
  116245. _NodeException: findType("_NodeException"),
  116246. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  116247. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  116248. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  116249. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  116250. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  116251. bool: findType("bool"),
  116252. double: findType("double"),
  116253. dynamic: findType("@"),
  116254. dynamic_Function: findType("@()"),
  116255. dynamic_Function_Object: findType("@(Object)"),
  116256. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  116257. int: findType("int"),
  116258. legacy_Never: findType("0&*"),
  116259. legacy_Object: findType("Object*"),
  116260. nullable_AstNode: findType("AstNode?"),
  116261. nullable_AstNode_2: findType("AstNode0?"),
  116262. nullable_CssValue_String: findType("CssValue<String>?"),
  116263. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  116264. nullable_Future_Null: findType("Future<Null>?"),
  116265. nullable_Future_void: findType("Future<~>?"),
  116266. nullable_ImporterResult: findType("ImporterResult?"),
  116267. nullable_ImporterResult_2: findType("ImporterResult0?"),
  116268. nullable_Object: findType("Object?"),
  116269. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  116270. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  116271. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  116272. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  116273. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  116274. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  116275. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  116276. nullable_SourceFile: findType("SourceFile?"),
  116277. nullable_SourceSpan: findType("SourceSpan?"),
  116278. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  116279. nullable_String: findType("String?"),
  116280. nullable_Stylesheet: findType("Stylesheet?"),
  116281. nullable_StylesheetNode: findType("StylesheetNode?"),
  116282. nullable_Stylesheet_2: findType("Stylesheet0?"),
  116283. nullable_Uri: findType("Uri?"),
  116284. nullable_Value: findType("Value?"),
  116285. nullable_Value_2: findType("Value0?"),
  116286. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  116287. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  116288. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  116289. nullable__Highlight: findType("_Highlight?"),
  116290. num: findType("num"),
  116291. void: findType("~"),
  116292. void_Function_Object: findType("~(Object)"),
  116293. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  116294. };
  116295. })();
  116296. (function constants() {
  116297. var makeConstList = hunkHelpers.makeConstList;
  116298. B.Interceptor_methods = J.Interceptor.prototype;
  116299. B.JSArray_methods = J.JSArray.prototype;
  116300. B.JSInt_methods = J.JSInt.prototype;
  116301. B.JSNull_methods = J.JSNull.prototype;
  116302. B.JSNumber_methods = J.JSNumber.prototype;
  116303. B.JSString_methods = J.JSString.prototype;
  116304. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  116305. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  116306. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  116307. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  116308. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  116309. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  116310. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  116311. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  116312. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  116313. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  116314. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  116315. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  116316. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  116317. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  116318. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  116319. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  116320. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  116321. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  116322. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  116323. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  116324. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  116325. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  116326. B.BinaryOperator_2jN = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  116327. B.BinaryOperator_2jN0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  116328. B.BinaryOperator_7Tg = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  116329. B.BinaryOperator_7Tg0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  116330. B.BinaryOperator_M6L = new A.BinaryOperator("or", "or", 1, true, "or");
  116331. B.BinaryOperator_M6L0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  116332. B.BinaryOperator_OTG = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  116333. B.BinaryOperator_OTG0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  116334. B.BinaryOperator_SNp = new A.BinaryOperator("and", "and", 2, true, "and");
  116335. B.BinaryOperator_SNp0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  116336. B.BinaryOperator_U8c = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  116337. B.BinaryOperator_U8c0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  116338. B.BinaryOperator_ViB = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  116339. B.BinaryOperator_ViB0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  116340. B.BinaryOperator_anB = new A.BinaryOperator("plus", "+", 5, true, "plus");
  116341. B.BinaryOperator_anB0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  116342. B.BinaryOperator_cIH = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  116343. B.BinaryOperator_cIH0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  116344. B.BinaryOperator_kpg = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  116345. B.BinaryOperator_kpg0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  116346. B.BinaryOperator_olz = new A.BinaryOperator("minus", "-", 5, false, "minus");
  116347. B.BinaryOperator_olz0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  116348. B.BinaryOperator_qN2 = new A.BinaryOperator("times", "*", 6, true, "times");
  116349. B.BinaryOperator_qN20 = new A.BinaryOperator0("times", "*", 6, true, "times");
  116350. B.BinaryOperator_ql5 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  116351. B.BinaryOperator_ql50 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  116352. B.BinaryOperator_t8B = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  116353. B.BinaryOperator_t8B0 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  116354. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  116355. B.C_AsciiCodec = new A.AsciiCodec();
  116356. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  116357. B.C_Base64Encoder = new A.Base64Encoder();
  116358. B.C_Base64Codec = new A.Base64Codec();
  116359. B.C_DefaultEquality = new A.DefaultEquality();
  116360. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  116361. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  116362. B.C_EmptyIterator = new A.EmptyIterator();
  116363. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  116364. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  116365. B.C_IterableEquality = new A.IterableEquality();
  116366. B.C_JS_CONST = function getTagFallback(o) {
  116367. var s = Object.prototype.toString.call(o);
  116368. return s.substring(8, s.length - 1);
  116369. };
  116370. B.C_JS_CONST0 = function() {
  116371. var toStringFunction = Object.prototype.toString;
  116372. function getTag(o) {
  116373. var s = toStringFunction.call(o);
  116374. return s.substring(8, s.length - 1);
  116375. }
  116376. function getUnknownTag(object, tag) {
  116377. if (/^HTML[A-Z].*Element$/.test(tag)) {
  116378. var name = toStringFunction.call(object);
  116379. if (name == "[object Object]") return null;
  116380. return "HTMLElement";
  116381. }
  116382. }
  116383. function getUnknownTagGenericBrowser(object, tag) {
  116384. if (object instanceof HTMLElement) return "HTMLElement";
  116385. return getUnknownTag(object, tag);
  116386. }
  116387. function prototypeForTag(tag) {
  116388. if (typeof window == "undefined") return null;
  116389. if (typeof window[tag] == "undefined") return null;
  116390. var constructor = window[tag];
  116391. if (typeof constructor != "function") return null;
  116392. return constructor.prototype;
  116393. }
  116394. function discriminator(tag) { return null; }
  116395. var isBrowser = typeof HTMLElement == "function";
  116396. return {
  116397. getTag: getTag,
  116398. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  116399. prototypeForTag: prototypeForTag,
  116400. discriminator: discriminator };
  116401. };
  116402. B.C_JS_CONST6 = function(getTagFallback) {
  116403. return function(hooks) {
  116404. if (typeof navigator != "object") return hooks;
  116405. var userAgent = navigator.userAgent;
  116406. if (typeof userAgent != "string") return hooks;
  116407. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  116408. if (userAgent.indexOf("Chrome") >= 0) {
  116409. function confirm(p) {
  116410. return typeof window == "object" && window[p] && window[p].name == p;
  116411. }
  116412. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  116413. }
  116414. hooks.getTag = getTagFallback;
  116415. };
  116416. };
  116417. B.C_JS_CONST1 = function(hooks) {
  116418. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  116419. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  116420. };
  116421. B.C_JS_CONST5 = function(hooks) {
  116422. if (typeof navigator != "object") return hooks;
  116423. var userAgent = navigator.userAgent;
  116424. if (typeof userAgent != "string") return hooks;
  116425. if (userAgent.indexOf("Firefox") == -1) return hooks;
  116426. var getTag = hooks.getTag;
  116427. var quickMap = {
  116428. "BeforeUnloadEvent": "Event",
  116429. "DataTransfer": "Clipboard",
  116430. "GeoGeolocation": "Geolocation",
  116431. "Location": "!Location",
  116432. "WorkerMessageEvent": "MessageEvent",
  116433. "XMLDocument": "!Document"};
  116434. function getTagFirefox(o) {
  116435. var tag = getTag(o);
  116436. return quickMap[tag] || tag;
  116437. }
  116438. hooks.getTag = getTagFirefox;
  116439. };
  116440. B.C_JS_CONST4 = function(hooks) {
  116441. if (typeof navigator != "object") return hooks;
  116442. var userAgent = navigator.userAgent;
  116443. if (typeof userAgent != "string") return hooks;
  116444. if (userAgent.indexOf("Trident/") == -1) return hooks;
  116445. var getTag = hooks.getTag;
  116446. var quickMap = {
  116447. "BeforeUnloadEvent": "Event",
  116448. "DataTransfer": "Clipboard",
  116449. "HTMLDDElement": "HTMLElement",
  116450. "HTMLDTElement": "HTMLElement",
  116451. "HTMLPhraseElement": "HTMLElement",
  116452. "Position": "Geoposition"
  116453. };
  116454. function getTagIE(o) {
  116455. var tag = getTag(o);
  116456. var newTag = quickMap[tag];
  116457. if (newTag) return newTag;
  116458. if (tag == "Object") {
  116459. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  116460. }
  116461. return tag;
  116462. }
  116463. function prototypeForTagIE(tag) {
  116464. var constructor = window[tag];
  116465. if (constructor == null) return null;
  116466. return constructor.prototype;
  116467. }
  116468. hooks.getTag = getTagIE;
  116469. hooks.prototypeForTag = prototypeForTagIE;
  116470. };
  116471. B.C_JS_CONST2 = function(hooks) {
  116472. var getTag = hooks.getTag;
  116473. var prototypeForTag = hooks.prototypeForTag;
  116474. function getTagFixed(o) {
  116475. var tag = getTag(o);
  116476. if (tag == "Document") {
  116477. if (!!o.xmlVersion) return "!Document";
  116478. return "!HTMLDocument";
  116479. }
  116480. return tag;
  116481. }
  116482. function prototypeForTagFixed(tag) {
  116483. if (tag == "Document") return null;
  116484. return prototypeForTag(tag);
  116485. }
  116486. hooks.getTag = getTagFixed;
  116487. hooks.prototypeForTag = prototypeForTagFixed;
  116488. };
  116489. B.C_JS_CONST3 = function(hooks) { return hooks; }
  116490. ;
  116491. B.C_JsonCodec = new A.JsonCodec();
  116492. B.C_ListEquality0 = new A.ListEquality();
  116493. B.C_ListEquality = new A.ListEquality();
  116494. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  116495. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  116496. B.C_SentinelValue = new A.SentinelValue();
  116497. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  116498. B.C_Utf8Codec = new A.Utf8Codec();
  116499. B.C_Utf8Encoder = new A.Utf8Encoder();
  116500. B.C__DelayedDone = new A._DelayedDone();
  116501. B.C__HasContentVisitor = new A._HasContentVisitor();
  116502. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  116503. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  116504. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  116505. B.C__JSRandom = new A._JSRandom();
  116506. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  116507. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  116508. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  116509. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  116510. B.C__Required = new A._Required();
  116511. B.C__RootZone = new A._RootZone();
  116512. B.C__SassNull = new A._SassNull();
  116513. B.C__SassNull0 = new A._SassNull0();
  116514. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  116515. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  116516. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  116517. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  116518. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  116519. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  116520. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  116521. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  116522. B.ChangeType_add = new A.ChangeType("add");
  116523. B.ChangeType_modify = new A.ChangeType("modify");
  116524. B.ChangeType_remove = new A.ChangeType("remove");
  116525. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  116526. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  116527. B.Combinator_Cht = new A.Combinator(">", "child");
  116528. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  116529. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  116530. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  116531. B.Object_empty = {};
  116532. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  116533. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty17, null);
  116534. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  116535. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty18, null);
  116536. B.Deprecation_043 = new A.Deprecation("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", false, "absPercent");
  116537. B.Deprecation_0bn = new A.Deprecation0("function-units", false, "functionUnits");
  116538. B.Deprecation_4iQ = new A.Deprecation0("call-string", false, "callString");
  116539. B.Deprecation_8WR = new A.Deprecation("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  116540. B.Deprecation_Auo = new A.Deprecation("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
  116541. B.Deprecation_B8J = new A.Deprecation("import", null, "@import rules.", true, "import");
  116542. B.Deprecation_E5x = new A.Deprecation0("relative-canonical", false, "relativeCanonical");
  116543. B.Deprecation_EsU = new A.Deprecation0("strict-unary", false, "strictUnary");
  116544. B.Deprecation_GbU = new A.Deprecation0("moz-document", false, "mozDocument");
  116545. B.Deprecation_JAZ = new A.Deprecation("elseif", "1.3.2", "@elseif.", false, "elseif");
  116546. B.Deprecation_LT8 = new A.Deprecation0("color-module-compat", false, "colorModuleCompat");
  116547. B.Deprecation_UZD = new A.Deprecation0("null-alpha", false, "nullAlpha");
  116548. B.Deprecation_XV6 = new A.Deprecation0("bogus-combinators", false, "bogusCombinators");
  116549. B.Deprecation_elseif_false_elseif = new A.Deprecation0("elseif", false, "elseif");
  116550. B.Deprecation_gJ9 = new A.Deprecation("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  116551. B.Deprecation_hzy = new A.Deprecation("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  116552. B.Deprecation_import_true_import = new A.Deprecation0("import", true, "import");
  116553. B.Deprecation_la6 = new A.Deprecation0("abs-percent", false, "absPercent");
  116554. B.Deprecation_mFp = new A.Deprecation("relative-canonical", "1.14.2", null, false, "relativeCanonical");
  116555. B.Deprecation_qVK = new A.Deprecation("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  116556. B.Deprecation_s4m = new A.Deprecation("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  116557. B.Deprecation_sIK = new A.Deprecation("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  116558. B.Deprecation_vrR = new A.Deprecation("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  116559. B.Deprecation_wKk = new A.Deprecation0("new-global", false, "newGlobal");
  116560. B.Deprecation_wWh = new A.Deprecation0("slash-div", false, "slashDiv");
  116561. B.Deprecation_xHK = new A.Deprecation("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  116562. B.Deprecation_ynv = new A.Deprecation0("duplicate-var-flags", false, "duplicateVariableFlags");
  116563. B.Duration_0 = new A.Duration(0);
  116564. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  116565. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  116566. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  116567. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  116568. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  116569. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  116570. B.JsonDecoder_null = new A.JsonDecoder(null);
  116571. B.JsonEncoder_null = new A.JsonEncoder(null);
  116572. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  116573. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  116574. B.LineFeed_lf = new A.LineFeed("lf");
  116575. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  116576. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  116577. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  116578. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  116579. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  116580. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  116581. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  116582. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  116583. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  116584. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  116585. B.Deprecation_7XU = new A.Deprecation("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", false, "nullAlpha");
  116586. B.Deprecation_WbD = new A.Deprecation("calc-interp", null, null, false, "calcInterp");
  116587. B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
  116588. 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>"));
  116589. B.List_M1A = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  116590. B.List_MMm = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  116591. B.List_OL3 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  116592. B.List_XRg0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  116593. B.List_XRg = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  116594. B.List_YmH = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  116595. B.List_cUt = A._setArrayType(makeConstList([B.CalculationOperator_IyK0, B.CalculationOperator_2bx0, B.CalculationOperator_jFr0, B.CalculationOperator_OvN0]), A.findType("JSArray<CalculationOperator0>"));
  116596. B.List_ejq = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  116597. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  116598. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  116599. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  116600. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  116601. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  116602. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  116603. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  116604. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  116605. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  116606. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  116607. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  116608. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  116609. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  116610. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  116611. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  116612. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  116613. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  116614. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  116615. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  116616. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  116617. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  116618. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  116619. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  116620. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  116621. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  116622. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  116623. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  116624. 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};
  116625. B.Set_UGQ3 = new A.ConstantStringSet(B.Object_gR2, 49, type$.ConstantStringSet_String);
  116626. B.Object_wEo = {deg: 0, grad: 1, rad: 2, turn: 3};
  116627. B.Set_gf1m2 = new A.ConstantStringSet(B.Object_wEo, 4, type$.ConstantStringSet_String);
  116628. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  116629. B.Set_23h = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  116630. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  116631. B.Set_AKW81 = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  116632. B.Object_f7G = {dpi: 0, dpcm: 1, dppx: 2};
  116633. B.Set_wDQui = new A.ConstantStringSet(B.Object_f7G, 3, type$.ConstantStringSet_String);
  116634. 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>>"));
  116635. B.List_oFp = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  116636. B.List_yzX = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  116637. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  116638. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  116639. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  116640. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  116641. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  116642. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  116643. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  116644. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  116645. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  116646. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  116647. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  116648. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  116649. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  116650. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  116651. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  116652. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  116653. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  116654. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  116655. 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};
  116656. B.Object_MIo = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  116657. 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);
  116658. 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);
  116659. 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);
  116660. 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);
  116661. B.Map_sckr3 = new A.ConstantStringMap(B.Object_MIo, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  116662. B.Map_scaBQ = new A.ConstantStringMap(B.Object_MIo, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  116663. B.Map_scGVy = new A.ConstantStringMap(B.Object_MIo, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  116664. B.Map_ia0 = new A.ConstantStringMap(B.Object_wEo, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  116665. B.Map_iaijl = new A.ConstantStringMap(B.Object_wEo, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  116666. B.Map_iaMqi = new A.ConstantStringMap(B.Object_wEo, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  116667. B.Map_iaJel = new A.ConstantStringMap(B.Object_wEo, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  116668. B.Map_V0M2a = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  116669. B.Map_V0nPR = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  116670. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  116671. B.Map_8secN = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  116672. B.Map_8sxHw = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  116673. B.Map_lyv9F = new A.ConstantStringMap(B.Object_f7G, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  116674. B.Map_lyhdB = new A.ConstantStringMap(B.Object_f7G, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  116675. B.Map_lyCkv = new A.ConstantStringMap(B.Object_f7G, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  116676. 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>>"));
  116677. B.Object_kaS = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  116678. B.List_scn = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  116679. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  116680. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  116681. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  116682. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  116683. 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>>"));
  116684. B.OptionType_YwU = new A.OptionType("OptionType.single");
  116685. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  116686. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  116687. B.OutputStyle_0 = new A.OutputStyle("expanded");
  116688. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  116689. B.OutputStyle_1 = new A.OutputStyle("compressed");
  116690. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  116691. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  116692. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty19);
  116693. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  116694. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty20);
  116695. B.SassBoolean_false = new A.SassBoolean(false);
  116696. B.SassBoolean_false0 = new A.SassBoolean0(false);
  116697. B.SassBoolean_true = new A.SassBoolean(true);
  116698. B.SassBoolean_true0 = new A.SassBoolean0(true);
  116699. B.SassList_Sof = new A.SassList(B.List_empty8, B.ListSeparator_rXA, false);
  116700. B.SassList_Sof0 = new A.SassList(B.List_empty8, B.ListSeparator_rXA, true);
  116701. B.SassList_Sof1 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  116702. B.SassList_Sof2 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, true);
  116703. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  116704. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  116705. B.SassMap_Map_empty = new A.SassMap(B.Map_empty21);
  116706. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  116707. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty22);
  116708. B.Set_FIwG4 = new A.GeneralConstantSet([B.BinaryOperator_qN2, B.BinaryOperator_t8B, B.BinaryOperator_anB, B.BinaryOperator_olz], A.findType("GeneralConstantSet<BinaryOperator>"));
  116709. B.Set_FIwG40 = new A.GeneralConstantSet([B.BinaryOperator_qN20, B.BinaryOperator_t8B0, B.BinaryOperator_anB0, B.BinaryOperator_olz0], A.findType("GeneralConstantSet<BinaryOperator0>"));
  116710. B.Object_KpR = {".scss": 0, ".sass": 1, ".css": 2};
  116711. B.Set_HW1We = new A.ConstantStringSet(B.Object_KpR, 3, type$.ConstantStringSet_String);
  116712. 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};
  116713. B.Set_WfnXb = new A.ConstantStringSet(B.Object_sd2, 17, type$.ConstantStringSet_String);
  116714. B.Object_C0t = {is: 0, matches: 1, where: 2};
  116715. B.Set_aAXJu = new A.ConstantStringSet(B.Object_C0t, 3, type$.ConstantStringSet_String);
  116716. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  116717. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  116718. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  116719. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  116720. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  116721. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  116722. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  116723. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  116724. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  116725. B.Object_s8n = {sass: 0, style: 1, default: 2};
  116726. B.Set_gkcz = new A.ConstantStringSet(B.Object_s8n, 3, type$.ConstantStringSet_String);
  116727. B.StderrLogger_false = new A.StderrLogger(false);
  116728. B.StderrLogger_false0 = new A.StderrLogger0(false);
  116729. B.Symbol__containingUrl = new A.Symbol("_containingUrl");
  116730. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  116731. B.Symbol__extensions = new A.Symbol("_extensions");
  116732. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  116733. B.Symbol__none = new A.Symbol("_none");
  116734. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  116735. B.Symbol_call = new A.Symbol("call");
  116736. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  116737. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  116738. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  116739. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  116740. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  116741. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  116742. B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer");
  116743. B.Type_ByteData_zNC = A.typeLiteral("ByteData");
  116744. B.Type_Float32List_LB7 = A.typeLiteral("Float32List");
  116745. B.Type_Float64List_LB7 = A.typeLiteral("Float64List");
  116746. B.Type_Int16List_uXf = A.typeLiteral("Int16List");
  116747. B.Type_Int32List_O50 = A.typeLiteral("Int32List");
  116748. B.Type_Int8List_ekJ = A.typeLiteral("Int8List");
  116749. B.Type_Object_xQ6 = A.typeLiteral("Object");
  116750. B.Type_Uint16List_2bx = A.typeLiteral("Uint16List");
  116751. B.Type_Uint32List_2bx = A.typeLiteral("Uint32List");
  116752. B.Type_Uint8ClampedList_Jik = A.typeLiteral("Uint8ClampedList");
  116753. B.Type_Uint8List_WLA = A.typeLiteral("Uint8List");
  116754. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  116755. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  116756. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  116757. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  116758. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  116759. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  116760. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  116761. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  116762. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  116763. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  116764. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  116765. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  116766. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  116767. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  116768. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  116769. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  116770. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  116771. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  116772. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  116773. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  116774. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  116775. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  116776. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  116777. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  116778. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  116779. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  116780. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  116781. B._PathDirection_8Gl = new A._PathDirection("at root");
  116782. B._PathDirection_988 = new A._PathDirection("below root");
  116783. B._PathDirection_FIw = new A._PathDirection("reaches root");
  116784. B._PathDirection_ZGD = new A._PathDirection("above root");
  116785. B._PathRelation_different = new A._PathRelation("different");
  116786. B._PathRelation_equal = new A._PathRelation("equal");
  116787. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  116788. B._PathRelation_within = new A._PathRelation("within");
  116789. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  116790. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  116791. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  116792. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  116793. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  116794. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  116795. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  116796. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  116797. B._StringStackTrace_3uE = new A._StringStackTrace("");
  116798. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  116799. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  116800. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  116801. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  116802. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  116803. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  116804. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  116805. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  116806. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  116807. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  116808. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  116809. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  116810. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  116811. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  116812. })();
  116813. (function staticFields() {
  116814. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  116815. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  116816. $.printToZone = null;
  116817. $.Primitives__identityHashCodeProperty = null;
  116818. $.BoundClosure__receiverFieldNameCache = null;
  116819. $.BoundClosure__interceptorFieldNameCache = null;
  116820. $.getTagFunction = null;
  116821. $.alternateTagFunction = null;
  116822. $.prototypeForTagFunction = null;
  116823. $.dispatchRecordsForInstanceTags = null;
  116824. $.interceptorsForUncacheableTags = null;
  116825. $.initNativeDispatchFlag = null;
  116826. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  116827. $._nextCallback = null;
  116828. $._lastCallback = null;
  116829. $._lastPriorityCallback = null;
  116830. $._isInCallbackLoop = false;
  116831. $.Zone__current = B.C__RootZone;
  116832. $._RootZone__rootDelegate = null;
  116833. $.Uri__cachedBaseString = "";
  116834. $.Uri__cachedBaseUri = null;
  116835. $._fs = null;
  116836. $._currentUriBase = null;
  116837. $._current = null;
  116838. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  116839. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  116840. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  116841. $._realCaseCache = function() {
  116842. var t1 = type$.String;
  116843. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  116844. }();
  116845. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  116846. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  116847. $._glyphs = B.C_UnicodeGlyphSet;
  116848. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  116849. $._realCaseCache0 = function() {
  116850. var t1 = type$.String;
  116851. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  116852. }();
  116853. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  116854. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  116855. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  116856. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  116857. })();
  116858. (function lazyInitializers() {
  116859. var _lazyFinal = hunkHelpers.lazyFinal,
  116860. _lazy = hunkHelpers.lazy;
  116861. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  116862. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  116863. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  116864. toString: function() {
  116865. return "$receiver$";
  116866. }
  116867. })));
  116868. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  116869. toString: function() {
  116870. return "$receiver$";
  116871. }
  116872. })));
  116873. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  116874. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  116875. var $argumentsExpr$ = "$arguments$";
  116876. try {
  116877. null.$method$($argumentsExpr$);
  116878. } catch (e) {
  116879. return e.message;
  116880. }
  116881. }()));
  116882. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  116883. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  116884. var $argumentsExpr$ = "$arguments$";
  116885. try {
  116886. (void 0).$method$($argumentsExpr$);
  116887. } catch (e) {
  116888. return e.message;
  116889. }
  116890. }()));
  116891. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  116892. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  116893. try {
  116894. null.$method$;
  116895. } catch (e) {
  116896. return e.message;
  116897. }
  116898. }()));
  116899. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  116900. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  116901. try {
  116902. (void 0).$method$;
  116903. } catch (e) {
  116904. return e.message;
  116905. }
  116906. }()));
  116907. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  116908. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  116909. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  116910. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  116911. var t1 = type$.dynamic;
  116912. return A.HashMap_HashMap(t1, t1);
  116913. });
  116914. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  116915. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  116916. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  116917. _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))));
  116918. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  116919. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  116920. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  116921. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  116922. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  116923. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  116924. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  116925. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  116926. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  116927. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  116928. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  116929. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  116930. _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)));
  116931. _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)));
  116932. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  116933. _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));
  116934. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  116935. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  116936. _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));
  116937. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  116938. var $name,
  116939. t1 = type$.SassColor,
  116940. t2 = type$.String,
  116941. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  116942. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  116943. t2 = t1.get$current(t1);
  116944. $name = t2._0;
  116945. t3.$indexSet(0, t2._1, $name);
  116946. }
  116947. return t3;
  116948. });
  116949. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  116950. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  116951. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  116952. var t1 = type$.BuiltInCallable,
  116953. t2 = A.List_List$of($.$get$global0(), true, t1);
  116954. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  116955. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  116956. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  116957. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  116958. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  116959. B.JSArray_methods.addAll$1(t2, $.$get$global());
  116960. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  116961. return A.UnmodifiableListView$(t2, t1);
  116962. });
  116963. _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));
  116964. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  116965. _lazyFinal($, "global", "$get$global0", () => {
  116966. var _s27_ = "$red, $green, $blue, $alpha",
  116967. _s19_ = "$red, $green, $blue",
  116968. _s37_ = "$hue, $saturation, $lightness, $alpha",
  116969. _s29_ = "$hue, $saturation, $lightness",
  116970. _s17_ = "$hue, $saturation",
  116971. _s15_ = "$color, $amount",
  116972. t1 = type$.String,
  116973. t2 = type$.Value_Function_List_Value;
  116974. 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);
  116975. });
  116976. _lazyFinal($, "module", "$get$module", () => {
  116977. var _s9_ = "lightness",
  116978. _s10_ = "saturation",
  116979. _s6_ = "$color", _s5_ = "alpha",
  116980. t1 = type$.String,
  116981. t2 = type$.Value_Function_List_Value;
  116982. 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);
  116983. });
  116984. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  116985. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  116986. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  116987. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  116988. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  116989. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  116990. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  116991. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  116992. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  116993. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  116994. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  116995. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  116996. _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));
  116997. _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));
  116998. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  116999. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  117000. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  117001. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  117002. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  117003. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  117004. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  117005. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  117006. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  117007. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  117008. _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));
  117009. _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));
  117010. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  117011. _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)));
  117012. _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)));
  117013. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  117014. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  117015. _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)));
  117016. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  117017. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  117018. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  117019. _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));
  117020. _lazyFinal($, "module2", "$get$module2", () => {
  117021. var _null = null;
  117022. 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);
  117023. });
  117024. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  117025. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  117026. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  117027. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  117028. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  117029. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  117030. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  117031. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  117032. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  117033. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  117034. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  117035. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  117036. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  117037. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  117038. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  117039. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  117040. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  117041. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  117042. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  117043. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  117044. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  117045. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  117046. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  117047. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  117048. _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));
  117049. _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));
  117050. _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));
  117051. _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));
  117052. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  117053. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  117054. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  117055. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  117056. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  117057. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  117058. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  117059. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  117060. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  117061. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  117062. _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));
  117063. _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));
  117064. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  117065. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  117066. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  117067. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  117068. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  117069. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  117070. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  117071. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  117072. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  117073. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => A.FilesystemImporter$("."));
  117074. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  117075. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  117076. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  117077. var t1 = $.$get$globalFunctions();
  117078. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  117079. t1.add$1(0, "if");
  117080. t1.remove$1(0, "rgb");
  117081. t1.remove$1(0, "rgba");
  117082. t1.remove$1(0, "hsl");
  117083. t1.remove$1(0, "hsla");
  117084. t1.remove$1(0, "grayscale");
  117085. t1.remove$1(0, "invert");
  117086. t1.remove$1(0, "alpha");
  117087. t1.remove$1(0, "opacity");
  117088. t1.remove$1(0, "saturate");
  117089. t1.remove$1(0, "min");
  117090. t1.remove$1(0, "max");
  117091. t1.remove$1(0, "round");
  117092. t1.remove$1(0, "abs");
  117093. return t1;
  117094. });
  117095. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  117096. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  117097. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  117098. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  117099. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  117100. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  117101. var t3, type,
  117102. t1 = type$.String,
  117103. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117104. for (t1 = A.MapExtensions_get_pairs(B.Map_ws7dy, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117105. t3 = t1.get$current(t1);
  117106. type = t3._0;
  117107. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  117108. t2.$indexSet(0, t3.get$current(t3), type);
  117109. }
  117110. return t2;
  117111. });
  117112. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  117113. var _i, set, t2,
  117114. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  117115. for (_i = 0; _i < 5; ++_i) {
  117116. set = B.List_gyp[_i];
  117117. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  117118. t1.$indexSet(0, t2.get$current(0), set);
  117119. }
  117120. return t1;
  117121. });
  117122. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  117123. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  117124. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  117125. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  117126. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  117127. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  117128. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  117129. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  117130. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  117131. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  117132. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  117133. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  117134. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  117135. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  117136. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  117137. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  117138. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  117139. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  117140. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  117141. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  117142. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  117143. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  117144. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  117145. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  117146. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  117147. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  117148. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  117149. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  117150. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  117151. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117152. _lazyFinal($, "global6", "$get$global7", () => {
  117153. var _s27_ = "$red, $green, $blue, $alpha",
  117154. _s19_ = "$red, $green, $blue",
  117155. _s37_ = "$hue, $saturation, $lightness, $alpha",
  117156. _s29_ = "$hue, $saturation, $lightness",
  117157. _s17_ = "$hue, $saturation",
  117158. _s15_ = "$color, $amount",
  117159. t1 = type$.String,
  117160. t2 = type$.Value_Function_List_Value_2;
  117161. 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);
  117162. });
  117163. _lazyFinal($, "module5", "$get$module5", () => {
  117164. var _s9_ = "lightness",
  117165. _s10_ = "saturation",
  117166. _s6_ = "$color", _s5_ = "alpha",
  117167. t1 = type$.String,
  117168. t2 = type$.Value_Function_List_Value_2;
  117169. 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);
  117170. });
  117171. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  117172. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  117173. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  117174. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  117175. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  117176. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  117177. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  117178. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  117179. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  117180. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  117181. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  117182. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  117183. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  117184. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  117185. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  117186. 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));
  117187. return t1;
  117188. });
  117189. _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));
  117190. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  117191. var $name,
  117192. t1 = type$.SassColor_2,
  117193. t2 = type$.String,
  117194. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  117195. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117196. t2 = t1.get$current(t1);
  117197. $name = t2._0;
  117198. t3.$indexSet(0, t2._1, $name);
  117199. }
  117200. return t3;
  117201. });
  117202. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  117203. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  117204. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  117205. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  117206. var t1 = $.$get$globalFunctions0();
  117207. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  117208. t1.add$1(0, "if");
  117209. t1.remove$1(0, "rgb");
  117210. t1.remove$1(0, "rgba");
  117211. t1.remove$1(0, "hsl");
  117212. t1.remove$1(0, "hsla");
  117213. t1.remove$1(0, "grayscale");
  117214. t1.remove$1(0, "invert");
  117215. t1.remove$1(0, "alpha");
  117216. t1.remove$1(0, "opacity");
  117217. t1.remove$1(0, "saturate");
  117218. t1.remove$1(0, "min");
  117219. t1.remove$1(0, "max");
  117220. t1.remove$1(0, "round");
  117221. t1.remove$1(0, "abs");
  117222. return t1;
  117223. });
  117224. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  117225. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => A.FilesystemImporter$0("."));
  117226. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  117227. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  117228. var t1 = type$.BuiltInCallable_2,
  117229. t2 = A.List_List$of($.$get$global7(), true, t1);
  117230. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  117231. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  117232. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  117233. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  117234. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  117235. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  117236. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  117237. return A.UnmodifiableListView$(t2, t1);
  117238. });
  117239. _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));
  117240. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  117241. _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));
  117242. _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));
  117243. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  117244. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  117245. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  117246. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  117247. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  117248. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  117249. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  117250. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  117251. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  117252. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  117253. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  117254. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  117255. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  117256. 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));
  117257. return t1;
  117258. });
  117259. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  117260. _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));
  117261. _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));
  117262. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  117263. _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)));
  117264. _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)));
  117265. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  117266. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  117267. _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)));
  117268. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  117269. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  117270. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  117271. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  117272. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  117273. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  117274. 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));
  117275. return t1;
  117276. });
  117277. _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));
  117278. _lazyFinal($, "module8", "$get$module8", () => {
  117279. var _null = null;
  117280. 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);
  117281. });
  117282. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  117283. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  117284. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  117285. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  117286. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  117287. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  117288. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  117289. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  117290. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  117291. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  117292. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  117293. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  117294. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  117295. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  117296. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  117297. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  117298. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  117299. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  117300. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  117301. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  117302. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  117303. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  117304. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  117305. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  117306. _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));
  117307. _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));
  117308. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  117309. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  117310. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  117311. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  117312. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  117313. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  117314. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  117315. 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));
  117316. return t1;
  117317. });
  117318. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  117319. var t3, type,
  117320. t1 = type$.String,
  117321. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117322. for (t1 = A.MapExtensions_get_pairs0(B.Map_ws7dy, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117323. t3 = t1.get$current(t1);
  117324. type = t3._0;
  117325. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  117326. t2.$indexSet(0, t3.get$current(t3), type);
  117327. }
  117328. return t2;
  117329. });
  117330. _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));
  117331. _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));
  117332. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  117333. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  117334. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  117335. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  117336. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  117337. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  117338. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  117339. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  117340. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  117341. var _i, set, t2,
  117342. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  117343. for (_i = 0; _i < 5; ++_i) {
  117344. set = B.List_gyp[_i];
  117345. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  117346. t1.$indexSet(0, t2.get$current(0), set);
  117347. }
  117348. return t1;
  117349. });
  117350. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  117351. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  117352. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  117353. _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));
  117354. _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));
  117355. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  117356. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  117357. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  117358. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  117359. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  117360. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  117361. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  117362. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  117363. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  117364. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  117365. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  117366. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  117367. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  117368. return t1;
  117369. });
  117370. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  117371. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  117372. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  117373. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  117374. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  117375. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  117376. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  117377. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  117378. })();
  117379. (function nativeSupport() {
  117380. !function() {
  117381. var intern = function(s) {
  117382. var o = {};
  117383. o[s] = 1;
  117384. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  117385. };
  117386. init.getIsolateTag = function(name) {
  117387. return intern("___dart_" + name + init.isolateTag);
  117388. };
  117389. var tableProperty = "___dart_isolate_tags_";
  117390. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  117391. var rootProperty = "_ZxYxX";
  117392. for (var i = 0;; i++) {
  117393. var property = intern(rootProperty + "_" + i + "_");
  117394. if (!(property in usedProperties)) {
  117395. usedProperties[property] = 1;
  117396. init.isolateTag = property;
  117397. break;
  117398. }
  117399. }
  117400. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  117401. }();
  117402. 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});
  117403. 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});
  117404. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  117405. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  117406. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  117407. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  117408. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  117409. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  117410. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  117411. })();
  117412. Function.prototype.call$0 = function() {
  117413. return this();
  117414. };
  117415. Function.prototype.call$1 = function(a) {
  117416. return this(a);
  117417. };
  117418. Function.prototype.call$2 = function(a, b) {
  117419. return this(a, b);
  117420. };
  117421. Function.prototype.call$3$1 = function(a) {
  117422. return this(a);
  117423. };
  117424. Function.prototype.call$2$1 = function(a) {
  117425. return this(a);
  117426. };
  117427. Function.prototype.call$1$1 = function(a) {
  117428. return this(a);
  117429. };
  117430. Function.prototype.call$3 = function(a, b, c) {
  117431. return this(a, b, c);
  117432. };
  117433. Function.prototype.call$4 = function(a, b, c, d) {
  117434. return this(a, b, c, d);
  117435. };
  117436. Function.prototype.call$3$3 = function(a, b, c) {
  117437. return this(a, b, c);
  117438. };
  117439. Function.prototype.call$2$2 = function(a, b) {
  117440. return this(a, b);
  117441. };
  117442. Function.prototype.call$5 = function(a, b, c, d, e) {
  117443. return this(a, b, c, d, e);
  117444. };
  117445. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  117446. return this(a, b, c, d, e, f);
  117447. };
  117448. Function.prototype.call$2$0 = function() {
  117449. return this();
  117450. };
  117451. Function.prototype.call$1$0 = function() {
  117452. return this();
  117453. };
  117454. Function.prototype.call$1$2 = function(a, b) {
  117455. return this(a, b);
  117456. };
  117457. Function.prototype.call$2$3 = function(a, b, c) {
  117458. return this(a, b, c);
  117459. };
  117460. convertAllToFastObject(holders);
  117461. convertToFastObject($);
  117462. (function(callback) {
  117463. if (typeof document === "undefined") {
  117464. callback(null);
  117465. return;
  117466. }
  117467. if (typeof document.currentScript != "undefined") {
  117468. callback(document.currentScript);
  117469. return;
  117470. }
  117471. var scripts = document.scripts;
  117472. function onLoad(event) {
  117473. for (var i = 0; i < scripts.length; ++i) {
  117474. scripts[i].removeEventListener("load", onLoad, false);
  117475. }
  117476. callback(event.target);
  117477. }
  117478. for (var i = 0; i < scripts.length; ++i) {
  117479. scripts[i].addEventListener("load", onLoad, false);
  117480. }
  117481. })(function(currentScript) {
  117482. init.currentScript = currentScript;
  117483. var callMain = A.main2;
  117484. if (typeof dartMainRunner === "function") {
  117485. dartMainRunner(callMain, []);
  117486. } else {
  117487. callMain([]);
  117488. }
  117489. });
  117490. })();
  117491. }